gst/gstpad.c: Really unlink the peer pad instead of setting the peer pointer to NULL...
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * gst/gstpad.c: (gst_pad_dispose):
4         Really unlink the peer pad instead of setting the peer pointer to NULL
5         when we dispose the pad.
6         This correctly calls the unlink functions and makes sure that the peer
7         does not have a handle to invalid memory. See #504671.
8
9         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
10         Add testsuite for above case.
11
12 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
13
14         Patch by: Peter Kjellerstedt <pkj axis com>
15
16         * libs/gst/check/gstcheck.h:
17           Fix detection of the check version we're compiling against (would
18           otherwise break if check goes v0.10.0); correctly report the
19           name of the failed test again in case of failure, instead of
20           just 'tf' (fixes #504499).
21
22 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
23
24         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
25         (gst_base_src_get_range), (gst_base_src_pad_get_range),
26         (gst_base_src_loop), (gst_base_src_set_flushing),
27         (gst_base_src_change_state):
28         Allow sending EOS to the source to make it send out an EOS event from
29         the streaming thread.
30         Update docs and deprecate the old NULL/READY shutdown method.
31
32         * tests/check/libs/basesrc.c: (GST_START_TEST),
33         (gst_basesrc_suite):
34         Add unit test for controlled shutdown.
35
36 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
37
38         * docs/design/part-synchronisation.txt:
39         Small updates.
40
41         * gst/gstsegment.c: (gst_segment_set_seek),
42         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
43         (gst_segment_to_running_time):
44         The seek format can be different from the segment format when the start
45         and stop values are not to be updated, when we only do a rate change for
46         example.
47
48         * tests/check/gst/gstsegment.c: (GST_START_TEST),
49         (gst_segment_suite):
50         Add a testcase for the rate-only seeks, checking that the format is
51         correctly ignored when start and stop are not updated.
52
53 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
54
55         Patch by: Matthias Bolte <photon at mail dot upb dot de>
56
57         * win32/vs8/grammar.vcproj:
58         * win32/vs8/libgstcontroller.vcproj:
59         * win32/vs8/libgstreamer.vcproj:
60         Fix compilation with VS8 and include some missing files.
61
62 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
63
64         * gst/gsttaglist.c:
65           Small docs addition: mention that the strings returned by
66           gst_tag_list_get_string*() are in UTF-8 encoding.
67
68 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
69
70         * Makefile.am:
71           The check-exports stuff moved to common/win32.mak, so include that.
72
73 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
74
75         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
76         (gst_base_src_perform_seek), (gst_base_src_get_range),
77         (gst_base_src_set_playing), (gst_base_src_change_state):
78         Make _wait_playing() not check any variables so that we can call this
79         function from subclasses. Move the checks elsewhere similar to
80         _wait_preroll() in basesink.
81         Add some debugging.
82         Only signal the LIVE cond when we are going back to PLAYING.
83
84 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
85
86         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
87           Use g_remove() and g_rename(). Check result of g_rename(), and
88           don't leak the open file descriptor if we error out when writing.
89
90         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
91           Must check the return value of close() after writing out the new
92           registry file.  Sometimes write problems such as out-of-diskspace
93           are only reported when the file is closed and not already during
94           the write.  This may have caused partial/broken registry files in
95           some rare circumstances. Should fix #503675.
96
97 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
98
99         * docs/gst/.cvsignore:
100         * docs/libs/.cvsignore:
101         * docs/plugins/.cvsignore:
102         Ignore files generated by new common/* modifications
103
104 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
105
106         * win32/common/libgstbase.def:
107           Yes, you can also have a <TAB> if you want.
108
109 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
110
111         * win32/common/libgstbase.def:
112           Add new basetransform API to win export file.
113
114 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
115
116         * tests/check/gst/gstbin.c:
117           Adjust the test to the refcount change two days ago.
118
119 2007-12-14  David Schleef  <ds@schleef.org>
120
121         * docs/faq/getting.xml: Fix typo.
122
123 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
124
125         * docs/libs/gstreamer-libs-sections.txt:
126         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
127           (gst_base_transform_prepare_output_buffer),
128           (gst_base_transform_set_gap_aware):
129         * libs/gst/base/gstbasetransform.h:
130           API: Add gst_base_transform_set_gap_aware() to control whether
131           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
132           get buffers with this flag at all. Fixes #503231.
133
134 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
135
136         * libs/gst/base/gstbasesink.c:
137         * libs/gst/base/gstbasesrc.c:
138         * libs/gst/base/gstbasetransform.c:
139           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
140           thread. Correct log message in gstbasesrc.c.
141
142 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
143
144         * gst/gstutils.c: (element_find_unconnected_pad):
145           Fix possible compiler warning (#503417).
146
147 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
148
149         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
150           Don't use GST_CAT_EVENT here for logging, it makes no sense.
151
152 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
153
154         * tools/gst-inspect.c: (print_element_properties_info):
155           Add support for GstFraction properties.
156
157 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
158
159         * Makefile.am:
160           Add check-exports target and run it as part of 'make check'
161           (see #499140 and #493983).
162
163         * gst/gst_private.h:
164         * gst/gstelementfactory.h:
165         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
166         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
167           (_priv_gst_in_valgrind):
168         * gst/gstinfo.h: (GstLogFunction):
169         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
170           (gst_type_find_register):
171         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
172           (gst_type_find_factory_get_type):
173         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
174           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
175           (gst_controller_new_valist), (gst_controller_new_list),
176           (_gst_controller_dispose), (_gst_controller_class_init):
177         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
178         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
179           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
180           (gst_object_get_controller), (gst_object_set_controller),
181           (gst_object_suggest_next_sync), (gst_object_sync_values),
182           (gst_object_set_control_source), (gst_object_get_control_source),
183           (gst_object_get_value_arrays), (gst_object_get_value_array),
184           (gst_object_get_control_rate), (gst_object_set_control_rate):
185         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
186         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
187           Make some functions that should be static static; rename some
188           private symbols so that they don't get exported; add some FIXME
189           comments so we can move accidentally exported functions into
190           our private section in 0.11.
191
192         * win32/common/libgstreamer.def:
193           Add gst_utils_get_timestamp().
194
195 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
196
197         * gst/gstvalue.c:
198         * gst/gstvalue.h:
199           Add more missing "Since:" tags to docs.
200
201 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
202
203         * gst/gstutils.c:
204           Add mising "Since:" to docs.
205
206 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
207
208         * gst/gstplugin.c:
209           Include "glib-compat-private.h" to fix the build on system with
210           glib < 2.10. Fixes #503131.
211
212 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
213
214         * gst/gstutils.c:
215         * gst/gstutils.h:
216           Actually its not PURE as it gets the time from elsewhere.
217
218 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
219
220         * docs/gst/gstreamer-sections.txt:
221         * gst/gstclock.h:
222         * gst/gstdebugutils.c:
223         * gst/gstinfo.c:
224         * gst/gstutils.c:
225         * gst/gstutils.h:
226         * libs/gst/base/gstbasesink.c:
227         * tools/gst-launch.c:
228           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
229           uses as we don't have HAVE_POSIX_TIMERS in public headers.
230           Thanks Tim for spotting.
231
232 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
233
234         * configure.ac:
235           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
236
237 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
238
239         * gst/gststructure.c: (gst_structure_validate_name),
240           (gst_structure_new_valist), (gst_structure_parse_value),
241           (gst_structure_from_string):
242           Don't crash in _from_string() if the structure name is not valid
243           (fixes #501560).  Allow structure names to start with a number
244           again (this apparently broke the ubuntu codec installer).
245
246         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
247           (GST_START_TEST):
248           Add unit test for the crash; update unit tests for new behaviour.
249
250 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
251
252         * gst/gstutils.c:
253         Clarify gst_element_get_compatible_pad() documentation.
254         Fixes #500919.
255
256 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
257
258         * tests/check/Makefile.am:
259           Don't forget to dist {gst,libs}/struct_hppa.h.
260
261 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
262
263         * libs/gst/base/gstbasesink.c:
264           Use new API to get elapsed time.
265
266 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
267
268         * gst/gstdebugutils.c:
269         * gst/gstinfo.c:
270           Fix wrong order of args in GST_CLOCK_DIFF() usage.
271
272         * tools/gst-launch.c:
273           Use new API to get elapsed time.
274
275 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
276
277         * docs/gst/gstreamer-sections.txt:
278         * gst/gstclock.h:
279         * gst/gstdebugutils.c:
280         * gst/gstinfo.c:
281           Rename new API + ChangeLog surgery to remove old name from last entry..
282           API: GST_GET_TIMESTAMP
283
284 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
285
286         * docs/gst/gstreamer-sections.txt:
287         * gst/gstclock.h:
288         * gst/gstdebugutils.c:
289         * gst/gstinfo.c:
290           Now hide the different clock stuff behind a macro.
291
292 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
293
294         * configure.ac:
295         * gst/gstdebugutils.c:
296         * gst/gstinfo.c:
297           Apply the posix-timer check from #361155. Conditionally use the posix
298           timer for logging. This gives better timestamp precission, less
299           overhead and no ntp jitter.
300
301 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
302
303         * gst/gstminiobject.c: (gst_mini_object_get_type),
304         (gst_mini_object_class_init), (gst_mini_object_copy_default),
305         (gst_mini_object_finalize), (gst_mini_object_copy),
306         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
307         (gst_mini_object_replace), (param_mini_object_validate),
308         (gst_param_spec_mini_object_get_type):
309         Some cleanup and checking against invalid function parameters.
310
311 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
312
313         * docs/gst/gstreamer-sections.txt:
314         * gst/gstclock.h:
315         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
316         (gst_systemclock_suite):
317         Start merging in the easy bits of #361155, the monotonic clock patch.
318         This one adds a few handy macros with docs and a testsuite.
319
320 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
321
322         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
323         Be a bit smarter when seeking, like, don't try to do a seek when it's
324         not needed. This avoids errors when the file is not seekable.
325         Fixes #499771.
326
327 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
328
329         * docs/gst/gstreamer-docs.sgml:
330         * docs/gst/gstreamer-sections.txt:
331         * docs/gst/gstreamer.types.in:
332         * gst/Makefile.am:
333         * gst/gst.h:
334         * gst/gstpreset.c:
335         * gst/gstpreset.h:
336         * plugins/elements/gstqueue.c:
337           Due to popular request remove preset interface again. :-(.
338
339 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
340
341         * tools/gst-inspect.c:
342           Print 'default value' for enums and flags too.
343
344 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
345
346         * docs/random/ensonic/profiling.txt:
347           More ideas.
348
349         * gst/gstbin.c:
350           Fix typo and give better log output.
351
352         * gst/gstdebugutils.c:
353         * gst/gstdebugutils.h:
354           More ideas, make graphs a bit smaller and fix param name in macro.
355
356 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
357
358         * gst/gstpreset.c:
359           Try harder to use the return value from fgets().
360
361 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
362
363         * gst/gstpreset.c:
364           For theses two fgets we handle the error below.
365
366 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
367
368         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
369         Only send upstream events upstream. Fixes #498746.
370
371 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
372
373         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
374
375         * plugins/elements/gstidentity.c: (gst_identity_class_init),
376         (gst_identity_init), (gst_identity_transform_ip),
377         (gst_identity_set_property), (gst_identity_get_property):
378         * plugins/elements/gstidentity.h:
379         Add property to disable handoff signal emission. Fixes #498694.
380         API: GstIdentity::signal-handoffs
381
382 2007-11-21  Julien Moutte  <julien@fluendo.com>
383
384         * docs/faq/gst-uninstalled: Yet another missing library for the
385         uninstalled script (fft)
386
387 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
388
389         * docs/faq/developing.xml:
390         Add a question about how to submit new translations.
391
392         * docs/random/release:
393         Update the contact email address for the Translation Project
394
395         * plugins/elements/gstfdsrc.c:
396         The parent_class for fdsrc is pushsrc, not GstElement.
397
398 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
399
400         * gst/gstpreset.c:
401           Plug a leak and fix saving.
402
403 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
404
405         * docs/gst/gstreamer-sections.txt:
406         Add new gst_preset__get_property_names() function to the docs
407         to fix the build.
408
409 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
410
411         * gst/gstpreset.c:
412         * gst/gstpreset.h:
413           Change _get_preset_names API to return a strv with copies. Add
414           _get_property_names to allow implementations to filter and provide
415           good default implementation.
416
417 2007-11-20  Julien MOUTTE  <julien@moutte.net>
418
419         * docs/faq/gst-uninstalled: Add another library to the uninstalled
420         script (sdp).
421
422 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
423
424         * gst/gstpreset.c:
425           More cleanups, docs, and TODOs from comments that now slowly come in.
426
427 2007-11-19  Julien MOUTTE  <julien@moutte.net>
428
429         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
430         search path.
431
432 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
433
434         * gst/gstpreset.c:
435           Fix bogus warning and make the property type specific code more
436           similar.
437
438 2007-11-19  Julien MOUTTE  <julien@moutte.net>
439
440         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
441         it build on OS X.
442
443 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
444
445         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
446         (gst_bin_add_func), (gst_bin_remove_func),
447         (gst_bin_change_state_func), (gst_bin_continue_func):
448         Change email, cleanups add some more debug and comments.
449         Also set bus and clock on new elements when the pipeline was in error.
450
451 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
452
453         * gst/gstbin.c:
454         * gst/gstdebugutils.c:
455           Fix build with --disable-gst-debug. Fixes #497859.
456           Spotted by Sameer Naik.
457
458 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
459
460         * gst/gstevent.c:
461           Little documentation improvment.
462
463         * gst/gstpreset.c:
464           More TODO cleanups. Remove c++ comments.
465
466         * libs/gst/controller/gstcontroller.c:
467           Add TODO and use quark from static string.
468
469         * tests/check/gst/gstmessage.c:
470         * tests/check/gst/gststructure.c:
471           Use quark from static string.
472
473 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
474
475         * gst/gstpreset.c:
476           Add some comments and TODOs.
477
478         * gst/gstpreset.h:
479           Add padding for future changes.
480
481         * plugins/elements/gstqueue.c:
482           Implement the iface.    
483
484 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
485
486         * docs/gst/gstreamer-docs.sgml:
487         * docs/gst/gstreamer-sections.txt:
488         * docs/gst/gstreamer.types.in:
489         * gst/Makefile.am:
490         * gst/gst.h:
491         * gst/gstpreset.c:
492         * gst/gstpreset.h:
493           Add the preset interface (Fixes #396779). Do some doc cleanups along.
494
495 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
496
497         * configure.ac:
498
499         Back to CVS
500
501 === release 0.10.15 ===
502
503 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
504
505         * configure.ac:
506           releasing 0.10.15, "October"
507
508 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
509
510         * win32/vs6/libgstreamer.dsp:
511         Convert line endings back to DOS.
512
513 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
514
515         * docs/design/draft-tagreading.txt:
516         * docs/random/ensonic/profiling.txt:
517         Update fast tagreading draft and performance profiling ideas.
518
519 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
520
521         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
522         Don't hold the object lock when unreffing a buffer because it could
523         cause a deadlock when the finalize function wants to grab the object
524         lock too. Fixes #495133.
525
526 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
527
528         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
529         (gst_segment_to_stream_time), (gst_segment_to_running_time):
530         Also accumulate time correctly when doing reverse playback. Fixes
531         #488201,
532         When converting to running and stream time, use default values for
533         start/stop/time/accum when comparing different formats. Fixes #494245.
534
535         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
536         Do running/stream time in TIME format.
537
538         * tests/check/gst/gstsegment.c: (GST_START_TEST),
539         (gst_segment_suite):
540         2 new unit tests for segment accumulation.
541
542 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
543
544         * gst/gst.c: (init_pre):
545         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
546           (_gst_debug_bin_to_dot_file):
547           Move getenv() back into gst_init, so everyone can live happily
548           ever after. Make sure the symbol isn't exported though.
549
550 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
551
552         Patch by: Sebastien Moutte  <sebastien moutte net>
553
554         * win32/common/gstenumtypes.c:
555         * win32/common/gstenumtypes.h:
556           Update enum types.
557
558         * win32/vs6/libgstreamer.dsp:
559           Update vs6 project files (#494343).
560
561 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
562
563         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
564         (gst_base_src_perform_seek), (gst_base_src_default_event),
565         (gst_base_src_set_flushing), (gst_base_src_activate_push),
566         (gst_base_src_activate_pull):
567         Unify flushing code, remove some old unlock code that is no longer used.
568         Take the streaming lock when seeking to avoid races. Fixes #492729.
569         Added some more comments.
570
571 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
572
573         * gst/gst.c: (_gst_disable_segtrap):
574           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
575           we can use gst_segtrap_is_enabled() there now that we have that API.
576           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
577           to do the getenv here (and export the variable).
578
579         * gst/gstdebugutils.c: (debug_dump_element),
580           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
581           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
582
583         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
584           (gst_debug_log_default):
585           Rename _gst_info_start_time to priv_gst_info_start_time so it
586           doesn't get exported (was never in any header).
587
588         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
589           (gst_plugin_loading_mutex):
590           Make static mutex gst_plugin_loading_mutex really static (was never
591           in any header), and use gst_segtrap_is_enabled() instead of
592           _gst_disable_segtrap.
593
594         * gst/gsttrace.c: (_gst_trace_default):
595           Make local _gst_trace_default static (was never in any header).
596
597 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
598
599         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
600
601         * win32/common/libgstbase.def:
602         * win32/common/libgstcontroller.def:
603         * win32/common/libgstdataprotocol.def:
604         * win32/common/libgstnet.def:
605         * win32/common/libgstreamer.def:
606           Add more missing symbols, remove some duplicates, and sort
607           as the 'sort' command sorts it (partially fixes #493983).
608
609 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
610
611         * gst/gstelement.c: (gst_element_set_state_func):
612         Only change the state cookie if a different state was set on the
613         element. See #492729.
614
615 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
616
617         * gst/gstvalue.c:
618           Remove unused and uninitialised type variables that were still
619           exported for some reason (they were never in any header files
620           though).
621
622 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
623
624         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
625         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
626         (gst_base_sink_event), (gst_base_sink_get_position_last),
627         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
628         (gst_base_sink_change_state):
629         Don't try to report a 0 position when we don't know, return -1 and FALSE
630         instead. This mostly happens when we are prerolling.
631         Make sure we can report the right position before we post the ASYNC_DONE
632         message so that a message handler can query position without races.
633
634         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
635         (async_done_handoff), (async_done_func), (send_buffer),
636         (async_done_eos_func), (gst_sinks_suite):
637         Add two tests for the above.
638
639 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
640
641         * MAINTAINERS:
642         Update with new email address.
643
644         * docs/design/part-TODO.txt:
645         Add some more info about future pad-block and negotiation changes.
646
647         * docs/design/part-buffering.txt:
648         Add some ideas about buffering reporting.
649
650 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
651
652         * tests/check/gst/gstobject.c:
653         Disable silly racy test that always fails on this combination of CPU
654         and kernel.
655
656 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
657
658         Patch by: Murray Cumming  <murrayc@murrayc.com>
659
660         * gst/gstobject.c:
661           Corrected the registration of the parent-set and parent-unset
662           signals: The parameter is a GstObject, not a GObject (#493134).
663
664 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
665
666         * gst/gst_private.h:
667         * gst/gstbuffer.h:
668         * gst/gstevent.h:
669         * gst/gstformat.h:
670         * gst/gstmessage.h:
671         * gst/gstplugin.h:
672         * gst/gstquery.h:
673         * gst/gsttaglist.h:
674         * gst/gstvalue.h:
675           Move declaration of private _gst_foo_initialize() functions into
676           our private header file where they should have been all along.
677
678 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
679
680         * docs/plugins/gstreamer-plugins-sections.txt:
681         * gst/gstdebugutils.h:
682         * gst/gstxml.h:
683         * plugins/elements/gstqueue.c:
684           gtk-doc fixes; trailing-comma-in-enum fix.
685
686 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
687
688         * gst/gst.c: (gst_deinit):
689           Clean up on deinit (not the external ones though, doesn't seem to be
690           needed for some reason).
691
692 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
693
694         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
695           Remove __declspec(dllimport) for MSVC that was copied over into core
696           from a plugin, obviously without ever having been tested (note the
697           single underscore in _declspec in the initial commit), and that doesn't
698           really make sense.  See #492077.
699
700 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
701
702         * gst/gst.c: (init_post):
703         * gst/gstevent.c: (_gst_event_initialize):
704         * gst/gstquery.c: (_gst_query_initialize):
705         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
706           g_type_class_ref() other types as well, see #349410 and #64764.
707
708         * gst/gstbuffer.c: (_gst_buffer_initialize):
709         * gst/gstmessage.c: (_gst_message_initialize):
710           Simplify existing g_type_class_ref().
711
712 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
713
714         * gst/gstformat.c: (_gst_format_initialize):
715           g_type_class_ref() our GstFormat type to make sure we avoid the
716           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
717           bug #64764. Should fix intermittent tee unit test failures (#474823).
718
719 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
720
721         * tests/check/elements/tee.c: (test_num_buffers):
722           Simplify, simplify, simplify - or not.  Rewrite unit test
723           not to use gst_parse_launch(); allow N sub-streams. Increasing
724           the number of sub-streams seems to reproduce #474823 more easily.
725
726 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
727
728         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
729
730         * gst/gsttrace.c:
731         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
732         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
733         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
734           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
735           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
736           so use _pipe() directly (#492077).
737
738         * win32/common/dirent.c: (_treaddir):
739           Add a couple of casts to make it build without warnings with MSVC.
740
741         * win32/common/libgstreamer.def:
742           Add some more symbols that need to be exported.
743
744 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
745
746         * tests/examples/metadata/read-metadata.c: (message_loop):
747           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
748           arriving in a second or third tag message are added to
749           the tag list as well.
750
751 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
752
753         * libs/gst/base/gstbasesrc.c:
754           Its "Since:" and not "@Since:". And remove an superflous cast.
755
756 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
757
758         * docs/libs/gstreamer-libs-sections.txt:
759         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
760         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
761         (gst_base_sink_get_property), (gst_base_sink_render_object),
762         (gst_base_sink_preroll_object),
763         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
764         (gst_base_sink_change_state):
765         * libs/gst/base/gstbasesink.h:
766         Add a new last-buffer property that contains the last buffer used in
767         basesink for preroll or rendering. useful for making snapshots.
768         API: gst_base_sink_get_last_buffer()
769         API: GstBaseSink::last-buffer
770
771 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
772
773         * docs/gst/running.xml:
774         * gst/gst.c:
775         * gst/gstdebugutils.c:
776         * gst/gstdebugutils.h:
777         * tools/gst-launch.c:
778           Improve bin graph dumping, by using the envvar to specify a path.
779           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
780
781 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
782
783         * plugins/elements/gsttypefindelement.c:
784           (gst_type_find_element_handle_event),
785           (gst_type_find_element_activate):
786           Post special error message if we can't determine the type of a stream
787           because it's empty.
788
789 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
790
791         * docs/gst/running.xml:
792         * gst/gstdebugutils.c:
793           Document new env-var. Add one log-line after dumpng a graph.
794
795 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
796
797         * configure.ac:
798           Ugly hack to put the (recently removed and non-portable, apparently)
799           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
800           GNU ld, because without that 'make check' fails miserably on my debian
801           stable box.  Someone with more knowledge of linker intricacies and
802           portability issues than me fix this properly please.
803
804 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
805
806         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
807         Reset last seen position after flushing so that we don't report the old
808         position anymore.
809
810 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
811
812         * gst/gstelementfactory.c: (gst_element_register):
813         * gst/gsturi.h:
814         Patch from Alessandro Decina adding get_type_full and
815         get_protocols_full private vfuncs to the URIHandler interface
816         to allow bindings to support creating URI handlers. 
817         Partially fixes: #339279
818         API: GstURIHandlerInterface::get_type_full
819         API: GstURIHandlerInterface::get_protocols_full
820
821 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
822
823         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
824         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
825         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
826         Make it so that pads are considered linked until a buffer is pushed
827         and discovered otherwise. This avoids problems with decodebin2 hanging
828         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
829         case.
830
831         Make sure we lock the multiqueue when updating the max-size properties.
832         
833         Fix a crash on Solaris in a debug statement in get_request_pad that
834         passes a NULL string to GST_DEBUG. 
835
836         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
837         (run_output_order_test):
838         Fix the test to allow the first buffer on not-linked pads to come out
839         of sequence while multiqueue discovers that they are not-linked.
840
841 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
842
843         * configure.ac:
844         * libs/gst/check/Makefile.am:
845         Use a custom export symbol regex for libgstcheck, as it needs
846         to export symbols that don't match the standard GStreamer gst_*
847         pattern, and  --export-dynamic is not portable (only works on 
848         GNU ld)
849
850         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
851         (gst_check_setup_sink_pad):
852         Make sure to pass a message parameter to the fail_* macros.
853
854         * tests/check/gst/gstinfo.c: (GST_START_TEST):
855         Fix some compiler warnings.
856
857 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
858
859         * tests/check/gst/gststructure.c: (test_to_string):
860           Disable test that checks that white spaces are not allowed
861           in structure names or field names, since we need to
862           support that for now for backwards compatibility reasons.
863
864 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
865
866         * docs/gst/gstreamer-sections.txt:
867         * gst/gsttaglist.c:
868         * gst/gsttaglist.h:
869           API: add GST_TAG_ARTIST_SORTNAME
870           API: add GST_TAG_ALBUM_SORTNAME
871           API: add GST_TAG_TITLE_SORTNAME
872           Add tag variants for sorting (#414539).
873
874 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
875
876         * gst/gststructure.c:
877           Also allow white space for names so we don't break
878           backwards compatibility.
879
880 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
881
882         * docs/design/part-TODO.txt:
883         * docs/design/part-segments.txt:
884         * docs/design/part-streams.txt:
885         Small updates.
886
887 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
888
889         * docs/gst/gstreamer-sections.txt:
890          Fixed documentation from my previous commit (added new API add
891          gst_value_set_structure(), add gst_value_get_structure() and
892          GST_VALUE_HOLDS_STRUCTURE).
893
894 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
895
896         * gst/gstdebugutils.c:
897           Reflow code to fix uninitialized variable warning.
898
899 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
900
901         * gst/gstcaps.c: (gst_caps_to_string),
902         (gst_caps_from_string_inplace):
903         * gst/gststructure.c: (gst_structure_get_abbrs),
904         (gst_structure_to_string), (gst_structure_from_string):
905         * gst/gstvalue.c: (gst_value_set_structure),
906         (gst_value_get_structure), (gst_value_serialize_structure),
907         (gst_value_deserialize_structure), (_gst_value_initialize):
908         * gst/gstvalue.h:
909         * tests/check/gst/gststructure.c: (GST_START_TEST),
910         (gst_structure_suite):
911         * tests/check/gst/gstvalue.c: (GST_START_TEST):
912          Added GstStructure to gst_value_table and its related functions.
913          Changed gst_structure_to_string to print ';' in the end.
914          Changed gst_caps_to_string to not print ';' beteween its
915          fields (structures) anymore and remove the lastes ';' from latest
916          structure. Now it is possible to have nested structures.
917          In addition, backward compatibilty is assured by accepting '\0' as
918          end delimiter. Fixes: #487969.
919          API: add gst_value_set_structure()
920          API: add gst_value_get_structure()
921          API: add GST_VALUE_HOLDS_STRUCTURE
922
923 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
924
925         * gst/gstbus.c:
926           When no GSource callback has been set up, tell developer
927           to use a function that actually exists.
928
929 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
930
931         * docs/gst/gstreamer-sections.txt:
932         * gst/Makefile.am:
933         * gst/gst.c:
934         * gst/gst.h:
935         * gst/gstdebugutils.c:
936         * gst/gstdebugutils.h:
937         * gst/gstinfo.c:
938         * gst/gstinfo.h:
939         * tools/gst-launch.c:
940           Allow dumping pipelines as dot graphs. Fixes #456573.
941
942 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
943
944         * gst/gststructure.c:
945           Allow '+' as well, it can be part of media or mime types
946           such as image/svg+xml.
947
948 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
949
950         * docs/gst/gstreamer-sections.txt:
951         * gst/gstbus.c:
952         * gst/gstbus.h:
953           API: add gst_bus_pop_filtered
954           API: add gst_bus_timed_pop_filtered
955           Two new functions for waiting for specific message types on the
956           bus for a specified amount of time without iterating any main
957           loops or main contexts.
958
959         * tests/check/gst/gstbus.c:
960           Some tests for the new functions.
961
962 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
963
964         * docs/libs/gstreamer-libs-sections.txt:
965           Make gtk-doc ignore stuff it should ignore.
966
967 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
968
969         * libs/gst/check/gstcheck.c:
970         * libs/gst/check/gstcheck.h:
971           Allow runtime selection of unit tests to run via the GST_CHECKS
972           environment variable (test case function names, comma-separated).
973
974 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
975
976         * gst/gststructure.c:
977         * tests/check/gst/gststructure.c:
978           Revert serialisation change and constrain structure-names after
979           consensus on irc. Update api documentation to reflect the change.
980
981 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
982
983         * gst/gststructure.c:
984           Improve serialization and fix tests.
985
986         * tests/check/gst/gststructure.c:
987           Add another test that covers why I actually did the previous structure
988           change.
989
990 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
991
992         * tools/gst-inspect.c: (print_element_info):
993         Don't crash when inspecting an element.
994
995 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
996
997         * tests/check/gst/gststructure.c:
998           Add unit test for escaping of structure name when serialising
999           and deserialising to/from strings.
1000
1001 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
1002
1003         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1004         (gst_single_queue_new):
1005         * plugins/elements/gstqueue.c: (gst_queue_init),
1006         (gst_queue_push_one):
1007         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
1008         upstream is tricked into thinking it can suggest a format downstream
1009         while downstream does not support that format. The real problem is that
1010         core calls acceptcaps when pushing a buffer with new caps, for which we
1011         do a little workaround by setting the caps on the srcpad ourselves
1012         before pushing the buffer (until this is figured out). Fixes #486758.
1013
1014 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1015
1016         * gst/gststructure.c:
1017         * gst/gstvalue.c:
1018           Add some more comments and debug output. Quote structure name to fix
1019           deserialisation of some strings.
1020
1021 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1022
1023         * gst/gstbuffer.h:
1024           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
1025           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
1026
1027 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1028
1029         * tools/gst-inspect.c:
1030           Save approx. 400 1 byte allocs when printing. Use API to acces element
1031           details.
1032
1033         * tools/gst-run.c:
1034           Avoid a strdup.
1035
1036         * tools/gst-xmlinspect.c:
1037           Use API to acces element details.
1038
1039 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1040
1041         * gst/gstinfo.c:
1042           Fix some spelling errors.
1043
1044 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
1045
1046         * gst/gstbin.c: (bin_handle_async_done):
1047         Correctly set the next state if all of our async children commited their
1048         state. This makes sure we can actually cancel the state change in
1049         progress. Fixes a regression in Rhythmbox when seeking.
1050
1051 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
1052
1053         * gst/gstbin.c:
1054           Don't shadow local variable.
1055
1056         * gst/gstinfo.c:
1057           Don't shadow global function name.
1058
1059 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
1060
1061         * gst/gstelementfactory.c:
1062         * gst/gstpluginfeature.c:
1063         * gst/gstpluginfeature.h:
1064         * gst/gstregistrybinary.c:
1065         * gst/gstregistryxml.c:
1066         * gst/gsttypefind.c:
1067           Use already-interned string for the private GstPluginFeature
1068           plugin_name field.
1069
1070 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
1071
1072         * docs/libs/gstreamer-libs-sections.txt:
1073           Add new API to docs; fixes the build.
1074
1075 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
1076         
1077         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
1078
1079         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
1080         (gst_base_sink_event):
1081         * libs/gst/base/gstbasesink.h:
1082         Add function to wait for EOS, subclasses can use this to correctly wait
1083         for devices to drain before performing the EOS logic. Fixes #485343.
1084         API: gst_base_sink_wait_eos()
1085
1086 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
1087
1088         * gst/gstplugin.h:
1089           Cast description string constants in GST_PLUGIN_DEFINE macros
1090           to a (gchar*) to make C++ code using these macros compile
1091           without warning with g++-4.2 (see #462737).  Even if slightly
1092           ugly, this seems preferable to putting the description strings
1093           into the GLib quark table or making the structure member a
1094           const gchar * and doing casts in core code that allocs and
1095           frees these strings, or requiring a cast in the C++ code.
1096
1097 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
1098
1099         * gst/gstinfo.h:
1100           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
1101           to print the entire class/function signature into the log
1102           file for C++ code.  This only affects C++ code, for C code
1103           everything remains the same.
1104
1105 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
1106
1107         * gst/gstbin.c: (remove_from_queue):
1108         Work around a problem with pipelines containing (semi)loops until a
1109         proper, more complicated solution is ready. See #475455.
1110
1111 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
1112
1113         * gst/gstplugin.c:
1114         * gst/gstplugin.h:
1115         * gst/gstregistrybinary.c:
1116         * gst/gstregistryxml.c:
1117           Put more strings into the GLib quark table. No need to keep
1118           a hundred-something copies of identical version strings,
1119           license strings, package name strings and package origin
1120           strings around. 
1121
1122 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
1123
1124         * docs/manual/advanced-dataaccess.xml:
1125           Don't imply that it's okay to unconditionally change
1126           buffer data or buffer metadata in a pad probe callback,
1127           and a bunch of other comments. Fixes #430031.
1128
1129 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1130
1131         * win32/common/gstenumtypes.c:
1132         * win32/common/gstenumtypes.h:
1133         * win32/common/gstversion.h:
1134           Update generated files.
1135
1136 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1137
1138         * docs/manual/advanced-autoplugging.xml:
1139           Prefix section with broken code with a warning (see #342432).
1140
1141 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1142
1143         * docs/manual/appendix-integration.xml:
1144         * docs/manual/basics-init.xml:
1145           Call g_thread_init() before g_option_context_new() to
1146           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
1147
1148 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1149
1150         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1151         (gst_base_sink_queue_object_unlocked),
1152         (gst_base_sink_queue_object), (gst_base_sink_event),
1153         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
1154         When we received EOS and are waiting for when to post the EOS message,
1155         our state is prerolled and we should not return ASYNC.
1156         Reorganize some code paths to implement this behavior.
1157
1158         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1159         (gst_sinks_suite):
1160         Add unit test to verify above EOS fix.
1161
1162 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1163
1164         * plugins/elements/gsttypefindelement.c:
1165         (gst_type_find_element_have_type), (gst_type_find_element_init),
1166         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
1167         Move detecting the input caps of the sinkpad to the setcaps function.
1168         This allows us to update the output caps when we receive new input caps
1169         instead of always using the first detected caps.
1170
1171 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1172
1173         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1174         (gst_base_sink_get_position):
1175         Don't try to preroll non-async elements after a flush.
1176         Subtract latency form clock times when reporting position.
1177
1178 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1179
1180         * gst/gstpad.c: (gst_pad_pause_task):
1181         * gst/gstutils.c:
1182         Small comment and documentation update.
1183
1184 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1185
1186         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1187         (gst_base_src_set_live), (gst_base_src_is_live),
1188         (gst_base_src_query_latency), (gst_base_src_perform_seek),
1189         (gst_base_src_default_event), (gst_base_src_wait),
1190         (gst_base_src_do_sync), (gst_base_src_get_range),
1191         (gst_base_src_pad_get_range), (gst_base_src_loop),
1192         (gst_base_src_unlock), (gst_base_src_unlock_stop),
1193         (gst_base_src_set_flushing), (gst_base_src_set_playing),
1194         (gst_base_src_activate_push), (gst_base_src_activate_pull),
1195         (gst_base_src_change_state):
1196         Rework the locking of basesrc in a similar fashion to basesink. We
1197         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
1198         us to handle live sources and semi live ones much better.
1199         Simplify flushing.
1200         Fix unlocking when seeking, shutting down and pausing in live sources.
1201
1202 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1203
1204         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
1205         Fix compilation again.
1206
1207 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1208
1209         * gst/gstelement.c:
1210           Use meaningful categories for the logs to clean the default one.
1211
1212 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1213
1214         * tests/check/pipelines/cleanup.c:
1215           Print message name and not just number.
1216
1217 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1218
1219         * docs/design/draft-tagreading.txt:
1220           Add some more thoughts.
1221
1222 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1223
1224         * tests/check/pipelines/simple-launch-lines.c:
1225           Print message name and not just number.
1226
1227 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1228
1229         * libs/gst/base/gsttypefindhelper.c:
1230           Speedup typefinding. This is work in progress (see #459862).
1231
1232 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1233
1234         * gst/gstplugin.c:
1235           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1236           Spotted by Josep Torra Valles <josep@fluendo.com>.
1237
1238 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
1239
1240         * gst/gstclock.h:
1241           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1242           field has moved to GstObject.
1243
1244 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
1245
1246         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1247         (gst_base_src_get_range), (gst_base_src_change_state):
1248         Call unlock for live sources so that they can't get stuck in _create and
1249         produce a buffer before they are set back to PLAYING.
1250
1251 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
1252
1253         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1254         (gst_queue_locked_dequeue):
1255         Comment the segment-related code... in the PROPER function.
1256         See #482147 and my commit from yesterday.
1257
1258 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
1259
1260         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1261         Also initialize the counter that calculates the first timestamp on a
1262         buffer correctly for non-live sources.
1263
1264 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
1265
1266         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1267         Disable code that's breaking the current-time-level reporting.
1268         See #482147
1269
1270 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
1271
1272         * docs/gst/gstreamer-sections.txt:
1273         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1274         as they shouldn't show up. Fixes the docs build.
1275
1276 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
1277         
1278         * gst/gstinfo.h:
1279         Add an explicit variable importation needed on VS6 (only for MSC_VER)
1280         Define M_PI which is used in files which are including gstinfo.h. 
1281         VS6 includes doesn't define it.
1282         * win32/common/libgstbase.def:
1283         * win32/common/libgstcontroller.def:
1284         * win32/common/libgstreamer.def:
1285         Add new exported functions and variables.
1286         * win32/vs6/libgstcontroller.dsp:
1287         * win32/vs6/libgstreamer.dsp:
1288         Update the list of files to build.
1289         
1290 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1291
1292         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1293
1294         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1295         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1296         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1297         Improve debugging. Fixes #480858.
1298
1299 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1300
1301         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1302
1303         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1304         First patch of code cleanups, use the macros and right arguments in the
1305         macros to signal and lock the queue. See #480858.
1306
1307 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
1308
1309         * gst/gstbus.c: (poll_func):
1310         Improve debugging when dealing with _poll().
1311
1312 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
1313
1314         * gst/gstregistryxml.c:
1315           Fix memory leak I introduced a few days ago.
1316
1317 2007-09-26  Michael Smith <msmith@fluendo.com>
1318
1319         * gst/gstbuffer.c: (gst_buffer_finalize):
1320           Make it once again possible to free GstBuffers in the default
1321           build.
1322           The poisoning scribbles on parts of the miniobject we need in
1323           order to free it.
1324           Fixes #480341
1325
1326 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
1327
1328         * docs/gst/gstreamer-sections.txt:
1329         * gst/gsttaglist.c:
1330         * gst/gsttaglist.h:
1331         API: add GST_TAG_COMPOSER, fixes #459809.
1332
1333 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
1334
1335         * gst/gstplugin.c:
1336         * gst/gstplugin.h:
1337         Add the 3-clause BSD license and the MIT/X11 license to the license
1338         list. Fixes #479784.
1339
1340 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
1341
1342         * docs/faq/getting.xml:
1343           Add Q+A about different GStreamer versions (#364056).
1344
1345 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1346
1347         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1348         (gst_base_sink_event), (gst_base_sink_change_state):
1349         Return correct gboolean from query function.
1350
1351 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1352
1353         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1354         (gst_base_sink_event), (gst_base_sink_query),
1355         (gst_base_sink_change_state):
1356         Simplify latency query.
1357         When not synchronizing, we can report latency without querying the peer
1358         element.
1359
1360 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1361
1362         * gst/gstobject.h:
1363         * gst/gstvalue.c:
1364         Fix small typos in the docs.
1365
1366 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1367
1368         * docs/design/draft-latency.txt:
1369         * docs/design/draft-push-pull.txt:
1370         * docs/design/draft-tagreading.txt:
1371         * docs/design/part-MT-refcounting.txt:
1372         * docs/design/part-activation.txt:
1373         * docs/design/part-block.txt:
1374         * docs/design/part-element-source.txt:
1375         * docs/design/part-events.txt:
1376         * docs/design/part-gstbin.txt:
1377         * docs/design/part-gstelement.txt:
1378         * docs/design/part-gstobject.txt:
1379         * docs/design/part-gstpipeline.txt:
1380         * docs/design/part-messages.txt:
1381         * docs/design/part-preroll.txt:
1382         * docs/design/part-push-pull.txt:
1383         * docs/design/part-qos.txt:
1384         * docs/design/part-query.txt:
1385         * docs/design/part-scheduling.txt:
1386         * docs/design/part-seeking.txt:
1387         * docs/design/part-segments.txt:
1388         * docs/design/part-states.txt:
1389         Documentation updates and typo fixes.
1390
1391 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
1392
1393         * plugins/elements/gstfakesink.c:
1394           Add some debug text to error message to indicate that
1395           we errored out on request.
1396
1397         * tools/gst-launch.c:
1398           When the state change to PLAYING fails, check for an
1399           error message on the bus and print it.
1400
1401 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1402
1403         translated by: Jorge González González <aloriel@gmail.com>
1404
1405         * po/LINGUAS:
1406         * po/es.po:
1407           Added Spanish translation.
1408
1409 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
1410
1411         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1412         Fix printf arguments.
1413
1414 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1415
1416         * tests/check/generic/states.c:
1417           Improved state change unit test.
1418
1419 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1420
1421         * gst/gstbin.h:
1422           Move priv to the right place.
1423
1424         * gst/gstsystemclock.c:
1425           Add FIXME: and improve log.
1426
1427         * tests/check/Makefile.am:
1428         * tests/examples/manual/Makefile.am:
1429           Work with all types of registries.
1430
1431 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
1432
1433         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1434         Don't unref the event after pushing it. Fixes #478401.
1435
1436 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1437
1438         * .cvsignore:
1439         * tests/examples/manual/.cvsignore:
1440           Ignore registries in any format.
1441
1442 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
1443
1444         * gst/glib-compat-private.h:
1445           Add compatibility macro for g_intern_string() for
1446           GLib-2.8 (any reason we can't just bump the
1447           requirement to at least 2.10?)
1448
1449         * gst/gstpadtemplate.h:
1450         * gst/gstelementfactory.c:
1451         * gst/gstregistryxml.c:
1452         * gst/gstregistrybinary.c:
1453           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1454           up the internal code accordingly.  This shouldn't be a problem, since
1455           there is no reason external code could ever assume the string in such
1456           a structure is dynamically allocated unless it did that itself;  the
1457           use of g_strdup() is private to element factories.  The new code also
1458           saves some memory by putting pad template name strings into the GLib
1459           quark table instead of allocating them dynamically.
1460           Declaring this field constant fixes warnings with g++-4.2 when using
1461           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1462
1463 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1464
1465         * gst/gstelementfactory.c:
1466           Release static caps. Fixes #475723.
1467
1468 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
1469
1470         * gst/gstinfo.c:
1471         * gst/gstinfo.h:
1472           Make some internal API take const gchar * instead of just
1473           gchar * to avoid compiler warnings with g++-4.2.2 when
1474           passing string constants (partially fixes #478092).
1475
1476 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1477
1478         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1479         A latency query fails when one of the sinks fail.
1480
1481         * gst/gstelement.c: (gst_element_set_base_time):
1482         Improve debugging.
1483
1484 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1485
1486         * gst/gstbin.c: (gst_bin_continue_func):
1487         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1488         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1489         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1490
1491         Fix minor compilation warnings shown with Forte.
1492
1493 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1494
1495         * plugins/elements/gstqueue.c: (apply_buffer),
1496         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1497         Measure queue level based on the diff between head and tail timestamps
1498         even when pushing the first buffer.
1499
1500 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1501
1502         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1503         (gst_base_sink_event), (gst_base_sink_change_state):
1504         Sinks that don't preroll can always be queried for the latency.
1505         Don't post ASYNC start when we are not async.
1506
1507 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1508
1509         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1510         (gst_queue_handle_sink_event), (gst_queue_chain),
1511         (gst_queue_push_one), (gst_queue_handle_src_query),
1512         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1513         * plugins/elements/gstqueue.h:
1514         When downstream returns UNEXPECTED from pushing a buffer, don't try to
1515         push more buffers but allow pushing of EOS and NEWSEGMENT.
1516         Add some more debug info here and there. Fixes #476514.
1517
1518 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1519
1520         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1521         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1522         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1523         (gst_base_sink_set_flushing), (gst_base_sink_query),
1524         (gst_base_sink_change_state):
1525         Latency query is allowed after we are prerolled. Introduce a new flag
1526         for this and stop abusing other variables.
1527
1528 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1529
1530         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1531         Push OOB events downstream when we get them in send_event. This allows
1532         the application to insert events in the pipeline.
1533         Add some more comments.
1534
1535 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1536
1537         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1538         (do_bin_latency), (gst_bin_change_state_func):
1539         * gst/gstpipeline.c: (gst_pipeline_change_state):
1540         Move latency query from GstPipeline to GstBin so that we can also
1541         use it when async-handling is enabled on bins.
1542
1543 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1544
1545         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1546         (gst_base_src_do_sync), (gst_base_src_change_state):
1547         Update docs.
1548         Clean up the timestamping and syncing code for pseudo live sources.
1549
1550 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
1551
1552         Patch by: Steve Fink  <sphink gmail com>
1553
1554         * docs/manual/appendix-checklist.xml:
1555           Mention less -R switch in the section about debug output (#474055).
1556
1557 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1558
1559         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1560         Queue can latency to the pipeline up to the configured max size in time.
1561         Report this fact in the latency query.
1562
1563 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1564
1565         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1566
1567         * libs/gst/controller/gstinterpolation.c:
1568         * libs/gst/controller/gstlfocontrolsource.c:
1569         Use gst_guint64_to_gdouble() when converting from a uint64 or
1570         GstClockTime to double to fix the build on win32. Fixes #474371.
1571
1572 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1573
1574         * gst/gstbuffer.c: (gst_buffer_finalize):
1575         Implement poisoning for GstBuffer if --enable-poisoning is specified.
1576         When finalizing a buffer the complete struct is filled with 0xff,
1577         thus making a use of the buffer after the final unref impossible.
1578
1579 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1580
1581         * tests/check/libs/controller.c: (GST_START_TEST):
1582         Use fail_unless_equals_int(a, b) instead of
1583         fail_unless_equals (a == b) to get better output on failures.
1584
1585 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1586
1587         * tests/check/gst/gsturi.c:
1588           Also check for the other file URI variant on win32.
1589
1590 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1591
1592         * gst/gsturi.c: (gst_uri_get_location):
1593           If there's no hostname, we want to return 'c:/foo/bar.txt'
1594           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1595
1596         * tests/check/gst/gsturi.c:
1597           Unit test for the above and a few more things.
1598
1599 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1600
1601         * docs/design/part-live-source.txt:
1602         Add docs on how live sources should timestamp.
1603
1604         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1605         Add some more debug info.
1606         For subclasses that are live and like to sync, add aditional startup
1607         latency to sync time and timestamps so that we timstamp according to the
1608         design doc.
1609
1610 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1611
1612         * gst/gstbuffer.c:
1613           Also do a g_type_class_ref() for the subbuffer type in
1614           the init function.
1615
1616 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1617
1618         * docs/gst/gstreamer-sections.txt:
1619         * gst/gstpad.c: (gst_pad_peer_query):
1620         * gst/gstpad.h:
1621         Add function to perform a query on the peer of a pad.
1622         API: gst_pad_peer_query()
1623
1624 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1625
1626         * tests/check/gst/gstsystemclock.c:
1627           Cleanup the test a little (use gst-logging and not g_message). Improve
1628           test to check if a wait reached the target.
1629
1630 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1631
1632         * docs/libs/gstreamer-libs-sections.txt:
1633           Add new API to docs and fix the build.
1634
1635 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
1636
1637         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1638         (gst_base_src_init), (gst_base_src_set_do_timestamp),
1639         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1640         (gst_base_src_get_property), (gst_base_src_do_sync):
1641         * libs/gst/base/gstbasesrc.h:
1642         Add property to make the basesrc timestamp buffers based on the current
1643         running time.
1644         API: GstBaseSrc::do-timestamp
1645         API: gst_base_src_set_do_timestamp()
1646         API: gst_base_src_get_do_timestamp()
1647
1648 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
1649
1650         * docs/random/release:
1651           Really make sure translations are up-to-date before
1652           a release (#465010).
1653
1654 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
1655
1656         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1657         Always destroy the timer, also in error cases.
1658
1659 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1660
1661         * docs/manual/highlevel-xml.xml:
1662         Fix XML example code. Fixes #472714.
1663
1664 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1665
1666         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1667         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1668         (gst_base_sink_query):
1669         Protect eos and have_preroll with the OBJECT lock so we don't need to
1670         take the PREROLL lock when querying the latency. Fixes #473846.
1671
1672 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
1673
1674         * gst/gstelement.c:
1675           Give some log-messages a category.
1676
1677 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
1678
1679         * gst/gststructure.c:
1680         (gst_structure_fixate_field_nearest_fraction):
1681         Fix fraction list fixation code. Take the fraction with the smallest
1682         difference with the target instead of the first one in the list.
1683
1684         * tests/check/gst/gststructure.c: (GST_START_TEST),
1685         (gst_structure_suite):
1686         Added test to verify correct fraction list fixation behaviour.
1687
1688 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
1689
1690         * win32/common/libgstreamer.def:
1691           Export gst_bus_add_signal_watch too.
1692
1693 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
1694
1695         * docs/libs/gstreamer-libs-sections.txt:
1696         Add new methods to docs.
1697
1698         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1699         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1700         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1701         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1702         * libs/gst/base/gstbasesink.h:
1703         Add ts-offset property to fine-tune the synchronisation.
1704         API: GstBaseSink::ts-offset property
1705         API: gst_base_sink_set_ts_offset()
1706         API: gst_base_sink_get_ts_offset()
1707
1708 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
1709
1710         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1711         (gst_base_sink_init), (gst_base_sink_set_sync),
1712         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1713         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1714         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1715         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1716         (gst_base_sink_get_property), (gst_base_sink_change_state):
1717         * libs/gst/base/gstbasesink.h:
1718         Add async property to instruct the sink never to inform the parent about
1719         ASYNC state changes, update docs.
1720         Check argument with g_return_* for the public functions.
1721         API: GstBaseSink::async property
1722         API: gst_base_sink_set_async_enabled()
1723         API: gst_base_sink_is_async_enabled()
1724
1725 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
1726
1727         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1728         Improve debugging.
1729
1730         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1731         (gst_base_src_default_query), (gst_base_src_wait),
1732         (gst_base_src_do_sync), (gst_base_src_change_state):
1733         Rearrange some code so that we can add support for measuring the 
1734         startup latency.
1735
1736 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
1737
1738         * docs/random/ensonic/dynlink.txt:
1739           More thoughs on this.
1740
1741         * plugins/elements/gstcapsfilter.c:
1742           Add bugzilla ticket number to FIXME comment.
1743
1744 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
1745
1746         * docs/design/part-TODO.txt:
1747         * docs/design/part-block.txt:
1748         Update some docs.
1749
1750 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1751
1752         * gst/Makefile.am:
1753           Revert patch which uses $(gst_headers) instead of $^ because it
1754           breaks make dist.
1755
1756 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1757
1758         * tests/check/gst/gstbin.c: (GST_START_TEST):
1759           Fix leaks in the new unit test.
1760
1761 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
1762
1763         * gst/gst.c:
1764           Don't use GST_INFO before the debug system is actually initialised
1765           (shouldn't do any harm, but won't print anything either, so we can
1766           just as well remove it).
1767
1768         * gst/gstinfo.h:
1769           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1770           compilers that don't support variadic macros (such as MSVC), should
1771           check for debug_level <= __gst_debug_min as well, since that's the
1772           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1773           inline helper functions. Should improve performance a bit, but also
1774           makes sure uses of GST_INFO et.al are ignored if the debugging
1775           system isn't initialised yet (instead of printing an assertion
1776           failure).
1777
1778 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
1779
1780         patch by: David Nečas <yeti@physics.muni.cz>
1781
1782         * gst/Makefile.am:
1783           Replace some non portable makefile constructs.
1784
1785 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
1786
1787         * common/gtk-doc-plugins.mak:
1788           Grrrrr. Don't remove the types file on make clean.
1789
1790 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
1791
1792         * tools/gst-launch.1.in:
1793         Add colorspace to example pipeline. Fixes #458274.
1794
1795 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
1796
1797         * docs/random/release:
1798           The release manager should run 'make download-po' before making a
1799           release to make sure translations are up-to-date.
1800
1801         * po/LINGUAS:
1802         * po/be.po:
1803         * po/pl.po:
1804         * po/rw.po:
1805           Add some new translations.
1806
1807 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
1808
1809         * tools/gst-launch.c: (event_loop), (main):
1810         Don´t try to do any state management when a live pipeline posts
1811         buffering messages.
1812         Also make the buffering string translatable.
1813
1814 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1815
1816         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1817         (bin_handle_async_start), (gst_bin_handle_message_func):
1818         Improve debugging.
1819         When adding elements, insert messages into the bus of the newly added
1820         element and make sure the element is the source of the message. This
1821         allows the parent bin to intercept the message and do the
1822         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1823         messages to the app (which is not allowed).
1824         Update some docs.
1825
1826         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1827         Fix testsuite so that is does not work around messages that should not
1828         have been posted in the first place.
1829
1830 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1831
1832         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1833         (update_degree), (gst_bin_sort_iterator_next):
1834         Fix annoying bug in the sorted iterator where a sink that is not really
1835         a sink (when it has downstream links) screwed up the iterator.
1836
1837         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1838         Unit test to verify the fix.
1839
1840 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1841
1842         * gst/gstmessage.h:
1843         Add some more docs for the messages.
1844
1845         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1846         (gst_base_sink_query):
1847         Add some more debugging.
1848
1849         * tools/gst-launch.c: (event_loop):
1850         When interrupting, don't try to set pipeline to PAUSED twice.
1851
1852 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1853
1854         
1855         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1856         (bin_handle_async_start), (gst_bin_handle_message_func):
1857         Move ASYNC_START message posting to where it belongs, similar to
1858         async_done. 
1859         Don't post ASYNC_START when we are in error. 
1860         Post ASYNC_START when we added an async element to a bin.
1861
1862 2007-08-14  Julien MOUTTE  <julien@moutte.net>
1863
1864         * gst/gstindex.c: (gst_index_add_association): Fix index entry
1865         generation from vargs. Fixes #466595.
1866
1867 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1868
1869         * gst/gstbin.c: (gst_bin_element_set_state):
1870         Always change the state of a NO_PREROLL element even if it has ASYNC
1871         elements inside (in case of a bin).
1872
1873         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1874         Unit test for this case.
1875
1876 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
1877
1878         * libs/gst/check/gstbufferstraw.c:
1879         * libs/gst/check/gstcheck.h:
1880         * libs/gst/controller/gstcontroller.c:
1881         * libs/gst/controller/gstcontrolsource.h:
1882         * libs/gst/controller/gstlfocontrolsource.h:
1883         * plugins/elements/gstcapsfilter.h:
1884         * plugins/elements/gstfdsink.h:
1885         * plugins/elements/gstfdsrc.h:
1886           Add more missing docs.
1887
1888 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1889
1890         * gst/gststructure.c:
1891         Add Since tag to docs.
1892
1893 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1894
1895         * docs/gst/gstreamer-sections.txt:
1896         * gst/gststructure.c: (gst_structure_get_uint):
1897         * gst/gststructure.h:
1898         Add function to get uint from a structure.
1899         API: gst_structure_get_uint()
1900
1901 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1902
1903         * gst/gstcaps.c: (gst_caps_set_simple_valist),
1904         (gst_caps_intersect):
1905         Fix proper check for simple caps.
1906
1907 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
1908
1909         * docs/gst/Makefile.am:
1910         * docs/libs/Makefile.am:
1911           Remove cruft and do some cleanups.
1912
1913         * docs/gst/gstreamer-docs.sgml:
1914         * docs/libs/gstreamer-libs-docs.sgml:
1915           Prepare for comming gtkdoc features (rebase against online docs).
1916
1917 2007-08-10  Michael Smith <msmith@fluendo.com>
1918
1919         * docs/gst/gstreamer-sections.txt:
1920           Add gst_registry_add_path to docs.
1921
1922 2007-08-10  Michael Smith <msmith@fluendo.com>
1923
1924         * gst/gstregistry.h:
1925           Add gst_registry_add_path, which was missing from this header.
1926
1927 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
1928
1929         * libs/gst/controller/gstlfocontrolsource.c:
1930           Printf format fix.
1931
1932 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1933
1934         * libs/gst/base/gstbasesink.c:
1935           Don't send an async_start message during downwards state change if 
1936           target state is less than READY
1937
1938 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1939
1940         translated by: Gabor Kelemen <kelemeng@gnome.hu>
1941
1942         * po/LINGUAS:
1943         * po/hu.po:
1944           Added Hungarian translation.
1945
1946 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1947
1948         * po/fi.po:
1949         * po/it.po:
1950         * po/nl.po:
1951         * po/sv.po:
1952         * po/uk.po:
1953           Updated translations.
1954
1955 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1956
1957         * libs/gst/controller/Makefile.am:
1958         Dist gstlfocontrolsourceprivate.h
1959
1960 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1961
1962         * docs/libs/gstreamer-libs.types:
1963         Don't register the enum type gst_lfo_waveform_get_type() in the
1964         .types file - only GObject derived types belong.
1965
1966 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1967
1968         Patch by: <arenevier at fdn dot fr>
1969
1970         * gst/gstbuffer.h:
1971         Remove comma from last element in enum to avoid compile errors when
1972         using -pendantic. Fixes #464366.
1973
1974 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1975
1976         * docs/design/part-TODO.txt:
1977         Add some more TODO items
1978
1979         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1980         Improve debugging.
1981
1982         * gst/gstcaps.c: (gst_caps_intersect):
1983         Optimize trivial intersection case between identical caps pointers.
1984
1985         * gst/gstelement.c: (gst_element_continue_state),
1986         (gst_element_set_state_func):
1987         * gst/gstpad.c:
1988         Fix spelling and grammar mistakes.
1989
1990 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
1991
1992         * po/POTFILES.in:
1993         * po/POTFILES.skip:
1994           Update POTFILES. Fixes #461599.
1995
1996 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1997
1998         * gst/gst.c:
1999         Fix confusing typo in debug output.
2000
2001 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
2002
2003         reviewed by: Stefan Kost <ensonic@users.sf.net>
2004
2005         * libs/gst/controller/Makefile.am:
2006         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
2007         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
2008         (gst_lfo_control_source_new),
2009         (gst_lfo_control_source_set_waveform),
2010         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
2011         (gst_lfo_control_source_finalize),
2012         (gst_lfo_control_source_dispose),
2013         (gst_lfo_control_source_set_property),
2014         (gst_lfo_control_source_get_property),
2015         (gst_lfo_control_source_class_init):
2016         * libs/gst/controller/gstlfocontrolsource.h:
2017         * libs/gst/controller/gstlfocontrolsourceprivate.h:
2018         API: Add GstLFOControlSource, a control source that gives values
2019         for specific timestamps based on several periodic waveforms.
2020         Fixes #459717.
2021
2022         * tests/check/libs/controller.c: (GST_START_TEST),
2023         (gst_controller_suite):
2024         * docs/libs/gstreamer-libs-docs.sgml:
2025         * docs/libs/gstreamer-libs-sections.txt:
2026         * docs/libs/gstreamer-libs.types:
2027         Add documentation and unit tests for GstLFOControlSource.
2028
2029 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
2030
2031         * configure.ac:
2032         Back to CVS
2033
2034 === release 0.10.14 ===
2035
2036 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
2037
2038         * configure.ac:
2039           releasing 0.10.14, "Breathing Vacuum"
2040
2041 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
2042
2043         * gst/gstelement.c: (gst_element_class_set_details_simple):
2044         * gst/gstelement.h:
2045           Make strings passed to gst_element_class_set_details_simple()
2046           constant, as they should be (#462752).
2047
2048 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
2049
2050         * gst/gstbin.c: (gst_bin_change_state_func),
2051         (bin_handle_async_done), (gst_bin_handle_message_func):
2052         Don't forget about the fact that some element went ASYNC even after a
2053         resync. This makes us post the ASYNC_DONE message correctly.
2054         Fixes #462558.
2055
2056 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
2057
2058         * gst/gstregistry.c: (gst_registry_add_feature):
2059         When replacing an existing feature in the registry, make sure to
2060         continue holding a reference until we've replaced the name string
2061         within our feature hash table. Make sure to use g_hash_table_replace
2062         instead of g_hash_table_insert to ensure the new name string is used
2063         as a key instead of the old one that we're about to free.
2064         Fixes: #462085
2065
2066 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
2067
2068         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2069         (gst_plugin_feature_set_name):
2070         Revert patch from #459466 until after the release and we can work
2071         out exactly what the problem is (if any).
2072
2073 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
2074
2075         * docs/gst/gstreamer-sections.txt:
2076         * gst/gsttaglist.c:
2077         * gst/gsttaglist.h:
2078           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
2079
2080 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
2081
2082         * docs/libs/Makefile.am:
2083         Include our build-prefix libs and includes before the generic ones to
2084         avoid linking against the installed libs when we want the build-tree
2085         ones.
2086
2087 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
2088
2089         Patch by: Steve Fink  <sphink gmail com>
2090
2091         * docs/pwg/building-testapp.xml:
2092           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
2093           if people try to build or install the example from the plugin
2094           template against a GStreamer from package using the configure
2095           defaults.
2096
2097 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
2098
2099         Patch by: Steve Fink  <sphink gmail com>
2100
2101         * tools/gst-inspect.1.in:
2102           Document --print-all and --print-plugin-auto-install-info command
2103           line options in man page.
2104
2105 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
2106
2107         * docs/gst/gstreamer-sections.txt:
2108         Add docs for new api function.
2109
2110 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
2111
2112         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
2113         * gst/gstelementfactory.h:
2114         API: gst_element_factory_has_interface()
2115         Added method to check if an element factory implements a named
2116         interface.
2117
2118 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
2119
2120         * configure.ac:
2121         * docs/gst/gstreamer.types.in:
2122           Another conditional doc check.
2123
2124         * gst/gstmessage.c:
2125         * gst/gstparamspecs.h:
2126         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2127         * gst/gstvalue.c:
2128         * gst/gstxml.h:
2129           API-doc fixes.
2130
2131 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2132
2133         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
2134         (gst_registry_binary_load_feature),
2135         (gst_registry_binary_load_plugin),
2136         (gst_registry_binary_read_cache):
2137           Print error just once and with additional info.
2138
2139 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2140
2141         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2142         (helper_find_suggest), (helper_find_get_length),
2143         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
2144         (gst_type_find_helper_for_buffer):
2145           Cleanup the typefindhelper code and add private doc comments.
2146
2147 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
2148
2149         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2150         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
2151         Fix capsfilter for cases where the caps set on capsfilter will provide
2152         additional information.
2153         Fixes #449197
2154
2155 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2156
2157         * gst/gsttypefindfactory.c:
2158           Fix docs that recommened wrong function to use.
2159
2160 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2161
2162         * tools/gst-inspect.c: (print_plugin_features):
2163           Also give media-type for typefinders in element output.
2164
2165 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2166
2167         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
2168         (gst_registry_remove_features_for_plugin_unlocked),
2169         (gst_registry_add_feature), (gst_registry_remove_feature),
2170         (gst_registry_lookup_feature_locked):
2171         * gst/gstregistry.h:
2172           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
2173           Fixes #459501.
2174
2175 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2176
2177         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2178         (gst_plugin_feature_set_name):
2179           Avoid double memory usage for pluginfeature names. Fixes #459466.
2180
2181 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
2182
2183         * gst/gstpad.h:
2184           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
2185           driving the pipeline may need to explicitly check for NOT_LINKED as
2186           well, since IS_FATAL doesn't cover that.
2187
2188 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
2189
2190         * docs/pwg/advanced-types.xml:
2191           Fix typo and duplicate entry in video formats list.
2192
2193 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
2194
2195         * libs/gst/controller/gstinterpolation.c:
2196         Also round to the nearest int when using cubic interpolation.
2197
2198 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
2199
2200         * libs/gst/controller/gstinterpolation.c:
2201         When linearly interpolating integer types, round to the nearest int
2202         by adding 0.5. Don't do it for float/double types.
2203         Fixes the failing controller test on my machine, which is somehow
2204         rounding differently than on the buildbots.
2205
2206 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2207
2208         * tools/gst-plot-timeline.py:
2209           Better log parsing (categories can have -). Adjust text vs. lines, so
2210           that they span the same y-range.        
2211
2212 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2213
2214         * docs/random/ensonic/audiobaseclasses.txt:
2215         * docs/random/ensonic/dynlink.txt:
2216         * docs/random/ensonic/profiling.txt:
2217           Save my thoughts.
2218
2219         * docs/random/moving-plugins:
2220           Add note to use g_assert type macros.
2221
2222 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2223
2224         * configure.ac:
2225         * libs/gst/check/Makefile.am:
2226           Add libm check as we use in for plugins.
2227
2228 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
2229
2230         * gst/gstbin.c: (gst_bin_continue_func):
2231         Check that the state_cookie hasn't changed since the continue_func
2232         was scheduled. Avoids problems where the state changes back to
2233         something it shouldn't be because it was changed in the meantime.
2234
2235 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
2236
2237         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2238         (gst_registry_binary_save_string),
2239         (gst_registry_binary_save_pad_template),
2240         (gst_registry_binary_save_feature),
2241         (gst_registry_binary_save_plugin),
2242         (gst_registry_binary_load_feature),
2243         (gst_registry_binary_load_plugin),
2244         (gst_registry_binary_read_cache):
2245           Fix memory leak. Be less verbose in the log.
2246
2247 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2248
2249         * tests/check/elements/.cvsignore:
2250         Add file to cvsignore as commanded.
2251
2252 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2253
2254         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2255         (mq_dummypad_event), (run_output_order_test):
2256         Use a GStaticMutex to protect all cases where libcheck
2257         fail_if/fail_unless macros might be called from multiple threads
2258         simultaneously to avoid errors like:
2259           "check_pack.c:107: :-1081725400:Bad message type arg"
2260
2261 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2262
2263         * tests/check/pipelines/stress.c: (GST_START_TEST):
2264         Make sure we set the pipeline back to the NULL state before
2265         dropping our final reference.
2266
2267 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2268
2269         * tests/check/elements/tee.c: (GST_START_TEST):
2270         Make the tee stress-test a little less stressful so it doesn't just
2271         time out on slow-machines, and remove a small race when it's starting 
2272         up by adding a get_state() call.
2273
2274 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
2275
2276         * gst/gst.c:
2277           Avoid reading registry twice on startup. Fixes #457322.
2278
2279 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2280
2281         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2282         * pkgconfig/gstreamer-check.pc.in:
2283         Substitute the CFLAGS for libcheck into our .pc file too so that
2284         dependent modules will pick it up properly if libcheck is installed
2285         into some other prefix.
2286
2287 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2288
2289         * configure.ac:
2290         Revert the pkg-config check for libcheck, since it pulls in the
2291         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2292         a proper solution, either from the check project, or something else.
2293
2294 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
2295
2296         * configure.ac:
2297           Use pkg-config to locate check.
2298
2299 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
2300
2301         * gst/gsttaglist.c:
2302           Fix doc syntax.
2303
2304         * gst/gstutils.c:
2305         * gst/gstutils.h:
2306           Add deprecation guards.
2307
2308         * libs/gst/base/gstcollectpads.h:
2309           Don't document object (this is implicitly private).
2310
2311 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
2312
2313         * gst/gststructure.c: (gst_structure_parse_value):
2314           When deserialising foo=bar without a type cast, check if it's a
2315           boolean before falling back to a string type, otherwise things like
2316           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2317           because the filtercaps end up having a signed=(string)true field,
2318           which causes problems later when intersection caps.
2319
2320         * tests/check/gst/gststructure.c: (GST_START_TEST):
2321           Add a unit test for this.
2322
2323 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
2324
2325         Reviewed by: Stefan Kost <ensonic@users.sf.net>
2326
2327         * libs/gst/controller/Makefile.am:
2328         * libs/gst/controller/gstcontroller.c:
2329         (gst_controlled_property_add_interpolation_control_source),
2330         (gst_controlled_property_new), (gst_controlled_property_free),
2331         (gst_controller_find_controlled_property),
2332         (gst_controller_new_valist), (gst_controller_new_list),
2333         (gst_controller_new), (gst_controller_remove_properties_valist),
2334         (gst_controller_remove_properties_list),
2335         (gst_controller_remove_properties),
2336         (gst_controller_set_property_disabled),
2337         (gst_controller_set_disabled), (gst_controller_set_control_source),
2338         (gst_controller_get_control_source), (gst_controller_get),
2339         (gst_controller_sync_values), (gst_controller_get_value_array),
2340         (_gst_controller_dispose), (gst_controller_get_type),
2341         (gst_controlled_property_set_interpolation_mode),
2342         (gst_controller_set), (gst_controller_set_from_list),
2343         (gst_controller_unset), (gst_controller_unset_all),
2344         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2345         * libs/gst/controller/gstcontroller.h:
2346         * libs/gst/controller/gstcontrollerprivate.h:
2347         * libs/gst/controller/gstcontrolsource.c:
2348         (gst_control_source_class_init), (gst_control_source_init),
2349         (gst_control_source_get_value),
2350         (gst_control_source_get_value_array), (gst_control_source_bind):
2351         * libs/gst/controller/gstcontrolsource.h:
2352         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2353         (gst_object_get_control_source):
2354         * libs/gst/controller/gstinterpolation.c:
2355         (gst_interpolation_control_source_find_control_point_node),
2356         (gst_interpolation_control_source_get_first_value),
2357         (_interpolate_none_get), (interpolate_none_get),
2358         (interpolate_none_get_boolean_value_array),
2359         (interpolate_none_get_enum_value_array),
2360         (interpolate_none_get_string_value_array),
2361         (_interpolate_trigger_get), (interpolate_trigger_get),
2362         (interpolate_trigger_get_boolean_value_array),
2363         (interpolate_trigger_get_enum_value_array),
2364         (interpolate_trigger_get_string_value_array):
2365         * libs/gst/controller/gstinterpolationcontrolsource.c:
2366         (gst_control_point_free), (gst_interpolation_control_source_reset),
2367         (gst_interpolation_control_source_new),
2368         (gst_interpolation_control_source_set_interpolation_mode),
2369         (gst_interpolation_control_source_bind),
2370         (gst_control_point_compare), (gst_control_point_find),
2371         (gst_interpolation_control_source_set_internal),
2372         (gst_interpolation_control_source_set),
2373         (gst_interpolation_control_source_set_from_list),
2374         (gst_interpolation_control_source_unset),
2375         (gst_interpolation_control_source_unset_all),
2376         (gst_interpolation_control_source_get_all),
2377         (gst_interpolation_control_source_get_count),
2378         (gst_interpolation_control_source_init),
2379         (gst_interpolation_control_source_finalize),
2380         (gst_interpolation_control_source_dispose),
2381         (gst_interpolation_control_source_class_init):
2382         * libs/gst/controller/gstinterpolationcontrolsource.h:
2383         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2384         API: Refactor GstController into the core controller which can take
2385         a GstControlSource for providing actual values for timestamps.
2386         Implement a interpolation control source and use this for backward
2387         compatibility, deprecate a bunch of functions that are now handled
2388         by GstControlSource or GstInterpolationControlSource.
2389         Make it possible to disable the controller completely or only for
2390         specific properties. Fixes #450711.
2391         * docs/libs/gstreamer-libs-docs.sgml:
2392         * docs/libs/gstreamer-libs-sections.txt:
2393         * docs/libs/gstreamer-libs.types:
2394         Add new functions and classes to the docs.
2395         * tests/check/libs/controller.c: (GST_START_TEST),
2396         (gst_controller_suite):
2397         * tests/examples/controller/audio-example.c: (main):
2398         Port unit test and example to the new API and add some new
2399         unit tests.
2400
2401 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
2402
2403         Patch by: Mark Nauwelaerts <manauw at skynet be>
2404
2405         * plugins/elements/gstmultiqueue.c:
2406         (gst_multi_queue_get_internal_links), (apply_buffer),
2407         (single_queue_overrun_cb), (gst_single_queue_new):
2408         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2409         the pipeline layout can be tracked correctly. Fixes #453732.
2410
2411 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
2412
2413         * docs/gst/Makefile.am:
2414         * docs/libs/Makefile.am:
2415         * docs/plugins/Makefile.am:
2416           Simplify --extra-dir as gtkdoc scans recursively.
2417
2418 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2419
2420         * tools/gst-launch.c: (main):
2421         When we got an error, there is no point in waiting for preroll when
2422         shutting down.
2423
2424 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2425
2426         * plugins/elements/gsttee.c: (gst_tee_base_init),
2427         (gst_tee_request_new_pad), (gst_tee_release_pad),
2428         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2429         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2430         (gst_tee_chain):
2431         Be a lot smarter when deciding what srcpad to use for proxying
2432         the buffer_alloc. Also handle pad added/removed when doing so.
2433         Fixes #357959.
2434         Keep track of what pads we already pushed on in case we have pads
2435         added/removed while pushing. Fixes #374639 
2436
2437         * tests/check/Makefile.am:
2438         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2439         (tee_suite):
2440         Added unit test for pad resync.
2441
2442 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2443
2444         * po/nl.po:
2445         * po/sv.po:
2446           Updated translations.
2447
2448 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2449
2450         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2451
2452         * po/LINGUAS:
2453         * po/fi.po:
2454           Added new Finnish translation.
2455
2456 2007-06-28  Wim Taymans  <wim@fluendo.com>
2457
2458         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2459         (single_queue_overrun_cb):
2460         When figuring out when a queue is filled, use our internal time estimate
2461         based on segments, just like check_full does.
2462
2463 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2464
2465         * gst/gstminiobject.c: (gst_mini_object_get_type):
2466           Remove 3 do-nothing methods.
2467
2468 2007-06-27  Wim Taymans  <wim@fluendo.com>
2469
2470         Patch by: Tim Angus <tim at ngus dot net>
2471
2472         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2473         (gst_capsfilter_set_property):
2474         Take a reference instead of a copy when setting "caps".
2475         Fix documentation to clarify this behaviour. Fixes #449414.
2476
2477 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2478
2479         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2480         * gst/gstplugin.c: (gst_plugin_init):
2481         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2482         * gst/gstquery.c: (gst_query_get_type):
2483         * gst/gstregistry.c: (gst_registry_init):
2484         * gst/gsturi.c: (gst_uri_handler_base_init):
2485           Remove empty instance_init() functions to save relocs and lessen the
2486           noise. Remove some of the function prototypes that are doubled by
2487           G_DEFINE_TYPE.
2488           
2489 2007-06-27  Wim Taymans  <wim@fluendo.com>
2490
2491         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2492
2493         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2494         Add peer and direction in the XML serialisation of ghostpads.
2495         Fixes #449226.
2496
2497 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2498
2499         * configure.ac:
2500           Preserve useful information, thanks Tim.
2501
2502 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
2503
2504         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2505         (gst_single_queue_flush), (apply_segment), (apply_buffer),
2506         (gst_single_queue_push_one), (gst_multi_queue_loop),
2507         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2508         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2509         (compute_high_id), (gst_single_queue_new):
2510         * plugins/elements/gstmultiqueue.h:
2511         Take the multiqueue lock when updating the fill level so we don't get
2512         confused. 
2513
2514         After applying a buffer or event on the src pad segment, make sure to
2515         call gst_data_queue_limits_changed() to get the data queue to unblock
2516         and check the filled state again.
2517         
2518         Rework the not-linked pad handling so the logic is that not-linked 
2519         pads can push as fast as they like, but only so they never get 
2520         ahead of any linked pads.
2521
2522         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2523         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2524         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2525
2526         Add a test to check that not-linked pads always stay behind
2527         linked pads.
2528
2529         Fixes: #430682
2530
2531 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
2532
2533         * docs/random/release:
2534           Some updates to the release procedure.
2535
2536 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2537
2538         * gst/gstelementfactory.c: (__gst_element_details_clear):
2539           Microoptimization that saves stunning 80 bytes.
2540
2541 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
2542
2543         * docs/plugins/gstreamer-plugins.args:
2544         * docs/plugins/inspect/plugin-coreelements.xml:
2545         * docs/plugins/inspect/plugin-coreindexers.xml:
2546           Update docs with caps info.
2547
2548 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2549
2550         * po/it.po:
2551           Updated Italian translation.
2552
2553 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2554
2555         * ChangeLog:
2556         * po/vi.po:
2557           Update Vietnamese translations.
2558
2559 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2560
2561         * libs/gst/base/gstbasesink.c:
2562           Remove unused signal enum.
2563
2564 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2565
2566         * docs/gst/gstreamer-sections.txt:
2567         * gst/gstelement.c:
2568         * gst/gstutils.c: (gst_type_register_static_full):
2569         Beef up and include the docs for gst_type_register_static_full and
2570         gst_element_class_set_details_simple and add the API keyword
2571         in the ChangeLog.
2572
2573 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2574
2575         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2576         (update_time_level), (gst_single_queue_push_one),
2577         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2578         (single_queue_overrun_cb), (single_queue_underrun_cb),
2579         (single_queue_check_full):
2580         Fix setting max-* properties after adding queues.
2581         Use IS_FILLED for checking visible items.
2582         Signal overrun if multiple queues overrun.
2583         Add extra debug output.
2584         Patch by: Wim Taymans <wim@fluendo.com>
2585
2586 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
2587
2588         * gst/gstelement.c: (gst_element_class_set_details_simple):
2589         * gst/gstelement.h:
2590         * gst/gstutils.c: (gst_type_register_static_full):
2591         * gst/gstutils.h:
2592         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2593         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2594         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2595         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2596         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2597         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2598         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2599         * plugins/elements/gstidentity.c: (gst_identity_base_init):
2600         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2601         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2602         (apply_buffer), (gst_queue_chain):
2603         * plugins/elements/gsttee.c: (gst_tee_base_init):
2604         * plugins/elements/gsttypefindelement.c:
2605         (gst_type_find_element_base_init),
2606         (gst_type_find_element_class_init):
2607           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2608           API: add gst_type_register_static_full
2609           API: add gst_element_class_set_details_simple
2610
2611 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2612
2613         * docs/pwg/advanced-types.xml:
2614           Fix typo in iana.org URI.
2615
2616 2007-06-19  Andy Wingo  <wingo@pobox.com>
2617
2618         * tests/check/pipelines/simple-launch-lines.c
2619         (test_state_change_returns): Enable pull-mode tests now that
2620         basesink has been fixed.
2621
2622         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2623         Changed from gst_base_sink_is_prerolled, reversing the sense of
2624         the return value. Returns FALSE also if the sink is in pull mode,
2625         in which case it needs no preroll.
2626         (gst_base_sink_query, gst_base_sink_change_state): Update for
2627         needs_preroll change.
2628         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2629         chaining up, in which we return SUCCESS directly if we activated
2630         in pull mode instead of ASYNC. Involves countering an async_start
2631         message sent before chaining up; not sure if this is correct, in
2632         an ideal world we only send async-start when activating in push
2633         mode.
2634
2635         * tests/check/pipelines/simple-launch-lines.c
2636         (test_state_change_returns): New test, partially disabled until
2637         basesink is fixed.
2638
2639 2007-06-19  Wim Taymans  <wim@fluendo.com>
2640
2641         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2642         (gst_multi_queue_sink_event):
2643         Fix event leak.
2644
2645 2007-06-19  Wim Taymans  <wim@fluendo.com>
2646
2647         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2648         (gst_bin_change_state_func), (bin_push_state_continue),
2649         (bin_handle_async_start), (bin_handle_async_done),
2650         (gst_bin_handle_message_func):
2651         Move the common code for posting state-change messages into
2652         one function.
2653         Broadcast the state signal after we posted the messages.
2654         Mark the bin as busy when it's doing a state-change.
2655         Make sure async-start/done messages don't interfere with the bin's
2656         state when it's busy.
2657         After the state change, let the bin check which elements completed the
2658         state change while it was busy so that it can update its state.
2659
2660 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
2661
2662         * docs/random/release:
2663         Add a note about updating the doap file to the release checklist
2664
2665 2007-06-18  Wim Taymans  <wim@fluendo.com>
2666
2667         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2668         (gst_single_queue_push_one), (gst_multi_queue_chain),
2669         (gst_multi_queue_sink_event):
2670         Make sure we don't reference the buffer/event after we have given away
2671         ownership in the queue.
2672
2673 2007-06-18  Wim Taymans  <wim@fluendo.com>
2674
2675         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2676         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2677         Update queue state _after_ adding the item in the queue because else we
2678         could end up being full without the element added yet.
2679
2680 2007-06-18  Wim Taymans  <wim@fluendo.com>
2681
2682         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2683         (gst_bin_remove_func), (gst_bin_get_state_func),
2684         (gst_bin_element_set_state), (gst_bin_continue_func),
2685         (bin_push_state_continue), (bin_handle_async_start),
2686         (bin_handle_async_done), (gst_bin_handle_message_func):
2687         * gst/gstbin.h:
2688         Immediatly commit the toplevel bin state when receiving an async-done
2689         message. This enables us to avoid spawning a thread to commit the state
2690         in some common cases and it also avoids some races.
2691         Avoid spawning a state thread when adding/removing async elements to a
2692         toplevel bin. Instead we immediatly update the bin state.
2693         Get rid of iterating all the children when getting the state in the bin
2694         because it is now always up-to-date.
2695         Fix bug where locked elements would always return _SUCCESS even it they
2696         returned NO_PREROLL before being locked.
2697         Fix the order of the state_change, async-start/done messages that was
2698         sometimes incorrect.
2699         Mark the state_dirty field as deprecated, we don't need it anymore as we
2700         are always up-to-date.
2701
2702         * gst/gstelement.c: (gst_element_get_state_func),
2703         (gst_element_continue_state):
2704         Small debug inprovements.
2705         Return the previous element state return when nothing is pending instead
2706         of blindly returning SUCCESS.
2707
2708         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2709         (gst_sinks_suite):
2710         Add a whole bunch of new testcases.
2711
2712 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2713
2714         * po/uk.po:
2715         * po/vi.po:
2716           Update translations.
2717
2718 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
2719
2720         * gst/gstpad.c:
2721         Fix typo in the docs.
2722
2723 2007-06-15  Wim Taymans  <wim@fluendo.com>
2724
2725         * docs/libs/gstreamer-libs-sections.txt:
2726         Add docs for new methods.
2727
2728 2007-06-15  Wim Taymans  <wim@fluendo.com>
2729
2730         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2731         (gst_multi_queue_item_new):
2732         Don't use GSlice because we don't depend on >= 2.10 yet.
2733
2734 2007-06-15  Wim Taymans  <wim@fluendo.com>
2735
2736         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2737         (update_time_level), (apply_segment), (apply_buffer),
2738         (gst_single_queue_push_one), (gst_multi_queue_item_new),
2739         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2740         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2741         (single_queue_underrun_cb), (single_queue_check_full):
2742         Remove debug printf.
2743
2744 2007-06-15  Wim Taymans  <wim@fluendo.com>
2745
2746         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2747         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2748         (gst_data_queue_set_flushing), (gst_data_queue_push),
2749         (gst_data_queue_pop), (gst_data_queue_drop_head),
2750         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2751         * libs/gst/base/gstdataqueue.h:
2752         Various cleanups.
2753         Added methods to get the current levels and to inform the queue that the
2754         'full' limits changed.
2755
2756         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2757         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2758         (gst_single_queue_flush), (update_time_level), (apply_segment),
2759         (apply_buffer), (gst_single_queue_push_one),
2760         (gst_multi_queue_item_steal_object),
2761         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2762         (gst_multi_queue_loop), (gst_multi_queue_chain),
2763         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2764         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2765         (gst_multi_queue_src_query), (single_queue_overrun_cb),
2766         (single_queue_underrun_cb), (single_queue_check_full),
2767         (gst_single_queue_new):
2768         Keep track of time in the queue by measuring the difference between
2769         running_time on input and output. This gives more accurate results and
2770         can compensate for segments correctly.
2771         Make a queue by default only 5 buffers deep. We will now increase the
2772         buffer size depending on the filledness of the other queues.
2773         Factor out commong flush code.
2774         Make sure we don't add additional refcounts to buffers when we can avoid
2775         it.
2776         Propagate GstFlowReturn differently.
2777         Use GSlice for intermediate GstMultiQueueItems.
2778         Keep track of EOS.
2779         Resize queues on over and underruns based on filled level of other
2780         queues.
2781         When checking if the queue is filled, prefer to measure in time if we
2782         can and fall back to bytes when no time is known.
2783
2784         * plugins/elements/gstqueue.c:
2785         Fix return value.
2786
2787 2007-06-15  Wim Taymans  <wim@fluendo.com>
2788
2789         * libs/gst/base/gstbasetransform.c:
2790         (gst_base_transform_sink_event):
2791         Work around the brokenness of the event vmethod in basetransform. Prefer
2792         to return TRUE when the subclass returned FALSE (meaning don't forward
2793         the event). 
2794
2795         * libs/gst/base/gstbasetransform.h:
2796         Clarify the docs.
2797
2798 2007-06-15  Wim Taymans  <wim@fluendo.com>
2799
2800         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2801         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2802         (gst_base_src_default_query), (gst_base_src_get_range),
2803         (gst_base_src_start):
2804         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2805         Improve debugging.
2806
2807 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2808
2809         * docs/pwg/advanced-types.xml:
2810           Added more formats to caps table.
2811
2812 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2813
2814         * tools/gst-launch.c: (main):
2815           Remove crufy code. GOption does not need this workaround.
2816
2817 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2818
2819         * libs/gst/controller/gstcontroller.c:
2820         (gst_controlled_property_set_interpolation_mode):
2821           Fix wrong getter for enums in controller.
2822
2823 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2824
2825         * libs/gst/check/gstcheck.c: (gst_check_init):
2826           Intercept criticals and warnings in the Gst-Phonon log domain, so
2827           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2828           well.
2829         
2830 2007-06-14  Edward Hervey  <edward@fluendo.com>
2831
2832         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2833         Since this file doesn't include "gst.h" it will not go through the
2834         macros that disable GST_LOG if debugging was disabled.
2835
2836 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2837
2838         * libs/gst/check/Makefile.am:
2839         * libs/gst/check/gstcheck.h:
2840         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2841         * pkgconfig/gstreamer-check.pc.in:
2842           Ugly 'fix' for the controller unit test on the p5 bot: in
2843           fail_unless_equals_float() check whether the values are 'almost
2844           equal' by allowing a small absolute error, which should be good
2845           enough for our use cases (normal numbers and values close to 0).
2846           Proper fixage left to floating point arithmetic aficionados.
2847
2848 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2849
2850         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2851         (gst_base_sink_render_object), (gst_base_sink_get_position):
2852           Add two breaks thats where missing.
2853
2854 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2855
2856         * docs/libs/gstreamer-libs-sections.txt:
2857         * libs/gst/check/gstcheck.h:
2858           API: add fail_unless_equals_float() and assert_equals_float().
2859           Add documentation for some of the macros.
2860
2861         * tests/check/libs/controller.c: (GST_START_TEST):
2862           Use newly-added asserts.
2863
2864 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2865
2866         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2867           Show the caps change in the log to help spotting the case of not
2868           exactly matching caps.
2869
2870 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2871
2872         * docs/pwg/building-boiler.xml:
2873           Fix typos, spotted by Thijs Vermeir (#447190).
2874
2875 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2876
2877         * docs/plugins/tmpl/.cvsignore:
2878         Ignore file to keep the buildbots happy
2879
2880 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2881
2882         * docs/plugins/Makefile.am:
2883         * docs/plugins/gstreamer-plugins-docs.sgml:
2884         * docs/plugins/gstreamer-plugins-sections.txt:
2885         Pull fdsink into the docs too.
2886
2887 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
2888
2889         * libs/gst/controller/gstinterpolation.c:
2890         Actually use the new functions with min/max checks for the trigger and
2891         none interpolation modes for get() and get_value_array() instead of
2892         just the latter.
2893
2894 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
2895
2896         * libs/gst/controller/gstcontroller.c:
2897         (gst_controlled_property_free):
2898         Unset the minimum and maximum GValues when freeing the corresponding
2899         GstControllerProperty struct.
2900
2901 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
2902
2903         * libs/gst/controller/gstcontroller.c:
2904         (gst_controlled_property_new):
2905         * libs/gst/controller/gstcontrollerprivate.h:
2906         * libs/gst/controller/gstinterpolation.c:
2907         (gst_controlled_property_find_control_point_node),
2908         (interpolate_none_get), (interpolate_none_get_enum_value_array),
2909         (interpolate_none_get_string_value_array),
2910         (interpolate_trigger_get),
2911         (interpolate_trigger_get_enum_value_array),
2912         (interpolate_trigger_get_string_value_array):
2913         Protect against values larger or smaller than the minimum or maximum
2914         allowed value for the property when using values that can be compared.
2915
2916         Optimize trigger interpolator a bit by taking the last requested value
2917         into account instead of always looping through the complete list.
2918
2919         Fix coding style a bit, everywhere else we use "return foo" instead
2920         of "return (foo)".
2921         
2922         * tests/check/libs/controller.c: (GST_START_TEST),
2923         (gst_controller_suite):
2924         Add unit test for the protection against too large or too small
2925         values.
2926
2927 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
2928
2929         * docs/random/slomo/controller.txt:
2930         Add some thoughts about the future of the controller.
2931
2932 2007-06-08  Wim Taymans  <wim@fluendo.com>
2933
2934         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2935         Don't overflow in retimestamping code.
2936
2937 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
2938
2939         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2940         Use gst_util_guint64_to_gdouble for conversions.
2941         * win32/common/libgstreamer.def:
2942         Add new exported functions.
2943
2944 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
2945
2946         * gst/gstutils.c:
2947           Small docs addition.
2948
2949 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2950
2951         * README:
2952           Remove that test line again.
2953
2954 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2955
2956         * README:
2957           Test commit mail sending.
2958
2959 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2960
2961         * configure.ac:
2962           Fix typo and test commit mail sending.
2963
2964 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2965
2966         * tests/examples/controller/audio-example.c:
2967           Improve comment and test commit mail sending.
2968
2969 2007-06-07  Wim Taymans  <wim@fluendo.com>
2970
2971         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2972         (gst_bin_remove_func), (gst_bin_element_set_state),
2973         (bin_handle_async_start), (bin_handle_async_done),
2974         (gst_bin_handle_message_func):
2975         Add helper function to find messages.
2976         Generate the async-done messages together with the state change
2977         messages.
2978         Small cleanups in handling toplevel bins.
2979
2980 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2981
2982         * libs/gst/base/gstdataqueue.c:
2983         * libs/gst/base/gstdataqueue.h:
2984         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2985         (gst_multi_queue_item_new), (gst_multi_queue_chain),
2986         (gst_multi_queue_sink_event):
2987         * tests/check/elements/multiqueue.c: (multiqueue_suite):
2988           Fix multiqueue leaking buffers and events when downstream or the
2989           queue are flushing. Make refcounting assumptions explicit and
2990           document them (shouldn't break existing code that uses it other than
2991           maybe leak miniobjects, but that already happens anyway). Add unit
2992           test for the most common flushing case. Fixes #423700.
2993           
2994 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2995
2996         * libs/gst/controller/gstcontroller.c:
2997         Clarify docs: The get_all, get_value_array(s) functions
2998         don't modify the GObject properties.
2999
3000 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
3001
3002         * libs/gst/controller/gstcontroller.c:
3003         (gst_controlled_property_set_interpolation_mode),
3004         (gst_controlled_property_prepend_default),
3005         (gst_controlled_property_new), (gst_controller_set_unlocked),
3006         (gst_controller_set), (gst_controller_set_from_list),
3007         (gst_controller_unset), (gst_controller_unset_all):
3008         * libs/gst/controller/gstcontrollerprivate.h:
3009         * libs/gst/controller/gstinterpolation.c:
3010         Factor out the 'set' logic into gst_controller_set_unlocked for the
3011         gst_controller_set and gst_controller_set_from_list functions.
3012
3013         To make life of the interpolators easier always add a control point
3014         at timestamp zero with the default value.
3015
3016         In the linear interpolator make things more obvious by better variable
3017         naming (slope).
3018
3019         Implement cubic interpolation mode (by using a natural cubic spline)
3020         and map the quadratic interpolation mode to this too (as quadratic
3021         doesn't make much sense, see discussion on the list).
3022
3023         * tests/check/libs/controller.c: (GST_START_TEST),
3024         (gst_controller_suite):
3025         Add unit test for the cubic interpolation mode and check everywhere
3026         if the interpolation mode could be set as expected.
3027
3028 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
3029
3030         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
3031           Don't use GLib-2.10 functions, we still depend on
3032           GLib-how-old-is-it-again-2.8.
3033
3034 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
3035
3036         * docs/gst/gstreamer-sections.txt:
3037         * gst/Makefile.am:
3038         * gst/gst.c:
3039         * gst/gst.h:
3040         * gst/gstparamspecs.c: (_gst_param_fraction_init),
3041         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
3042         (_gst_param_fraction_values_cmp),
3043         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
3044         * gst/gstparamspecs.h:
3045         * gst/gstvalue.c:
3046         * tests/check/Makefile.am:
3047         * tests/check/gst/.cvsignore:
3048         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
3049         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
3050         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
3051         (GST_START_TEST), (gst_param_spec_suite):
3052           API: add GstParamSpecFraction, so elements can have fraction
3053           properties without lots of painful string parsing (#444648).
3054
3055 2007-06-05  Wim Taymans  <wim@fluendo.com>
3056
3057         * gst/gstobject.c: (gst_object_class_init):
3058         Fix signal signature.
3059
3060         * gst/gstsegment.c:
3061         Add small clarification in the api docs.
3062
3063         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
3064         States are protected with object lock.
3065
3066 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
3067
3068         * AUTHORS:
3069         I should probably be listed as an author by now.
3070
3071         * docs/random/release:
3072         Update the release doc
3073
3074 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
3075
3076         * gst/gstvalue.c:
3077           Make docs for gst_value_compare() mention return enums that
3078           actually exist.
3079
3080 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
3081
3082         * configure.ac:
3083           Back to CVS
3084
3085 === release 0.10.13 ===
3086
3087 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
3088
3089         * configure.ac:
3090           releasing 0.10.13, "With or without you"
3091
3092 2007-05-25  Wim Taymans  <wim@fluendo.com>
3093
3094         * gst/gstbin.c: (bin_handle_async_done):
3095         Make sure that the child bin stops after completing the async state
3096         change so that the parent can continue the state change to PLAYING.
3097         Fixes #441159.
3098
3099 2007-05-25  Wim Taymans  <wim@fluendo.com>
3100
3101         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3102         (unref_data), (gst_collect_pads_remove_pad),
3103         (gst_collect_pads_check_pads):
3104         Use additional refcounting to avoid crashes when dynamically adding and
3105         removing pads. Fixes #420206.
3106
3107 2007-05-24  Wim Taymans  <wim@fluendo.com>
3108
3109         * tools/gst-launch.c: (event_loop):
3110         When buffering goes from a two digit to a single digit number, make sure
3111         to remove the old second digit by writing a blank over it.
3112
3113 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
3114
3115         * libs/gst/base/gstdataqueue.c:
3116           Eliminate tabs and trailing comma in enum list; fix some typos.
3117
3118 2007-05-24  Wim Taymans  <wim@fluendo.com>
3119
3120         * tests/check/gst/gstbin.c: (GST_START_TEST):
3121         Allow refcount of 3 and 4 because some state thread might still be busy
3122         with it.
3123
3124 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
3125
3126         * plugins/elements/Makefile.am:
3127         * plugins/elements/gstmultiqueue.h:
3128         * plugins/elements/gstqueue.h:
3129           These are not installed headers, no need for padding.
3130
3131 2007-05-24  Wim Taymans  <wim@fluendo.com>
3132
3133         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3134         (gst_bin_continue_func):
3135         Enable latency for next release.
3136         Restore STATE_LOCK around recalc_state that was left out during the
3137         rewrite and could result in racy behaviour when _get_state and
3138         recalc_state are run concurrently. See #440463.
3139
3140 2007-05-23  Wim Taymans  <wim@fluendo.com>
3141
3142         * tests/check/gst/gstsystemclock.c: (store_callback),
3143         (GST_START_TEST):
3144         Improve test_async_order to also work when both timers are already
3145         expired when we get scheduled to check it.
3146
3147 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3148
3149         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
3150         (gst_bin_set_property), (gst_bin_get_property),
3151         (gst_bin_remove_func), (gst_bin_handle_message_func):
3152         * gst/gstbin.h:
3153           'private' is a c++ keyword, let's not use that in header files,
3154           otherwise c++ compilers will throw a tantrum.
3155
3156 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3157
3158         * plugins/elements/gstelements.c:
3159         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
3160         (gst_file_sink_get_current_offset):
3161         * plugins/indexers/gstindexers.c: (plugin_init):
3162           Use #ifdef for HAVE_XYZ for consistency.
3163
3164         * tests/check/Makefile.am:
3165         * tests/check/elements/.cvsignore:
3166         * tests/check/elements/filesink.c: (setup_filesink),
3167         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
3168           Add some unit tests for filesink.
3169
3170 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3171
3172         Patch by: Mark Nauwelaerts <manauw at skynet be>
3173
3174         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3175         (gst_file_sink_query), (gst_file_sink_do_seek),
3176         (gst_file_sink_get_current_offset), (gst_file_sink_render):
3177         * plugins/elements/gstfilesink.h:
3178           Fix position reporting; rename data_written member to current_pos to
3179           reflect its real meaning (fixes #412648).
3180
3181 2007-05-22  Edward Hervey  <edward@fluendo.com>
3182
3183         * docs/gst/gstreamer-sections.txt:
3184         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3185         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
3186         (gst_bin_remove_func), (gst_bin_handle_message_func):
3187         * gst/gstbin.h:
3188         Add a property for bins that handle the state change of their childs.
3189         Fixes #435880
3190
3191 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
3192
3193         * libs/gst/controller/gstinterpolation.c:
3194         Use an array of the correct type when using _get_value_array with
3195         linear interpolation.
3196
3197 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
3198
3199         * gst/gstelement.c (gst_element_requires_clock,
3200           gst_element_provides_clock, gst_element_request_pad,
3201           gst_element_class_set_details, gst_element_class_set_details_simple,
3202           gst_element_default_send_event, gst_element_abort_state,
3203           gst_element_continue_state, gst_element_set_state,
3204           gst_element_set_state_func, iterator_activate_fold_with_resync):
3205         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
3206           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
3207           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
3208           gst_pad_get_range, gst_pad_pull_range):
3209         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
3210           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
3211           GstPadActivateModeFunction, GstPadChainFunction,
3212           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
3213           GstPadFixateCapsFunction, GstPadTemplate):
3214         * gst/gstpipeline.c (gst_pipeline_change_state,
3215           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
3216           gst_pipeline_set_clock, gst_pipeline_auto_clock,
3217           gst_pipeline_get_delay):
3218           Whitespace and docs fixes.
3219
3220 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3221
3222         * libs/gst/controller/gstinterpolation.c:
3223         (interpolate_trigger_get_enum_value_array),
3224         (interpolate_trigger_get_string_value_array):
3225         Add support for retrieving value arrays when using the trigger
3226         interpolation mode. 
3227
3228 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3229
3230         * libs/gst/controller/gstcontroller.c:
3231         (gst_controller_get_value_array):
3232         * libs/gst/controller/gstcontroller.h:
3233         Clarify the docs of gst_controller_get_value_array(): The array where
3234         the values should be written to must be allocated as there seems to be
3235         no way to get the size of a random GType. This doesn't change any
3236         behaviour. Also fix some typos all over the place and remove an unused,
3237         commented function that is not necessary as g_object_set() could be
3238         used instead.
3239         * tests/check/libs/controller.c: (GST_START_TEST),
3240         (gst_controller_suite):
3241         Add unit test for gst_controller_get_value_array().
3242
3243 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
3244
3245         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3246
3247         Disable part of the gst_buffer_try_new_and_alloc test, because
3248         it can happily succeed on 64-bit systems where there's more address
3249         space available.
3250
3251 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3252
3253         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3254         Add unit test for the improved caps checking from bug #421543.
3255
3256 2007-05-21  Wim Taymans  <wim@fluendo.com>
3257
3258         * docs/design/part-synchronisation.txt:
3259         Small addition.
3260
3261         * gst/gstbin.c: (gst_bin_query):
3262         * plugins/elements/gstqueue.c: (apply_segment):
3263         Improve debugging.
3264
3265         * gst/gstmessage.h:
3266         Improve docs.
3267
3268 2007-05-21  Wim Taymans  <wim@fluendo.com>
3269
3270         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3271         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3272         (gst_pad_configure_src):
3273         Added simple version of improved caps checking. It was previously
3274         assumed that a setcaps function would check the validity of the caps but
3275         people prefer us to check caps against the template automatically. 
3276         Fixes #421543.
3277
3278 2007-05-21  Wim Taymans  <wim@fluendo.com>
3279
3280         * libs/gst/base/gstbasetransform.h:
3281         Fix macro for locking/unlocking the transform lock.
3282
3283 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3284
3285         * docs/plugins/tmpl/.cvsignore:
3286           Ignore more.
3287
3288 2007-05-18  Edward Hervey  <edward@fluendo.com>
3289
3290         * plugins/elements/gstqueue.c: (gst_queue_loop):
3291         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3292         for the subtle art of warning a potentially blocking thread that it
3293         should check the source pad return value, and relay the information
3294         upstream.
3295
3296 2007-05-18  Edward Hervey  <edward@fluendo.com>
3297
3298         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3299         Release the queue lock !
3300
3301 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3302
3303         * docs/libs/gstreamer-libs-sections.txt:
3304         Add the two new controller functions to the appropiate places.
3305
3306 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3307
3308         reviewed by: Stefan Kost <ensonic@users.sf.net>
3309
3310         * libs/gst/controller/gstcontroller.c:
3311         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3312         (_gst_controller_get_property), (_gst_controller_set_property),
3313         (_gst_controller_init), (_gst_controller_class_init):
3314         * libs/gst/controller/gstcontroller.h:
3315         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3316         (gst_object_get_control_rate), (gst_object_set_control_rate):
3317         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3318         Add API that provides sync suggestion timestamps for elements that
3319         call gst_object_sync_values() from which those elements can subdivide
3320         their processing loop to get the best results for the controlled
3321         properties. For now it just suggests last_sync + control_rate as
3322         new timestamp but this will be improved in the future.
3323
3324         While doing that change the control-rate property to a GstClockTime
3325         from guint and change it's meaning from samples to nanoseconds as
3326         the GstController doesn't know anything about sampling rate. Strictly
3327         speaking this breaks ABI but as the control-rate property didn't do
3328         anything in the past and as such couldn't be used this should be no
3329         problem.        
3330
3331 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3332
3333         reviewed by: Stefan Kost <ensonic@users.sf.net>
3334
3335         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3336         (gst_controller_unset_all):
3337         * libs/gst/controller/gstcontrollerprivate.h:
3338         * libs/gst/controller/gstinterpolation.c:
3339         (gst_controlled_property_find_control_point_node):
3340         Save last synced value from the list to continue searching from there
3341         in future syncs. This speeds everything up a bit.
3342         
3343 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3344
3345         reviewed by: Stefan Kost <ensonic@users.sf.net>
3346
3347         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3348         (gst_control_point_find), (gst_controlled_property_new),
3349         (gst_control_point_free), (gst_controlled_property_free),
3350         (gst_controller_set), (gst_controller_set_from_list),
3351         (gst_controller_unset), (gst_controller_unset_all),
3352         (gst_controller_sync_values):
3353         * libs/gst/controller/gstcontroller.h:
3354         * libs/gst/controller/gstcontrollerprivate.h:
3355         * libs/gst/controller/gstinterpolation.c:
3356         (gst_controlled_property_find_control_point_node),
3357         (interpolate_none_get), (interpolate_trigger_get):
3358         Add a new private GstControlPoint struct which "inherits" from
3359         GstTimedValue to allow different interpolators to store internal
3360         values next to each control point. From the outside everything is
3361         still a GstControlPoint so we don't loose binary compatibility.
3362         Also fixup all the GValue handling to not leak GValues or list nodes.
3363         * tests/check/libs/controller.c: (GST_START_TEST):
3364         Free the list nodes and GValues in the controller_misc test.
3365
3366 2007-05-17  Edward Hervey  <edward@fluendo.com>
3367
3368         * gst/gstsegment.c:
3369         Small doc fix.
3370
3371 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3372
3373         * gst/gstplugin.c: (gst_plugin_load_file):
3374           If we fail to load a plugin because of unresolved symbols or missing
3375           libraries and spew a warning to stderr, we may just as well mention
3376           which plugin it was that failed to load.
3377
3378 2007-05-13  David Schleef  <ds@schleef.org>
3379
3380         * docs/Makefile.am: the gtk-doc makefile snippet correctly
3381           handles the case when ENABLE_GTK_DOC is false, and installs
3382           the prebuilt documentation.  So gtk-doc subdirs are 
3383           unconditionally enabled.  Fixes: #349099.
3384
3385 2007-05-13  David Schleef  <ds@schleef.org>
3386
3387         * gst/gstutils.h: Reword some documentation.
3388
3389 2007-05-12  David Schleef  <ds@schleef.org>
3390
3391         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3392           do anything with the passed "module" parameter, so remove it.
3393           Allows removal of additional vestigal code.
3394
3395 2007-05-12  David Schleef  <ds@schleef.org>
3396
3397         * gst/gstplugin.c:
3398           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3399           Switch to using g_stat() because it's more portable.
3400
3401 2007-05-12  David Schleef  <ds@schleef.org>
3402
3403         * gst/gst.c:
3404           Add GST_DISABLE_OPTION_PARSING, in order to disable option
3405           parsing for embedded systems.
3406         * gst/gstelementfactory.c:
3407           Allow gst_element_register() to be called with plugin==NULL.
3408           Did nobody notice that static elements were broken?
3409
3410 2007-05-12  Wim Taymans  <wim@fluendo.com>
3411
3412         * tools/gst-launch.c: (event_loop):
3413         Give more interesting info when buffering starts and stops.
3414         Fix case where buffering starts but we fail to update the buffering flag
3415         because the target state is not PLAYING.
3416
3417 2007-05-12  Wim Taymans  <wim@fluendo.com>
3418
3419         * plugins/elements/gstqueue.c: (gst_queue_init),
3420         (gst_queue_finalize), (update_time_level), (apply_segment),
3421         (apply_buffer), (gst_queue_locked_flush),
3422         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3423         (gst_queue_handle_sink_event), (gst_queue_chain),
3424         (gst_queue_push_one), (gst_queue_loop):
3425         * plugins/elements/gstqueue.h:
3426         Refactor an cleanup queue a bit.
3427         Do better time level calculations that also work when the srcpad is not
3428         yet running.
3429         Remove some unneeded debug lines.
3430
3431         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3432         Added testcase for time level measurement.
3433         Try to make some stuff more racefree.
3434
3435 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3436
3437         * gst/gsturi.c: (gst_element_make_from_uri):
3438           Don't leak plugin feature.
3439
3440         * tests/check/Makefile.am:
3441         * tests/check/gst/.cvsignore:
3442         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3443           Add brain-dead unit test.
3444
3445 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3446
3447         Patch by: Jeroen Wouters <woutersj at gmail com>
3448
3449         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3450           Treat protocol strings in a case-insensitive way (#437563).
3451
3452 2007-05-11  Michael Smith <msmith@fluendo.com>
3453
3454         * gst/gstplugin.c: (gst_plugin_load_file):
3455         * gst/gstregistry.c: (gst_registry_scan_path_level):
3456           Don't print a g_warning for any failure to load a shared object.
3457           Instead, push this down into gstplugin.c, and warn _only_ if we
3458           failed to open the module (i.e. failure to link).
3459           Avoids warnings on normal, working, non-plugin .so files.
3460
3461 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
3462
3463         * gst/gstplugin.c (gst_plugin_load_file):
3464         * gst/gstregistry.c (GST_CAT_DEFAULT,
3465           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3466           Print a g_warning if there was an error when loading a plugins during
3467           registry scan. The shuld help beginners starting with gst-plugin
3468           template.
3469
3470 2007-05-10  Wim Taymans  <wim@fluendo.com>
3471
3472         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3473         (update_time_level), (gst_queue_locked_flush),
3474         (gst_queue_handle_sink_event), (gst_queue_chain),
3475         (gst_queue_push_one), (gst_queue_loop):
3476         * plugins/elements/gstqueue.h:
3477         Be smarter when calculating the current amount of data in the queue by
3478         measuring the difference between start and end timestamps (in running
3479         time) inside the queue. Fixes #432876.
3480         API: GstQueue::pushing to notify elements that we are pushing data again
3481         since the running signal is rather broken for this purpose.
3482
3483 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
3484
3485         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3486           gst_queue_base_init, gst_queue_init):
3487           use GST_BOILERPLATE
3488
3489 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
3490
3491         * win32/common/libgstreamer.def:
3492         Add new exported functions.
3493         * win32/vs6/grammar.dsp:
3494         Use grammar pre-generated files.
3495
3496 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3497
3498         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
3499
3500         * gst/Makefile.am:
3501         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3502         * gst/gstparse.h:
3503         * gst/gstutils.c: (gst_parse_bin_from_description):
3504         * gst/gstutils.h:
3505           Maintain API and ABI when --disable-parse is used. Now that
3506           we have an appropriate error code, we can just return NULL and the
3507           appropriate error when gst_parse_launch() is used despite it having
3508           been disabled (#342564).
3509
3510         * tests/check/Makefile.am:
3511         * tests/check/pipelines/.cvsignore:
3512         * tests/check/pipelines/parse-disabled.c:
3513           Make sure these functions exist and return NULL plus a GError when
3514           --disable-parse is used.
3515
3516 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3517
3518         * tests/benchmarks/complexity.c: (main):
3519         * tests/benchmarks/mass-elements.c: (main):
3520           Set a good example and don't leak messages.
3521
3522 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
3523
3524         * docs/gst/Makefile.am:
3525         * docs/libs/Makefile.am:
3526           Correct fixxrefs options.
3527
3528         * docs/plugins/Makefile.am:
3529         * docs/plugins/gstreamer-plugins-docs.sgml:
3530         * docs/plugins/gstreamer-plugins-sections.txt:
3531         * plugins/elements/Makefile.am:
3532         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3533         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3534           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3535           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3536           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3537           _GstCapsFilterClass, trans_class):
3538         * plugins/elements/gstelements.c (name, rank, type, _elements):
3539         * plugins/elements/gstidentity.c
3540           (gst_identity_check_imperfect_timestamp,
3541           gst_identity_check_imperfect_offset):
3542           Document capsfilter and add doc-blurb to identity.
3543
3544 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3545
3546         * libs/gst/controller/gstcontroller.c:
3547         (gst_controlled_property_set_interpolation_mode):
3548         * libs/gst/controller/gstinterpolation.c:
3549           Don't crash if someone tries to set an interpolation mode that
3550           is invalid or that isn't supported yet. Fixes #422295.
3551
3552         * tests/check/libs/controller.c: (GST_START_TEST),
3553         (gst_controller_suite):
3554           Add a test case for the above.
3555
3556 2007-05-03  Edward Hervey  <edward@fluendo.com>
3557
3558         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3559         Properly set the last_stop position on GstSegment. This will only happen
3560         if there is a buffer to push out.
3561
3562 2007-05-03  Wim Taymans  <wim@fluendo.com>
3563
3564         * libs/gst/base/gstbasetransform.c:
3565         (gst_base_transform_buffer_alloc):
3566         always_in_place does not mean that the sink and source caps are the
3567         same! Make sure we don't blindly proxy the buffer_alloc in this case.
3568
3569 2007-05-03  Wim Taymans  <wim@fluendo.com>
3570
3571         * docs/libs/gstreamer-libs-sections.txt:
3572         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3573         (gst_base_src_default_query), (gst_base_src_get_range):
3574         * libs/gst/base/gstbasesrc.h:
3575         API: gst_base_src_query_latency(). Added method so that subclasses can
3576         easily get the latency values of the base source class.
3577
3578 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
3579
3580         * tools/gst-inspect.c (print_implementation_info):
3581         Remove 0.8 cruft.
3582
3583 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
3584
3585         * tools/Makefile.am:
3586         * tools/gst-launch.1.in:
3587           Don't create a customised man page based on the host architecture,
3588           describe the default registry path generically. That way the man
3589           page is the same for all architectures and packagers have one
3590           multilib issue less to deal with. Fixes #434926.
3591
3592 2007-05-02  Wim Taymans  <wim@fluendo.com>
3593
3594         * gst/gstpad.c:
3595         Fix documentation as spotted by rg on IRC. 
3596
3597 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
3598
3599         * gst/gstutils.c:
3600           Improve docs for gst_element_{link,unlink}.
3601
3602 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
3603
3604         * docs/design/part-events.txt:
3605         * docs/design/part-overview.txt:
3606         * gst/gstevent.c:
3607         * gst/gsturi.c:
3608         * gst/gsturi.h:
3609         * libs/gst/base/gstbasesink.c:
3610           Typo fixes; minor docs addition.
3611
3612 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3613
3614         * docs/gst/gstreamer-sections.txt:
3615         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3616         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3617         * gst/gsturi.h:
3618         API: Add gst_uri_protocol_is_supported(), which checks if a sink
3619         or src that supports a given URI protocol exists.
3620
3621 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3622
3623         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3624         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3625         Set the location to NULL if "file://" is set as URI. Otherwise
3626         some random previous URI would still be set if "file://" is
3627         set on an already used filesink/filesrc.
3628
3629 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3630
3631         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3632         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3633         Special case the "file://" URI as as this is used by some
3634         applications to test with gst_element_make_from_uri if there's
3635         an element that supports the URI protocol.
3636         Also move the g_path_is_absolute() check for the location part
3637         of the URI to also check this for "file://localhost/bla" URIs.
3638
3639 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
3640
3641         * docs/gst/gstreamer-sections.txt:
3642         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3643         * gst/gstbuffer.h:
3644         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3645         (gst_buffer_suite):
3646           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3647
3648 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
3649
3650         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3651         (gst_registry_binary_load_pad_template),
3652         (gst_registry_binary_load_plugin),
3653         (gst_registry_binary_read_cache):
3654         * gst/gstregistrybinary.h:
3655           Implement no-mmap alternative for registry reading. Do code cleanups.
3656           Add more comments about avoiding strdups for all text data. Comments
3657           welcome.
3658
3659 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3660
3661         * gst/gstregistrybinary.h (GstBinaryPluginElement,
3662           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3663           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3664           Comment structs and reformat to fix the build (that stuff should go
3665           into a priv. header).
3666
3667 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3668
3669         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3670         (gst_registry_binary_load_feature):
3671         * gst/gstregistrybinary.h:
3672           Refactor so that we can implement multiple features. Add support for
3673           TypeFindFactory features.
3674
3675 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
3676
3677         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3678
3679         * configure.ac:
3680           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3681
3682 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
3683
3684         * gst/gstbin.c: (gst_bin_element_set_state),
3685         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3686         (bin_handle_async_done), (gst_bin_handle_message_func):
3687           Fix build with --gst-disable-gst-debug
3688
3689 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3690
3691         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3692           Make sure streaming has finished before calling the ::stop() vfunc,
3693           since that vfunc might clear state which is being used in the
3694           streaming thread. This fixes a race that caused crashes in
3695           audioresample when shutting down a pipeline (#420106).
3696
3697 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3698
3699         * docs/gst/gstreamer-sections.txt:
3700           That was one byte missing.
3701
3702 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3703
3704         * configure.ac:
3705         * docs/gst/gstreamer-sections.txt:
3706         * gst/Makefile.am:
3707         * gst/gstconfig.h.in:
3708         * gst/gstobject.c: (gst_object_class_init),
3709         (gst_signal_object_class_init):
3710         * gst/gstobject.h:
3711           2nd attempt to have a xml-less build as a joined effort of #413123
3712           and #421480.
3713
3714 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3715
3716         * docs/design/draft-tagreading.txt:
3717           Added open issues/thoughts to draft.
3718
3719 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3720
3721         * gst/parse/grammar.tab.pre.c:
3722         * gst/parse/grammar.tab.pre.h:
3723         * gst/parse/lex._gst_parse_yy.pre.c:
3724         Update the prebuild parser sources.
3725
3726 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3727
3728         * gst/parse/Makefile.am:
3729         And now fix the building of the flex sources. Now everything should
3730         work as expected.
3731
3732 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3733
3734         * gst/parse/Makefile.am:
3735         Now hopefully fix the build failures by setting proper rule
3736         dependencies and moving instead of copying.
3737
3738 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3739
3740         * tests/benchmarks/complexity.gnuplot:
3741         * tests/benchmarks/complexity.scm:
3742         * tests/benchmarks/mass-elements.gnuplot:
3743         * tests/benchmarks/mass-elements.scm:
3744           Total licensification.
3745
3746 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3747
3748         * gst/parse/Makefile.am:
3749           Fix the build by correcting the rule that gave wrong files to flex.
3750
3751 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3752
3753         * tests/benchmarks/complexity.c:
3754         * tests/benchmarks/mass-elements.c:
3755           Change licence to LGPL as granted by Benjamin and Andy.
3756
3757 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3758
3759         * gst/parse/Makefile.am:
3760         Add correct grammar.tab.h dependency if compiling without new enough
3761         flex. Fixes #431150.
3762
3763 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3764
3765         * gst/parse/Makefile.am:
3766         Fix typo and use outdated sources if the flex/bison sources are newer
3767         than the pregenerated ones but flex is too old. Print a warning in
3768         that case. This should fix the build on the build bot.
3769
3770 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3771
3772         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3773         * gst/parse/Makefile.am:
3774         * gst/parse/grammar.y:
3775         * gst/parse/parse.l:
3776         Make the parser reentrant and recursively callable. This requires flex
3777         >= 2.5.31, for older versions pregenerated sources are used as we
3778         can't bump the build dependency. Finally fixes #349180.
3779
3780         * gst/gstparse.c: (gst_parse_launch):
3781         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3782         now anyway.
3783
3784         * docs/gst/Makefile.am:
3785         * docs/gst/Makefile.am:
3786         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3787         (__gst_parse_strfree), (__gst_parse_link_new),
3788         (__gst_parse_link_free), (__gst_parse_chain_new),
3789         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3790         (gst_parse_element_set), (gst_parse_free_link),
3791         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3792         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3793         (_gst_parse_launch):
3794         * gst/parse/grammar.tab.pre.h:
3795         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3796         (yy_get_previous_state), (yy_try_NUL_trans), (input),
3797         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3798         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3799         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3800         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3801         (_gst_parse_yypop_buffer_state),
3802         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3803         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3804         (yy_fatal_error), (_gst_parse_yyget_extra),
3805         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3806         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3807         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3808         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3809         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3810         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3811         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3812         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3813         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3814         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3815         (_gst_parse_yyfree):
3816         If the installed flex version is too old use pre-generated parser
3817         sources. These pre-generated parser sources are always updated when
3818         the actual flex/bison sources change but require everybody who wants
3819         to change something in the parser to have flex >= 2.5.31 installed.
3820
3821 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
3822
3823         * common/m4/gst-gettext.m4:
3824         * gst/gst-i18n-lib.h:
3825           Make --disable-nls to work
3826
3827 2007-04-17  Wim Taymans  <wim@fluendo.com>
3828
3829         * gst/gstconfig.h.in:
3830         Revert previous change that broke the build.
3831
3832 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
3833
3834         * configure.ac:
3835         * gst/Makefile.am:
3836         * gst/gstconfig.h.in:
3837           Drop libxml2 dependency when building with 
3838           --enable-binary-registry --disable-loadsave
3839
3840 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
3841
3842         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3843         (gst_registry_binary_read_cache):
3844         * gst/gstregistrybinary.h:
3845           Remove unnecessary <sys/mman.h> include which broke the win32 build
3846           with MingW; move includes from header file to .c file, even if the
3847           header file isn't installed; use g_strerror() where UTF-8 strings
3848           are expected, such as in GST_DEBUG messages.
3849
3850 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3851
3852         * docs/libs/gstreamer-libs-sections.txt:
3853         Remove bogus addition for API I didn't end up keeping.
3854
3855         * libs/gst/base/gstbasesrc.h:
3856         Mention Since: 0.10.13 in the documentation.
3857
3858         Add the API keyword to the previous ChangeLog entry.
3859
3860 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3861
3862         * docs/libs/gstreamer-libs-sections.txt:
3863         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3864         (gst_base_src_default_prepare_seek_segment),
3865         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3866         * libs/gst/base/gstbasesrc.h:
3867         Allow basesrc derived classes to execute seeks in other formats
3868         by providing a prepare_seek_segment vmethod. Sub-classes can choose
3869         to prepare the GstSegment in any format that their perform_seek method
3870         will be able to understand. The default implementation provides the
3871         old behaviour of attempting to convert the seek offsets to the 
3872         configured native format.
3873
3874         API: basesrc::prepare_seek_segment vmethod.
3875
3876 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3877
3878         * gst/gstelement.c: (gst_element_get_state_func):
3879         Don't output the same debug statement twice.
3880
3881         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3882         (gst_adapter_peek), (gst_adapter_take_buffer):
3883         Optimise the case where we have buffers at the head of the queue that
3884         can be joined quickly (because they're contiguous sub-buffers) by
3885         merging them together rather than copying data out into new memory.
3886
3887         * gst/parse/grammar.y:
3888         * tests/check/pipelines/parse-launch.c:
3889         Fix a leak in an error path for parse_launch, and add a check 
3890         for it to the testsuite.
3891
3892 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3893
3894         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3895           Don't deadlock when releasing a pad - gst_pad_set_active may try
3896           and take the multiqueue lock too.
3897
3898 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3899
3900         * gst/gsterror.c: (_gst_core_errors_init):
3901         * gst/gsterror.h:
3902           API: add GST_CORE_ERROR_DISABLED (#392804).
3903
3904 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3905
3906         * docs/faq/gst-uninstalled:
3907           don't get empty paths on the PATH variables
3908         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3909           Don't format for the uncommon terminal width of 84 characters.
3910
3911 2007-04-06  Wim Taymans  <wim@fluendo.com>
3912
3913         * gst/gstpipeline.c: (reset_stream_time),
3914         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3915         Only try to select a different pipeline clock when we went back to
3916         PAUSED and not when we merely got flushed.
3917
3918 2007-04-05  Michael Smith  <msmith@fluendo.com>
3919
3920         * tools/gst-launch.1.in:
3921           fractions are better supported in gstreamer than ractions, so
3922           suggest using those.
3923
3924 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3925
3926         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3927
3928         * po/LINGUAS:
3929         * po/da.po:
3930           Added Danish translation.
3931
3932 2007-04-05  Wim Taymans  <wim@fluendo.com>
3933
3934         * libs/gst/base/gstbasesink.c:
3935         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3936         Fix leak caused when refusing newsegment after EOS.
3937
3938         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3939         (gst_fake_sink_init), (gst_fake_sink_set_property),
3940         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3941         (gst_fake_sink_render), (gst_fake_sink_change_state):
3942         * plugins/elements/gstfakesink.h:
3943         Add num-buffers property to make the element generate EOS after a
3944         configurable amount of buffers.
3945         API: fakesink::num-buffers property.
3946
3947         * tests/check/elements/fakesink.c: (GST_START_TEST),
3948         (fakesink_suite):
3949         Fix GstBus leak in test.
3950         Test for fakesink num-buffers.
3951
3952 2007-04-05  Wim Taymans  <wim@fluendo.com>
3953
3954         * libs/gst/base/gstbasesink.c:
3955         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3956         (gst_base_sink_change_state):
3957         Don't accept anything after an EOS, return UNEXPECTED instead.
3958
3959         * tests/check/elements/fakesink.c: (GST_START_TEST),
3960         (fakesink_suite):
3961         Unit test for new EOS behaviour.
3962
3963 2007-04-05  Wim Taymans  <wim@fluendo.com>
3964
3965         * gst/gstelement.c: (gst_element_get_request_pad):
3966         Make padtemplates also work when they don't contain %s or %d.
3967
3968 2007-04-05  Wim Taymans  <wim@fluendo.com>
3969
3970         * docs/gst/gstreamer-sections.txt:
3971         * gst/gstclock.c: (gst_clock_adjust_unlocked),
3972         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3973         * gst/gstclock.h:
3974         Improve _adjust_unlocked() so that it overflows less.
3975         Add gst_clock_unadjust_unlocked to convert from external time to
3976         internal time based on calibration.
3977         Add some more debug.
3978         API: GstClock::gst_clock_unadjust_unlocked()
3979
3980 2007-04-03  Wim Taymans  <wim@fluendo.com>
3981
3982         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3983
3984         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3985         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3986         when releasing sink pad. Fixes #425400.
3987
3988 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
3989
3990         * docs/random/ensonic/dynlink.txt:
3991           More work on proposal for new core api.
3992
3993         * docs/libs/gstreamer-libs-sections.txt:
3994         * libs/gst/base/gstbasetransform.h:
3995           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3996           
3997         * libs/gst/controller/gstcontroller.c:
3998         (on_object_controlled_property_changed),
3999         (gst_controller_sync_values),
4000         (gst_controller_set_interpolation_mode):
4001         * libs/gst/controller/gstcontroller.h:
4002           Less verbose logging add docs for unimplemented parts and correctly
4003           return when using unavailable parts.
4004
4005 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
4006
4007         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
4008         Move all the debug to the CLOCK category, and associate it with
4009         the clock object.
4010
4011 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
4012
4013         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
4014         Make take_buffer a bit quicker by removing redundant checks
4015         caused by calling gst_adapter_take.
4016
4017 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
4018
4019         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
4020           Don't leak GCond.
4021
4022         * tests/check/Makefile.am:
4023         * tests/check/elements/.cvsignore:
4024         * tests/check/elements/multiqueue.c: (setup_multiqueue),
4025         (GST_START_TEST), (multiqueue_suite):
4026           Add some dead simple unit tests for the 'multiqueue' element
4027           (some bits don't work yet and are disabled for now).
4028
4029 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
4030
4031         * gst/gstelement.c: (gst_element_get_request_pad),
4032         (gst_element_class_get_request_pad_template):
4033           Make gst_element_get_request_pad() create request pads only for
4034           request pad templates and not for, say, sometimes pad templates.
4035
4036 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
4037
4038         * docs/design/draft-klass.txt:
4039           Add example that needs more thinking.
4040         
4041         * docs/design/draft-missing-plugins.txt:
4042           More thoughts about wrapper plugins.
4043         
4044         * docs/random/ensonic/embedded.txt:
4045         * docs/random/ensonic/profiling.txt:
4046           More design work.
4047
4048 2007-03-25  Wim Taymans  <wim@fluendo.com>
4049
4050         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
4051         (gst_base_src_loop):
4052         Only push the segment events in the PLAYING state for live sources.
4053
4054 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
4055
4056         * gst/gstpipeline.c: (gst_pipeline_change_state):
4057         Modify the clock distribution path in PAUSED->PLAYING so that we 
4058         never attempt to choose a new clock unless we're actually leaving
4059         the PAUSED state for the first time. This prevents choosing a
4060         different clock when the state_change gets called for a 2nd time due
4061         to some element doing an async state change.
4062
4063 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4064
4065         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
4066         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
4067         (gst_pad_chain_unchecked), (gst_pad_push):
4068         Revert last commit. This needs some more thoughts.
4069
4070 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4071
4072         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
4073         (gst_pad_chain_unchecked), (gst_pad_push):
4074         Check in set_caps if the caps are compatible with the pad and remove
4075         two functions that are redundant now. Fixes #421543.
4076
4077 2007-03-22  Wim Taymans  <wim@fluendo.com>
4078
4079         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4080         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
4081         Unref some more to make valgrind happy.
4082
4083 2007-03-22  Wim Taymans  <wim@fluendo.com>
4084
4085         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
4086         (gst_system_clock_id_wait_jitter),
4087         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
4088         Fix anoying regression that survived a few releases. When adding an
4089         async entry while blocking on a sync entry, the sync entry will unblock
4090         but still be busy, so it should continue to wait instead of returning
4091         _BUSY to the app.
4092         Add some comments here and there.
4093
4094         * tests/check/gst/gstsystemclock.c: (mixed_thread),
4095         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
4096         Add testcase for this.
4097
4098 2007-03-22  Wim Taymans  <wim@fluendo.com>
4099
4100         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4101         Handle errors from the clock sync better, only UNSCHEDULED indicates a
4102         WRONG_STATE and can silently pause the task. All other cases should
4103         error out.
4104
4105 2007-03-22  Wim Taymans  <wim@fluendo.com>
4106
4107         Patch by: Ville Syrjala <syrjala at sci dot fi>
4108
4109         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
4110         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
4111         Improve debugging.
4112
4113 2007-03-21  Michael Smith  <msmith@fluendo.com>
4114
4115         * docs/pwg/advanced-types.xml:
4116           Fix some errors in the typefinding docs pointed out on irc.
4117
4118 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
4119
4120         * libs/gst/base/gstbasesrc.c:
4121         Clarify FIXME comment in the face of having added unlock_stop()
4122
4123 2007-03-21  Wim Taymans  <wim@fluendo.com>
4124
4125         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
4126         Prepare for release where we warn against possible app breakage in the
4127         case of live pipelines along with an env var to enable/disable live
4128         preroll mode (GST_COMPAT=[no-]live-preroll).
4129
4130 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4131
4132         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
4133         So we should use correct constants for checking for None offset.
4134
4135 2007-03-20  Wim Taymans  <wim@fluendo.com>
4136
4137         * docs/design/part-block.txt:
4138         Mention the fact that the newly switched element should be set to at
4139         least PAUSED.
4140
4141 2007-03-20  Wim Taymans  <wim@fluendo.com>
4142
4143         * gst/gst.c:
4144         Fix compilation with registry disabled as spotted by Saur.
4145
4146 2007-03-20  Wim Taymans  <wim@fluendo.com>
4147
4148         Patch by: Olivier Crete <tester at tester dot ca>
4149
4150         * gst/gstelement.c: (gst_element_sync_state_with_parent):
4151         Look at the pending state too when syncing the element state to the
4152         parent. Fixes #420133.
4153
4154 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
4155
4156         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
4157         (gst_base_sink_change_state):
4158         * libs/gst/base/gstbasesink.h:
4159         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4160         (gst_base_src_default_event), (gst_base_src_unlock_stop),
4161         (gst_base_src_deactivate):
4162         * libs/gst/base/gstbasesrc.h:
4163         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
4164         for sub-classes to correctly clear any state they set trying to
4165         unlock, such as clearing out unlock commands from a command fd.
4166         API: basesrc::unlock_stop
4167         API: basesink::unlock_stop
4168
4169         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
4170         (gst_fd_sink_render), (gst_fd_sink_unlock),
4171         (gst_fd_sink_unlock_stop):
4172         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
4173         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
4174         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
4175
4176         Implement unlock_stop in fdsrc and fdsink.
4177         Implement seeking in fdsrc when a seekable fd is passed, as in
4178         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
4179
4180 2007-03-19  Wim Taymans  <wim@fluendo.com>
4181
4182         Patch by: Evan Nemerson <evan at coeus dash group dot com>
4183
4184         * gst/gstelement.c: (gst_element_class_init):
4185         Fix pad-added and pad-removed signal signatures so that the pad type is
4186         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
4187
4188 2007-03-19  Wim Taymans  <wim@fluendo.com>
4189
4190         * docs/gst/gstreamer-sections.txt:
4191         Add new element field and method.
4192
4193         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4194         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
4195         (gst_bin_recalc_state), (gst_bin_get_state_func),
4196         (gst_bin_element_set_state), (gst_bin_change_state_func),
4197         (gst_bin_continue_func), (bin_bus_handler),
4198         (bin_push_state_continue), (bin_handle_async_start),
4199         (bin_handle_async_done), (gst_bin_handle_message_func):
4200         Make async state changes a bit smarter by using new ASYNC_START and
4201         ASYNC_DONE messages. This reduces the number of times we run the state
4202         recalculation thread.
4203         Don't change state of element with a pending ASYNC_START message.
4204         Deprecate STATE_DIRTY messages.
4205         
4206         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
4207         (gst_element_get_state_func), (gst_element_continue_state),
4208         (gst_element_lost_state), (gst_element_set_state_func),
4209         (gst_element_change_state):
4210         * gst/gstelement.h:
4211         Keep the state that was last set by the app in a new element field.
4212         Don't allow state changes when handling an element event.
4213         Post ASYNC_START and ASYNC_DONE messages.
4214         Change lost_state so that we go to PAUSED and wait for the parent to set
4215         us to PLAYING again (so latency calculation can be performed)
4216         Export gst_element_change_state() method so that subclasses can use it.
4217         API: gst_element_change_state()
4218         API: GST_STATE_TARGET
4219
4220         * gst/gstpipeline.c: (gst_pipeline_class_init),
4221         (reset_stream_time), (gst_pipeline_change_state),
4222         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
4223         Using the new ASYNC_START message we can reset the base_time when
4224         needed. This can then be used to implement base_time redistribution in
4225         flushing seeks so that we can remove the explicit seek handling.
4226         Perform latency query and configuration when going to PLAYING.
4227
4228         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4229         (gst_base_sink_query), (gst_base_sink_change_state):
4230         Post new ASYNC_START/ASYNC_DONE messages.
4231
4232         * tests/check/generic/sinks.c: (GST_START_TEST):
4233         Fix test because the bin will not set the async element to PLAYING right
4234         away.
4235
4236         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4237         Make the message check a little stronger.
4238         Handle ASYNC messages.
4239
4240         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4241         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4242         Expect ASYNC_DONE messages.
4243
4244 2007-03-19  Wim Taymans  <wim@fluendo.com>
4245
4246         * docs/gst/gstreamer-sections.txt:
4247         * gst/gstmessage.c: (gst_message_new_async_start),
4248         (gst_message_new_async_done), (gst_message_parse_info),
4249         (gst_message_parse_async_start):
4250         * gst/gstmessage.h:
4251         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4252         support.
4253
4254 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4255
4256         * tools/gst-inspect.c:
4257         (print_plugin_automatic_install_info_codecs):
4258           Now that we don't check for the 'Codec' keyword any longer in the
4259           klass, we shouldn't spew a warning if the klass isn't a decoder or
4260           encoder (since it might be a Source/Network, for example).
4261
4262 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4263
4264         * tools/gst-inspect.c:
4265         (print_plugin_automatic_install_info_codecs):
4266           Don't require decoder/demuxer/depayloader elements or
4267           encoder/muxer/paylader elements to have 'Codec' as part of their
4268           factory class string when introspecting a plugin's capabilities.
4269           draft-klass.txt mentions that it might be removed in future, and
4270           flump3dec doesn't have it as part of its class string, so chances
4271           are others might also not have it.
4272
4273 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4274
4275         * po/af.po:
4276         * po/az.po:
4277         * po/bg.po:
4278         * po/ca.po:
4279         * po/cs.po:
4280         * po/de.po:
4281         * po/en_GB.po:
4282         * po/fr.po:
4283         * po/it.po:
4284         * po/nb.po:
4285         * po/nl.po:
4286         * po/ru.po:
4287         * po/sq.po:
4288         * po/sr.po:
4289         * po/sv.po:
4290         * po/tr.po:
4291         * po/uk.po:
4292         * po/vi.po:
4293         * po/zh_CN.po:
4294         * po/zh_TW.po:
4295           Update translations from translation project
4296
4297 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
4298
4299         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4300         (gst_child_proxy_set_property):
4301           Invert precondition check to be alike the ones in the mimiced gobject
4302           api.
4303
4304 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
4305
4306         * docs/design/draft-tagreading.txt:
4307         * docs/random/ensonic/audiobaseclasses.txt:
4308           Do some Architect work.
4309
4310         * gst/gstobject.c: (gst_object_set_name):
4311           Add a WARNING.
4312
4313         * gst/gstpad.c:
4314           Add docs that point from gst_pad_get_range to gst_pad_pull_range
4315
4316 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
4317
4318         * gst/gstsystemclock.c: (gst_system_clock_init),
4319         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4320         Defer starting the async system clock thread until the first async
4321         wait is scheduled. Fixes #414986.
4322
4323 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4324
4325         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4326         (gst_single_queue_free):
4327           Fix small leak (free GstSingleQueue structure too, not only contents).
4328
4329 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
4330
4331         * gst/gstbin.c:(gst_bin_add):
4332         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4333         * win32/common/libgstbase.def:
4334         * win32/common/libgstreamer.def:
4335         Add new exported functions.
4336
4337 2007-03-09  Wim Taymans  <wim@fluendo.com>
4338
4339         * docs/plugins/gstreamer-plugins-sections.txt:
4340         Fix GstTee docs.
4341
4342 2007-03-09  Wim Taymans  <wim@fluendo.com>
4343
4344         * docs/gst/gstreamer-sections.txt:
4345         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4346         * gst/gstbuffer.h:
4347         Add metadata copy functions. Fixes #393099.
4348         API: gst_buffer_copy_metadata()
4349
4350         * gst/gstutils.c: (gst_buffer_stamp):
4351         * libs/gst/base/gstbasetransform.c:
4352         (gst_base_transform_prepare_output_buffer):
4353         Use new metadata copy functions.
4354
4355 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4356
4357         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4358         (gst_identity_init), (gst_identity_check_perfect),
4359         (gst_identity_check_imperfect_timestamp),
4360         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4361         (gst_identity_set_property), (gst_identity_get_property):
4362         * plugins/elements/gstidentity.h:
4363         Separate out check-imperfect-timestamp and check-imperfect-offset.
4364         Put back check-perfect as it was to keep compatibility.
4365
4366 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
4367
4368         * gst/gstelement.c: (gst_element_dispose):
4369         There's no need to warn if VOID_PENDING is not NONE here, as
4370         long as the state is NULL it's ok, and that's checked immediately
4371         above.
4372
4373 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4374
4375         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4376         Fix check for perfect stream to ignore buffers with -1 
4377         offsets/offset ends when checking data contiguity.
4378
4379 2007-03-08  Wim Taymans  <wim@fluendo.com>
4380
4381         * tools/gst-launch.c: (event_loop):
4382         Print INFO messages.
4383
4384 2007-03-08  Wim Taymans  <wim@fluendo.com>
4385
4386         * libs/gst/base/gstbasetransform.c:
4387         (gst_base_transform_sink_eventfunc),
4388         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4389         (gst_base_transform_activate):
4390         * libs/gst/base/gstbasetransform.h:
4391         Add support for dropping buffers with custom GstFlowReturn.
4392         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4393         buffers or dropped buffers.
4394
4395         * docs/libs/gstreamer-libs-sections.txt:
4396         docs for new custom return code.
4397
4398         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4399         Use drop support in base class to implement drop-probability.
4400
4401 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4402
4403         * gst/gst.c: (load_plugin_func):
4404         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4405         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4406         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4407           Remove newlines at end of debug log strings.
4408
4409 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4410
4411         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4412         Only post bus message at max, once per buffer received.
4413
4414 2007-03-07  Wim Taymans  <wim@fluendo.com>
4415
4416         * docs/design/Makefile.am:
4417         * docs/design/part-synchronisation.txt:
4418         Add doc about synchronisation
4419
4420         * docs/design/draft-latency.txt:
4421         * docs/design/part-TODO.txt:
4422         * docs/design/part-clocks.txt:
4423         * docs/design/part-events.txt:
4424         * docs/design/part-gstbus.txt:
4425         * docs/design/part-gstpipeline.txt:
4426         * docs/design/part-live-source.txt:
4427         * docs/design/part-messages.txt:
4428         * docs/design/part-overview.txt:
4429         * docs/design/part-streams.txt:
4430         * docs/design/part-trickmodes.txt:
4431         Documentation updates.
4432
4433 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4434
4435         * gstreamer.doap:
4436         Update the doap file.
4437
4438 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4439
4440         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4441         Rename non-perfect to imperfect for Mike and for the sanctity of the
4442         language.
4443         Also make sure bus message gets emitted for data-incontiguities.
4444
4445 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4446
4447         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4448         (gst_identity_start):
4449         * plugins/elements/gstidentity.h:
4450         Emit bus message if check-perfect is true and we encounter a
4451         non-perfect stream between 2 consecutive buffers.
4452         Fixes #415394.
4453
4454 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4455
4456         * configure.ac:
4457         Back to CVS
4458
4459 === release 0.10.12 ===
4460
4461 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
4462
4463         * configure.ac:
4464           releasing 0.10.12, "Inevitable Demise"
4465
4466 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
4467
4468         * configure.ac:
4469          Version 0.10.11.2 (0.10.12 pre-release)
4470          Bump libtool versioning.
4471
4472 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
4473
4474         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4475           Log flow-names and not numbers.
4476
4477 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4478
4479         * configure.ac:
4480           Convert to new AG_GST style.
4481
4482 2007-02-28  Wim Taymans  <wim@fluendo.com>
4483
4484         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4485         Don't unref query twice.
4486
4487 2007-02-28  Wim Taymans  <wim@fluendo.com>
4488
4489         * gst/gstvalue.c: (gst_value_transform_object_string),
4490         (_gst_value_initialize):
4491         Implement GstObject -> string transform so we print object names
4492         when serializing GValues containing GstObjects.
4493
4494 2007-02-28  Wim Taymans  <wim@fluendo.com>
4495
4496         * docs/gst/gstreamer-sections.txt:
4497         Add new stuff to docs.
4498
4499 2007-02-28  Wim Taymans  <wim@fluendo.com>
4500
4501         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4502         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4503         (gst_base_sink_change_state):
4504         Improve latency query code.
4505         Don't leak latency events.
4506
4507         * tests/check/gst/gstbin.c: (GST_START_TEST):
4508         Improve debugging.
4509
4510 2007-02-28  Wim Taymans  <wim@fluendo.com>
4511
4512         * gst/gstelement.c: (gst_element_message_full),
4513         (gst_element_get_state_func):
4514         * gst/gstelement.h:
4515         Improve docs a little. Added Since: for new macro.
4516
4517         * gst/gstobject.c: (gst_object_sink):
4518         * gst/gstpipeline.c: (gst_pipeline_change_state),
4519         (gst_pipeline_set_new_stream_time):
4520         * gst/gstpipeline.h:
4521         Improve debugging and docs.
4522
4523         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4524         Improve debugging.
4525
4526 2007-02-28  Wim Taymans  <wim@fluendo.com>
4527
4528         * gst/gstelement.c: (gst_element_message_full),
4529         (gst_element_set_locked_state), (gst_element_get_state_func),
4530         (gst_element_change_state):
4531         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4532         Documentation updates.
4533         Small code cleanups.
4534
4535         * gst/gstmessage.c: (gst_message_new_info),
4536         (gst_message_parse_info):
4537         * gst/gstmessage.h:
4538         API: gst_message_new_info()
4539         API: gst_message_parse_info()
4540         Add INFO message create and parse code.
4541
4542 2007-02-28  Wim Taymans  <wim@fluendo.com>
4543
4544         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4545         (bin_query_latency_done):
4546         Also report the live parameter of a latency query.
4547
4548 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4549
4550         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4551           Copy the current generic/states example from -base and adapt so
4552           we can use the exact same code everywhere.
4553           Check a STATES_IGNORE_ELEMENTS env var which can be used
4554           to ignore certain element factories for this test, which is
4555           what is being done in -base
4556         * tests/check/Makefile.am:
4557           Mention this environment variable.
4558
4559 2007-02-27  Wim Taymans  <wim@fluendo.com>
4560
4561         * docs/gst/gstreamer-sections.txt:
4562         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4563         (gst_bus_timed_pop), (gst_bus_pop):
4564         * gst/gstbus.h:
4565         API: gst_bus_timed_pop()
4566         Implement gst_bus_timed_pop() to do a blocking timed wait for a
4567         message to arrive on the bus.
4568
4569         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4570         (gst_bus_suite):
4571         Two unit tests for new _timed_pop() function.
4572
4573 2007-02-23  Wim Taymans  <wim@fluendo.com>
4574
4575         * gst/gstpipeline.c: (gst_pipeline_change_state),
4576         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4577         Don't ref a NULL clock in _provide_clock_func().
4578         Don't allow an INVALID delay.
4579         Don't try to calculate base_time with an invalid start_time.
4580         Also distribute and notify a NULL clock when it was selected.
4581
4582         * tools/gst-launch.c: (event_loop):
4583         Don't crash when a NULL clock was selected in the pipeline.
4584
4585 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4586
4587         * docs/design/Makefile.am:
4588         * docs/design/draft-missing-plugins.txt:
4589         * docs/random/draft-missing-plugins.txt:
4590           Some small updates: update plugin system identifier prefix
4591           ('gstreamer.net' to 'gstreamer'), mention our new install
4592           API in libgstbaseutils rather than libgimme-codec, add
4593           reference to the online docs.
4594
4595 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4596
4597         * win32/common/config.h:
4598           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
4599           use moap cl ci to only check in what is mentioned in the ChangeLog.
4600
4601 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4602
4603         * docs/gst/gstreamer-sections.txt:
4604         * gst/gstelement.h:
4605           Fix up documentation to link to the correct GstGError section.
4606           Add GST_ELEMENT_INFO macro since someone else added a Info message.
4607
4608 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4609
4610         * tools/gst-launch.c: (event_loop):
4611           Make sure that we actually show the important message part of a
4612           warning message.
4613           No need to check if the gerror is not NULL to free; first of all
4614           g_free accepts NULL; and second the default error handler would
4615           segfault if gerror was NULL.
4616
4617 2007-02-21  Wim Taymans  <wim@fluendo.com>
4618
4619         * docs/gst/gstreamer-sections.txt:
4620         Removed docs as well.
4621
4622 2007-02-21  Wim Taymans  <wim@fluendo.com>
4623
4624         * gst/gstmessage.c: (gst_message_parse_duration):
4625         * gst/gstmessage.h:
4626         Remove new messages for release.
4627
4628 2007-02-20  Wim Taymans  <wim@fluendo.com>
4629
4630         * docs/design/part-gstghostpad.txt:
4631         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4632         (gst_ghost_pad_new_full):
4633         Make the ghostpad a parent of the internal pad again for better backward
4634         compatibility. Don't write code that relies on this however.
4635
4636         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4637         (gst_pad_link_check_hierarchy):
4638         Require that parents should be GstElements in the hierarchy check.
4639
4640 2007-02-20  Wim Taymans  <wim@fluendo.com>
4641
4642         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4643         (gst_bin_change_state_func), (bin_query_min_max_init),
4644         (bin_query_latency_fold), (bin_query_latency_done),
4645         (gst_bin_query):
4646         Improve debug info.
4647         Implement latency query.
4648
4649 2007-02-20  Wim Taymans  <wim@fluendo.com>
4650
4651         * docs/design/part-gstghostpad.txt:
4652         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4653         (gst_ghost_pad_internal_do_activate_push),
4654         (gst_ghost_pad_internal_do_activate_pull),
4655         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4656         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4657         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4658         Do not set the internal pad as a parent anymore so we can avoid
4659         hierarchy linking errors when the ghostpad has no parent yet. This also
4660         fixes failed activation because of unlinked internal pads, which in
4661         turn fixes the impossible case where you have to activate a pad before
4662         you can add it to a running element.
4663         Also fix the docs.
4664
4665         * gst/gstpad.c: (pre_activate), (post_activate),
4666         (gst_pad_set_active), (gst_pad_activate_pull),
4667         (gst_pad_activate_push), (gst_pad_check_pull_range):
4668         Add some more debug info.
4669         Mark activation mode in pre_activate so that we don't try to activate in
4670         endless loops. Fixes #385084.
4671
4672 2007-02-19  Wim Taymans  <wim@fluendo.com>
4673
4674         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4675         (gst_base_transform_check_get_range):
4676         Implement a checkgetrange function instead of relying on the default
4677         core behaviour that assumes we can operate in pull mode if we have a
4678         getrange function. First step at fixing #385084.
4679
4680 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
4681
4682         * gst/gstchildproxy.h:
4683         * libs/gst/base/gstbasesink.h:
4684         * libs/gst/base/gstbasesrc.h:
4685         * libs/gst/base/gstbasetransform.h:
4686         More docs coverage and some ChangeLog surgery (add missing names)
4687
4688 2007-02-15  Wim Taymans  <wim@fluendo.com>
4689
4690         * docs/design/part-TODO.txt:
4691         * docs/design/part-activation.txt:
4692         * docs/design/part-block.txt:
4693         * docs/design/part-buffering.txt:
4694         * docs/design/part-clocks.txt:
4695         * docs/design/part-element-source.txt:
4696         * docs/design/part-events.txt:
4697         * docs/design/part-gstbin.txt:
4698         * docs/design/part-gstbus.txt:
4699         * docs/design/part-gstpipeline.txt:
4700         * docs/design/part-live-source.txt:
4701         * docs/design/part-messages.txt:
4702         * docs/design/part-overview.txt:
4703         * docs/design/part-qos.txt:
4704         * docs/design/part-query.txt:
4705         * docs/design/part-states.txt:
4706         * docs/design/part-trickmodes.txt:
4707         Some doc updates. Start renaming from stream_time to running_time where
4708         it was used wrongly.
4709
4710 2007-02-15  Wim Taymans  <wim@fluendo.com>
4711
4712         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4713         Answer LATENCY query.
4714
4715 2007-02-15  Wim Taymans  <wim@fluendo.com>
4716
4717         * tests/check/gst/gstevent.c: (event_probe), (test_event),
4718         (GST_START_TEST):
4719         Improve debugging.
4720
4721 2007-02-15  Wim Taymans  <wim@fluendo.com>
4722
4723         * gst/gstpad.c: (gst_pad_get_internal_links_default),
4724         (gst_pad_dispatcher):
4725         Improve debugging of default pad dispatcher and query functions.
4726
4727 2007-02-15  Wim Taymans  <wim@fluendo.com>
4728
4729         * docs/gst/gstreamer-sections.txt:
4730         Remove old unused method.
4731
4732 2007-02-13  Wim Taymans  <wim@fluendo.com>
4733
4734         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4735         Fix check
4736
4737 2007-02-13  Wim Taymans  <wim@fluendo.com>
4738
4739         * docs/design/part-seeking.txt:
4740         Some small update.
4741
4742         * gst/gstsegment.c: (gst_segment_set_seek):
4743         Revert old bogus change that should make seeking work again.
4744
4745 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4746
4747         * docs/random/ensonic/dynlink.txt:
4748         * docs/random/ensonic/interfaces.txt:
4749         * docs/random/ensonic/receipies.txt:
4750           Possible dynamic reconnection api, plus some type fixes the other two
4751           docs.
4752
4753 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
4754
4755         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4756         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4757         Also check for an absolute path following file:// in the filesrc
4758         element. Remove redundant check and call g_path_is_absolute() on the
4759         unescaped location.
4760
4761 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4762
4763         * docs/design/draft-klass.txt:
4764           Add existing category analysis.
4765           
4766         * gst/gstcaps.c:
4767           Fix doc example, framerate is a fraction.
4768
4769 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4770
4771         * configure.ac:
4772         * docs/gst/Makefile.am:
4773         * docs/gst/gstreamer-sections.txt:
4774         * docs/libs/Makefile.am:
4775           Erm, forgot a bunch of --extra-dir.
4776
4777 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4778
4779         * configure.ac:
4780         * docs/gst/Makefile.am:
4781         * docs/libs/Makefile.am:
4782         * docs/plugins/Makefile.am:
4783           Add crossreferences to glib/gobject docs.
4784
4785 2007-02-12  Wim Taymans  <wim@fluendo.com>
4786
4787         * docs/design/draft-latency.txt:
4788         Small update.
4789
4790         * docs/libs/gstreamer-libs-sections.txt:
4791         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4792         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4793         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4794         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4795         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4796         (gst_base_sink_get_position), (gst_base_sink_query),
4797         (gst_base_sink_change_state):
4798         * libs/gst/base/gstbasesink.h:
4799         API: gst_base_sink_query_latency() to let subclasses query the upstream
4800         latency.
4801         API: gst_base_sink_get_latency() to let subclasses query the configured
4802         latency in the sink.
4803         Implement query and set latency.
4804         Update some docs.
4805         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4806         don't continue preroll when we are flushing. Fixes #405284.
4807
4808         * tests/check/pipelines/stress.c: (change_state_timeout),
4809         (quit_timeout), (GST_START_TEST), (stress_suite):
4810         Test for #405284.
4811
4812 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4813
4814         Patch by: René Stadler <mail at renestadler de>
4815
4816         * docs/gst/gstreamer-sections.txt:
4817         * gst/gsttaglist.c: (_gst_tag_initialize):
4818         * gst/gsttaglist.h:
4819           API: add GST_TAG_REFERENCE_LEVEL (#403597).
4820
4821 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
4822
4823         * docs/libs/Makefile.am:
4824           Fix path to core docs.
4825
4826         * gst/gstbin.c: (gst_bin_get_by_interface),
4827         (gst_bin_iterate_all_by_interface):
4828           Refix docs by also renaming 'interface' to 'iface' in implementation.
4829
4830         * docs/gst/gstreamer-sections.txt:
4831         * gst/gstcaps.c:
4832         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4833         * gst/gstchildproxy.h:
4834         * gst/gstelementfactory.c:
4835         * gst/gstpadtemplate.h:
4836         * libs/gst/controller/gstcontroller.c:
4837         (gst_controlled_property_new):
4838           Document more.
4839
4840 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
4841
4842         * gst/gstbin.h:(gst_bin_get_by_interface),
4843         (gst_bin_iterate_all_by_interface):
4844         Replace interface parameter name by iface as interface is 
4845         a reserved keyword in Visual Studio for C++ projects so it removes
4846         a build error for application developpers using VS.
4847         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4848         Fix a bug on Windows in uri format check. Now the prefix checked
4849         is file:// and next we check if the path after file:// is absolute.
4850         * win32/common/libgstbase.def:
4851         * win32/common/libgstdataprotocol.def:
4852         * win32/common/libgstgstreamer.def:
4853         Add new exported functions.
4854
4855 2007-02-09  Andy Wingo  <wingo@pobox.com>
4856
4857         * tests/check/pipelines/simple-launch-lines.c
4858         (simple_launch_lines_suite, test_tee): Disable tee test until I
4859         have time to fix it :-(
4860
4861         * tests/check/Makefile.am (noinst_HEADERS): 
4862         * tests/check/libs/libsabi.c: 
4863         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4864         * tests/check/gst/gstabi.c: 
4865         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4866
4867         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4868         tests for push and pull tee behavior.
4869
4870         * plugins/elements/gsttee.h: 
4871         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4872         mark as deprecated as well as unimplemented. It was a crack idea.
4873         Add support for tee operating in pull mode, off by default.
4874
4875         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4876         normal-case logs down to LOG, raise errors to WARNING.
4877         (gst_registry_xml_read_cache): Don't log before calling a function
4878         that logs.
4879
4880         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4881         exit (registry finalize).
4882         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4883         DEBUG log when we emit signals that people don't even have the
4884         chance to connect to.
4885         (gst_registry_scan_path_level): Less logging in the normal case.
4886
4887 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4888
4889         Patch by: Michal Benes <michal dot benes at itonis dot tv>
4890
4891         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4892         Correctly generate EOS for non-seekable files. We don't have a total
4893         length for them and would get an unexpected end of file if we only
4894         special-cased for regular files. (Fixes: #404569)
4895
4896 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4897
4898         * tests/check/elements/filesrc.c: (GST_START_TEST),
4899         (filesrc_suite):
4900         Add unit test for the GstURIHandler interface in filesrc. This also
4901         tests the newly added file://localhost/foo/bar support.
4902
4903 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4904
4905         * gst/gstelementfactory.h:
4906           The klass string is not a hierarchy. Add reference to the design doc
4907           for more information and common types.
4908
4909 2007-02-02  Wim Taymans  <wim@fluendo.com>
4910
4911         * gst/gstquery.c: (gst_query_new_latency):
4912         Remove old structure field.
4913
4914 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
4915
4916         * tools/gst-launch.1.in:
4917           Give example for network streaming (#351998)
4918
4919 2007-02-02  Wim Taymans  <wim@fluendo.com>
4920
4921         * docs/gst/gstreamer-sections.txt:
4922         Add docs for new methods.
4923
4924         * gst/gstevent.c: (gst_event_new_latency),
4925         (gst_event_parse_latency):
4926         * gst/gstevent.h:
4927         Add new LATENCY event to configure latency in a pipeline.
4928         API: gst_event_new_latency
4929         API: gst_event_parse_latency
4930
4931         * gst/gstmessage.c: (gst_message_new_buffering),
4932         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4933         (gst_message_new_latency), (gst_message_parse_buffering),
4934         (gst_message_parse_lost_preroll):
4935         * gst/gstmessage.h:
4936         Added messages used in draft-latency.
4937         API: gst_message_new_lost_preroll
4938         API: gst_message_parse_lost_preroll
4939         API: gst_message_new_prerolled
4940         API: gst_message_new_latency
4941
4942         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4943         (gst_query_parse_latency):
4944         * gst/gstquery.h:
4945         Implemented new latency query as in design doc.
4946         API: gst_query_new_latency
4947         API: gst_query_set_latency
4948         API: gst_query_parse_latency
4949
4950 2007-02-02  Wim Taymans  <wim@fluendo.com>
4951
4952         * docs/design/draft-latency.txt:
4953         Slight redesign to allow for dynamic latency adjustments.
4954
4955         * docs/design/part-negotiation.txt:
4956         Fix some typos.
4957
4958 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4959
4960         reviewed by: Wim Taymans <wim@fluendo.com>
4961
4962         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4963         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4964         Allow file://localhost/foo/bar URLs and correctly fail for every other
4965         hostname that one sets. This was gnomevfssrc is linked for those if
4966         installed as it can handle it (#403172)
4967
4968 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4969
4970         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4971
4972         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4973         (unref_data), (gst_collect_pads_add_pad_full):
4974         * libs/gst/base/gstcollectpads.h:
4975         Don't put the previously added destroy notify in the GstCollectData
4976         struct as all it's padding is already used and we don't want to break
4977         ABI. Instead put in the pad's GObject data for now. This should be
4978         cleaned up for 0.11 (#402393).
4979
4980 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4981
4982         reviewed by: Wim Taymans <wim@fluendo.com>
4983
4984         * docs/libs/gstreamer-libs-sections.txt:
4985         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4986         (unref_data), (gst_collect_pads_add_pad),
4987         (gst_collect_pads_add_pad_full):
4988         * libs/gst/base/gstcollectpads.h:
4989         API: Add function to specify a destroy notification for custom
4990         GstCollectData when adding new pads in GstCollectPads (#402393).
4991
4992 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
4993
4994         * po/sv.po:
4995           Update Swedish translation (#378255).
4996
4997 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4998
4999         * docs/design/draft-klass.txt:
5000           Fix the previous change, this is a list of categories and not a hierarchy.
5001
5002 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
5003
5004         * docs/design/draft-klass.txt:
5005           Add info about how to get a list of used classes.
5006
5007 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
5008
5009         * plugins/elements/gsttypefindelement.c:
5010         (gst_type_find_element_chain_do_typefinding),
5011         (gst_type_find_element_change_state):
5012           Don't leak found caps in chain function (no idea why that never
5013           showed up as a leak anywhere).
5014
5015 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
5016
5017         * gst/gstplugin.h:
5018           Fix and expand GstPluginDesc API docs.
5019
5020 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
5021
5022         * gst/gstcaps.c:
5023         * gst/gstelementfactory.c:
5024         * gst/gstpadtemplate.h:
5025           api doc fixes
5026
5027         * libs/gst/controller/gstcontroller.c:
5028         (gst_controlled_property_new):
5029         * tests/examples/controller/audio-example.c:
5030           comment fixes
5031
5032 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
5033
5034         * configure.ac:
5035           comment about refining the xml deps
5036
5037         * docs/manuals.mak:
5038           comments about moving away from jade for docs
5039         
5040         * gst/gst.c:
5041           recommit the ifdefs to use the binary registry
5042         
5043         * gst/gstbin.c: (gst_bin_change_state_func):
5044           this break is obsolete
5045
5046         * gst/gstelementfactory.h:
5047           better GST_ELEMENT_DETAILS docs, add comment about translation
5048
5049         * gst/gstinfo.h:
5050           remove eol slash
5051
5052         * gst/gstobject.c: (gst_signal_object_get_type):
5053           add G_UNLIKELY as usual
5054
5055         * gst/gstpad.c: (gst_pad_event_default):
5056           add fall trhu comment
5057
5058         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5059         (gst_registry_binary_initialize_magic),
5060         (gst_registry_binary_save_string),
5061         (gst_registry_binary_save_pad_template),
5062         (gst_registry_binary_save_feature),
5063         (gst_registry_binary_save_plugin),
5064         (gst_registry_binary_write_cache),
5065         (gst_registry_binary_check_magic),
5066         (gst_registry_binary_load_pad_template),
5067         (gst_registry_binary_load_feature),
5068         (gst_registry_binary_load_plugin),
5069         (gst_registry_binary_read_cache):
5070           comment typo and formatting
5071
5072         * gst/gstutils.c: (gst_element_state_get_name),
5073         (gst_element_state_change_return_get_name):
5074           remove obsolete breaks
5075
5076         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
5077           add FIXME 0.11 and remove cpp comment
5078
5079 2007-01-29  Edward Hervey  <edward@fluendo.com>
5080
5081         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5082         Fix print statement in an even more portable way.
5083
5084 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
5085
5086         * docs/gst/gstreamer-sections.txt:
5087         * gst/gstutils.h:
5088           API: add GST_ROUND_DOWN_* macros (#401781).
5089
5090 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
5091
5092         * docs/gst/gstreamer.types.in:
5093         * gst/gstregistry.c: (gst_registry_class_init):
5094           Document registry signals and make gtk-doc pick them up (#401381).
5095
5096 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
5097
5098         * docs/pwg/building-testapp.xml:
5099           Add some audioconverts and audioresample to the pipeline, and some
5100           more comments and error handling.
5101
5102 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
5103
5104         * docs/manual/manual.xml:
5105         * docs/pwg/pwg.xml:
5106           Fix typo (#400987).
5107
5108 2007-01-26  Wim Taymans  <wim@fluendo.com>
5109
5110         * gst/gstcaps.c: (gst_static_caps_get):
5111         Init caps flags too.
5112
5113 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
5114
5115         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
5116
5117         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5118         If not using mmap'ed files try to seek to the end instead of the
5119         start to determine whether we can seek at all. This fixes the case
5120         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
5121         seeks for everything afterwards fail. Fixes #400656
5122
5123 2007-01-25  Wim Taymans  <wim@fluendo.com>
5124
5125         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
5126         Add some refcount debugging.
5127         Make gst_static_caps_get threadsafe, which is needed when autoplugging
5128         in multiple streaming threads.
5129
5130 2007-01-25  Wim Taymans  <wim@fluendo.com>
5131
5132         Patch by: David Schleef <ds at schleef dot org>
5133
5134         * docs/libs/gstreamer-libs-sections.txt:
5135         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
5136         * libs/gst/base/gstadapter.h:
5137         API: gst_adapter_copy() that can reduce the amount of memcpy when
5138         getting data from the adapter. Fixes #388201.
5139
5140 2007-01-25  Edward Hervey  <edward@fluendo.com>
5141
5142         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5143         In print statements, "%x" is for guint. Fixes build on macosx.
5144
5145 2007-01-24  Edward Hervey  <edward@fluendo.com>
5146
5147         * plugins/elements/gstmultiqueue.c:
5148         (gst_multi_queue_loop):
5149         Small fix.
5150         (single_queue_overrun_cb), (single_queue_underrun_cb),
5151         (single_queue_check_full), (gst_single_queue_new):
5152         Implement single queue growth system.
5153         This uses the extra-size properties, and will grow single queues by
5154         that much if one goes full whereas there are others empty. This is
5155         called extra-mode in the code.
5156         When a single queue's levels go back below the initial max-size
5157         limits, it is no longer in extra-mode. This is to ensure we don't
5158         consume too much memory.
5159         Fixes #399875
5160
5161 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
5162
5163         * gst/gst.c: (gst_init_get_option_group):
5164           Make warning about late g_thread_init() calls a bit more explicit,
5165           so that it's more obvious to application developers what they need
5166           to do if a user files a bug against their application.
5167
5168 2007-01-22  Edward Hervey  <edward@fluendo.com>
5169
5170         * plugins/elements/gstmultiqueue.c:
5171         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
5172         Remove previous hack of unsetting the flushing flag for the source pad
5173         instead of activating it. Instead, fix the source pad activate function
5174         so that it no longer depends on having a parent set or not.
5175
5176 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
5177
5178         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
5179
5180         * docs/manual/basics-bus.xml:
5181           Fix example code, gst_element_unref() doesn't exist any longer.
5182
5183 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
5184
5185         Patch by: Mark Nauwelaerts <manauw at skynet be>
5186
5187         * gst/gstpad.c:
5188           Fix two docs typoes (#399094).
5189
5190 2007-01-19  Edward Hervey  <edward@fluendo.com>
5191
5192         * docs/faq/gst-uninstalled:
5193         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
5194         depending on libgstbaseutils can work in uninstalled environment.
5195
5196 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
5197
5198         * gst/gsttaglist.h:
5199         * gst/gsttagsetter.c:
5200         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
5201         statement for new tag.
5202
5203 2007-01-17  Edward Hervey  <edward@fluendo.com>
5204
5205         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
5206         When dynamically creating single queues, activate sinkpad before adding
5207         it.
5208         We should be doing the same thing for the source pad, but we can't
5209         since it would call a method which needs the parent to be set in order
5210         to work propertly. Instead of activating the source pad, we just unset
5211         the flushing flag, which is the minimal requirement for adding a pad
5212         to an element in a state greater than READY.
5213
5214 2007-01-17  Edward Hervey  <edward@fluendo.com>
5215
5216         * docs/faq/gst-uninstalled:
5217         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
5218         Mac OS X.
5219
5220 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5221
5222         * tests/check/gst/gstabi.c:
5223         * tests/check/gst/struct_hppa.h:
5224         * tests/check/libs/libsabi.c:
5225         * tests/check/libs/struct_hppa.h:
5226           Add ABI structs for HPPA (see #393796).
5227
5228 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
5229
5230         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5231           Actually write ABI structs to the file specified in the GST_ABI
5232           environment variable, as the message we print claims we would.
5233
5234 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5235
5236         * tests/check/gst/gsttask.c:
5237           Fix header comment.
5238
5239 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5240
5241         * gst/gsttaglist.c: (_gst_tag_initialize):
5242           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5243           previous two entries.
5244
5245 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5246
5247         * docs/gst/gstreamer-sections.txt:
5248         * gst/gsttaglist.c: (_gst_tag_initialize):
5249         * gst/gsttaglist.h:
5250           Add tag support for beat-per-minute.
5251
5252 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5253
5254         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5255         (gst_registry_binary_initialize_magic),
5256         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5257         (gst_registry_binary_save_pad_template),
5258         (gst_registry_binary_save_feature),
5259         (gst_registry_binary_save_plugin),
5260         (gst_registry_binary_write_cache),
5261         (gst_registry_binary_check_magic),
5262         (gst_registry_binary_load_pad_template),
5263         (gst_registry_binary_load_feature),
5264         (gst_registry_binary_load_plugin),
5265         (gst_registry_binary_read_cache):
5266         * gst/gstregistrybinary.h:
5267           Use glib types, cleanup comments, impement interfaces and uri-types.
5268
5269 2007-01-13  Andy Wingo  <wingo@pobox.com>
5270
5271         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5272         getrange() to return buffers with other caps, while we fix
5273         demuxers and typefind, or otherwise change part-negotiation.txt.
5274
5275 2007-01-12  Andy Wingo  <wingo@pobox.com>
5276
5277         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5278         Factor start/stop into this private function instead of partially
5279         in activate functions and partially in the change_state function.
5280         Fixes setup before the element has changed from READY->PAUSED, as
5281         is the case in pull-mode pipelines.
5282         (gst_base_transform_sink_activate_push)
5283         (gst_base_transform_src_activate_pull): Refactor to use
5284         gst_base_transform_activate().
5285         (gst_base_transform_change_state): Removed, not needed any more.
5286
5287         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5288         Truncate before fixating.
5289         
5290         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5291         Don't set_caps() if the result of fixating is ANY, as it's not
5292         supported, and not necessary in the case of a link with no
5293         template caps on either side. Fixes tests/check/libs/basesrc in
5294         some pull-mode tests.
5295
5296         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5297         (gst_base_transform_init, gst_base_transform_sink_activate_push)
5298         (gst_base_transform_src_activate_pull): 
5299         Track the activation mode.
5300         (gst_base_transform_setcaps): In pull mode, when activating the
5301         src pad, after activating the sink pad, activate the sink pad's
5302         peer, as discussed in part-negotiation.txt.
5303
5304         * libs/gst/base/gstbasesrc.h: 
5305         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5306         vmethod, as in basesink.
5307
5308         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5309
5310         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5311         mode, first proxy the setcaps to the peer pad.
5312         (gst_base_sink_pad_fixate): Add a fixate function that calls the
5313         new fixate vmethod.
5314         (gst_base_sink_default_activate_pull): Rename from
5315         gst_base_sink_activate_pull.
5316         (gst_base_sink_negotiate_pull): New function, performs negotiation
5317         in pull mode before calling ::activate_pull().
5318         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5319         vmethod instead of the default implementation. I have no idea how
5320         this worked before. Negotiate before calling activate_pull.
5321
5322         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5323         sink pads in pull mode. In addition to being correct, fixes
5324         filesrc ! decodebin ! identity ! fakesink.
5325         (gst_pad_get_range, gst_pad_pull_range): Don't call
5326         gst_pad_set_caps() if the caps changes; instead error out with
5327         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5328
5329 2007-01-12  Andy Wingo  <wingo@pobox.com>
5330
5331         * docs/design/part-negotiation.txt: Update with more policy.
5332
5333 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5334
5335         * libs/gst/check/gstbufferstraw.h:
5336         * libs/gst/check/gstcheck.h:
5337           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5338           belongs.
5339
5340 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5341
5342         * tests/check/Makefile.am:
5343         * tests/check/gst/.cvsignore:
5344         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5345         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5346         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5347         (GST_START_TEST), (gst_tag_setter_suite):
5348           Add minimal unit test for beforementioned GstTagSetter bug.
5349
5350 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5351
5352         Patch by: René Stadler <mail at renestadler dot de>
5353
5354         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5355           gst_tag_list_merge() returns a new list, so it's not the best idea
5356           to ingore its return value. Effectively meant that tags could only
5357           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5358           Also add function guard to require a non-NULL taglist as input (has
5359           always been so due to gst_tag_list_copy(), just making it explicit).
5360
5361 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5362
5363         * docs/random/draft-missing-plugins.txt:
5364           Some additions: mention new API that is supposed to be used at the
5365           various stages; short blob about new gst-inspect introspection
5366           option; mention potential future problem with plugins that have
5367           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5368
5369 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5370
5371         * tools/gst-inspect.c:
5372         (print_plugin_automatic_install_info_codecs),
5373         (print_plugin_automatic_install_info_protocols),
5374         (print_plugin_automatic_install_info), (main):
5375         Add --print-plugin-auto-install-info option to gst-inspect, so we can
5376         introspect plugin files and get machine-parsable output that corresponds
5377         to the last bit of the missing-plugin installer string (small gotcha:
5378         doesn't take into account ranks).
5379
5380 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
5381
5382         * configure.ac:
5383         * docs/gst/gstreamer-sections.txt:
5384         * gst/Makefile.am:
5385         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5386         (gst_registry_lookup_locked):
5387         * gst/gstregistry.h:
5388         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5389         (gst_registry_binary_initialize_magic),
5390         (gst_registry_binary_save_string),
5391         (gst_registry_binary_save_pad_template),
5392         (gst_registry_binary_save_feature),
5393         (gst_registry_binary_save_plugin),
5394         (gst_registry_binary_write_cache),
5395         (gst_registry_binary_check_magic),
5396         (gst_registry_binary_load_pad_template),
5397         (gst_registry_binary_load_feature),
5398         (gst_registry_binary_load_plugin),
5399         (gst_registry_binary_read_cache):
5400         * gst/gstregistrybinary.h:
5401         * gst/gstregistryxml.c: (load_feature),
5402         (gst_registry_xml_read_cache):
5403           commit binary registry (disabled by default, see #359653)
5404
5405 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5406
5407         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5408           Fix 'make check' too.
5409
5410 2007-01-10  Andy Wingo  <wingo@pobox.com>
5411
5412         * docs/design/part-negotiation.txt: Fix a typo, add a couple
5413         notes.
5414         
5415         * docs/design/part-negotiation.txt: Update with, um, one way that
5416         pull-mode negotiation might work?
5417
5418         * gst/gstpad.h: 
5419         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5420         that the pad must be a src pad; makes sense to call it the other
5421         way in pull mode, and the logic is symmetric anyway.
5422
5423 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5424
5425         * plugins/elements/gstfilesink.c:
5426           Include <stdio.h> for fseeko().
5427
5428 2007-01-10  Wim Taymans  <wim@fluendo.com>
5429
5430         * gst/gstevent.c:
5431         * gst/gstevent.h:
5432         Reserve LATENCY event.
5433
5434 2007-01-09  Wim Taymans  <wim@fluendo.com>
5435
5436         * docs/design/draft-latency.txt:
5437         Updates.
5438
5439 2007-01-09  Wim Taymans  <wim@fluendo.com>
5440
5441         * docs/design/draft-latency.txt:
5442         Updates.
5443
5444         * gst/gstelement.h:
5445         * gst/gststructure.c:
5446         * gst/gsttrace.c:
5447         Small typo fixes.
5448
5449 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5450
5451         * tests/check/.cvsignore:
5452           Ignore test-registry.xml as well.
5453
5454 2007-01-09  Wim Taymans  <wim@fluendo.com>
5455
5456         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5457         unref data at the end when we are done with the pad.
5458
5459 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5460
5461         * docs/gst/gstreamer-sections.txt:
5462         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5463         (init_post), (gst_deinit), (gst_update_registry):
5464         * gst/gst.h:
5465           API: add gst_update_registry() (#391296).
5466
5467         * tests/check/Makefile.am:
5468         * tests/check/gst/gstregistry.c:
5469         * tests/check/gst/.cvsignore:
5470           Simple unit test for the above.
5471
5472 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5473
5474         * gst/gstregistry.c: (gst_registry_scan_path_level):
5475           Plugin extension on HP-UX is .sl, add that to the list of approved
5476           plugin extensions (see #393796).
5477
5478         * tests/check/gst/gstpad.c: (GST_START_TEST):
5479           ulong => gulong. Fixes compilation with HP-UX compiler.
5480
5481         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5482           Fix compilation if valgrind headers are not available.
5483
5484 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
5485
5486         * win32/common/libgstreamer.def: 
5487           Add new exported function.
5488         * win32/vs6/libgstbase.dsp: 
5489           Add gstdataqueue.c to the build.
5490         * win32/vs6/libgstcoreelements.dsp:
5491           Add gstmultiqueue.c to the build.
5492         
5493 2007-01-06  Andy Wingo  <wingo@pobox.com>
5494
5495         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5496         activate_pull(), providing for a way to specialize the process of
5497         spawning a thread to pull on the sink pad. There is a default
5498         implementation.
5499
5500         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5501         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5502         (gst_base_sink_init): Renamed pad activation functions (inserting
5503         "_pad" in their names). Refactor to use the new activate_pull
5504         vmethod, as appropriate.
5505         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5506         default activate_pull function to start a task pulling from the
5507         sink pad, as before.
5508
5509         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5510         on the pads if necessary, as in push()/chain(). Update docs.
5511         Shouldn't affect existing pull() usage as it is currently only
5512         being used on buffers without caps.
5513
5514 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5515
5516         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5517         (init_pre):
5518           Call g_thread_init() first thing in gst_init() / gst_check_init().
5519           When initialisation is done via gst_init_get_option_group() and
5520           GOption parsing, issue a warning if the GLib thread system has not
5521           been initialised yet by the time gst_init_get_option_group() is
5522           called, as it's quite likely other GLib functions such as
5523           g_option_context_new() have been called already then, and
5524           g_thread_init() must be called before any other GLib function. The
5525           application in question must be fixed in that case, since memory
5526           corruption might happen otherwise.
5527           We issue the warning because even if the GLib folks decide to work
5528           around the problem on their end in future, this is still an issue
5529           with all GLib versions >= 2.10.0, so we should warn until we depend
5530           on a GLib version we know to be safe.
5531           Update documentation as well.
5532           Closes bug #391278.
5533
5534 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5535
5536         * tools/gst-inspect.c: (main):
5537         * tools/gst-launch.c: (main):
5538         * tools/gst-typefind.c: (main):
5539         * tools/gst-xmlinspect.c: (main):
5540           Call g_thread_init() really really early, before any other GLib
5541           function (see #342564 and recent discussion on gtk-devel-list).
5542
5543 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5544
5545         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
5546
5547         * gst/gst_private.h:
5548         * gst/gstconfig.h.in:
5549         * gst/gstinfo.h:
5550           On win32, all the __declspec stuff for symbol exporting is
5551           apparently only needed with MSVC, but doesn't work with MingW.
5552           Fixes compilation with MingW and #391909.
5553
5554 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5555
5556         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5557           Change some GST_ERROR_OBJECT that aren't really errors to
5558           GST_WARNING_OBJECT in order to reduce terminal spam.
5559
5560 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5561
5562         * tests/check/Makefile.am:
5563           disable test again, as there seem to be still race problems
5564
5565 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5566
5567         * tests/check/Makefile.am:
5568         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5569         (GST_START_TEST), (queue_suite):
5570           enable queue test again, add tests for the leaky behaviour
5571
5572 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
5573
5574         * configure.ac:
5575         * tests/examples/Makefile.am:
5576           Compile adapter test/example only if the required headers are
5577           available (fixes #391915).
5578
5579 2007-01-01  David Schleef  <ds@schleef.org>
5580
5581         * gst/gstplugin.c:
5582           Restore the previous signal handler for SIGSEGV instead of
5583           setting to default, since we may have stolen it away from
5584           someone.  (i.e., Mono)
5585
5586 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5587
5588         * docs/random/draft-missing-plugins.txt:
5589           Some small additions and clarifications.
5590
5591 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5592
5593         * gst/gstregistryxml.c: (gst_registry_save_escaped):
5594           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5595           since that can lead to random memory corruptions and crashes
5596           (may or may not be related to #383244, #386711, and #386711).
5597
5598 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5599
5600         * tests/check/.cvsignore:
5601         * tests/check/Makefile.am:
5602           sync .cvsignome and CLEANFILES
5603
5604 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5605
5606         * tests/check/Makefile.am:
5607           fix distcheck
5608
5609 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5610
5611         * docs/design/part-states.txt:
5612           two tiny additional comments
5613         
5614         * gst/gststructure.c:
5615           doc fixing
5616
5617         * tests/check/Makefile.am:
5618         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5619         (GST_START_TEST):
5620           disable test for now, unless it gets fixed
5621
5622 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5623
5624         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5625         (GST_START_TEST):
5626           fix race in underrun test
5627
5628 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5629
5630         * tests/check/elements/.cvsignore:
5631           ignore more
5632
5633         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5634         (GST_START_TEST):
5635           try to narrow test failure
5636
5637 2006-12-21  David Schleef  <ds@schleef.org>
5638
5639         * plugins/elements/gstfakesrc.c:
5640           Use g_random_int_range(), since it produces better random
5641           numbers in a range than almost-correct floating point code.
5642
5643 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5644
5645         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5646         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5647         (gst_check_teardown_sink_pad):
5648           do not automatically (de)activate pads
5649
5650         * tests/check/Makefile.am:
5651         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5652         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5653           add new, yet simple tests for queue
5654
5655         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5656         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5657         * tests/check/elements/filesrc.c: (cleanup_filesrc),
5658         (GST_START_TEST):
5659         * tests/check/elements/identity.c: (cleanup_identity):
5660           consistent pad (de)activation
5661
5662 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5663
5664         Patch by: Sebastian Dröge  <slomo ubuntu com>
5665
5666         * libs/gst/base/gstcollectpads.c:
5667           Fix two doc typos (#387866).
5668
5669 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5670
5671         * docs/manual/advanced-dparams.xml:
5672           Fix typo (g_object_control_properties() doesn't exist).
5673
5674 2006-12-19  Edward Hervey  <edward@fluendo.com>
5675
5676         * gst/gstsegment.c: (gst_segment_set_seek):
5677         Fine tune the cases where the segment start/stop values are really
5678         updated.
5679         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5680         Add tests for the return values of gst_segment_set_seek().
5681
5682 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5683
5684         * gst/gst.c:
5685           Docs typo fix.
5686
5687         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5688         (gst_queue_init):
5689           Fix incorrect documentation and flesh it out a bit more.
5690           Set default values for the max properties on the GParamSpec as well,
5691           so it shows up correctly in gst-inspect.
5692
5693 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
5694
5695         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5696           Correct docs of queue, add more detail and crosslink it more.
5697
5698 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5699
5700         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5701           Print additional debug info when the stream isn't perfectly
5702           timestamped; don't try to use invalid durations.
5703
5704 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5705
5706         * docs/design/Makefile.am:
5707           Dist new design docs.
5708
5709 2006-12-16  Wim Taymans  <wim@fluendo.com>
5710
5711         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5712
5713         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5714         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5715         (gst_collect_pads_stop), (gst_collect_pads_event),
5716         (gst_collect_pads_chain):
5717         * libs/gst/base/gstcollectpads.h:
5718         Add refcounting to the collectpads data so we can track when it's safe
5719         to free the data. Fixes #383382.
5720
5721 2006-12-15  Wim Taymans  <wim@fluendo.com>
5722
5723         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5724         (gst_collect_pads_remove_pad):
5725         Automatically activate/deactivate pads when they are added to a
5726         started/stoped collectpads.
5727
5728 2006-12-15  Wim Taymans  <wim@fluendo.com>
5729
5730         * gst/gstelement.c: (gst_element_add_pad):
5731         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5732         * gst/gstpad.c: (gst_pad_init):
5733         Set pads to FLUSHING when they are created. Check, warn and fix when a
5734         demuxer adds an inactive pad to itself when running. Fixes #339326.
5735
5736 2006-12-15  Wim Taymans  <wim@fluendo.com>
5737
5738         * gst/gstelement.c: (gst_element_class_init),
5739         (gst_element_default_send_event), (gst_element_send_event),
5740         (gst_element_default_query), (gst_element_query):
5741         Expose default element send_event and query handling as vmethods that
5742         subclasses can chain up to.
5743
5744 2006-12-15  Wim Taymans  <wim@fluendo.com>
5745
5746         * gst/gstelement.c: (gst_element_set_state_func):
5747         Small documentation fixes.
5748
5749 2006-12-15  Wim Taymans  <wim@fluendo.com>
5750
5751         * docs/design/draft-latency.txt:
5752         Checked in draft for handling latency in pipelines.
5753
5754 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5755
5756         * Makefile.am:
5757         * gstreamer.doap:
5758         * gstreamer.spec.in:
5759           adding .doap file
5760
5761 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
5762
5763         * gst/gst.c: (init_pre), (init_post):
5764           init_pre() and init_post() might be called via our GOptionGroup or
5765           from gst_init(), and we should skip both of them if we've already
5766           been initialised, otherwise we will init some things twice or add
5767           two default log functions.
5768
5769 2006-12-13  Edward Hervey  <edward@fluendo.com>
5770
5771         * docs/manual/basics-bus.xml:
5772         No, gst_main_loop does not exist. Its g_main_loop.
5773         Discovered by somebody who abused the copy-paste technique of coding :)
5774
5775 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5776
5777         * gst/gstghostpad.c:
5778           Log ghostpad debug stuff to the GST_PADS category as well rather
5779           than just to the default category.
5780
5781 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5782
5783         * configure.ac:
5784         * gst/gst.c: (init_pre):
5785           Add some basic system details such as OS and architecture
5786           to the debug output if possible, courtesy of uname().
5787
5788 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5789
5790         * docs/gst/running.xml:
5791           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5792           environment variables.
5793
5794 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5795
5796         * tests/check/gst/gstbin.c: (GST_START_TEST):
5797         It is acceptable to have a refcount of 2 or 3 at this point in the
5798         test, because the pipeline might be just posting its state_change
5799         message. The next line then waits for that message to appear using
5800         bus_poll, so that should be fine too.
5801
5802 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5803
5804         * gst/gst.c: (ensure_current_registry_forking):
5805         Ignore EINTR when reading from the child registry pipe.
5806         Explicitly ignore the return value from close, since it makes no
5807         difference.
5808
5809         * gst/gstminiobject.c: (gst_mini_object_ref),
5810         (gst_mini_object_unref):
5811         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5812
5813         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5814         When removing cached plugins, remove their features too, so they're
5815         not visible after they've disappeared.
5816
5817         * gst/gstutils.c: (prepare_link_maybe_ghosting):
5818         In the unlikely case that we are linking pads with no parents, don't
5819         crash trying to get the non-existent parent bin.
5820
5821         * gst/parse/grammar.y:
5822         Output debug in the PIPELINE category
5823
5824 2005-03-08  Wim Taymans  <wim@fluendo.com>
5825
5826         Patch by: René Stadler <mail at renestadler dot de>
5827
5828         * gst/gstclock.c: (gst_clock_new_periodic_id):
5829         Reject invalid clock times for interval of periodic ids.
5830         Fixes ##383506.
5831
5832 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5833
5834         * gst/gstelementfactory.c: (gst_element_factory_create):
5835         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5836         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5837         * tools/gst-inspect.c: (print_element_info):
5838         Fix refcounting of gst_plugin_feature_load to match the docs. 
5839         Fixes: #380129
5840
5841 2006-12-07  Wim Taymans  <wim@fluendo.com>
5842
5843         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5844         (gst_base_sink_get_position):
5845         Improve debugging of events.
5846
5847 2006-12-07  Wim Taymans  <wim@fluendo.com>
5848
5849         Patch by: René Stadler <mail at renestadler dot de>
5850
5851         * gst/gstclock.c: (gst_clock_id_wait):
5852         Make period ids add the interval to the origial requested time instead
5853         of the possibly updated time which can be wrong when there are multiple
5854         waiters for the same id. Fixes #382592.
5855
5856         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5857         (gst_system_clock_id_wait_jitter_unlocked),
5858         (gst_system_clock_id_wait_jitter):
5859         Fix restart in the async notify thread when an async entry is added to
5860         the front of the list. Fixes #381492. 
5861
5862         * tests/check/gst/gstsystemclock.c: (store_callback),
5863         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5864         Added test for multiple async waits.
5865         Added test for async wait order.
5866
5867 2006-12-07  Wim Taymans  <wim@fluendo.com>
5868
5869         * gst/gstbin.c: (gst_bin_query):
5870         Add some more docs about the POSITION query.
5871
5872 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5873
5874         * configure.ac:
5875         Bump version nano - back to CVS.
5876
5877 === release 0.10.11 ===
5878
5879 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
5880
5881         * configure.ac:
5882           releasing 0.10.11, "Love never runs on time"
5883
5884 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
5885
5886         * win32/common/libgstbase.def:
5887         * win32/common/libgstreamer.def:
5888         * win32/vs8/libgstbase.vcproj:
5889         * win32/vs8/libgstcoreelements.vcproj:
5890         * win32/vs8/libgstreamer.vcproj:
5891         Fix compilation on win32 under VS8
5892         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5893         Partially fixes #381175
5894
5895 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5896
5897         * gst/gstvalue.c: (gst_value_compare_fraction):
5898         If someone is foolish enough to compare 2 fractions with denominator =
5899         0, return UNORDERED rather than aborting.
5900
5901 2006-11-28  Edward Hervey  <edward@fluendo.com>
5902
5903         * libs/gst/base/Makefile.am:
5904         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5905         (gst_data_queue_base_init), (gst_data_queue_class_init),
5906         (gst_data_queue_init), (gst_data_queue_new),
5907         (gst_data_queue_cleanup), (gst_data_queue_finalize),
5908         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5909         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5910         (gst_data_queue_is_empty), (gst_data_queue_is_full),
5911         (gst_data_queue_set_flushing), (gst_data_queue_push),
5912         (gst_data_queue_pop), (gst_data_queue_drop_head),
5913         (gst_data_queue_set_property), (gst_data_queue_get_property):
5914         * libs/gst/base/gstdataqueue.h:
5915         New GstDataQueue object for threadsafe queueing. Most useful for
5916         elements that need some queueing functionnality.
5917         * docs/libs/gstreamer-libs-docs.sgml:
5918         * docs/libs/gstreamer-libs-sections.txt:
5919         Insert documentation for GstDataQueue
5920         * plugins/elements/Makefile.am:
5921         * plugins/elements/gstelements.c:
5922         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5923         (gst_multi_queue_class_init), (gst_multi_queue_init),
5924         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5925         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5926         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5927         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5928         (gst_multi_queue_loop), (gst_multi_queue_chain),
5929         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5930         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5931         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5932         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5933         (wake_up_next_non_linked), (compute_next_non_linked),
5934         (single_queue_overrun_cb), (single_queue_underrun_cb),
5935         (single_queue_check_full), (gst_single_queue_new):
5936         * plugins/elements/gstmultiqueue.h:
5937         New multiqueue element, using GstDataQueue. Used for queuing multiple
5938         streams.
5939         Closes #344639 and #347785
5940
5941 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
5942
5943         * docs/pwg/advanced-types.xml:
5944           add more missing type details
5945
5946         * tools/gst-run.c: (main):
5947           remove unused variable
5948
5949 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
5950
5951         * docs/libs/Makefile.am:
5952         * docs/libs/gstreamer-libs.types:
5953           add types of base classes to enable gobject specific stuff in the docs
5954
5955         * docs/random/ensonic/embedded.txt:
5956           more ideas about isolating platform specific things
5957
5958 2006-11-20  Wim Taymans  <wim@fluendo.com>
5959
5960         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5961
5962         * libs/gst/check/gstcheck.h:
5963         Fix compilation and running against 0.9.4. Fixes #377332.
5964
5965 2006-11-20  Wim Taymans  <wim@fluendo.com>
5966
5967         * gst/gstsegment.c: (gst_segment_set_seek),
5968         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5969         (gst_segment_to_running_time):
5970         Fix boundary checking in to_running_time() and to_stream_time().
5971         Fixes #377183.
5972
5973         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5974         stream and running time can now be calculated for the complete
5975         clipped segment.
5976
5977 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
5978
5979         * gst/gstpad.c: (gst_pad_push_event):
5980           Can't access event structure after giving away ownership of
5981           the event.
5982
5983 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
5984
5985         * docs/random/ensonic/embedded.txt:
5986         * docs/random/ensonic/profiling.txt:
5987         * docs/random/ensonic/receipies.txt:
5988           more thinking
5989
5990 2006-11-13  Wim Taymans  <wim@fluendo.com>
5991
5992         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5993
5994         * gst/gstpad.c:
5995         Fix documentation for gst_pad_dispatcher. Fixes #374475.
5996
5997 2006-11-13  Wim Taymans  <wim@fluendo.com>
5998
5999         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
6000
6001         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6002         Store new length in segment duration so we don't keep on calling the
6003         potentially expensize get_size() call. Fixes #370865.
6004
6005 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
6006
6007         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
6008
6009         * win32/common/libgstreamer.def:
6010           Add two missing symbols (#366492).
6011
6012 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
6013
6014         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
6015         (gst_adapter_take_buffer):
6016         Fix format string to use all its arguments.
6017         Remove useless >= check on a guint
6018
6019 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
6020
6021         * tests/examples/adapter/.cvsignore:
6022         Ignore build file as commanded by the build-bot
6023
6024 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
6025
6026         * tests/examples/adapter/Makefile.am:
6027         * tests/examples/adapter/adapter_test.c: (run_test_take),
6028         (run_test_take_buffer), (run_tests), (main):
6029
6030         Add new files from the previous commit
6031
6032 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
6033
6034         * Makefile.am:
6035         * configure.ac:
6036         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
6037         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
6038         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
6039         * libs/gst/base/gstadapter.h:
6040         * tests/check/libs/adapter.c: (create_and_fill_adapter),
6041         (GST_START_TEST), (gst_adapter_suite):
6042         * tests/examples/Makefile.am:
6043         Do some optimisation work in GstAdapter to avoid copies in more cases.
6044         It could still do slightly better by merging buffers when
6045         gst_buffer_is_span_fast is true, but is already faster. 
6046
6047         Also, avoid traversing a single-linked list to append each incoming 
6048         buffer inside the adapter.
6049
6050         Add simple test app that times the adapter behaviour in different
6051         situations, and extend the unit test to check that bytes enter and
6052         exit the adapter in their original order.
6053
6054 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
6055
6056         * docs/random/draft-missing-plugins.txt:
6057           Update: use element message instead of adding a new message
6058           type to the core; don't provide GStreamer API to initiate the
6059           plugin download, just provide API to compose the strings needed
6060           and let an external libgimmestuff handle the rest.
6061
6062 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
6063
6064         * tools/gst-inspect.c: (print_element_properties_info):
6065         Print a string instead of 'unknown type' for GValueArray properties
6066
6067 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
6068
6069         * docs/random/draft-missing-plugins.txt:
6070         More small fixes.
6071
6072 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6073
6074         * tests/examples/typefind/typefind.c: (type_found), (main):
6075           Make typefind element example work again (#371894); add a
6076           license header.
6077
6078 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6079
6080         * docs/random/draft-missing-plugins.txt:
6081           Commit initial draft about how to deal with missing plugins,
6082           needs work (API too).
6083
6084 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
6085
6086         * docs/pwg/advanced-types.xml:
6087           documents the new caps elements (see #363118)
6088
6089 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6090
6091         * gst/gstplugin.c: (gst_plugin_load_file):
6092         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
6093         (gst_file_src_map_region), (gst_file_src_start):
6094         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
6095         (gst_file_index_commit):
6096           Use g_strerror() instead of strerror() - we want UTF-8.
6097
6098 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6099
6100         Patch by: Peter Kjellerstedt <pkj at axis com>
6101
6102         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6103           Another printf fix (#371493).
6104
6105 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6106
6107         * tests/check/gst/gsttag.c:
6108           relicence (okay with author=company)
6109
6110 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6111
6112         * gst/gstpad.c: (gst_pad_event_default_dispatch),
6113         (gst_pad_push_event):
6114           Enhance debug and improve docs
6115         
6116         * gst/gsturi.c:
6117           Fix docs
6118
6119 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6120
6121         * docs/random/ensonic/distributed.txt:
6122         * docs/random/ensonic/profiling.txt:
6123           more ideas
6124
6125 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6126
6127         * docs/gst/gstreamer-sections.txt:
6128           add new API and fix the build
6129           
6130         * gst/gstbin.c: (gst_bin_recalc_state):
6131         * gst/gstelement.c: (gst_element_message_full),
6132         (gst_element_get_state_func), (gst_element_set_state_func):
6133           use new API and improve logging
6134         
6135         * gst/gstutils.c: (gst_element_state_change_return_get_name):
6136         * gst/gstutils.h:
6137           API: add function to get StateChangereturn names to improve logs 
6138
6139 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6140
6141         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6142           I'm considering shooting the next person to put strerror stuff
6143           in the translateable part of the message.
6144
6145 2006-11-03  Wim Taymans  <wim@fluendo.com>
6146
6147         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6148         Get the type and printf conversion specifiers right.
6149
6150 2006-11-03  Wim Taymans  <wim@fluendo.com>
6151
6152         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6153
6154         * gst/gstpad.c: (gst_pad_init), (pre_activate),
6155         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
6156         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
6157         Some small cleanups. Improve debugging.
6158         * gst/gstpad.h:
6159         Signal all waiting threads with a broadcast instead of just one.
6160         Fixes #369942.
6161
6162 2006-11-03  Wim Taymans  <wim@fluendo.com>
6163
6164         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
6165         (gst_fd_src_create):
6166         Add some debugging. 
6167         Only update fd when it's different from the old.
6168
6169 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6170
6171         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
6172           Printf fixes for PPC/OSX, take two (#369366).
6173
6174 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6175
6176         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
6177
6178         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6179         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6180         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
6181           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
6182           don't cast to long long for portability reasons, but use
6183           GLib's types instead.
6184
6185 2006-10-30  Michael Smith  <msmith@fluendo.com>
6186
6187         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6188           Get the arguments to lseek() the right way around.
6189           Fixes 367677.
6190
6191 2006-10-30  Wim Taymans  <wim@fluendo.com>
6192
6193         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
6194
6195         * gst/gstinfo.h:
6196         _declspec should be __declspec (two underscores, not one). Fixes 366572.
6197
6198 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
6199
6200         Patch by: Kjartan Maraas  <kmaraas at gnome org>
6201
6202         * docs/design/part-MT-refcounting.txt:
6203         * docs/random/wtay/capsnego2-docs:
6204         * gst/gstclock.c:
6205         * gst/gstxml.c:
6206           Typo fixes (#366212).
6207
6208 2006-10-28  Wim Taymans  <wim@fluendo.com>
6209
6210         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6211
6212         * gst/gst.c:
6213         * win32/common/libgstbase.def:
6214         * win32/common/libgstreamer.def:
6215         * win32/vs8/libgstbase.vcproj:
6216         * win32/vs8/libgstcontroller.vcproj:
6217         Add needed entries in .def files.
6218         Use HAVE_UNISTD_H.
6219         Rearrange def files in vs8 solutions. Fixes #366286.
6220
6221 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
6222
6223         * win32/common/gstconfig.h:
6224           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
6225           hand-made win32 gstconfig.h. Fixes #366321.
6226
6227 2006-10-27  Wim Taymans  <wim@fluendo.com>
6228
6229         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
6230         (gst_ghost_pad_new_full):
6231         Make acceptcaps return TRUE when we don't have a target, just like
6232         setcaps does.
6233
6234 2006-10-27  Wim Taymans  <wim@fluendo.com>
6235
6236         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6237         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6238
6239 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6240
6241         * gst/gststructure.c: (gst_structure_id_set_value):
6242           If someone tries to set a non-UTF8 string field on a structure,
6243           don't just print a warning, but also ignore the request and do
6244           not change/add that field to the structure.
6245
6246         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6247           Test for the above.
6248
6249 2006-10-25  David Schleef  <ds@schleef.org>
6250
6251         * gst/gstinfo.c:
6252           g_hash_table_insert() needs a cast to a non-const pointer duh.
6253
6254 2006-10-25  David Schleef  <ds@schleef.org>
6255
6256         * gst/gstinfo.c:
6257         * gst/gstinfo.h:
6258           Change name parameter of _gst_debug_register_funcptr to const
6259           to reflect the constness of its use in the function as well
6260           as to quiet a gcc warning.
6261
6262 2006-10-25  Edward Hervey  <edward@fluendo.com>
6263
6264         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6265         Don't push the buffer if it's empty.
6266         Closes #363095
6267
6268 2006-10-24  Wim Taymans  <wim@fluendo.com>
6269
6270         * gst/gstevent.h:
6271         Add small comment.
6272
6273         * libs/gst/base/gstbasetransform.c:
6274         (gst_base_transform_sink_eventfunc):
6275         Debug segment values *after* updating them as this is more
6276         interesting.
6277
6278 2006-10-23  Wim Taymans  <wim@fluendo.com>
6279
6280         * docs/design/part-events.txt:
6281         Update some docs.
6282
6283         * docs/design/part-block.txt:
6284         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6285         (gst_pad_push_event):
6286         Revert BLOCKING patch, it tries to be smart without really having a
6287         clear idea what or how. So, now we discard all FLUSHING events again on
6288         a blocking pad. Should fix gnonlin again.
6289
6290 2006-10-23  Wim Taymans  <wim@fluendo.com>
6291
6292         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6293
6294         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6295         (gst_base_src_start), (gst_base_src_activate_push):
6296         Make sure size is always initialized. Fixes #364388.
6297
6298 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
6299
6300         * docs/random/ensonic/distributed.txt:
6301           add some ideas about doing distributed processing
6302
6303         * docs/random/ensonic/profiling.txt:
6304           get_rusage look promising
6305
6306 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6307
6308         * docs/manual/basics-helloworld.xml:
6309           Add a cast in example to fix compile warning
6310
6311 2006-10-18  Wim Taymans  <wim@fluendo.com>
6312
6313         * gst/gstsegment.c: (gst_segment_set_last_stop),
6314         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6315         Relax arg checking again, -1 is allowed.
6316
6317 2006-10-18  Wim Taymans  <wim@fluendo.com>
6318
6319         * gst/gstsegment.c: (gst_segment_set_last_stop),
6320         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6321         _set_last_stop() must be with a value != -1
6322         A _TYPE_SET to -1 means seek to 0.
6323         Calc last_stop correctly for negative rates.
6324         Make sure we work with positive durations when updating a segment.
6325
6326 2006-10-18  Wim Taymans  <wim@fluendo.com>
6327
6328         * docs/design/part-live-source.txt:
6329         * gst/gstclock.h:
6330         Small docs fixes.
6331
6332 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
6333
6334         * gst/gstbuffer.h:
6335           Add an explicit cast to GstBuffer** to keep old code that added an
6336           explicit cast to GstMiniObject** for gst_mini_object_replace()
6337           compiling without warning.
6338
6339 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6340
6341         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6342           check for validity of dates
6343
6344 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6345
6346         * docs/gst/gstreamer-sections.txt:
6347           Forgot this one, makes gtk-doc shut up.
6348
6349 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6350
6351         Patch by: Peter Kjellerstedt <pkj at axis com>
6352
6353         * gst/gstobject.h:
6354           Don't define xmlNodePtr to gpointer if the core was built with
6355           --disable-loadsave and --disable-registry, this will break
6356           applications that want to use libxml2 but are buildling against a
6357           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6358           instead so we don't have to mess with the libxml2 namespace
6359           (#361675).
6360
6361 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6362
6363         * gst/gstbuffer.h:
6364           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6365           type-punned pointer warnings.
6366
6367 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6368
6369         * gst/gstelement.h:
6370           Add casts to the correct return type to state <=> state transition
6371           macros.
6372
6373 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
6374
6375         * docs/design/part-live-source.txt:
6376           describe howto handle latency
6377         
6378         * docs/random/ensonic/profiling.txt:
6379           more ideas
6380
6381         * tools/gst-plot-timeline.py:
6382           fix log parsing for solaris, remove unused function
6383
6384 2006-10-16  Wim Taymans  <wim@fluendo.com>
6385
6386         * docs/design/part-trickmodes.txt:
6387         * gst/gstevent.c:
6388         Update some docs regarding reverse playback.
6389
6390 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6391
6392         Patch by: Marcus Granado  <mrc dot gran at gmail com>
6393
6394         * win32/vs8/grammar.vcproj:
6395           Error out with a warning if glib-genmarshal.exe is not in path,
6396           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6397
6398 2006-10-13  Wim Taymans  <wim@fluendo.com>
6399
6400         * gst/gstsegment.c: (gst_segment_set_seek):
6401         When seeking to stop -1, set last_stop (current position) to the
6402         duration of the segment.
6403
6404 2006-10-13  Wim Taymans  <wim@fluendo.com>
6405
6406         * gst/gstelement.h:
6407         Clarify _NO_PREROLL a bit more.
6408
6409         * gst/gstevent.c:
6410         Fix docs.
6411
6412         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6413         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6414         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6415         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6416         due to wrong locking order. Fixes #361769.
6417         Remove some redundant/misplaced checks in pad_block.
6418
6419         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6420         For negative rates, count backwards from the duration.
6421
6422 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6423
6424         * gst/gsterror.c: (_gst_library_errors_init):
6425           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6426           up with something better).
6427
6428 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6429
6430         * win32/vs6/libgstreamer.dsp:
6431         * win32/vs7/libgstreamer.vcproj:
6432         * win32/vs8/libgstreamer.vcproj:
6433           Don't reference glib-compat.c which is currently not used and not
6434           disted; add gstquark.c which was recently added. Fixes #361730.
6435
6436 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6437
6438         * win32/common/libgstbase.def:
6439         * win32/common/libgstcontroller.def:
6440         * win32/common/libgstreamer.def:
6441           Add gst_caps_merge() and a bunch of other recently-added functions.
6442           Fixes #361732.
6443
6444 2006-10-11  Wim Taymans  <wim@fluendo.com>
6445
6446         * docs/plugins/gstreamer-plugins.args:
6447         * docs/plugins/inspect/plugin-coreelements.xml:
6448         * docs/plugins/inspect/plugin-coreindexers.xml:
6449         Update element args.
6450
6451         * gst/gstsystemclock.c:
6452         Small comment update.
6453
6454         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6455         (gst_tee_request_new_pad), (gst_tee_release_pad),
6456         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6457         (gst_tee_sink_activate_pull):
6458         * plugins/elements/gsttee.h:
6459         Some tee loving:
6460         Add default property defines.
6461         Implement release pad function.
6462         Give properties better blubs etc.
6463         Activate pads before adding them to a running tee.
6464         Do simple buffer_alloc on the first requested pad.
6465         Post error when activation fails.
6466
6467 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6468
6469         * gst/gst.c: (ensure_current_registry_forking):
6470           Check return value of write() to make compiler happy.
6471
6472 2006-10-11  Wim Taymans  <wim@fluendo.com>
6473
6474         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6475
6476         * plugins/elements/gstqueue.c: (gst_queue_chain):
6477         Recheck queue filledness after signalling the overrun when we're about
6478         to leak downstream because we released the lock when emitting the signal
6479         and the queue could be empty again. Fixes #352345.
6480
6481 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6482
6483         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6484           Fix refcounting here too, just like we did for _new_valist() a few
6485           days ago (#357180) (thanks to René Stadler). Also remove all those
6486           'Since: 0.9' from the gtk-doc blobs.
6487
6488         * tests/check/libs/controller.c: (controller_refcount_new_list),
6489         (gst_controller_suite):
6490           Unit test for the above.
6491
6492 2006-10-10  Wim Taymans  <wim@fluendo.com>
6493
6494         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6495
6496         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6497         (gst_pad_save_thyself):
6498         Update some docs.
6499         Write pad direction in XML output. Fixes #345496.
6500
6501 2006-10-10  Wim Taymans  <wim@fluendo.com>
6502
6503         Patch by: René Stadler <mail at renestadler dot de>
6504
6505         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6506         (gst_controller_new_list), (_gst_controller_dispose),
6507         (_gst_controller_finalize), (_gst_controller_class_init):
6508         Take ref to controlled object so that it cannot disappear. 
6509         Fixes #357432.
6510
6511 2006-10-10  Wim Taymans  <wim@fluendo.com>
6512
6513         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6514         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6515         (gst_check_teardown_sink_pad):
6516         Activate/deactivate pads in setup/teardown respectively.
6517
6518 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6519
6520         Patch by: Josep Torre Valles <josep@fluendo.com>
6521
6522         * gst/Makefile.am:
6523         Cast values when making gstenumtypes.h.  This pacifies Forte
6524         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6525         in the enumeration.
6526
6527 2006-10-09  Wim Taymans  <wim@fluendo.com>
6528
6529         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6530         Rename some more @cur to @start to fix docs. 
6531
6532         * gst/gstsegment.c: (gst_segment_set_seek):
6533         Fix typo.
6534         time and start must always stay in sync as defined in design doc.
6535
6536         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6537         Rename param to fix docs.
6538
6539         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6540         Check that start and time are in sync.
6541
6542         * tests/check/pipelines/parse-launch.c:
6543         (gst_parse_test_element_change_state):
6544         Activate pad before adding to the element.
6545
6546 2006-10-09  Wim Taymans  <wim@fluendo.com>
6547
6548         * docs/design/part-qos.txt:
6549         Fix typo.
6550
6551         * gst/gstevent.c:
6552         * gst/gstevent.h:
6553         Update seek event docs regarding negative rates.
6554         Rename @cur to @start. 
6555
6556         * gst/gstsegment.c: (gst_segment_set_seek):
6557         * gst/gstsegment.h:
6558         Update set_seek docs regarding negative rates.
6559         Correctly update last_stop to @stop when dealing with negative
6560         rates.
6561         Rename @cur to @start. 
6562
6563         * tests/check/gst/gstpad.c: (GST_START_TEST):
6564         Activate pads before trying to use them.
6565
6566         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6567         (gst_segment_suite):
6568         Add simple check for segments and negative rates.
6569
6570 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6571
6572         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6573         * gst/gsttaglist.h:
6574         * docs/gst/gstreamer-sections.txt:
6575           API: add gst_tag_list_is_empty() (#360467).
6576
6577         * tests/check/gst/gsttag.c: (GST_START_TEST):
6578           And a test case.
6579
6580 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6581
6582         * gst/gstmessage.h:
6583         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6584         a value that doesn't fit on enumeration.
6585
6586 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6587
6588         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6589         Remove local debugging system and use Gstreamer's instead.
6590
6591 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6592
6593         Patch by: Josep Torre Valles <josep@fluendo.com>
6594
6595         * common/m4/gst-error.m4:
6596         Disable warning of statement not reached on Forte.
6597         * gst/gstmessage.h:
6598         Fix warning on Forte (value doesn't fit on enumeration).
6599         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6600         Fix warning on Forte (value doesn't fit on enumeration).
6601         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6602         DEBUG macro says it takes minimum of 2 args and so Forte
6603         complains about the use with just 1 arg.
6604         * plugins/elements/gstfdsink.c:
6605         * plugins/elements/gstfdsrc.c:
6606         * plugins/elements/gstfilesink.c:
6607         * plugins/elements/gstfilesrc.c:
6608         Use correct return type for the uri handler implementations.
6609
6610         All these fix warnings in Forte.  Fixes bug #360860.
6611
6612 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6613
6614         * gst/gstelement.h:
6615           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6616           format string, so don't use G_GNUC_PRINTF for those versions.
6617
6618 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6619
6620         * gst/gsttaglist.c: (gst_is_tag_list):
6621         * gst/gsttaglist.h:
6622           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6623
6624         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6625           Small test for the above.
6626
6627 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6628
6629         * gst/gsttaglist.h:
6630           Less tabs, more spaces.
6631
6632 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
6633
6634         * gst/gstinfo.h:
6635           Those two function declarations do actually belong there, revert
6636           commit from yesterday that turned them intro macros.
6637
6638 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6639
6640         Patch by: Josep Torre Valles <josep@fluendo.com>
6641
6642         * gst/gst.c: (gst_init_get_option_group):
6643         Fix empty declaration and type mismatch.
6644         * gst/gstbin.c: (gst_bin_change_state_func):
6645         Fix type mismatch.
6646         * gst/gstelement.c: (gst_element_continue_state),
6647         (gst_element_set_state_func), (gst_element_change_state),
6648         (gst_element_change_state_func):
6649         Fix type mismatches.
6650         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6651         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6652         Cast as appropriate.
6653         * gst/gstobject.c: (gst_class_signal_connect):
6654         Cast as appropriate.  The function pointer parameter really
6655         has the wrong type but would break API if we change it.
6656         * gst/gstquery.c:
6657         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6658         order of including string.h.
6659         * gst/gstutils.c: (gst_element_state_get_name):
6660         Remove unreachable line.
6661         * gst/gstxml.c: (gst_xml_parse_doc):
6662         Fix type mismatch.
6663         All these caught by Forte.
6664
6665 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6666
6667         Patch by: Josep Torre Valles <josep@fluendo.com>
6668
6669         * common/m4/gst-error.m4:
6670         Fixed bug #360151.
6671         We need to disable warnings on Forte for empty declarations
6672         due to gst-indent adding ;s to lines that just use macros
6673         where the macro actually doesn't need a ; at end to end
6674         statement.
6675
6676 2006-10-06  Wim Taymans  <wim@fluendo.com>
6677
6678         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6679         (gst_file_sink_close_file), (gst_file_sink_event),
6680         (gst_file_sink_render):
6681         Add some FIXME for the NEWSEGMENT handling.
6682
6683 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6684
6685         * gst/parse/grammar.y:
6686         Remove static function gst_parse_element_lock as all it does
6687         is return.  Looks like cruft from 0.8.
6688
6689 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6690
6691         Patch by: Josep Torre Valles <josep@fluendo.com>
6692
6693         * common/m4/gst-error.m4:
6694         * configure.ac:
6695         * libs/gst/net/Makefile.am:
6696         Fix a compilation issue with Forte on Solaris.  inet_aton is in
6697         libresolv.
6698
6699 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6700
6701         * gst/gstpad.c: (pre_activate):
6702         * gst/gstregistry.c: (gst_registry_scan_path_level):
6703         * gst/gstregistryxml.c: (load_plugin):
6704         * libs/gst/controller/gstcontroller.c:
6705         (gst_controlled_property_set_interpolation_mode):
6706         * libs/gst/dataprotocol/dataprotocol.c:
6707         (gst_dp_packet_from_event_1_0):
6708         * libs/gst/net/gstnetclientclock.c:
6709         (gst_net_client_clock_observe_times):
6710         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6711           Printf fixes.
6712
6713 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6714
6715         * configure.ac:
6716         * docs/gst/gstreamer-sections.txt:
6717         * gst/gstconfig.h.in:
6718         * gst/gstelement.h:
6719         * gst/gstinfo.h:
6720           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6721           whether we can use G_GNUC_PRINTF in other header files and at
6722           least check the printf format/arguments of debug messages and
6723           GST_ELEMENT_ERROR messages when the printf extension is not
6724           being used.
6725           Replace more tabs with spaces in gstinfo.h and remove two spurious
6726           function declarations in GST_DISABLE_DEBUG part with macros.
6727
6728 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6729
6730         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6731           More docs for the sync-message signal (mention that it is not
6732           emitted by default); log message structures of messages posted on
6733           the bus as well.
6734
6735 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
6736
6737         * gst/gst.c: (ensure_current_registry_forking):
6738         Use a pipe pair to receive status results from the forked child, and
6739         ignore the result from waitpid. Fixes #355499
6740
6741 2006-10-02  Wim Taymans  <wim@fluendo.com>
6742
6743         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6744         (gst_ghost_pad_suite):
6745         Fix leak in check.
6746
6747 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6748
6749         * gst/gstpad.c:
6750           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6751
6752 2006-10-02  Edward Hervey  <edward@fluendo.com>
6753
6754         * docs/design/part-block.txt:
6755         Further explain the use of flushing on blocked pads.
6756         * docs/gst/gstreamer-sections.txt:
6757         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6758         (gst_pad_push_event):
6759         * gst/gstpad.h:
6760         Added new GstPadFlag : GST_PAD_BLOCKING.
6761         Adds the notion of pads really blocking, which enables to properly
6762         handle FLUSH_START/FLUSH_STOP events on blocked pads.
6763         Fixes #358999
6764         API: gst_pad_is_blocking()
6765         API: GST_PAD_IS_BLOCKING() macro
6766         API: GST_PAD_BLOCKING GstPadFlag
6767         
6768 2006-10-02  Wim Taymans  <wim@fluendo.com>
6769
6770         Patch by: mrcgran <mrc.gran at gmail dot com>
6771
6772         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6773         Filter the proxied caps against the padtemplate if we have one.
6774
6775         * gst/gstquery.c: (gst_query_new_segment):
6776         Add include for gstinfo.h so that compilation with
6777         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6778
6779 2006-10-02  Wim Taymans  <wim@fluendo.com>
6780
6781         Patch by: Alessandro Decina  <alessandro at nnva org>
6782
6783         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6784         (gst_file_sink_set_location), (gst_file_sink_open_file),
6785         (gst_file_sink_close_file), (gst_file_sink_event),
6786         (gst_file_sink_render):
6787         Set file to NULL when closing filesink so that we can set a new filename
6788         in READY. Fixes #358613.
6789
6790 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6791
6792         Patch by: Alessandro Decina  <alessandro at nnva org>
6793
6794         * gst/gstevent.c: (_gst_event_copy):
6795           Fix gst_mini_object_make_writable() and gst_event_copy() for events
6796           with event structures by setting the parent refcount address of the
6797           copied structure to the address of the refcount member of the newly
6798           copied event rather than the address of the refcount member of the
6799           original event. Fixes #358737.
6800
6801         * tests/check/gst/gstevent.c: (GST_START_TEST):
6802           Unit test for the above.
6803
6804 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
6805
6806         * docs/design/Makefile.am:
6807           Dist some more files.
6808
6809 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6810
6811         * tests/check/libs/controller.c: (GST_START_TEST),
6812         (gst_controller_suite):
6813           Add test for the previous fix; add some more tests
6814           for correct refcounting behaviour; fix a few leaks
6815           in test cases; call gst_controller_init() at start
6816           of all tests.
6817
6818 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6819
6820         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6821         (gst_controller_set_from_list):
6822           Don't g_return_val_if_fail() on timed values with invalid timestamps
6823           inside a critical section without unlocking the mutex. Spotted by
6824           René Stadler. (#357617)
6825           Also, fix up refcounting properly: when returning an existing
6826           controller, we should increase the reference only once and not
6827           once per property and when trying to control a property again
6828           we should also increase the refcount.
6829
6830 2006-09-29  Wim Taymans  <wim@fluendo.com>
6831
6832         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6833         * libs/gst/net/gstnettimeprovider.c:
6834         (gst_net_time_provider_thread):
6835         Stop reading commands when EOF as well.
6836
6837         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6838         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6839         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6840         Unify description of the dump property.
6841
6842 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6843
6844         * tests/examples/manual/.cvsignore:
6845         OK, so it's actually cvsignore that needs changing. Stop laughing.
6846
6847 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6848
6849         * tests/examples/manual/Makefile.am:
6850         Gah, declare vars *before* using them
6851
6852 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6853
6854         * gst/gst.c: (init_pre), (scan_and_update_registry),
6855         (ensure_current_registry_nonforking),
6856         (ensure_current_registry_forking), (ensure_current_registry),
6857         (init_post), (gst_debug_help), (gst_deinit):
6858         * gst/gst_private.h:
6859         * gst/gstregistry.c: (gst_registry_finalize),
6860         (gst_registry_remove_features_for_plugin_unlocked),
6861         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6862         (gst_registry_scan_path),
6863         (_priv_gst_registry_remove_cache_plugins),
6864         (_priv_gst_registry_cleanup):
6865         * gst/gstregistry.h:
6866         Re-commit the registry changes, along with an extra fix:
6867           When a cached plugin is encountered at a different file path,
6868           update the stored path in the registry cache so that the parent
6869           process knows where it actually is now when it re-reads the registry
6870           cache. Fixes the thing that broke distcheck with the previous commit.
6871
6872         * tests/check/Makefile.am:
6873         Clean up files named 'core' too when running make clean.
6874
6875         * tests/examples/manual/Makefile.am:
6876         Set up a registry path for running these tests, and clean it properly
6877         for distcheck.
6878
6879 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6880
6881         * configure.ac:
6882         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6883         want gmodule-no-export-2.0.pc instead so that we don't drag in
6884         --export-dynamic on every project that links to GStreamer.
6885
6886         Also, make our export regex only match the start of symbols, rather 
6887         than any symbol that contains '_gst' somewhere.
6888
6889         * libs/gst/check/Makefile.am:
6890         The libgstcheck we build does however need export-dynamic, as it
6891         produces some symbols that don't match our _gst... style regex.
6892         Fixes: #318031
6893
6894 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6895
6896         * gst/gst.c: (init_pre), (scan_and_update_registry),
6897         (ensure_current_registry_nonforking),
6898         (ensure_current_registry_forking), (ensure_current_registry),
6899         (init_post), (gst_debug_help), (gst_deinit):
6900         * gst/gst_private.h:
6901         * gst/gstregistry.c: (gst_registry_finalize),
6902         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6903         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6904         (_gst_registry_cleanup):
6905         * gst/gstregistry.h:
6906           Revert previous change until I figure out why it breaks distcheck.
6907
6908 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6909
6910         * gst/gst.c: (init_pre), (scan_and_update_registry),
6911         (ensure_current_registry_nonforking),
6912         (ensure_current_registry_forking), (ensure_current_registry),
6913         (init_post), (gst_debug_help), (gst_deinit):
6914
6915           Make init_pre and init_post take the full complement of GOptionFunc
6916           args so they can return useful GErrors. Make the registry updating
6917           functions do so.
6918
6919           Call _priv_gst_registry_remove_cache_plugins after scanning files to
6920           ensure that the registry we're about to write out doesn't contain
6921           stale information about old-deleted plugin files.
6922
6923           Make _priv_gst_registry_remove_cache_plugins return a boolean so
6924           that deletion of plugin files is considered a registry change.
6925
6926         * gst/gst_private.h:
6927         * gst/gstregistry.c: (gst_registry_finalize),
6928         (gst_registry_remove_features_for_plugin_unlocked),
6929         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6930         (gst_registry_scan_path),
6931         (_priv_gst_registry_remove_cache_plugins),
6932         (_priv_gst_registry_cleanup):
6933         * gst/gstregistry.h:
6934         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6935         by adding _priv prefix, so that they won't appear in the global
6936         symbol table. They still do atm though because of #318031. Move the
6937         prototypes to gst_private.h
6938
6939         When removing a plugin, remove all features for that plugin too. 
6940         Fixes #340878.
6941
6942 2006-09-27  Wim Taymans  <wim@fluendo.com>
6943
6944         * docs/random/moving-plugins:
6945         Make it clear that the "compiled-in descriptions" really mean
6946         the element details.
6947
6948         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6949         (gst_base_sink_wait_preroll):
6950         Update docs.
6951
6952         * docs/libs/gstreamer-libs-sections.txt:
6953         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6954         (gst_base_src_get_range), (gst_base_src_activate_push):
6955         * libs/gst/base/gstbasesrc.h:
6956         Added function to block while waiting for PLAYING, this function
6957         is used by live sources that block on the clock.
6958         API: gst_base_src_wait_playing()
6959
6960 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6961
6962         Patch by: Peter Kjellerstedt <pkj at axis com>
6963
6964         * Makefile.am:
6965           gst-element-check.m4 is generated and should therefore be
6966           copied from the build dir rather than the source dir (#357593).
6967           'make distcheck' hasn't noticed this because we were disting
6968           the file as well, so stop doing that.
6969
6970 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6971
6972         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6973           Add some tests for gst_caps_intersect().
6974
6975         * tools/gst-launch.c: (event_loop):
6976           Print all buffering percentages we get, even the 100% one.
6977
6978 2006-09-26  Wim Taymans  <wim@fluendo.com>
6979
6980         * tools/gst-inspect.c: (print_element_properties_info),
6981         (print_signal_info):
6982         Fix printing of flags to match the look of enums.
6983
6984 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6985
6986         * gst/gstelementfactory.c:
6987           Fix typo in docs blurb.
6988
6989 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6990
6991         * gst/gsturi.c: (search_by_entry):
6992           Don't assert/crash here if a uri handler doesn't return any
6993           supported protocols. The list of protocols could be generated
6994           dynamically at runtime or at plugin registration, and an error
6995           in the underlying library shouldn't be fatal (#353301).
6996
6997 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6998
6999         * gst/gstinfo.c:
7000           Fix warning if HAVE_PRINTF_EXTENSION is undefined
7001           (spotted by Peter Kjellerstedt).
7002
7003 2006-09-23  Wim Taymans  <wim@fluendo.com>
7004
7005         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
7006
7007         * libs/gst/base/gstbasesrc.c:
7008         (gst_base_src_default_check_get_range), (gst_base_src_start),
7009         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7010         (gst_base_src_change_state):
7011         Match _start/_stop calls in the activate functions. Remove redundant
7012         _stop call from the state change function. Fixes #356910.
7013         Turn failure DEBUG into ERROR. 
7014
7015 2006-09-22  Wim Taymans  <wim@fluendo.com>
7016
7017         * docs/design/part-buffering.txt:
7018         * gst/gstmessage.c: (gst_message_new_buffering),
7019         (gst_message_parse_buffering):
7020         Update docs about buffering.
7021
7022         * docs/design/part-trickmodes.txt:
7023         Fix typo.
7024
7025 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
7026
7027         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7028         (gst_controller_new_list):
7029           Ref instances when returning them again (fixes #357180)
7030
7031 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
7032
7033         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
7034           Don't forget to release proxy lock when there's an error.
7035
7036 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
7037
7038         * gst/gstcaps.h:
7039           Add extra initialisers for Caps things, to fix some plugin warnings
7040           when using -Wextra
7041
7042 2006-09-18  Wim Taymans  <wim@fluendo.com>
7043
7044         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
7045           Also set template on the internal pad so that a getcaps from the 
7046           target pad returns the template caps.
7047
7048 2006-09-18  Wim Taymans  <wim@fluendo.com>
7049
7050         * gst/gstelement.c: (gst_element_post_message),
7051         (gst_element_dispose):
7052         Use _DEBUG_OBJECT some more.
7053
7054         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7055         Avoid typechecks.
7056
7057         * tools/gst-launch.c: (main):
7058         If the toplevel element is not a GstPipeline, it must be put in a
7059         pipeline so that a bus and clock is selected.
7060
7061 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
7062
7063         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7064           JITTER, RATE, and LATENCY query should be handled by the
7065           default case and not by the CONVERT query code.
7066
7067 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
7068
7069         * gst/gstformat.c: (gst_format_register):
7070           Fix locking order (must take lock before using n_values).
7071
7072         * gst/gstvalue.c: (gst_value_serialize_enum),
7073         (gst_value_deserialize_enum_iter_cmp),
7074         (gst_value_deserialize_enum):
7075           Fix serialisation/deserialisation of custom registered GstFormats.
7076
7077         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7078           Unit test for custom format serialisation/deserialisation.
7079
7080 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
7081
7082         * docs/pwg/building-boiler.xml:
7083         * plugins/elements/gstcapsfilter.c:
7084         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
7085         section.
7086
7087 2006-09-16  Edward Hervey  <edward@fluendo.com>
7088
7089         * libs/gst/base/gstbasetransform.c:
7090         (gst_base_transform_buffer_alloc):
7091         Check if requested caps are the same as the sinks caps IF
7092         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
7093         is FALSE.
7094         This fixes the renegotiation issues stated in #352827.
7095
7096 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7097
7098         * configure.ac:
7099         * docs/manual/advanced-autoplugging.xml:
7100         * tests/examples/Makefile.am:
7101         * tests/examples/manual/.cvsignore:
7102         * tests/examples/manual/Makefile.am:
7103         * tests/examples/manual/extract.pl:
7104           Extract the manual examples again like we used to do.
7105           Fix one of them.
7106
7107 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7108
7109         * win32/common/config.h:
7110           update for version
7111
7112 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
7113
7114         * gst/gsterror.c:
7115           Documents how to receive errors.
7116
7117 2006-09-15  Wim Taymans  <wim@fluendo.com>
7118
7119         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
7120         (event_loop), (main):
7121         Added some comments here and there.
7122         Post an application message when an interrupt is caught instead of doing
7123         an uncontrolled state change.
7124         Clean up the event loop.
7125         Handle buffering messages, pause/resume the pipeline.
7126         Make shutdown because of an interrupt more reliable.
7127
7128 2006-09-15  Wim Taymans  <wim@fluendo.com>
7129
7130         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7131         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
7132         (gst_base_sink_preroll_object):
7133         Make sure that our internal state is correct when we commit our state
7134         asynchronously. This solves a race where a state change to PLAYING
7135         could cause the sink to remain blocked in preroll in some situations.
7136
7137 2006-09-15  Wim Taymans  <wim@fluendo.com>
7138
7139         * tools/gst-inspect.c: (print_element_properties_info),
7140         (print_signal_info):
7141         List flags as hex so it's easier to deal with.
7142
7143 2006-09-15  Wim Taymans  <wim@fluendo.com>
7144
7145         * docs/libs/gstreamer-libs-sections.txt:
7146         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
7147         (gst_base_sink_do_sync):
7148         * libs/gst/base/gstbasesink.h:
7149         Expose logic to wait for preroll so that subclasses such as audiosink
7150         can also use this method.
7151         API: gst_base_sink_wait_preroll()
7152
7153 2006-09-15  Wim Taymans  <wim@fluendo.com>
7154
7155         * gst/gstobject.c: (gst_object_set_parent):
7156         * gst/gstpipeline.c: (do_pipeline_seek):
7157         Small cleanups in docs and code.
7158
7159         * gst/gstsegment.c: (gst_segment_clip):
7160         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7161         if stop == start and start is in the segment, no clipping should be
7162         done. Also add a test for this.
7163
7164 2006-09-15  Wim Taymans  <wim@fluendo.com>
7165
7166         * docs/design/part-buffering.txt:
7167         * docs/gst/gstreamer-sections.txt:
7168         * gst/gstmessage.c: (gst_message_new_buffering),
7169         (gst_message_parse_buffering):
7170         * gst/gstmessage.h:
7171         Added methods to create and parse BUFFERING messages.
7172         Added preliminary docs about buffering.
7173         API: gst_message_new_buffering
7174         API: gst_message_parse_buffering
7175
7176 2006-09-06  Wim Taymans  <wim@fluendo.com>
7177
7178         * gst/gstbin.c:
7179         Update documentation.
7180
7181         * gst/gstelement.c: (gst_element_class_init),
7182         (gst_element_release_request_pad), (gst_element_set_clock),
7183         (gst_element_get_index), (gst_element_add_pad),
7184         (gst_element_remove_pad), (gst_element_get_random_pad),
7185         (gst_element_send_event), (gst_element_get_query_types),
7186         (gst_element_query), (gst_element_post_message),
7187         (gst_element_message_full), (gst_element_continue_state),
7188         (gst_element_lost_state), (gst_element_save_thyself),
7189         (gst_element_restore_thyself):
7190         Documentation updates.
7191         Rename last bit of the new-pad -> pad-added signal rename.
7192         Fix the case where an element query would only work if the source
7193         pad was linked.
7194         Avoid some useless type checking in message handling.
7195
7196         * gst/gstevent.c:
7197         * gst/gstevent.h:
7198         * gst/gstutils.c:
7199         Documentation updates.
7200
7201 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7202
7203         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7204           add an INFO line for when we actually update the fd
7205
7206 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7207
7208         * configure.ac:
7209           back to TRUNK
7210
7211 === release 0.10.10 ===
7212
7213 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
7214
7215         * configure.ac:
7216           releasing 0.10.10, "Pais"
7217
7218 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
7219
7220         * docs/manual/advanced-position.xml:
7221           Fix typo in sample code.
7222
7223 2006-09-05  Wim Taymans  <wim@fluendo.com>
7224
7225         * libs/gst/net/gstnetclientclock.c: (inet_aton),
7226         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7227         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
7228         * libs/gst/net/gstnetclientclock.h:
7229         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7230         * libs/gst/net/gstnettimepacket.h:
7231         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7232         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7233         (gst_net_time_provider_thread), (gst_net_time_provider_new):
7234         * libs/gst/net/gstnettimeprovider.h:
7235         Make stuff compile on windows. Fixes #345295.
7236
7237 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7238
7239         * gst/gst.c: (ensure_current_registry_forking):
7240           Print better details when child was terminated by signal.
7241
7242 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7243
7244         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7245           Print a warning rather than g_assert() if a plugin feature
7246           is a URI handler but returns no protocols (#353976).
7247
7248 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
7249
7250         * docs/random/moving-plugins:
7251         Fix two typos.         
7252
7253 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7254
7255         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7256           Fix locking order, handle NULL function values properly.
7257
7258         * gst/gstinfo.h:
7259           Fix docs.
7260
7261         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7262           Initialise variable before using it and fix debug statement to
7263           print the address of the function rather than the address of the
7264           variable on the stack holding the address of the function.
7265
7266 2006-09-01  Wim Taymans  <wim@fluendo.com>
7267
7268         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7269         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7270         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7271         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7272         (gst_ghost_pad_parent_unset),
7273         (gst_ghost_pad_internal_do_activate_push),
7274         (gst_ghost_pad_internal_do_activate_pull),
7275         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7276         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7277         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7278         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7279         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7280         (gst_ghost_pad_new_no_target_from_template),
7281         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7282         More cleanups.
7283         Avoid needless typechecking in macros.
7284         Since the internal pad is always present and never changes, there is
7285         no need to locking or ref when retrieving it.
7286         Improve debugging a bit.
7287         Handle link errors when setting the target. Fixes #341029.
7288
7289 2006-09-01  Wim Taymans  <wim@fluendo.com>
7290
7291         * docs/libs/gstreamer-libs-sections.txt:
7292         * docs/plugins/gstreamer-plugins-sections.txt:
7293         Fix docs some more.
7294
7295         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7296         (gst_collect_pads_event):
7297         * libs/gst/base/gstcollectpads.h:
7298         Documentation updates.
7299         Free queued buffer when removing a pad.
7300
7301 2006-08-31  Michael Smith  <msmith@fluendo.com>
7302
7303         * gst/gstutils.c: (gst_element_link_pads),
7304         (gst_element_link_pads_filtered):
7305           Ensure that we set a capsfilter to NULL if we failed to link it
7306           when doing filtered linking, to avoid criticals.
7307
7308           No need to check for unreffing srcpad, which is explicly NULLed
7309           above (a trivial code cleanup).
7310
7311 2006-08-31  Wim Taymans  <wim@fluendo.com>
7312
7313         * docs/design/part-gstghostpad.txt:
7314         Update ascii art in documentation.
7315
7316         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7317         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7318         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7319         (gst_ghost_pad_internal_do_activate_push),
7320         (gst_ghost_pad_internal_do_activate_pull),
7321         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7322         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7323         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7324         (gst_ghost_pad_set_target):
7325         Small cleanups and leak fixes.
7326         Remove some checks now that the internal pad is never NULL.
7327         Fix the case where linking pads without a target would create nasty
7328         criticals. Fixes #341029.
7329         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7330         value of _set_target().
7331
7332         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7333         (gst_ghost_pad_suite):
7334         Some more tests for creating and linking untargeted ghostpads.
7335
7336 2006-08-31  Edward Hervey  <edward@fluendo.com>
7337
7338         * docs/gst/gstreamer-sections.txt:
7339         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7340         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7341         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7342         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7343         (gst_ghost_pad_new_from_template),
7344         (gst_ghost_pad_new_no_target_from_template):
7345         * gst/gstghostpad.h:
7346         Refactored *_new() functions.
7347         Templates are now used as a g_object_new() parameter.
7348         Use template in _do_getcaps() if we don't have a target.
7349         Small documentation cleanups.
7350         Added two new constructors:
7351         gst_ghost_pad_new_from_template()
7352         gst_ghost_pad_new_no_target_from_template()
7353         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7354         (gst_ghost_pad_suite):
7355         Added tests for new ghostpad instanciation functions.
7356
7357         API additions: gst_ghost_pad_new_from_template,
7358         gst_ghost_pad_new_no_target_from_template
7359
7360 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
7361
7362         * docs/random/ensonic/profiling.txt:
7363           Ideas about qos profiling.
7364
7365 2006-08-29  Wim Taymans  <wim@fluendo.com>
7366
7367         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7368         Code cleanups.
7369         Fix memleak.
7370
7371 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
7372
7373         * gst/gstxml.c:
7374           Improve and detypofy docs.
7375
7376         * tests/check/Makefile.am:
7377         * tests/check/gst/.cvsignore:
7378         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7379           Add a basic test suite for GstXML.
7380
7381 2006-08-29  Wim Taymans  <wim@fluendo.com>
7382
7383         * gst/gstelement.c: (activate_pads), (clear_caps),
7384         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7385         Clear the pad caps when the element shut down all of the pads and
7386         is not streaming data that could modify the caps. 
7387         Fixes #352958.
7388
7389 2006-08-28  Michael Smith  <msmith@fluendo.com>
7390
7391         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7392           Revert previous change; I misunderstood single-segment mode.
7393
7394 2006-08-28  Michael Smith  <msmith@fluendo.com>
7395
7396         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7397           Unset DISCONT on buffers when using single-segment mode.
7398
7399 2006-08-28  Wim Taymans  <wim@fluendo.com>
7400
7401         * gst/gstcaps.c: (gst_caps_merge_structure):
7402         * gst/gstcaps.h:
7403         Fix docs and indentation again.
7404
7405         * tests/check/gst/gstquery.c: (GST_START_TEST):
7406         Fix leak in tests and add some more tests.
7407
7408 2006-08-28  Edward Hervey  <edward@fluendo.com>
7409
7410         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7411         Inform GstSegment of the last stop position in order for the current
7412         segment to have a proper duration if it doesn't have a specific stop
7413         position from which a duration could be calculated.
7414         This bug was noticeable when a non-flushing, non-update new segment was
7415         followed by another segment (all buffers from the new segment were being
7416         dropped).
7417
7418 2006-08-28  Wim Taymans  <wim@fluendo.com>
7419
7420         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7421         Small comment update.
7422
7423         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7424         (gst_identity_transform_ip):
7425         Drop-probability is broken, mention this in the code with a 
7426         FIXME and also in the property description.
7427         Make silent also be silent about the drop messages.
7428
7429 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
7430
7431         * docs/manual/appendix-win32.xml:
7432           Remove mention of popt, we don't depend on that any
7433           longer (#353136). Add some comments pointing out that
7434           this section is slightly outdated.
7435
7436 2006-08-28  Wim Taymans  <wim@fluendo.com>
7437
7438         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7439
7440         * gst/gstquery.c: (gst_query_new_segment):
7441         * tests/check/gst/gstquery.c: (GST_START_TEST):
7442         Initialize variables when creating a new segment query.
7443         Fixes #353121.
7444
7445 2006-08-28  Wim Taymans  <wim@fluendo.com>
7446
7447         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7448
7449         * gst/gstelement.c: (gst_element_get_bus):
7450         * tests/check/gst/gstelement.c: (GST_START_TEST):
7451         Check for NULL before _reffing the bus. Fixes #353122.
7452
7453 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
7454
7455         * docs/manual/basics-bus.xml:
7456           Docs update: fix wrong callback return value explanation; add
7457           some lines about the implicit relationship between main loop
7458           and main context; remove duplicate main loop variable declaration.
7459
7460 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
7461
7462         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7463           Don't leak caps in unit test; add a few more simple
7464           checks. 
7465
7466 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
7467
7468         * docs/gst/gstreamer-sections.txt:
7469         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7470         (gst_caps_structure_is_subset), (gst_caps_merge),
7471         (gst_caps_merge_structure):
7472         * gst/gstcaps.h:
7473         * libs/gst/base/gstbasetransform.c:
7474         (gst_base_transform_transform_caps):
7475         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7476           implement caps merging (fixes #352580)
7477
7478 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
7479
7480         * tools/Makefile.am:
7481         * tools/gst-plot-timeline.py:
7482           add debug-log plotting developer tool (#340674)
7483
7484 2006-08-23  Wim Taymans  <wim@fluendo.com>
7485
7486         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7487         (gst_pad_stop_task):
7488         Improve debugging for task functions.
7489
7490         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7491         (gst_task_start), (gst_task_pause), (gst_task_join):
7492         Make sure that the task function started and finished after a 
7493         join(). 
7494         Don't try to push the task function on the threadpool multiple
7495         times.
7496         Improve the g_warning message with some useful suggestions
7497         about how to fix the problem. 
7498
7499 2006-08-23  Wim Taymans  <wim@fluendo.com>
7500
7501         * gst/gstutils.c: (gst_pad_proxy_getcaps):
7502         Handle RESYNC correctly in _proxy_getcaps.
7503
7504 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
7505
7506         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7507         (gst_xml_parse_memory), (gst_xml_get_element):
7508           Chain up to parent class in dispose function and also
7509           unref the elements in the toplevel_elements GList.
7510           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7511           Always return a reference in gst_xml_get_element() rather
7512           than only sometimes.
7513
7514         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7515           Don't leak GstXml object.
7516
7517 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
7518
7519         * docs/gst/gstreamer-sections.txt:
7520         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7521         (gst_caps_merge):
7522         * gst/gstcaps.h:
7523         * libs/gst/base/gstbasetransform.c:
7524         (gst_base_transform_transform_caps):
7525           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7526           in a better way
7527
7528 2006-08-21  Edward Hervey  <edward@fluendo.com>
7529
7530         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7531         Implement GObject::dispose virtual method in GstXML so we can free the
7532         top_elements GList.
7533
7534 2006-08-21  Wim Taymans  <wim@fluendo.com>
7535
7536         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7537         (gst_buffer_create_sub):
7538         Copy duration/offset_end/caps when creating a subbuffer of the
7539         complete parent.
7540         Make the subbuffer read-only when we make the metadata writable for
7541         now. Fixes #351768.
7542
7543         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7544         Added check for metadata copy when creating subbuffers.
7545
7546 2006-08-21  Edward Hervey  <edward@fluendo.com>
7547
7548         * libs/gst/base/gstbasetransform.c:
7549         (gst_base_transform_buffer_alloc):
7550         Only call downstream buffer_alloc if transform element is passthrough
7551         or always_in_place. Closes #350449.
7552
7553 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7554
7555         * ChangeLog:
7556           ChangeLog surgery to add comments to previous changes
7557
7558 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7559
7560         * gst/gst.c:
7561           Add comments
7562
7563         * gst/gstpad.c: (gst_pad_set_active):
7564           Be more verbose in the log
7565
7566         * libs/gst/base/gstbasetransform.c:
7567         (gst_base_transform_transform_caps):
7568           Simplify caps to get rid of duplicates, fixes #345444
7569
7570 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7571
7572         * gst/gstvalue.c:
7573         * gst/gstvalue.h:
7574           Use these optimizations only internally.
7575
7576 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7577
7578         * gst/gstvalue.c: (gst_value_compare_list),
7579         (gst_value_compare_fraction_range),
7580         (gst_value_intersect_fraction_fraction_range),
7581         (gst_value_intersect_fraction_range_fraction_range),
7582         (gst_value_subtract_fraction_fraction_range),
7583         (gst_value_subtract_fraction_range_fraction_range),
7584         (gst_value_get_compare_func), (gst_value_compare),
7585         (gst_value_compare_with_func):
7586         * gst/gstvalue.h:
7587           Saves the expensive lookup of the compare function in many cases
7588          (#345444)
7589
7590 2006-08-18  Edward Hervey  <edward@fluendo.com>
7591
7592         * tests/check/gst/gstinfo.c: (gst_info_suite):
7593         Disable test that require gstdebug if it wasn't built in core.
7594
7595 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7596
7597         * docs/random/ensonic/logging.txt:
7598           update ideas
7599           
7600         * gst/gstinfo.c: (gst_debug_log_default):
7601           reorder fields, save some columns, add optional color codes for log
7602           levels
7603
7604 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7605
7606         * docs/random/ensonic/logging.txt:
7607           add ideas about making the logs a bit more useful
7608
7609 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7610
7611         * docs/pwg/advanced-events.xml:
7612         * docs/pwg/titlepage.xml:
7613           Update for 0.10 API (#340627). Add myself
7614           to authors list.
7615
7616 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7617
7618         * docs/libs/gstreamer-libs-docs.sgml:
7619         * docs/libs/gstreamer-libs-sections.txt:
7620         * libs/gst/check/gstbufferstraw.c:
7621           Make gstcheck stuff show up in docs (still needs to
7622           be documented properly though).
7623
7624 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7625
7626         * docs/gst/gstreamer-sections.txt:
7627         * gst/Makefile.am:
7628         * gst/gst.c: (init_post):
7629         * gst/gst_private.h:
7630         * gst/gstquark.c: (_priv_gst_quarks_initialize):
7631         * gst/gstquark.h:
7632         * gst/gstquery.c: (gst_query_new_position),
7633         (gst_query_set_position), (gst_query_parse_position),
7634         (gst_query_new_duration), (gst_query_set_duration),
7635         (gst_query_parse_duration), (gst_query_new_convert),
7636         (gst_query_set_convert), (gst_query_parse_convert),
7637         (gst_query_new_segment), (gst_query_set_segment),
7638         (gst_query_parse_segment), (gst_query_new_seeking),
7639         (gst_query_set_seeking), (gst_query_parse_seeking):
7640         Add internal helpers for pre-registering quarks from static strings
7641         and using the quark values directly instead of looking them up when
7642         creating and parsing queries. Can be used for event construction too.
7643         Closes #350432.
7644
7645 2006-08-16  Wim Taymans  <wim@fluendo.com>
7646
7647         * gst/gstbin.c:
7648         Fix bogus docs.
7649
7650 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7651
7652         * gst/gstutils.c: (gst_util_set_value_from_string):
7653           Fix memleak (#351502).
7654
7655         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7656           Add unit test for most of gst_util_set_value_from_string()
7657           (not that one would want to encourage use of this function).
7658
7659 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7660
7661         * libs/gst/check/gstcheck.h:
7662           Use const gchar * variables in fail_unless_equals_string
7663           macro to avoid compiler warnings (and don't use tabs for
7664           indenting).
7665
7666 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7667
7668         * tools/gst-launch.c: (print_tag):
7669           More space on the left for the tag names, to cater
7670           for the 'extended comment' tag (not touching the
7671           string for the first line since it's translated).
7672
7673 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7674
7675         * libs/gst/check/gstcheck.h:
7676           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7677           print something when they fail.
7678
7679 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7680
7681         * docs/gst/gstreamer-sections.txt:
7682         * gst/gsttaglist.c: (_gst_tag_initialize):
7683         * gst/gsttaglist.h:
7684           API: add GST_TAG_EXTENDED_COMMENT (#350935).
7685           Also change merge function for GST_TAG_COMMENT to
7686           use_first.
7687
7688 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7689
7690         * gst/gstinfo.c: (gst_debug_print_object):
7691           Make GST_PTR_FORMAT print messages as well.
7692
7693         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7694         (GST_START_TEST), (gst_info_suite):
7695           More tests.
7696
7697 2006-08-14  Edward Hervey  <edward@fluendo.com>
7698
7699         * gst/gstelementfactory.c: (gst_element_register):
7700         If the GstElementClass doesn't have a GstElementDetails with all fields
7701         filled up correctly (longname, description AND author), then error out
7702         nicely instead of crashing.
7703
7704 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7705
7706         * gst/gststructure.c:
7707           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7708
7709         * gst/gstvalue.h:
7710           Expand on the difference between arrays and lists as we use them.
7711           
7712 2006-08-14  Wim Taymans  <wim@fluendo.com>
7713
7714         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7715         If the parent state change function failed, don't assume we can safely
7716         stop the source, this will be done when the pads are deactivated.
7717
7718 2006-08-14  Wim Taymans  <wim@fluendo.com>
7719
7720         * gst/gstbuffer.c:
7721         * gst/gsttask.c: (gst_task_join):
7722         Small doc updates.
7723
7724         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7725         (gst_pad_stop_task):
7726         When pad (de)activation failed for some reason, restore the old
7727         activation mode and set the pad to flushing instead of assuming the
7728         pad is deactivated.
7729         If the _task_join() failed, reinstall the task on the pad so that it can
7730         be stopped later and return an error.
7731
7732 2006-08-11  Andy Wingo  <wingo@pobox.com>
7733
7734         * configure.ac:
7735         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7736         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7737         is only for users of API that don't want to see deprecated
7738         functions in the headers; people that want to compile out
7739         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7740         CFLAGS. Fixes the build of multifdsink, or will soon..
7741
7742 2006-08-11  Wim Taymans  <wim@fluendo.com>
7743
7744         * docs/gst/gstreamer-sections.txt:
7745         Add GstClockClass vmethod docs.
7746
7747         * gst/gstcaps.h:
7748         Mark #endif with comment for associated #if
7749
7750         * gst/gstclock.c: (gst_clock_id_wait):
7751         * gst/gstclock.h:
7752         Add vmethod wait_jitter to avoid an unneeded _get_time() for
7753         most clock implementations.
7754         Document vmethods.
7755         Flesh out docs about resolution methods.
7756         API: GstClockClass::wait_jitter
7757
7758         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7759         (gst_system_clock_async_thread),
7760         (gst_system_clock_id_wait_jitter_unlocked),
7761         (gst_system_clock_id_wait_jitter):
7762         Use base class wait_jitter variant for improved performance
7763         due to less clock polling.
7764
7765 2006-08-11  Edward Hervey  <edward@fluendo.com>
7766
7767         * gst/gst.c: (gst_init_check), (init_post):
7768         Set gst as being initialized before scanning/updating the registry,
7769         since there might be my python plugin loader that calls gst_init() and
7770         we don't want to loop back in.
7771         Closes #350879
7772
7773 2006-08-11  Wim Taymans  <wim@fluendo.com>
7774
7775         * docs/design/part-qos.txt:
7776         Bring docs in line with the code. Mostly the sign of the jitter was
7777         wrong in the docs. Fixes #349943.
7778
7779         * gst/gstclock.c:
7780         Fix the docs for the jitter.
7781
7782         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7783         (gst_event_parse_tag), (gst_event_new_buffer_size),
7784         (gst_event_parse_buffer_size), (gst_event_parse_qos),
7785         (gst_event_new_seek), (gst_event_parse_seek),
7786         (gst_event_new_navigation):
7787         Make sure the GstStructure has no parent when creating custom
7788         events.
7789         Add some more argument checking so that we avoid 0.0 rates.
7790         Flesh out the docs for the QoS event some more.
7791
7792 2006-08-11  Wim Taymans  <wim@fluendo.com>
7793
7794         * docs/gst/gstreamer-sections.txt:
7795         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7796         (ensure_current_registry_forking), (ensure_current_registry),
7797         (parse_one_option), (parse_goption_arg), (gst_deinit),
7798         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7799         * gst/gst.h:
7800         Doc updates.
7801         Added API and command line option to disable registry forking in
7802         addition to the environment variable.
7803         Constify some static arrays.
7804         Added some more debug.
7805         Don't deinit twice.
7806         API: gst_registry_fork_is_enabled()
7807         API: gst_registry_fork_set_enabled()
7808         API: --gst-disable-registry-fork command line option
7809         Fixes #348918.
7810
7811 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
7812
7813         * gst/gst.c: (gst_init):
7814           Fix typo in error message.
7815
7816 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7817
7818         * libs/gst/controller/gstcontroller.h:
7819           fix ABI size-correction
7820
7821         * tests/check/libs/gdp.c: (gst_dp_suite):
7822           make tests that use deprecated API conditional
7823
7824 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7825
7826         * docs/libs/gstreamer-libs-sections.txt:
7827         * libs/gst/controller/gstcontroller.c:
7828         (_gst_controller_get_property), (_gst_controller_set_property),
7829         (_gst_controller_init), (_gst_controller_class_init):
7830         * libs/gst/controller/gstcontroller.h:
7831         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7832         (gst_object_set_control_rate):
7833           API: add gst_object_{s,g}et_control_rate(), add private data section,
7834           fix docs
7835
7836         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7837         * libs/gst/dataprotocol/dataprotocol.h:
7838           add deprecation guards to make gtk-doc happy and allow disabling cruft
7839
7840 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7841
7842         * tests/check/Makefile.am:
7843         * tests/check/gst/.cvsignore:
7844           Let's enable the new unit test as well.
7845
7846 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7847
7848         * configure.ac:
7849         * docs/gst/gstreamer-sections.txt:
7850         * gst/gstconfig.h.in:
7851         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7852         (_gst_info_printf_extension_ptr),
7853         (_gst_info_printf_extension_segment):
7854           API: add GST_SEGMENT_FORMAT, which is a printf extension we
7855           register that lets us easily dump GstSegments into debug
7856           logs (#350419).
7857
7858         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7859         (info_segment_format_printf_extension), (gst_info_suite):
7860           Add simple unit test that logs a bunch of different segments (not
7861           valgrinded at the moment because of leaks in
7862           gst_debug_add_log_function).
7863
7864 2006-08-09  Edward Hervey  <edward@fluendo.com>
7865
7866         * libs/gst/base/gstbasetransform.c:
7867         (gst_base_transform_buffer_alloc):
7868         Even if we can't figure out the proper format to request downstream,
7869         call buffer_alloc() downstream with the input parameters without setting
7870         the caps on the srcpad. This will force negotiation in the chain
7871         function.
7872         Closes #350449
7873
7874 2006-08-08  Edward Hervey  <edward@fluendo.com>
7875
7876         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7877         Unlinking from a pad without a target is now a perfectly valid case
7878         which should NOT raise an assertion.
7879         This case would happen if a linked ghostpad its target set to NULL after
7880         it was previously linked.
7881
7882 2006-08-08  Edward Hervey  <edward@fluendo.com>
7883
7884         * tests/check/libs/gdp.c:
7885         Also comment out the test (see below).
7886
7887 2006-08-08  Edward Hervey  <edward@fluendo.com>
7888
7889         * tests/check/libs/gdp.c: (gst_dp_suite):
7890         Use the architecture information from config.h and not gcc macros
7891         in order to properly disable a test that fails on PPC64.
7892
7893 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
7894
7895         * gst/gstelement.c: (gst_element_remove_pad):
7896           Don't crash printing the warning if the pad has no parent.
7897
7898 2006-08-02  Wim Taymans  <wim@fluendo.com>
7899
7900         * libs/gst/dataprotocol/dataprotocol.c:
7901         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7902         (gst_dp_crc), (gst_dp_header_payload_length),
7903         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7904         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7905         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7906         (gst_dp_event_from_packet), (gst_dp_validate_header),
7907         (gst_dp_validate_payload):
7908         Make debug category static
7909         Constify the crc table.
7910         Do some more arg checking in public functions.
7911         Fix some docs and do some small cleanups.
7912
7913         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7914         Add some more checks to see if GDP deals with bogus input.
7915
7916 2006-07-31  Wim Taymans  <wim@fluendo.com>
7917
7918         * gst/gstvalue.c: (gst_value_compare_list):
7919         Fix GstValueList comparison code. Fixes #347293.
7920
7921         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7922         Check to test GstValueList comparison.
7923
7924 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7925
7926         * gst/gstelementfactory.c: (gst_element_factory_create):
7927         Remove unnecessary ref/unref pair
7928
7929         * gst/parse/grammar.y:
7930         Make sure to free the parse buffer on all code paths.
7931         Move a g_free up to the error handler where it's easier to see.
7932
7933         * tests/check/gst/gstevent.c: (test_event):
7934         Extending timeout for downstream travelling events to 10 seconds to
7935         hopefully avoid intermittent failure on the buildbots.
7936
7937         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7938         Don't manually set the state of the src element - it will happen as a
7939         natural consequence of the pipeline changing state, and that way it
7940         will do it in the right order too.
7941
7942 2006-07-31  Wim Taymans  <wim@fluendo.com>
7943
7944         * libs/gst/base/gstbasetransform.c:
7945         (gst_base_transform_buffer_alloc):
7946         Use OBJECT_LOCK and refcounting to get the pad caps in the
7947         buffer_alloc function because the caps could change while we are
7948         busy with them. Fixes #349105
7949
7950 2006-07-31  Wim Taymans  <wim@fluendo.com>
7951
7952         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7953         Protect _PAD_CAPS with OBJECT_LOCK.
7954
7955 2006-07-31  Wim Taymans  <wim@fluendo.com>
7956
7957         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7958         (gst_pad_get_property), (gst_pad_activate_pull),
7959         (gst_pad_activate_push), (gst_pad_set_blocked_async),
7960         (gst_pad_set_activate_function),
7961         (gst_pad_set_activatepull_function),
7962         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7963         (gst_pad_set_getrange_function),
7964         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7965         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7966         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7967         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7968         (gst_pad_set_acceptcaps_function),
7969         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7970         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7971         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7972         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7973         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7974         (gst_pad_configure_sink), (gst_pad_configure_src),
7975         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7976         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7977         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7978         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7979         (gst_pad_send_event):
7980         Use _DEBUG_OBJECT when it makes sense.
7981         Protect GST_PAD_CAPS with the OBJECT_LOCK.
7982         Small cleanups and code reflows.
7983         Avoid caps refcounting in _accept_caps.
7984         Refactor alloc_buffer so that the code performed on the peer is in a
7985         separate function. Also if the pad does not implement a buffer alloc
7986         function, we should still check if the pad is flushing before falling
7987         back to the default allocator.
7988
7989 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7990
7991         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7992         Make all uses of identity and fakesink have silent=true to avoid
7993         serialising every passing data structure, which is breaking tests
7994         on FC4 for some unknown reason.
7995
7996 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7997
7998         * gst/parse/Makefile.am:
7999         * gst/parse/grammar.y:
8000         * gst/parse/parse.l:
8001           Reverted previous patch as it required to bump the flex dependency to
8002           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
8003
8004 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
8005
8006         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
8007
8008         * gst/parse/Makefile.am:
8009         * gst/parse/grammar.y:
8010         * gst/parse/parse.l:
8011           push & pop the state of the lexer for reentrant use case
8012           Fixes #349180
8013
8014 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
8015
8016         * libs/gst/base/gstbasesrc.h:
8017           Note in the docs that the ::newsegment vfunc is not actually used by
8018           GstBaseSrc.
8019
8020 2006-07-28  Wim Taymans  <wim@fluendo.com>
8021
8022         * libs/gst/base/gstcollectpads.c:
8023         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
8024         (gst_collect_pads_clear), (gst_collect_pads_flush),
8025         (gst_collect_pads_event), (gst_collect_pads_chain):
8026         When flushing a pad, also clear the queued buffer so that we don't
8027         accidentally use it when we shouldn't.
8028         Fix leaks by inreffing incomming buffer.
8029         Flush out queued buffers in case of errors.
8030         Fixes #347452.
8031
8032 2006-07-28  Wim Taymans  <wim@fluendo.com>
8033
8034         * docs/random/phonon-gst:
8035         Random notes about a Phonon backend.
8036
8037 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
8038
8039         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8040         Extra debug output
8041         * tests/check/libs/gdp.c: (gst_dp_suite):
8042         Take a whack at fixing the ppc compile using a different define to
8043         disable the broken test.
8044
8045         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8046         Remove excess g_print()
8047
8048 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
8049
8050         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8051         Oops, meant to uncomment this line too to dampen the noise a bit.
8052
8053 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
8054
8055         * gst/parse/grammar.y:
8056         * gst/parse/parse.l:
8057         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8058         (GST_START_TEST), (parse_suite):
8059         Fix some of the leaks exposed by extending the parse-launch testsuite,
8060         and move the 3 I can't figure out into a separate test that won't run
8061         the pipelines unless the appropriate line is uncommented.
8062
8063 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
8064
8065         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8066           Requesting 0 bytes before the end of the file should result in
8067           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
8068           unit test.
8069
8070 2006-07-27  Wim Taymans  <wim@fluendo.com>
8071
8072         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
8073         Fix useless assert, a uint is always positive.
8074
8075         * gst/gststructure.c: (gst_structure_nth_field_name),
8076         (gst_structure_foreach), (gst_structure_map_in_place):
8077         Check input arguments for public functions to avoid obvious crashes.
8078
8079         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
8080         * plugins/elements/gstfakesink.h:
8081         Do less useless typechecking.
8082
8083 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
8084
8085         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8086           Do not use mmap() by default since there are a number of error
8087           conditions that we would like to handle in a non-fatal way that
8088           will result in a SIGBUS if we use mmap(). Examples: external
8089           devices (USB harddrive, portable music player) being unplugged
8090           while in use; file on mounted CD/DVD that can't be read because
8091           the medium is partly damaged. Fixes #348455 and #348475.
8092
8093 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
8094
8095         * gst/gstquery.h:
8096         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
8097         rates are a gdouble
8098
8099 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
8100
8101         * gst/gstregistry.c:
8102           Move big documentation comment into class section header, so that it
8103           appears in the API docs.
8104
8105 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
8106
8107         * docs/gst/gstreamer-sections.txt:
8108         Oops. Commit the docs additions too for new API.
8109         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
8110
8111 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
8112
8113         * gst/gststructure.c: (gst_structure_id_set),
8114         (gst_structure_id_set_valist):
8115         * gst/gststructure.h:
8116         Add API for setting values into structures without performing
8117         a quark lookup, if the appropriate quark is already known.
8118
8119         API: gst_structure_id_set
8120         API: gst_structure_id_set_valist
8121
8122         * gst/parse/grammar.y:
8123         * gst/parse/parse.l:
8124         Remove some dead code shown by the coverage information.
8125         Don't throw a critical g_warning when encountering a syntax error,
8126         just warn and let the normal error path handle it.
8127
8128         * plugins/elements/gstelements.c:
8129         Bump the rank of filesink up to PRIMARY so that it is preferred over
8130         gnomevfssink for file:// sink uri's
8131
8132         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8133         (GST_START_TEST), (run_delayed_test),
8134         (gst_parse_test_element_base_init),
8135         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
8136         (gst_parse_test_element_change_state),
8137         (gst_register_parse_element), (parse_suite):
8138         Beef up the tests for parse syntax to check that more error cases
8139         fail as they are supposed to. Increases the test coverage a bit.
8140
8141 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
8142
8143         * docs/manual/basics-elements.xml:
8144           Fix gst_element_link() example.
8145
8146         * gst/gstutils.c:
8147           Mention in API docs that one should usually gst_bin_add()
8148           elements to a bin or pipeline before doing the linking.
8149           
8150 2006-07-26  Wim Taymans  <wim@fluendo.com>
8151
8152         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
8153         (gst_subbuffer_get_type), (gst_buffer_create_sub):
8154         Avoid function call for known types by keeping the buffer and
8155         subbuffer GType global.
8156
8157         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8158         Random silly optimisations in read() path.
8159
8160 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
8161
8162         * tools/gst-launch.c: (main):
8163           If the top-level of the parse is a normal bin, it doesn't do the
8164           right logic to run as a top-level element, so place it inside a
8165           pipeline.
8166
8167 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
8168
8169         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
8170           Remove superfluous g_object_notify() calls, GObject does
8171           that for us automatically.
8172
8173 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
8174
8175         * gst/gstinfo.h:
8176           on Win32, use dllspec to export the debug category symbols
8177
8178 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
8179
8180         * gst/gsttaglist.c: (_gst_tag_initialize):
8181           Allow more than one GST_TAG_IMAGE per taglist.
8182
8183 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8184
8185         * gst/gstminiobject.c:
8186           update docs
8187         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
8188         (gst_fd_src_create):
8189           log recurring events at LOG level
8190           add more debug for when the fd gets set
8191
8192 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
8193
8194         * gst/gstparse.c: (gst_parse_launch):
8195           Also remove reentrance checks if flex is MT safe (#348179)
8196          Fix my empty ChangeLog entry below
8197
8198 2006-07-21  Andy Wingo  <wingo@pobox.com>
8199
8200         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
8201
8202         * libs/gst/check/Makefile.am
8203         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
8204         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
8205         * libs/gst/check/gstbufferstraw.h:
8206         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
8207         functions, thus proving I am still a GStreamer haxor. OK I wrote
8208         them a long time ago, but anyways.
8209
8210 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
8211
8212         * configure.ac:
8213         * gst/gstparse.c: (gst_parse_launch):
8214           Check for flex version and omit mutex if we have a MT save flex
8215           (fixes #348179)
8216
8217 2006-07-21  Wim Taymans  <wim@fluendo.com>
8218
8219         * gst/gstparse.c: (gst_parse_launch):
8220         Protect recursive calls to _parse with a recursive mutex
8221         and busy flag.
8222
8223 2006-07-21  Wim Taymans  <wim@fluendo.com>
8224
8225         * tests/check/gst/gstpad.c: (GST_START_TEST):
8226         Fix leak in test.
8227
8228 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
8229
8230         * gst/gstparse.c: (gst_parse_launch):
8231           Do not hang on recursive usage of gst_parse_launch()
8232
8233 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8234
8235         * gst/gsttaglist.c:
8236           Add some more docs, comments and FIXME 0.11s here and there
8237           and also fix some typos.
8238
8239 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8240
8241         * gst/gstsegment.h:
8242           Convert tabs to spaces for better readability. 
8243
8244 2006-07-20  Edward Hervey  <edward@fluendo.com>
8245
8246         * tests/check/libs/gdp.c: (gst_dp_suite):
8247         the test_buffer test fails at line 140 on ppc64 at the following
8248         check:
8249         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8250                 GST_BUFFER_FLAG_IN_CAPS),
8251                 "GST_BUFFER_IN_CAPS flag should have been copied !");
8252         See bug #348114 for more details.
8253
8254 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
8255
8256         * docs/pwg/advanced-scheduling.xml:
8257         * gst/gstpad.c:
8258           Fix typos (#348000).
8259
8260 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
8261
8262         * docs/pwg/intro-basics.xml:
8263           Fix wrong links (#347927).
8264
8265 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
8266
8267         * gst/gstregistry.h:
8268         * gst/gstregistryxml.c: (load_feature),
8269         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8270         * win32/common/config.h:
8271           make --disable-index work (#342564)
8272
8273 2006-07-18  Wim Taymans  <wim@fluendo.com>
8274
8275         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8276
8277         * gst/Makefile.am:
8278         * gst/gsttrace.h:
8279         The attached patch adds two missing defines to gsttrace.h when tracing
8280         is disabled.  It also corrects one existing define.
8281         Fixes #347756.
8282
8283 2006-07-17  Wim Taymans  <wim@fluendo.com>
8284
8285         * docs/gst/gstreamer-sections.txt:
8286         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8287         * gst/gst.h:
8288         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8289         Add two functions to check and change the SIGSEGV behaviour
8290         when loading plugins.
8291         Don't mess with the SIGSEGV handler when we were told not to.
8292         Fixes #347794.
8293         API: gst_segtrap_is_enabled
8294         API: gst_segtrap_set_enabled
8295
8296 2006-07-14  Wim Taymans  <wim@fluendo.com>
8297
8298         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8299         * tests/check/elements/filesrc.c: (GST_START_TEST):
8300         Revert fix for regression in #347408 after release.
8301
8302 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
8303
8304         Patch by: Antoine Tremblay <hexa00 at gmail com>
8305
8306         * gst/gstutils.c: (gst_element_unlink):
8307           Free iterator when done (#347311).
8308
8309         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8310           And add a test case for this.
8311
8312 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
8313
8314         * configure.ac:
8315         Bump nano back to CVS
8316
8317 === release 0.10.9 ===
8318
8319 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
8320
8321         * configure.ac:
8322           releasing 0.10.9, "On the road again"
8323
8324 2006-07-13  Wim Taymans  <wim@fluendo.com>
8325
8326         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8327         * tests/check/elements/filesrc.c: (GST_START_TEST):
8328         Revert pull-0 fix for release. Disable check. Fixes #347408.
8329
8330 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8331
8332         * libs/gst/dataprotocol/dataprotocol.c:
8333         (gst_dp_event_from_packet_1_0):
8334           Fixes #347337: failure to deserialize event packets with
8335           empty payload (only event type)
8336
8337 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8338
8339         * gst/Makefile.am:
8340           do not install a .c file in the header directory
8341
8342 2006-07-13  Edward Hervey  <edward@fluendo.com>
8343
8344         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8345         GhostPad no longer implicitely use the padtemplates of the targets.
8346         Fixes #347384
8347
8348 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
8349
8350         * gst/gstvalue.c: (gst_value_compare_list),
8351         (gst_value_compare_array), (_gst_value_initialize):
8352         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8353         Make GstValueArray comparison be order dependent as designed.
8354         Add checks for value lists and value array comparisons.
8355         Fixes #347221
8356
8357 2006-07-11  Edward Hervey  <edward@fluendo.com>
8358
8359         * gst/gstbin.c: (activate_pads),
8360         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8361         (gst_bin_change_state_func):
8362         (de)activate src pads before calling state_change on the childs.
8363         This is to avoid the case where a src ghostpad is blocked (holding the
8364         stream lock), which would block the deactivation of the ghostpad's
8365         target pad.
8366         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8367         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8368         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8369         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8370         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8371         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8372         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8373         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8374         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8375         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8376         (gst_ghost_pad_class_init),
8377         (gst_ghost_pad_internal_do_activate_push),
8378         (gst_ghost_pad_internal_do_activate_pull),
8379         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8380         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8381         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8382         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8383         GhostPads now create their internal GstProxyPad at creation (and not
8384         when they're linked, as it was being done previously).
8385         The internal and target pads are linked straight away.
8386         The data will also travel through the other pad in order to make
8387         pad blocking and probes non-hackish (the probe/block now really happens
8388         on the GhostPad and not on the target).
8389         * gst/gstpad.c: (gst_pad_set_blocked_async),
8390         (gst_pad_link_prepare), (gst_pad_push_event):
8391         Remove previous ghostpad cruft.
8392         * gst/gstutils.c: (gst_pad_add_data_probe),
8393         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8394         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8395         (gst_pad_remove_buffer_probe):
8396         Remove previous ghost pad cruft.
8397         Added more detailed debug statements.
8398         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8399         Fix the testsuite for refcounting changes.
8400         The comments about who has references were correct, but the refcount
8401         being checked wasn't the same (!?!).
8402
8403         Fixes #341029
8404
8405 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8406
8407         * docs/gst/gstreamer-sections.txt:
8408         * gst/gstconfig.h.in:
8409         More docs for configuration options, add docs to gtk-doc.
8410
8411 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8412
8413         * gst/Makefile.am:
8414         * gst/gstconfig.h.in:
8415         * win32/common/config.h:
8416         Fix build when disabling tracing (fixes #344016). Also start to document
8417         the defines that disable the sub-systems.
8418
8419 2006-07-10  Edward Hervey  <edward@fluendo.com>
8420
8421         * gst/gst.c: (ensure_current_registry_forking):
8422         let's make valgrind happy...
8423
8424 2006-07-09  Wim Taymans  <wim@fluendo.com>
8425
8426         * gst/gstelement.c: (activate_pads),
8427         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8428         Better pad activation code: Reset the collect value too on resync.
8429         Add some comments.
8430
8431 2006-07-09  Wim Taymans  <wim@fluendo.com>
8432
8433         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8434         (gst_pad_activate_push):
8435         Use some more macros where it makes sense.
8436         Allow pad mode switching instead of asserting. When a pad
8437         is activated in one mode and we activate it in another, 
8438         deactivate it first before activating it in a different mode.
8439         Fixes #329198.
8440
8441 2006-07-08  Andy Wingo  <wingo@pobox.com>
8442
8443         * tools/gst-launch.c (main): Handle err == NULL.
8444
8445         * gst/gst.c (init_post, ensure_current_registry)
8446         (ensure_current_registry_forking)
8447         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8448         factoring out the registry scanning into separate functions. Don't
8449         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8450         Better environment var name/interface suggestions accepted.
8451
8452 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8453
8454         * gst/gstobject.c: (gst_object_set_name_default),
8455         (gst_object_set_name):
8456           Random micro-optimisation: don't use a hash table
8457           with strings as keys and the usual strdup/strcmp
8458           involved, but rather just use the GQuark of the
8459           type name as key, since it needs to be looked up
8460           anyway to get the type name string.
8461
8462         * tests/check/gst/gstobject.c: (GST_START_TEST):
8463           Fix various leaks.
8464
8465 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8466
8467         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8468         (gst_bin_iterate_all_by_interface):
8469           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8470           GTypes are gulongs and thus the top 4 bytes might be cut
8471           off on some platforms when doing GPOINTER_TO_INT, leading
8472           to invalid GTypes and bad things happening (see RH bug #179654).
8473           Also add a check to make sure the type passed in is really
8474           an interface type.
8475
8476 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8477
8478         * .cvsignore:
8479           Ignore more.
8480
8481 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8482
8483         * Makefile.am:
8484         * configure.ac:
8485         * gst-element-check.m4:
8486         * gst-element-check.m4.in:
8487           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8488           instead of the unversioned gst-inspect (#324176, #168659).
8489
8490 2006-07-06  Wim Taymans  <wim@fluendo.com>
8491
8492         * gst/gstmessage.h:
8493         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8494         warnings.
8495
8496 2006-07-06  Wim Taymans  <wim@fluendo.com>
8497
8498         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8499         (gst_base_src_wait), (gst_base_src_update_length),
8500         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8501         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8502         (gst_base_src_loop), (gst_base_src_start),
8503         (gst_base_src_activate_pull):
8504         Update docs.
8505         blocksize == 0 now means the default blocksize when working in push
8506         based mode.
8507         Remove some pointless asserts in _wait function.
8508         Fix offset/length calculations and EOS handling. We can now pull 0
8509         bytes as well, which is allowed.
8510         use _check_get_range() to decide if we can operate in _pull based
8511         mode.
8512         Fix refcounting leak when check_get_range function was not 
8513         implemented.
8514         API GstBaseSrc::blocksize range can be 0 too now (default)
8515
8516         * tests/check/elements/filesrc.c: (GST_START_TEST),
8517         (filesrc_suite):
8518         Added check to test _get_range() behaviour.
8519
8520 2006-07-06  Wim Taymans  <wim@fluendo.com>
8521
8522         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8523         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8524         (gst_pad_pull_range):
8525         * gst/gstpad.h:
8526         Lots of comments and docs added to the pad functions.
8527         Flesh out the expected behaviour of the get_range() functions.
8528
8529 2006-07-06  Wim Taymans  <wim@fluendo.com>
8530
8531         * gst/gstbus.h:
8532         * gst/gstclock.h:
8533         * gst/gstevent.h:
8534         * gst/gstiterator.h:
8535         * gst/gstpad.h:
8536         * gst/gstplugin.h:
8537         * gst/gsttask.h:
8538         Remove comma at end of enumerator list. 
8539
8540 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
8541
8542         * win32/common/libgstbase.def:
8543         * win32/common/libgstdataprotocol.def:
8544         * win32/common/libsgtreamer.def:
8545         Add new exported functions.
8546
8547 2006-07-05  Wim Taymans  <wim@fluendo.com>
8548
8549         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8550         Add some more docs here and there.
8551
8552 2006-07-05  Wim Taymans  <wim@fluendo.com>
8553
8554         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8555         (gst_base_sink_loop), (gst_base_sink_get_position):
8556         When operating in pull mode update the offset so that we
8557         read sequentially.
8558
8559 2006-07-05  Wim Taymans  <wim@fluendo.com>
8560
8561         * gst/gstregistryxml.c: (read_string):
8562         Avoid strdup. (will happen in libxml, but hey!)
8563
8564         * gst/gsturi.c:
8565         Add some more docs.
8566
8567 2006-07-05  Wim Taymans  <wim@fluendo.com>
8568
8569         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8570         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8571         (gst_buffer_suite):
8572         No point in checking if the size of the subbuffer > 0, the
8573         code handles it correclty as demonstrated by unit test.
8574         Also add a unit test for the zero sized _new_and_alloc and
8575         _copy. Fixes #346663.
8576
8577 2006-07-05  Wim Taymans  <wim@fluendo.com>
8578
8579         * libs/gst/base/gstbasetransform.c:
8580         (gst_base_transform_prepare_output_buffer),
8581         (gst_base_transform_buffer_alloc),
8582         (gst_base_transform_handle_buffer):
8583         Make sure the buffer we pass to transform_ip has a refcount of
8584         1 and thus is writable. Fixes #343196
8585
8586 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
8587
8588         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8589         (gst_file_src_init), (gst_file_src_set_property),
8590         (gst_file_src_get_property), (gst_file_src_map_region):
8591         * plugins/elements/gstfilesrc.h:
8592         Add "sequential" property, off by default, to use madvise and hint
8593         to the kernel that sequential access is desired.
8594         Touch all retrieved pages by default to ensure they are pulled
8595         into memory. (Closes #345720)
8596
8597 2006-07-03  Wim Taymans  <wim@fluendo.com>
8598
8599         * docs/design/part-block.txt:
8600         * docs/design/part-dynamic.txt:
8601         Small docs updates.
8602
8603 2006-07-03  Wim Taymans  <wim@fluendo.com>
8604
8605         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8606         (gst_caps_unref), (gst_static_caps_get),
8607         (gst_caps_append_structure):
8608         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8609         Use GSlice when the glib we build against is >= 2.10
8610
8611 2006-07-03  Wim Taymans  <wim@fluendo.com>
8612
8613         * gst/gstelement.c: (gst_element_pads_activate):
8614         Small cleanup in pad activation code.
8615
8616 2006-07-03  Wim Taymans  <wim@fluendo.com>
8617
8618         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8619
8620         * gst/gst-i18n-app.h:
8621         * gst/gst-i18n-lib.h:
8622         * tools/gst-inspect.c: (print_signal_info):
8623         The attached patch will make the inclusion of gettext.h unconditional in
8624         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8625         libintl.h in tools/gst-inspect.c.
8626         This allows use of --disable-nls again and fixes #344642.
8627
8628 2006-07-03  Edward Hervey  <edward@fluendo.com>
8629
8630         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8631         Implement pad blocking on events according to part-block.txt.
8632         More comments on behaviour.
8633         * tests/check/gst/gstevent.c: (test_event):
8634         Send event to peer pad of blocked pad (else it will block).
8635
8636 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8637
8638         * libs/gst/check/gstcheck.c: (gst_check_message_error),
8639         (gst_check_run_suite):
8640           if we get the wrong message, give us the types as string
8641         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8642           Fix a translatable
8643         * tests/check/elements/filesrc.c: (GST_START_TEST):
8644           add a test for trying to open a non-existing file
8645
8646 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8647
8648         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8649           add a test for adding self
8650
8651 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8652
8653         * libs/gst/check/gstcheck.h:
8654           add some assert_ as alias for fail_unless_*
8655         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8656           increase test coverage
8657
8658 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8659
8660         * Makefile.am:
8661           include lcov.mak for lcov coverage generation
8662         * tools/Makefile.am:
8663           add to CLEANFILES
8664
8665 2006-07-02  Edward Hervey  <edward@fluendo.com>
8666
8667         * tests/check/elements/.cvsignore:
8668         moaping
8669
8670 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8671
8672         * configure.ac:
8673           don't set CFLAGS and friends for gcov, done from GST_GCOV now
8674         * tests/check/Makefile.am:
8675           clean up gcov files
8676
8677 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8678
8679         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8680           remove gst_caps_simplify; it was not declared and not used
8681           and deprecated in 0.8
8682
8683 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8684
8685         * docs/faq/gst-uninstalled:
8686           don't put empty paths on PYTHONPATH
8687         * docs/gst/gstreamer-sections.txt:
8688           remove some symbols that are not there
8689
8690 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8691
8692         * gst/gstcaps.c: (gst_caps_compare_structures):
8693           whitespace fixes
8694         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8695         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8696           add more tests
8697
8698 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8699
8700         * libs/gst/dataprotocol/Makefile.am:
8701           build dataprotocol test by linking to the lib, instead of
8702           compiling the source, so we get coverage
8703         * tests/check/Makefile.am:
8704         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8705         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8706           add a test for filesrc
8707
8708 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8709
8710         * tests/check/gst/gststructure.c: (GST_START_TEST),
8711         (gst_structure_suite):
8712           Push coverage from 59.04% to 70.00%
8713
8714 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8715
8716         * tests/check/Makefile.am:
8717           gst-inspect every element; this makes sure that we also get
8718           coverage on element's get/set functions
8719
8720 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8721
8722         * configure.ac:
8723           set CFLAGS and friends to -O0 if gcov is being used
8724           add GCOV LIBS
8725         * gst/Makefile.am:
8726         * libs/gst/base/Makefile.am:
8727         * libs/gst/check/Makefile.am:
8728         * libs/gst/controller/Makefile.am:
8729         * libs/gst/dataprotocol/Makefile.am:
8730         * libs/gst/net/Makefile.am:
8731         * plugins/elements/Makefile.am:
8732         * plugins/indexers/Makefile.am:
8733           add makefile rules to generate gcov data and clean up
8734         * tests/check/Makefile.am:
8735           add a coverage target that generates an html overview
8736           of coverage data
8737
8738 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8739
8740         * tests/check/elements/fakesink.c:
8741         * tests/check/elements/fakesrc.c:
8742         * tests/check/elements/fdsrc.c:
8743         * tests/check/elements/identity.c:
8744         * tests/check/generic/sinks.c: (gst_sinks_suite):
8745         * tests/check/generic/states.c:
8746         * tests/check/gst/gst.c:
8747         * tests/check/gst/gstabi.c:
8748         * tests/check/gst/gstbin.c:
8749         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8750         * tests/check/gst/gstbus.c: (gst_bus_suite):
8751         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8752         * tests/check/gst/gstelement.c:
8753         * tests/check/gst/gstevent.c: (gst_event_suite):
8754         * tests/check/gst/gstghostpad.c:
8755         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8756         * tests/check/gst/gstmessage.c: (gst_message_suite):
8757         * tests/check/gst/gstminiobject.c:
8758         * tests/check/gst/gstobject.c:
8759         * tests/check/gst/gstpad.c:
8760         * tests/check/gst/gstpipeline.c:
8761         * tests/check/gst/gstplugin.c:
8762         * tests/check/gst/gstquery.c: (gst_query_suite):
8763         * tests/check/gst/gstsegment.c: (gst_segment_suite):
8764         * tests/check/gst/gststructure.c:
8765         * tests/check/gst/gstsystemclock.c:
8766         * tests/check/gst/gsttag.c:
8767         * tests/check/gst/gsttask.c: (gst_task_suite):
8768         * tests/check/gst/gstutils.c:
8769         * tests/check/gst/gstvalue.c:
8770         * tests/check/libs/adapter.c:
8771         * tests/check/libs/basesrc.c:
8772         * tests/check/libs/collectpads.c:
8773         * tests/check/libs/controller.c:
8774         * tests/check/libs/gdp.c: (gst_dp_suite):
8775         * tests/check/libs/gstnetclientclock.c:
8776         * tests/check/libs/gstnettimeprovider.c:
8777         * tests/check/libs/libsabi.c: (libsabi_suite):
8778         * tests/check/libs/typefindhelper.c:
8779         * tests/check/pipelines/cleanup.c:
8780         * tests/check/pipelines/parse-launch.c:
8781         * tests/check/pipelines/simple-launch-lines.c:
8782         * tests/check/pipelines/stress.c: (stress_suite):
8783           use the new macro
8784
8785 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8786
8787         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8788         * libs/gst/check/gstcheck.h:
8789           create a macro and function so that the simple unit test
8790           case can be just one macro to create main()
8791
8792 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
8793
8794         * gst/gstbin.c: (gst_bin_restore_thyself):
8795         * gst/gstxml.c: (gst_xml_make_element):
8796           Fix deserialisation from XML. Set parent manually
8797           instead of using gst_bin_add(), since gst_bin_add()
8798           will unlink all pads of the element being added.
8799           Fixes #341667.
8800
8801 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
8802
8803         Patch by: Peter Kjellerstedt <pkj at axis com>
8804
8805         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8806           Fix missing g_strdup() and double free when using the
8807           --gst-plugin-load command line option (#346097).
8808
8809 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8810
8811         * gst/gstinfo.c:
8812           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8813
8814         * libs/gst/net/gstnetclientclock.c:
8815         * libs/gst/net/gstnettimeprovider.c:
8816           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8817
8818 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8819
8820         * docs/manual/advanced-dataaccess.xml:
8821           Fix buffer probe example compilation in
8822           ADM (#345708).
8823         
8824 2006-06-22  Edward Hervey  <edward@fluendo.com>
8825
8826         * gst/gstelement.c: (gst_element_pads_activate):
8827         We need to deactivate src pads first and then sink pads.
8828         The reason is the src pads might be blocking while holding the streaming
8829         lock, so we need to deactivate them first so that deactivating the sink
8830         pads doesn't block (since it will require the streaming lock).
8831
8832 2006-06-22  Wim Taymans  <wim@fluendo.com>
8833
8834         * libs/gst/base/gstbasetransform.c:
8835         (gst_base_transform_buffer_alloc):
8836         Forgot to remove two unneeded unrefs.
8837         Simplify a check _is_equal allready checks the obvious case.
8838
8839 2006-06-22  Wim Taymans  <wim@fluendo.com>
8840
8841         * docs/design/part-block.txt:
8842         Some docs about what pad_block should do.
8843
8844 2006-06-22  Wim Taymans  <wim@fluendo.com>
8845
8846         * gst/gstcaps.c: (gst_caps_replace):
8847         Fix crasher when passed NULL. Doc clarification.
8848         Optimize for the trivial case.
8849
8850         * gst/gstpipeline.c: (gst_pipeline_change_state):
8851         Small cleanups.
8852
8853         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8854         Small documentation cleanup.
8855
8856         * libs/gst/base/gstbasetransform.c:
8857         (gst_base_transform_buffer_alloc):
8858         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8859         is what we need and it avoids a whole lot of redundant 
8860         refcount operations.
8861
8862 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
8863
8864         Patch by: Philip Jägenstedt  <philip at lysator liu se>
8865
8866         * docs/manual/advanced-dataaccess.xml:
8867           Fix 'Embedding static elements' section to use
8868           GST_PLUGIN_DEFINE_STATIC (#345607).
8869
8870 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8871
8872         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8873           Attempt to 'fix' spuriously failing test case: it seems like the
8874           timeout of half a second is simply too small when the system is under
8875           load otherwise, and the timeout doesn't really seem to serve any
8876           particular purpose here. Give the pipeline a few seconds to preroll
8877           first, and then give it another half a second to go from PAUSED to
8878           PLAYING and marshal the message into the main thread.
8879
8880 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8881
8882         * tools/gst-feedback-m.m:
8883           Don't only use unversioned tools, try versioned tools as well
8884           (#345086).
8885
8886 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8887
8888         * gst/gstbus.c: (gst_bus_class_init):
8889           Fix some typos, make docs more explicit.
8890
8891 2006-06-20  Wim Taymans  <wim@fluendo.com>
8892
8893         * tests/check/gst/gstghostpad.c: (block_callback),
8894         (GST_START_TEST), (gst_ghost_pad_suite):
8895         Added some more ghostpad tests, mainly blocking
8896         and probes.
8897
8898 2006-06-16  Wim Taymans  <wim@fluendo.com>
8899
8900         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8901         (gst_file_sink_close_file), (gst_file_sink_do_seek),
8902         (gst_file_sink_event), (gst_file_sink_render):
8903         * plugins/elements/gstfilesink.h:
8904         Check if we can seek in the file instead of assuming
8905         we always can. Post an error when we are asked to seek in a
8906         non-seekable file (like a fifo). Fixes #343312.
8907         Some cleanups.
8908
8909 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8910
8911         * tools/gst-launch.1.in:
8912           Un-garble (fourcc) bit in filtered caps section.
8913
8914 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8915
8916         * docs/manual/advanced-autoplugging.xml:
8917         * docs/manual/basics-helloworld.xml:
8918         * docs/manual/highlevel-components.xml:
8919           Don't leak bus reference in sample code.
8920
8921 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
8922
8923         * autogen.sh:
8924           Add default for new --enable-plugin-docs switch.
8925
8926         * configure.ac:
8927           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8928           Fixes #344039.
8929
8930         * docs/Makefile.am:
8931           Use new ENABLE_PLUGIN_DOCS conditional.
8932
8933 2006-06-14  Wim Taymans  <wim@fluendo.com>
8934
8935         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8936         Make it clear with a FIXME and a real define what the #if 0
8937         previously disabled.
8938
8939 2006-06-14  Wim Taymans  <wim@fluendo.com>
8940
8941         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8942         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8943         * libs/gst/base/gstbasetransform.c:
8944         (gst_base_transform_sink_eventfunc):
8945         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8946         Don't randomly and silently reset a segment when the format 
8947         changes as this is a bug somewhere upstream. Fixes #330379.
8948
8949 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8950
8951         Patch by: Wouter Paesen  <wouter at kangaroot net>
8952
8953         * libs/gst/controller/gstcontroller.c:
8954         (gst_controlled_property_new):
8955           Fix controlling of float properties (#344849).
8956
8957         * tests/check/libs/controller.c:
8958         (gst_test_mono_source_get_property),
8959         (gst_test_mono_source_set_property),
8960         (gst_test_mono_source_class_init), (GST_START_TEST):
8961           While we're at it, add some float stuff to unit test.
8962
8963 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8964
8965         * docs/README:
8966         * docs/images/gdp-header.svg:
8967           add a gdp image
8968         * docs/libs/Makefile.am:
8969         * docs/libs/gdp-header.png:
8970         * libs/gst/dataprotocol/dataprotocol.c:
8971           add it to the API docs
8972         * docs/manual/intro-motivation.xml:
8973           fix typo
8974
8975 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8976
8977         * gst/gst.c: (scan_and_update_registry), (init_post):
8978           If the fork()'ed child process can't write the updated registry cache
8979           file to disk for some reason, make it exit with a failure exit code,
8980           so that the parent can then re-scan the plugins itself and update the
8981           registry structures in memory and work with that (rather than failing
8982           when creating elements because seemingly no plugins are available).
8983           Refactor registry scanning code into separate function for this and
8984           also separate fork() and non-fork() code paths. Fixes #344748.
8985
8986 2006-06-13  Wim Taymans  <wim@fluendo.com>
8987
8988         * docs/manual/advanced-dataaccess.xml:
8989         Fix wrong PluginDesc. Fixes #344755.
8990
8991 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8992
8993         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8994           Fix silly bug that prevented us from creating
8995           ~/.gstreamer-0.10 and writing the registry in one
8996           go (the first call to g_mkstemp() would overwrite the
8997           placeholder in the template string, so the second call
8998           to g_mkstemp() after creating the missing directory
8999           would then error out with 'invalid argument').
9000
9001 2006-06-13  Edward Hervey  <edward@fluendo.com>
9002
9003         * gst/gst.c: (init_post):
9004         Free string.
9005
9006 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9007
9008         * gst/glib-compat-private.h:
9009         * gst/glib-compat.c:
9010         * gst/glib-compat.h:
9011         * gst/gstvalue.c: (gst_value_serialize_flags):
9012           remove GLib 2.6 compatibility code
9013
9014 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
9015
9016         * gst/parse/Makefile.am:
9017           Fix build with 'make -j N' even more (#340016).
9018
9019 2006-06-12  Wim Taymans  <wim@fluendo.com>
9020
9021         * docs/gst/gstreamer-sections.txt:
9022         Fix docs.
9023
9024 2006-06-12  Wim Taymans  <wim@fluendo.com>
9025
9026         * gst/gstsegment.c: (gst_segment_set_duration),
9027         (gst_segment_set_last_stop), (gst_segment_set_seek),
9028         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9029         (gst_segment_to_running_time), (gst_segment_clip):
9030         Use G_UNLIKELY to help the compiler a bit.
9031
9032 2006-06-12  Wim Taymans  <wim@fluendo.com>
9033
9034         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9035
9036         * gst/gstevent.c: (gst_event_get_type):
9037         * gst/gstmessage.c:
9038         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
9039         (gst_pad_push):
9040         constify quark registration strings. Fixes #344115
9041         Avoid unneeded type checking is _pad_push() by internally
9042         calling gst_pad_chain_unchecked().
9043
9044 2006-06-12  Wim Taymans  <wim@fluendo.com>
9045
9046         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
9047         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
9048         (gst_subbuffer_finalize), (gst_buffer_create_sub),
9049         (gst_buffer_is_span_fast), (gst_buffer_span):
9050         Init _type for consistency.
9051         Use _FLAGS macro to avoid type check.
9052         Avoid unneeded type checks in subbufer code.
9053
9054 2006-06-12  Wim Taymans  <wim@fluendo.com>
9055
9056         * gst/gst.c: (gst_debug_help):
9057         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
9058         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9059         (gst_plugin_feature_list_free):
9060         * gst/gstregistry.c: (gst_registry_add_plugin),
9061         (gst_registry_add_feature), (gst_registry_plugin_filter),
9062         (gst_registry_feature_filter), (gst_registry_find_plugin),
9063         (gst_registry_find_feature), (gst_registry_get_plugin_list),
9064         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
9065         * gst/gstregistryxml.c: (load_feature),
9066         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
9067         * gst/gstminiobject.c: (gst_mini_object_unref),
9068         (gst_mini_object_replace), (gst_value_mini_object_free),
9069         (gst_value_mini_object_copy):
9070         Use _CAST macros to avoid unneeded type checking.
9071         Added some more G_UNLIKELY.
9072
9073 2006-06-12  Wim Taymans  <wim@fluendo.com>
9074
9075         * gst/gstbuffer.h:
9076         Avoid unneeded type checking.
9077         API: GST_BUFFER_IS_DISCONT
9078
9079         * gst/gstminiobject.h:
9080         Avoid type check in flag accessor.
9081
9082         * gst/gstelementfactory.h:
9083         * gst/gstplugin.h:
9084         * gst/gstpluginfeature.h:
9085         Add _CAST macros.
9086         API: GST_ELEMENT_FACTORY_CAST
9087         API: GST_PLUGIN_CAST
9088         API: GST_PLUGIN_FEATURE_CAST
9089
9090 2006-06-12  Wim Taymans  <wim@fluendo.com>
9091
9092         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
9093         (gst_object_unref):
9094         Add G_UNLIKELY in type registration.
9095         Avoid type check in _ref/_unref since that is also
9096         done in glib.
9097
9098 2006-06-12  Wim Taymans  <wim@fluendo.com>
9099
9100         * gst/gsterror.c: (gst_g_error_get_type):
9101         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
9102         (gst_static_pad_template_get_type):
9103         * gst/gsttaglist.c: (gst_tag_list_get_type):
9104         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
9105         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
9106         * gst/gsturi.c: (gst_uri_handler_get_type):
9107         * gst/gstvalue.c: (gst_date_get_type):
9108         * gst/gstxml.c: (gst_xml_get_type):
9109         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
9110         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
9111         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
9112         Add G_UNLIKELY in type registration.
9113
9114 2006-06-12  Wim Taymans  <wim@fluendo.com>
9115
9116         * tools/gst-inspect.c: (print_signal_info):
9117         Properly print enum values.
9118
9119 2006-06-12  Wim Taymans  <wim@fluendo.com>
9120
9121         * gst/gstinfo.c: (gst_debug_set_active),
9122         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
9123         * gst/gstinfo.h:
9124         Add some G_[UN]LIKELY.
9125         Maintain __gst_debug_min to avoid formatting the arguments of
9126         debug messages that will be dropped anyway to avoid a lot of 
9127         overhead from the debugging system.
9128
9129 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9130
9131         * po/POTFILES.in:
9132         * po/POTFILES.skip:
9133           add missing files containing translatable strings, tell intltool about
9134           one exception
9135
9136 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9137
9138         * tests/check/libs/.cvsignore:
9139         add test-binary to ignore list
9140
9141 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9142
9143         * docs/libs/gstreamer-libs-docs.sgml:
9144         reorder (put dp into a chapter) and indent
9145
9146 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9147
9148         * configure.ac:
9149           back to HEAD
9150
9151 === release 0.10.8 ===
9152
9153 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
9154
9155         * configure.ac:
9156           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
9157
9158 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9159
9160         * gst/gst.c: (init_post):
9161           move pid declaration to declaration block
9162
9163 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9164
9165         * gst/gst.c: (init_post):
9166           use _exit() instead of exit() in our forked child; this ensures
9167           that none of the registered exit handlers from whatever is using
9168           GStreamer get executed.  This fixes gnome-mixer-applet failing
9169           to load, because ORBit would shut down.
9170           Spotted by: Edward Hervey  <edward@fluendo.com>
9171           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
9172           Fixes #344474
9173
9174 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9175
9176         * configure.ac:
9177           back to TRUNK
9178
9179 === release 0.10.7 ===
9180
9181 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
9182
9183         * configure.ac:
9184           releasing 0.10.7, "Soepeke, ik zie ou"
9185
9186 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9187
9188         * configure.ac:
9189         * po/af.po:
9190         * po/az.po:
9191         * po/bg.po:
9192         * po/ca.po:
9193         * po/cs.po:
9194         * po/de.po:
9195         * po/en_GB.po:
9196         * po/fr.po:
9197         * po/it.po:
9198         * po/nb.po:
9199         * po/nl.po:
9200         * po/ru.po:
9201         * po/sq.po:
9202         * po/sr.po:
9203         * po/sv.po:
9204         * po/tr.po:
9205         * po/uk.po:
9206         * po/vi.po:
9207         * po/zh_CN.po:
9208         * po/zh_TW.po:
9209         * win32/common/config.h:
9210           0.10.6.2 prerelease
9211
9212 2006-06-07  Wim Taymans  <wim@fluendo.com>
9213
9214         * gst/gstindex.c: (gst_index_gtype_resolver):
9215         * tools/gst-xmlinspect.c: (print_plugin_info):
9216         Fix leak spotted by coverity checker. Fixes #343827
9217         Fix another other leak found by paolo borelli.
9218
9219 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9220
9221         * libs/gst/dataprotocol/dataprotocol.c:
9222         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9223         (gst_dp_version_get_type), (gst_dp_init),
9224         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
9225         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
9226         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
9227         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
9228         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
9229         (gst_dp_packetizer_free):
9230         * libs/gst/dataprotocol/dataprotocol.h:
9231           API: add a GstDPPacketizer object, and create/free functions
9232           API: add GstDPVersion enum
9233           Add 1.0 event function that uses the string serialization
9234           Serialize more useful buffer flags
9235           Fixes #343988
9236
9237 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9238
9239         * tests/check/Makefile.am:
9240         * tests/check/gst/gstabi.c:
9241         * tests/check/gst/struct_ppc64.h:
9242         * tests/check/libs/libsabi.c:
9243         * tests/check/libs/struct_ppc64.h:
9244           add ppc64 structure sizes
9245
9246 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9247
9248         * tests/check/Makefile.am:
9249         * tests/check/gst/gstabi.c:
9250         * tests/check/gst/struct_x86_64.h:
9251         * tests/check/libs/libsabi.c:
9252         * tests/check/libs/struct_x86_64.h:
9253           generate and add structure size lists for x86_64
9254
9255 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9256
9257         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9258         * libs/gst/check/gstcheck.h:
9259           factor out the method from tests that checks size of structures,
9260           and add code to generate the header containing these sizes
9261         * tests/check/gst/gstabi.c: (GST_START_TEST):
9262         * tests/check/gst/struct_i386.h:
9263         * tests/check/libs/libsabi.c: (GST_START_TEST):
9264         * tests/check/libs/struct_i386.h:
9265           use it
9266
9267 2006-06-06  Michael Smith  <msmith@fluendo.com>
9268
9269         * gst/gstsegment.h:
9270           Don't use c++-style comments, fixes #343929
9271
9272 2006-06-05  Edward Hervey  <edward@fluendo.com>
9273
9274         * gst/gst.c:
9275         plugin_paths is not used if we build without registry support.
9276
9277         * gst/gstsegment.c: (gst_segment_copy): 
9278         _copy() was always returning NULL...
9279
9280 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9281
9282         * libs/gst/dataprotocol/dataprotocol.c:
9283         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9284         (gst_dp_packet_from_event):
9285           factor out CRC code
9286
9287 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9288
9289         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9290           make sure we unset caps
9291
9292 2006-06-02  Michael Smith  <msmith@fluendo.com>
9293
9294         * libs/gst/check/gstcheck.c: (gst_check_init),
9295         (gst_check_chain_func):
9296         * libs/gst/check/gstcheck.h:
9297           Add a cond/mutex to the check support lib, signal this whenever we
9298           add to the buffers list. This will allow tests to not busy-wait on
9299           the buffer-list.
9300
9301 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9302
9303         * libs/gst/dataprotocol/dataprotocol.c:
9304         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9305         (gst_dp_packet_from_event):
9306           factor out some common header init code
9307
9308 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9309
9310         * docs/libs/gstreamer-libs-sections.txt:
9311         * docs/libs/tmpl/gstdataprotocol.sgml:
9312         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9313         * libs/gst/dataprotocol/dataprotocol.h:
9314           API: make gst_dp_crc() public
9315
9316 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9317
9318         * plugins/indexers/gstindexers.c: (plugin_init):
9319         conditionally register fileindexer (fixes #343598)
9320
9321 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9322
9323         * gst/gsttagsetter.h:
9324         Can't cast ifaces to a class
9325
9326         * libs/gst/net/gstnetclientclock.h:
9327         * libs/gst/net/gstnettimeprovider.h:
9328         * plugins/elements/gstfakesink.h:
9329         * plugins/elements/gstfakesrc.h:
9330         * plugins/elements/gstfdsink.h:
9331         * plugins/elements/gstfdsrc.h:
9332         * plugins/elements/gstfilesink.h:
9333         * plugins/elements/gstfilesrc.h:
9334         * plugins/elements/gstidentity.h:
9335         * plugins/elements/gstqueue.h:
9336         * plugins/elements/gsttee.h:
9337         * plugins/indexers/gstfileindex.c:
9338         * plugins/indexers/gstmemindex.c:
9339         * tests/old/examples/plugins/example.h:
9340         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9341
9342 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9343
9344         * libs/gst/dataprotocol/dataprotocol.c:
9345         (gst_dp_header_from_buffer):
9346           make sure we zero the whole ABI-compatible area
9347
9348 2006-06-01  Wim Taymans  <wim@fluendo.com>
9349
9350         Patch by: Alessandro Decina <alessandro at nnva dot org>
9351
9352         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9353         Make sure the EOS flag is cleared from pads after a flush
9354         or stop. Fixes #343538.
9355
9356         * tests/check/libs/collectpads.c: (GST_START_TEST),
9357         (gst_collect_pads_suite):
9358         Added test for collectpads reusage after EOS.
9359
9360 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
9361
9362         * gst/gst.c:
9363          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9364         * win32/common/libgstbase.def:
9365          export gst_collect_pads_set_flushing
9366         * win32/common/libgstreamer.def:
9367          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9368          gst_value_fraction_multiply
9369         * win32/vs6/gst_inspect.dsp:
9370          add a link to intl.lib
9371
9372 2006-05-30  Wim Taymans  <wim@fluendo.com>
9373
9374         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9375         (gst_collect_pads_chain):
9376         Handle the case where a pad is removed from the collection
9377         that could cause the other pads to become collectable.
9378
9379 2006-05-30  Wim Taymans  <wim@fluendo.com>
9380
9381         * gst/gstelement.c:
9382         Clarify the use of _release_request_pad() and
9383         _get_request_pad() a bit better.
9384
9385         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9386         (gst_adapter_take_buffer):
9387         Fix some doc and comment typos.
9388
9389 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9390
9391         * docs/gst/gstreamer-sections.txt:
9392         * docs/libs/gstreamer-libs-sections.txt:
9393           add declared symbols
9394
9395 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
9396
9397         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9398         Add debug that can be enabled using a #define at the top of the file,
9399         for dumping stats about how late/early we were when waking up from
9400         waiting on the clock.
9401
9402 2006-05-30  Wim Taymans  <wim@fluendo.com>
9403
9404         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9405         When rebuilding the pad list, don't leak the previous list.
9406
9407 2006-05-30  Wim Taymans  <wim@fluendo.com>
9408
9409         Patch by: Lutz Mueller <lutz at topfrose dot de>
9410
9411         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9412         (gst_base_src_get_query_types), (gst_base_src_update_length):
9413         Publish supported query types.
9414         Update last_stop field in get_range mode so the position
9415         query works. Fixes #342321.
9416
9417 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
9418
9419         * docs/gst/gstreamer-sections.txt:
9420         * gst/gsttaglist.c: (_gst_tag_initialize):
9421         * gst/gsttaglist.h:
9422           API: add GST_TAG_PREVIEW_IMAGE (#343341).
9423
9424 2006-05-30  Wim Taymans  <wim@fluendo.com>
9425
9426         Patch by: Alessandro Decina <alessandro at nnva dot org>
9427
9428         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9429         Unlock mutex when removing an unknown pad.
9430         Fixes #343334.
9431
9432         * tests/check/Makefile.am:
9433         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9434         (push_event), (setup), (teardown), (GST_START_TEST),
9435         (gst_collect_pads_suite), (main):
9436         Added collecpads check, disabled for now as check crashes for
9437         some reason.
9438
9439 2006-05-29  Wim Taymans  <wim@fluendo.com>
9440
9441         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9442         Don't leak pads lists.
9443
9444 2006-05-29  Wim Taymans  <wim@fluendo.com>
9445
9446         * docs/libs/gstreamer-libs-sections.txt:
9447         * libs/gst/base/gstcollectpads.c:
9448         (gst_collect_pads_set_flushing_unlocked),
9449         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9450         (gst_collect_pads_stop):
9451         * libs/gst/base/gstcollectpads.h:
9452         API: gst_collect_pads_set_flushing()
9453         Added api to set the pads to flushing, useful for seeking
9454         code in elements using collectpads.
9455         Clear segment when receiving a flush.
9456
9457 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
9458
9459         * gst/gst.c: (add_path_func), (init_post):
9460           Don't scan registry paths passed via --gst-plugin-path immediately
9461           (will crash, because absolutely nothing is set up and no types are
9462           registered etc.); do this later in init_post(). Fixes #343057.
9463
9464 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9465
9466         * gst/gst.c: (init_post):
9467           if we have fork, fork while reading/rebuilding the registry
9468           so the parent doesn't take the hit of having all plugins loaded
9469           in memory.  Fixes #342777.
9470         * configure.ac:
9471           Check if we have fork()
9472         * win32/common/config.h.in:
9473           no fork() on win32
9474
9475 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9476
9477         * plugins/elements/gstelements.c:
9478         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9479         (gst_file_src_init), (gst_file_src_set_property),
9480         (gst_file_src_get_property), (gst_file_src_start):
9481         * plugins/elements/gstfilesrc.h:
9482           API: GstFileSrc::use-mmap
9483
9484         Add a use-mmap property to enable easier testing of all code paths.
9485         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9486         in the absence of gnomevfssrc. (Closes #340501)
9487
9488 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9489
9490         * tools/gst-inspect.c:
9491         Add missing include, removes warning of ngettext not being defined on
9492         some arches.
9493
9494 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9495
9496         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9497         Handle NULL input and output pointers silently as a failed conversion,
9498         rather than g_warnings.
9499
9500 2006-05-25  Wim Taymans  <wim@fluendo.com>
9501
9502         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9503         Initialize variable before using. Fixes #342820.
9504
9505 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
9506
9507         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9508           Fix off-by-one bug that would only allow peeks of N-1 bytes
9509           from the start even if the buffer to typefind on contains
9510           in fact N bytes of data (makes vorbis typefinding from a
9511           vorbis identification header buffer work).
9512
9513         * tests/check/Makefile.am:
9514         * tests/check/libs/.cvsignore:
9515         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9516         (gst_typefindhelper_suite), (main), (foobar_typefind),
9517         (plugin_init):
9518           Add very basic unit test for gst_type_find_helper_for_buffer()
9519           that checks for the problem fixed above.
9520
9521 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9522
9523         * tools/gst-inspect.c: (print_interfaces),
9524         (print_element_properties_info), (print_element_list), (main):
9525           add more translatable strings
9526
9527 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
9528
9529         Patch by: Julien Moutte  <julien at moutte net>
9530
9531         * docs/gst/gstreamer-sections.txt:
9532           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9533           
9534         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9535         (gst_fake_sink_preroll):
9536         * plugins/elements/gstfakesink.h:
9537           API: Add new GstFakeSink::preroll-handoff signal (#337100).
9538
9539 2006-05-23  Wim Taymans  <wim@fluendo.com>
9540
9541         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9542         * gst/gstpad.h:
9543         Added _CUSTOM error and success GstFlowReturn that can be
9544         used be elements internally. 
9545         Added macro to check for SUCCESS flowreturns.
9546         API: GST_FLOW_CUSTOM_SUCCESS
9547         API: GST_FLOW_CUSTOM_ERROR
9548         API: GST_FLOW_IS_SUCCESS
9549
9550         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9551         Added check for GstFlowReturn sanity.
9552
9553 2006-05-23  Wim Taymans  <wim@fluendo.com>
9554
9555         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9556
9557         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9558         (gst_collect_pads_event):
9559         clear/reset segment info in FLUSH_STOP.
9560         Fixes #336929.
9561
9562 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
9563
9564         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9565         (gst_collect_pads_check_collected):
9566         Flush queued buffer on _stop(), fixes playing again (#342454)
9567
9568 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9569
9570         * tests/check/gst/gststructure.c: (GST_START_TEST),
9571         (gst_structure_suite):
9572           add a test for a complete structure
9573
9574 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9575
9576         * docs/faq/developing.xml:
9577         * docs/faq/faq.xml:
9578         * docs/faq/troubleshooting.xml:
9579         * docs/faq/using.xml:
9580           Some minor FAQ updates that won't change the fact that
9581           our FAQ is badly structured, full of information hardly
9582           anyone new to GStreamer needs to know and lacking lots
9583           of information people constantly ask for.
9584           
9585 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
9586
9587         * gst/gstpad.c: (gst_pad_set_caps):
9588           Short-circuit gst_pad_set_caps if setting the existing
9589           caps pointer again, and avoid printing debug and 
9590           reffing/unreffing the caps.
9591
9592         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9593           There's actually no need to set the caps before pushing -
9594           the acceptcaps method will handle it anyway.
9595
9596 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9597
9598         * docs/gst/gstreamer-sections.txt:
9599         * win32/common/libgstreamer.def:
9600         * gst/gstutils.c: (gst_element_seek_simple):
9601         * gst/gstutils.h:
9602           API: add gst_element_seek_simple() (#342238).
9603
9604 2006-05-18  Edward Hervey  <edward@fluendo.com>
9605
9606         * gst/gsttypefind.c: (gst_type_find_get_type):
9607         * gst/gsttypefind.h:
9608         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9609         registered for GstTypeFind pointers. This allows wrapping the structure
9610         in bindings (i.e. gst-python).
9611
9612 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9613
9614         * gst/gsttagsetter.c:
9615           Docs additions and fixes (see #339918).
9616
9617 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9618
9619         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9620         The caps intersection algorithm can produce multiple copies of the
9621         caps. Until that is fixed, we need to simplify the result to be
9622         sure whether the allowed caps are fixed or not.
9623
9624         * plugins/elements/gstqueue.c: (gst_queue_init),
9625         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9626         (gst_queue_push_one):
9627         Proxied buffer alloc should not set the caps on the source pad.
9628         When pushing buffers, we always accept the caps change that triggers.
9629         This prevents negotiation errors caused by caps changing mid-stream 
9630         and then being refused on our source pad (because upstream is now
9631         refusing those caps).
9632
9633 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9634
9635         * tests/examples/helloworld/helloworld.c: (main):
9636           Must plug audioconvert and audioresample between decoder
9637           and audio sink.
9638
9639 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
9640
9641         * gst/gstregistryxml.c: (read_string), (load_pad_template),
9642         (load_feature), (load_plugin):
9643         Allow empty strings for some of the plugin fields so we don't 
9644         drop valid plugin entries that were written out correctly
9645         (Fixes #341479)
9646
9647 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
9648         
9649         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9650           Use g_remove and g_rename instead of remove and rename that don't 
9651           handle utf8 characters. rename was failing for users who had specific
9652           characters in their name then the registry was built at each 
9653           gstreamer init.
9654         * win32/vs6/gst_inspect.dsp:
9655         * win32/vs6/gst_launch.dsp:
9656         * win32/vs6/libgstbase.dsp:
9657         * win32/vs6/libgstcoreelements.dsp:
9658         * win32/vs6/libgstreamer.dsp:
9659           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
9660           build of libgstreamer and clean unused libraries in projects link 
9661           settings.
9662
9663 2006-05-17  Edward Hervey  <edward@fluendo.com>
9664
9665         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9666         The queue is not responsible for pushing an EOS when receiving a fatal
9667         flow error. It's up to the real element driving the pipeline to do that.
9668
9669 2006-05-16  Edward Hervey  <edward@fluendo.com>
9670
9671         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9672         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9673         buffer returned a fatal error. It should just send an EOS and stop
9674         its task.
9675         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9676         when pushing buffers on the queue and will be able to handle the event.
9677
9678 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9679
9680         * docs/manual/basics-bins.xml:
9681         * docs/manual/basics-init.xml:
9682           Fix typos and minor errors in sample code (#341856).
9683
9684 2006-05-16  Wim Taymans  <wim@fluendo.com>
9685
9686         * docs/design/part-qos.txt:
9687         Fix indexes in formulas to make more sense.
9688
9689 2006-05-15  Wim Taymans  <wim@fluendo.com>
9690
9691         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9692         Don't report POSITION based on clock time if sync is
9693         disabled in a sink.
9694
9695 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
9696
9697         * gst/gstobject.h:
9698           Add cast to make compiler happy - refcount variable was a gint
9699           in GstObject but is a guint in GObject and g_atomic_int_get()
9700           wants a gint *.
9701
9702 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9703
9704         * gst/parse/Makefile.am:
9705           chain commands using &&, which also makes parallel make work
9706
9707 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
9708
9709         * docs/gst/gstreamer-sections.txt:
9710         * gst/gstevent.c:
9711         * gst/gstevent.h:
9712         * gst/gstmessage.h:
9713           Minor docs fixes.
9714
9715 === release 0.10.6 ===
9716
9717 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
9718
9719         * configure.ac:
9720           releasing 0.10.6, "Take the cannoli"
9721
9722 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9723
9724         * tools/gst-launch.c: (print_tag):
9725           Fix use of uninitialized variable in the hypothetical
9726           case that some broken plugin creates a GST_TAG_IMAGE
9727           tag containing a NULL buffer (#341667).
9728
9729 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9730
9731         * tools/gst-launch.c: (print_tag):
9732           Print something more intelligible for image tags when
9733           using the -t switch (#341556).
9734
9735 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9736
9737         * Makefile.am:
9738           updates for win32
9739         * configure.ac:
9740           define GST_MAJORMINOR so we have it available in win32/common/config.h
9741           Possibly remove it from our Makefile.am files later
9742         * win32/common/config.h:
9743         * win32/common/config.h.in:
9744           added GST_MAJORMINOR
9745         * win32/common/gstenumtypes.c: (register_gst_resource_error):
9746         * win32/common/gstversion.h:
9747           updated
9748
9749 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
9750
9751         * win32/MANIFEST:
9752           Update win32 files listing.
9753         * win32/common/gstversion.h:
9754           Add GST_MAJORMINOR definition.
9755         * win32/common/libgstreamer.def:
9756           Add new exported functions.
9757           
9758 2006-05-12  Michael Smith  <msmith@fluendo.com>
9759
9760         * gst/gstplugin.c: (gst_plugin_load_file):
9761           If an so file has no plugin entry point, unload the module.
9762
9763 2006-05-11  Wim Taymans  <wim@fluendo.com>
9764
9765         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9766         (gst_queue_set_property):
9767         Don't forget to signal the _chain or _loop function 
9768         when the queue size or thresholds change since that might
9769         cause them to make progres again.
9770
9771 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
9772
9773         * gst/gstclock.c: (gst_clock_class_init):
9774         * gst/gstindex.c: (gst_index_class_init):
9775         * gst/gstobject.c: (gst_object_class_init):
9776         * gst/gstpad.c: (gst_pad_class_init):
9777         * gst/gstpipeline.c: (gst_pipeline_class_init):
9778         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9779         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9780         * libs/gst/base/gstbasetransform.c:
9781         (gst_base_transform_class_init):
9782         * libs/gst/net/gstnetclientclock.c:
9783         (gst_net_client_clock_class_init):
9784         * libs/gst/net/gstnettimeprovider.c:
9785         (gst_net_time_provider_class_init):
9786         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9787         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9788         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9789         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9790         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9791         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9792         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9793         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9794         * plugins/elements/gsttee.c: (gst_tee_class_init):
9795         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9796         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9797           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9798
9799 2006-05-11  Wim Taymans  <wim@fluendo.com>
9800
9801         * gst/gstbuffer.c: (_gst_buffer_initialize):
9802         Register subbufer along with the buffer type so that
9803         it does not accidentally gets registered from N
9804         different streaming threads in a non threadsafe way.
9805
9806 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9807
9808         * gst/gstbuffer.h:
9809         * gst/gstevent.h:
9810         * gst/gstmessage.h:
9811           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9812           gst_event_ref() and gst_message_ref() functions again
9813           (ugly hack, please do fix if there's a better way besides
9814           overrides.txt, which doesn't seem to work).
9815
9816 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9817
9818         * libs/gst/check/gstcheck.h:
9819           add an assert for setting state to avoid lots of repetitive code
9820           in the future
9821
9822 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9823
9824         * gst/gstvalue.c: (gst_value_serialize_flags):
9825           fix a leak if no flags are set
9826         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9827           fix leak in tests
9828
9829 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9830
9831         * docs/manual/basics-pads.xml:
9832           Expand a bit on caps and filtered links and update
9833           examples that were still using the no longer existing
9834           gst_pad_link_filtered() (#338206).
9835
9836 2006-05-10  Wim Taymans  <wim@fluendo.com>
9837
9838         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9839         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9840         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9841         (gst_collect_pads_stop):
9842         * libs/gst/base/gstcollectpads.h:
9843         No need to call _stop in _finalize.
9844         Iterate the main pad list in _finalize.
9845         Added some more debug.
9846         Free lists and data in the right order.
9847         Also free data whem doing _remove_pad when stopped for
9848         backward compatibility protect ::started with PAD_LOCK as
9849         well.
9850
9851 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9852
9853         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9854         (gst_structure_parse_value):
9855           add some comments
9856           rename a method so that it actually says what it does better
9857
9858 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9859
9860         * gst/gstevent.c: (_gst_event_initialize):
9861         * gst/gstformat.c: (_gst_format_initialize):
9862           make sure some essential types used by events are registered
9863           as part of gst_init()
9864         * gst/gstvalue.c: (gst_value_serialize_flags):
9865           if no flags are set, serialize them to a value that represents NONE
9866           so that deserializing them works
9867         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9868           add tests for serialization and deserialization of flags
9869
9870 2006-05-10  Wim Taymans  <wim@fluendo.com>
9871
9872         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9873         (gst_collect_pads_collect_range), (gst_collect_pads_available),
9874         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9875         (gst_collect_pads_event), (gst_collect_pads_chain):
9876         Update docs.
9877         Better debug info.
9878         Catch and return errors from the collect function
9879         Refuse data on eos pads.
9880
9881 2006-05-10  Edward Hervey  <edward@fluendo.com>
9882
9883         * gst/gstinterface.h:
9884         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9885         GInterface type checking.
9886         They were previously using non-defined macros.
9887
9888 2006-05-09  Wim Taymans  <wim@fluendo.com>
9889
9890         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9891         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9892         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9893         (gst_collect_pads_start), (gst_collect_pads_stop),
9894         (gst_collect_pads_peek), (gst_collect_pads_pop),
9895         (gst_collect_pads_available), (gst_collect_pads_read),
9896         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9897         (gst_collect_pads_is_collected), (gst_collect_pads_event),
9898         (gst_collect_pads_chain):
9899         * libs/gst/base/gstcollectpads.h:
9900         Clean up the mess that is collectpads, add comments and
9901         FIXMEs where needed.
9902         Maintain a separate pad list so we can add pads while
9903         collecting the other ones. For this we need a new separate 
9904         lock (see comics).
9905         Fix memory leak in finalize.
9906         Refactor some weird code to set/unset pad flushing flags, mark
9907         with comments.
9908         Don't crash in _available, _read, _flush when we're EOS.
9909
9910         * tests/check/libs/.cvsignore:
9911         Ignore adapter check binary.
9912
9913 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9914
9915         * gst/gstindex.c: (gst_index_resolver_get_type):
9916         * plugins/elements/gstfakesink.c:
9917         (gst_fake_sink_state_error_get_type):
9918         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9919         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9920         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9921           Const-ify GEnumValue arrays.
9922
9923 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9924
9925         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9926           Add test case for flags + gst_buffer_make_metadata_writable().
9927
9928 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9929
9930         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9931           gst_buffer_make_metadata_writable() should maintain the
9932           buffer flags (those that make sense at least) (see #340859).
9933
9934 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9935
9936         * tools/gst-inspect.c:
9937         * tools/gst-launch.c:
9938         * tools/gst-typefind.c:
9939         * tools/gst-xmlinspect.c:
9940         * tools/tools.h:
9941           Fix up includes: need to include stdlib.h in tools.h for exit().
9942
9943 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9944
9945         * gst/gsttaglist.c: (_gst_tag_initialize):
9946         * gst/gsttaglist.h:
9947           API: add GST_TAG_IMAGE tag (#340721).
9948
9949 2006-05-08  Wim Taymans  <wim@fluendo.com>
9950
9951         * gst/gstquery.c:
9952         Added some docs for the segment query.
9953
9954 2006-05-08  Wim Taymans  <wim@fluendo.com>
9955
9956         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9957         (gst_base_src_loop), (gst_base_src_change_state):
9958         Always push non-flushing serialized events in the streaming 
9959         thread.
9960
9961 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9962
9963         * gst/gsterror.c: (_gst_stream_errors_init):
9964           Add a missing error string.
9965
9966 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
9967
9968         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9969         Add applied_rate to the debug
9970
9971         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9972         Copy applied_rate into the outgoing NEWSEGMENT event
9973
9974 2006-05-08  Wim Taymans  <wim@fluendo.com>
9975
9976         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9977
9978         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9979         (gst_base_sink_change_state):
9980         call ::unlock before taking the PREROLL_LOCK so we can safely
9981         handle elements that lock in ::render.
9982         Fixes #340174.
9983
9984 2006-05-08  Edward Hervey  <edward@fluendo.com>
9985
9986         * autogen.sh: (CONFIGURE_DEF_OPT): 
9987         Darwin's libtoolize is in fact called glibtoolize.
9988         Adding glibtoolize to the list of accepted names for libtoolize.
9989
9990 2006-05-08  Wim Taymans  <wim@fluendo.com>
9991
9992         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9993         Unify error handling, don't post an error message
9994         when a push() returns EOS but perform our normal EOS
9995         handling code. Fixes #340772.
9996
9997 2006-05-08  Wim Taymans  <wim@fluendo.com>
9998
9999         * docs/design/part-overview.txt:
10000         Make upsteam/downstream concepts more clear.
10001         Give an example of serialized/non-serialized events.
10002
10003         * docs/design/part-events.txt:
10004         * docs/design/part-streams.txt:
10005         Mention applied_rate.
10006
10007         * docs/design/part-trickmodes.txt:
10008         Mention applied rate, flesh out some more use cases.
10009
10010         * gst/gstevent.c: (gst_event_new_new_segment),
10011         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
10012         (gst_event_parse_new_segment_full), (gst_event_new_tag),
10013         (gst_event_parse_tag), (gst_event_new_buffer_size),
10014         (gst_event_parse_buffer_size), (gst_event_new_qos),
10015         (gst_event_parse_qos), (gst_event_parse_seek),
10016         (gst_event_new_navigation):
10017         * gst/gstevent.h:
10018         Add applied_rate field to NEWSEGMENT event.
10019         API: gst_event_new_new_segment_full()
10020         API: gst_event_parse_new_segment_full()
10021
10022         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
10023         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
10024         (gst_segment_to_stream_time), (gst_segment_to_running_time):
10025         * gst/gstsegment.h:
10026         Add applied_rate to GstSegment structure.
10027         Make calculation of stream_time and running_time more correct
10028         wrt rate/applied_rate.
10029         Add some more docs.
10030         API: GstSegment::applied_rate field
10031         API: gst_segment_set_newsegment_full();
10032
10033         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10034         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
10035         * libs/gst/base/gstbasetransform.c:
10036         (gst_base_transform_sink_eventfunc),
10037         (gst_base_transform_handle_buffer):
10038         Parse and use applied_rate in the GstSegment field.
10039
10040         * tests/check/gst/gstevent.c: (GST_START_TEST):
10041         Add check for applied_rate field.
10042
10043         * tests/check/gst/gstsegment.c: (GST_START_TEST),
10044         (gstsegments_suite):
10045         Add more checks for various GstSegment operations.
10046
10047 2006-05-08  Wim Taymans  <wim@fluendo.com>
10048
10049         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10050         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
10051         (gst_base_sink_get_position), (gst_base_sink_change_state):
10052         Store the sync time of the buffer end position separatly in a
10053         new variable eos_rtime so we can properly sync the EOS event.
10054         Fixes #340697.
10055         Fix the docs for gst_base_sink_set_qos_enabled().
10056         Don't set segment start to invalid value when we receive a 
10057         non TIME newsegment.
10058         get closer to handling position reporting for negative rates 
10059         correctly.
10060
10061 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
10062
10063         * gst/gstcaps.c:
10064         Docs about how to print caps for debug purposes.
10065
10066         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
10067         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
10068
10069 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
10070
10071         * gst/gstelement.c:
10072           use full enum names and preprend a '%' in docs strings to make recent 
10073           gtk-doc turn that into a link
10074
10075 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10076
10077         * docs/manual/basics-bins.xml:
10078         * docs/manual/basics-bus.xml:
10079         * docs/manual/basics-pads.xml:
10080           Some typo fixes, some additions, some clarifications. 
10081
10082 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10083
10084         * tools/gst-inspect.c: (main):
10085         * tools/gst-launch.c: (main):
10086         * tools/gst-run.c: (main):
10087         * tools/gst-typefind.c: (main):
10088         * tools/gst-xmlinspect.c: (main):
10089           Use the string passed to g_option_context_new() for
10090           what it's intended for - the program name is already
10091           printed elsewhere.
10092
10093 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10094
10095         * tools/Makefile.am:
10096         * tools/gst-inspect.c: (main):
10097         * tools/gst-launch.c: (main):
10098         * tools/gst-xmlinspect.c: (main):
10099         * tools/tools.h:
10100           Add back --version command line option (#340460).
10101
10102         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
10103           Add --version option and use GOption for argument parsing; refactor a
10104           bit; accept directories as arguments and recurse into them; lastly,
10105           print a decent error message when things go wrong.
10106
10107 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10108
10109         * docs/manual/basics-bins.xml:
10110         Don't mention GstThread (#340611)
10111         * docs/manual/basics-elements.xml:
10112         Update link to GObject tutorial (#340607)
10113         
10114 2006-05-05  Wim Taymans  <wim@fluendo.com>
10115
10116         * gst/gstbuffer.h:
10117         * gst/gstminiobject.c:
10118         Add note about refcounting and miniobject/buffer writeability
10119         to docs. Fixes #340604
10120
10121         * gst/gstelementfactory.h:
10122         Added some explanation about @klass.
10123
10124 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10125
10126         * docs/manual/intro-motivation.xml:
10127         * docs/manual/manual.xml:
10128         Avoid CORBA & Bonobo references (#340598)
10129
10130 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10131
10132         * docs/manual/basics-bus.xml:
10133         * docs/manual/basics-pads.xml:
10134         Fix up some inaccuracies and omissions (#340609)
10135         
10136 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10137
10138         * gst/gstghostpad.c:
10139           Small typo in docs (#340625)
10140
10141 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10142
10143         * gst/parse/Makefile.am:
10144           Make 'make -j' proof (see #340698).
10145
10146 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10147
10148         * configure.ac:
10149           Require GLib-2.8 here as well.
10150
10151 2006-05-05  Wim Taymans  <wim@fluendo.com>
10152
10153         * gst/glib-compat.c:
10154         * gst/gst.c: (init_pre):
10155         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10156         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
10157         (gst_object_dispatch_properties_changed):
10158         * gst/gstobject.h:
10159         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10160         * gst/gststructure.c: (gst_structure_set_valist):
10161         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10162         Remove pre glib2.8 compatibility, fixes #340508
10163
10164 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
10165
10166         * gst/gsttaglist.h:
10167           Mention type of tags in doc blurbs.
10168
10169 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
10170
10171         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10172         (gst_pad_configure_src), (gst_pad_push):
10173         Restore acceptcaps checking behaviour now that good plugins have
10174         been released.
10175
10176 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
10177
10178         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
10179
10180         * gst/gst.c:
10181         * gst/gstbus.c:
10182         * gst/gstclock.c:
10183         * gst/gstevent.c:
10184         * gst/gstformat.c:
10185         * gst/gstmessage.c:
10186         * gst/gstparse.c:
10187         * gst/gstquery.c:
10188         * gst/gstutils.c:
10189         * gst/parse/Makefile.am:
10190         * libs/gst/base/gstadapter.c:
10191         * libs/gst/base/gstbasesrc.c:
10192         * libs/gst/base/gstpushsrc.c:
10193         * libs/gst/base/gsttypefindhelper.c:
10194         * plugins/elements/gstfakesrc.c:
10195         * plugins/elements/gstidentity.c:
10196           Make sure gstprivate.h and/or config.h are
10197           always included first, otherwise some of our
10198           defines (like _FILE_OFFSET_BITS) might be
10199           redefined in the system headers. Fixes build
10200           on opensolaris (#340016).
10201
10202 2006-05-04  Wim Taymans  <wim@fluendo.com>
10203
10204         * docs/libs/gstreamer-libs-sections.txt:
10205         API: addition: gst_adapter_take_buffer()
10206         
10207         * libs/gst/base/gstadapter.c: (gst_adapter_push),
10208         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
10209         (gst_adapter_available_fast):
10210         * libs/gst/base/gstadapter.h:
10211         Prepare for optimizing the hell out of this hugely inefficient
10212         piece of code. 
10213         Added gst_adapter_take_buffer() so we can at least start thinking
10214         about subbuffering and merging.
10215         Added some comments.
10216
10217         * tests/check/Makefile.am:
10218         * tests/check/libs/adapter.c: (GST_START_TEST),
10219         (gst_adapter_suite), (main):
10220         Added GstAdapter check.
10221
10222 2006-05-04  Wim Taymans  <wim@fluendo.com>
10223
10224         * docs/design/part-overview.txt:
10225         Fix some typos, add blurb about buffer flags.
10226
10227 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10228
10229         * docs/libs/gstreamer-libs-sections.txt:
10230           make sure GstBaseTransformClass shows up in the docs
10231         * libs/gst/base/gstbasetransform.c:
10232         * libs/gst/base/gstbasetransform.h:
10233           move docs so gtk-doc picks it up now
10234
10235 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10236
10237         * docs/libs/gstreamer-libs-sections.txt:
10238           add missing symbols to docs
10239
10240 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10241
10242         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10243           back out the newsegment handling change, see #340060 for ongoing
10244           discussion
10245
10246 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
10247
10248         * tools/gst-run.c: (get_candidates), (main):
10249           Fix wrong g_file_test() usage (see glib docs for why it doesn't
10250           work); fix typo in error message. Fixes #340079.
10251
10252 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10253
10254         * common/Makefile.am:
10255         * docs/Makefile.am:
10256         * docs/faq/Makefile.am:
10257         * docs/gst/Makefile.am:
10258         * docs/libs/Makefile.am:
10259         * docs/manual/Makefile.am:
10260         * docs/plugins/Makefile.am:
10261         * docs/pwg/Makefile.am:
10262         * docs/slides/Makefile.am:
10263         * docs/upload.mak:
10264         * common/upload.mak:
10265           move upload.mak to common
10266
10267 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10268
10269         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10270           add more asserts on refcounts
10271           do more cleanup at end of tests
10272           fix test leaks showing in FC5
10273
10274 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
10275
10276         * plugins/elements/gsttypefindelement.c:
10277         (gst_type_find_element_handle_event):
10278         reverted wrong change and reflowed code to avoid others falling into
10279         this trap
10280
10281 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10282
10283         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10284           fix changelog entry about last collectpads change,
10285           add notes about proper fix
10286
10287 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10288
10289         * gst/gst.c:
10290         * gst/gstregistry.c: (gst_registry_scan_path_level),
10291         (gst_registry_scan_path):
10292         * gst/gstregistry.h:
10293           only write out registry if it has changed, fixes #338339
10294
10295 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10296
10297         * gst/gstbin.c:
10298         * gst/gstpipeline.c:
10299         * plugins/elements/gstcapsfilter.c:
10300         * plugins/elements/gstfakesink.c:
10301         * plugins/elements/gstfakesrc.c:
10302         * plugins/elements/gstfdsink.c:
10303         * plugins/elements/gstfdsrc.c:
10304         * plugins/elements/gstfilesink.c:
10305         * plugins/elements/gstfilesrc.c:
10306         * plugins/elements/gstidentity.c:
10307         * plugins/elements/gstqueue.c:
10308         * plugins/elements/gsttee.c:
10309         * plugins/elements/gsttypefindelement.c:
10310         (gst_type_find_element_handle_event):
10311           make GstElementDetails const
10312
10313 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10314
10315         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10316         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10317         (gst_collect_pads_is_collected), (gst_collect_pads_event):
10318           more detailed debug and formatting cleanup,
10319           forward newsegments to src-pad (so that e.g. adder not eats them)
10320
10321 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10322
10323         * gst/gstutils.c: (gst_element_link_pads):
10324           cleanup double code
10325
10326 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10327
10328         * libs/gst/controller/gstcontroller.c:
10329         (gst_controller_sync_values):
10330           some little tuning
10331         * tests/check/libs/controller.c: (GST_START_TEST),
10332         (gst_controller_suite):
10333           a new test for live value handling
10334
10335 2006-04-28  Wim Taymans  <wim@fluendo.com>
10336
10337         * gst/gstutils.c: (push_and_ref):
10338         Added some more docs.
10339         Fix refcount issue whith gst_element_found_tags() helper 
10340         function. Fixes #338335
10341
10342         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10343         Added testsuite for gst_element_found_tags().
10344
10345 2006-04-28  Michael Smith  <msmith@fluendo.com>
10346
10347         * gst/gstvalue.c: (gst_value_serialize_flags):
10348           Avoid NULL dereference when trying to serialize flags containing
10349           invalid values.
10350
10351 2006-04-28  Michael Smith  <msmith@fluendo.com>
10352
10353         * plugins/elements/gsttypefindelement.c:
10354         (gst_type_find_element_handle_event):
10355           If we get EOS before any data is accumulated, don't use
10356           uninitialised local variables.
10357
10358 2006-04-28  Michael Smith  <msmith@fluendo.com>
10359
10360         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10361         (gst_dp_event_from_packet):
10362           Fixes in reading/writing events over GDP (not currently used?) - 
10363           dereferencing NULL events for unknown/invalid event types, memory
10364           leak, and change g_warning to GST_WARNING.
10365
10366 2006-04-28  Wim Taymans  <wim@fluendo.com>
10367
10368         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10369         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10370         (gst_base_sink_get_position), (gst_base_sink_change_state):
10371         When frame dropping is enabled, we should not ignore frames
10372         without a duration.
10373         Update some documentation.
10374
10375 2006-04-28  Wim Taymans  <wim@fluendo.com>
10376
10377         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10378         (gst_base_src_send_event), (gst_base_src_change_state):
10379         Documentation updates.
10380
10381 2006-04-28  Wim Taymans  <wim@fluendo.com>
10382
10383         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10384         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10385         handle EAGAIN, EINTR and short writes correctly. Also clean
10386         up some error cases, avoid a deadlock on bad file descriptors and
10387         use GST_DEBUG_OBJECT.
10388         Fixes #339843
10389
10390 2006-04-28  Wim Taymans  <wim@fluendo.com>
10391
10392         * gst/gstvalue.c: (gst_value_serialize_buffer),
10393         (gst_value_deserialize_buffer):
10394         Don't try to serialize a GValue with a NULL buffer. 
10395         Fixes #339821.
10396
10397         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10398         Added check for serialisation of NULL buffers.
10399
10400 2006-04-28  Wim Taymans  <wim@fluendo.com>
10401
10402         * gst/gstminiobject.c: (gst_value_take_mini_object):
10403         Taking a NULL miniobject is valid, fix the case where
10404         we try to unref the NULL miniobject.
10405
10406 2006-04-28  Wim Taymans  <wim@fluendo.com>
10407
10408         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10409
10410         * gst/gstbin.c: (gst_bin_handle_message_func):
10411         Update docs.
10412         Don't leak bin refcount when a state recalc is
10413         in progress and we delay another one #339808.
10414
10415 2006-04-28  Wim Taymans  <wim@fluendo.com>
10416
10417         * docs/design/part-TODO.txt:
10418         Mention QoS as an ongoing work item.
10419
10420         * docs/design/part-buffering.txt:
10421         New doc about buffering that needs to be fleshed out
10422         at some point.
10423
10424         * docs/design/part-qos.txt:
10425         More QoS policy for decoders/demuxers/transforms
10426
10427         * docs/design/part-trickmodes.txt:
10428         Small update.
10429
10430 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10431
10432         * configure.ac:
10433           back to HEAD
10434
10435 === release 0.10.5 ===
10436
10437 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
10438
10439         * configure.ac:
10440           releasing 0.10.5, "Fogo"
10441
10442 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10443
10444         patch by: Wim Taymans
10445
10446         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10447         (gst_pad_configure_src), (gst_pad_push):
10448         * gst/gstpipeline.c: (gst_pipeline_init):
10449           Fix internal data flow errors.  Fixes #338711.
10450
10451 2006-04-12  Wim Taymans  <wim@fluendo.com>
10452
10453         * tests/check/gst/gstelement.c: (GST_START_TEST):
10454         Don't leak the factory.
10455
10456 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10457
10458         * configure.ac:
10459         * win32/common/config.h:
10460           prerelease
10461
10462 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
10463
10464         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10465         (gst_controller_unset_all):
10466           Free allocated GstTimedValues when freeing list nodes.
10467           Should fix leaks 'make check-valgrind' complains about.
10468
10469         * win32/common/libgstcontroller.def:
10470           Add gst_controller_unset_all.
10471
10472 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
10473
10474         * docs/libs/gstreamer-libs-sections.txt:
10475         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10476         (gst_controller_unset_all):
10477         * libs/gst/controller/gstcontroller.h:
10478         API: Added new method gst_controller_unset_all()
10479         fixed gst_controller_unset()
10480         * tests/check/libs/controller.c: (GST_START_TEST),
10481         (gst_controller_suite):
10482         Added two testcases for new and fixed method
10483
10484 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
10485
10486         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10487           MSG_DONTWAIT is not defined on Cygwin, so work
10488           around that (fixes #317048).
10489           
10490 2006-04-11  Wim Taymans  <wim@fluendo.com>
10491
10492         * gst/gstelementfactory.c: (gst_element_register),
10493         (gst_element_factory_create), (gst_element_factory_make):
10494         Some cleanups.
10495         Fixed a FIXME.
10496         Updated docs (Fixes #131079)
10497
10498         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10499         Small cleanups.
10500
10501         * tests/check/gst/gstelement.c: (GST_START_TEST),
10502         (gst_element_suite):
10503         Added testcase for elementfactory class field.
10504
10505 2006-04-10  Wim Taymans  <wim@fluendo.com>
10506
10507         * gst/gstsegment.c:
10508         Added some more docs.
10509
10510         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10511         (gst_base_sink_reset_qos):
10512         Calculate more accurate rate values.
10513
10514 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
10515
10516         * gst/gst_private.h:
10517           add a new #ifdef to use __declspec(dllimport) only for
10518           other modules and not for gstreamer core
10519         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10520           use gst_guint64_to_gdouble for conversion
10521         * win32/common/libgstreamer.def:
10522           add new exported functions
10523         * win32/vs6/gst_inspect.dsp:
10524         * win32/vs6/gst_launch.dsp:
10525         * win32/vs6/libgstbase.dsp:
10526         * win32/vs6/libgstcontroller.dsp:
10527         * win32/vs6/libgstcoreelements.dsp:
10528         * win32/vs6/libgstdataprotocol.dsp:
10529         * win32/vs6/libgstnet.dsp:
10530           update project files
10531
10532 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10533
10534         * gst/gstbuffer.c: (gst_subbuffer_class_init):
10535         * gst/gstclock.c: (gst_clock_class_init):
10536         * gst/gstelement.c: (gst_element_class_init):
10537         * gst/gstindex.c: (gst_index_class_init):
10538         * gst/gstindexfactory.c: (gst_index_factory_class_init):
10539         * gst/gstobject.c: (gst_object_class_init),
10540         (gst_signal_object_class_init):
10541         * gst/gstpad.c: (gst_pad_class_init):
10542         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10543         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10544         * gst/gstregistry.c: (gst_registry_class_init):
10545         * gst/gstsystemclock.c: (gst_system_clock_class_init):
10546         * gst/gsttask.c: (gst_task_class_init):
10547         * gst/gstxml.c: (gst_xml_class_init):
10548         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10549         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10550         (gst_base_src_loop):
10551         * libs/gst/controller/gstcontroller.c:/
10552         (_gst_controller_class_init):
10553         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10554         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10555         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10556         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10557         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10558         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10559
10560 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
10561
10562         * gst/gstpad.c: (gst_pad_link):
10563           Must set peer pads before calling the link function, otherwise
10564           a task started from a link function might get a flow-not-linked
10565           result when trying to push because the other thread where the
10566           linking happens hasn't had a chance to set the peers yet. This
10567           might happen for example when a queue gets linked to a downstream
10568           element, as queue starts a streaming task when its source pad
10569           gets linked. Happens in real life when playing back flac/musepack
10570           files in playbin (#332390).
10571           
10572 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10573
10574         * gst/gstindex.h:
10575         * gst/gstxml.h:
10576         * libs/gst/base/gstadapter.h:
10577         * libs/gst/base/gstbasesink.h:
10578         * libs/gst/base/gstbasesrc.h:
10579         * libs/gst/base/gstbasetransform.h:
10580         * libs/gst/base/gstcollectpads.h:
10581         * libs/gst/base/gstpushsrc.h:
10582         Fix broken GObject macros
10583
10584 2006-04-07  Wim Taymans  <wim@fluendo.com>
10585
10586         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10587         Initialize start and stop times, thanks valgrind.
10588
10589 2006-04-07  Wim Taymans  <wim@fluendo.com>
10590
10591         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10592         Be a bit nicer to badly behaving upstream elements that expect
10593         us to deal with non TIME segments and timestamps (such as fakesrc
10594         in the testsuite).
10595
10596 2006-04-07  Wim Taymans  <wim@fluendo.com>
10597
10598         * gst/gstbus.c:
10599         Small documentation clarification about the signal watch.
10600
10601         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10602         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10603         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10604         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10605         (gst_base_sink_get_position_last),
10606         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10607         Convert and store timestamps in stream time and running time, the
10608         raw timestamps are not useful, also document this better.
10609         Use different window sizes for good and bad QoS observations so
10610         we react to badness a little quicker.
10611         Keep track of the amount of rendered and dropped buffers.
10612         Send QoS timestamps in running time.
10613
10614         * libs/gst/base/gstbasetransform.c:
10615         (gst_base_transform_sink_eventfunc),
10616         (gst_base_transform_handle_buffer):
10617         Compare QoS timestamps against running time.
10618
10619 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10620
10621         * gst/gstpad.c:
10622           Typo fixes in docs.
10623
10624 2006-04-06  Michael Smith  <msmith@fluendo.com>
10625
10626         * gst/gstpad.c: (gst_pad_set_property):
10627           Use g_value_get_object() instead of g_value_dup_gst_object(),
10628           to avoid double-reffing the pad template (which we then sink,
10629           so this worked previously if (and only if) the pad template
10630           was floating.
10631
10632         * gst/gstpadtemplate.c: (gst_pad_template_init),
10633         (gst_pad_template_pad_created):
10634           Never return floating references to pad templates, create
10635           them as initially-sunken.
10636
10637           Document an extra function (and make this stop sinking our
10638           pad template, since that is now guaranteed to do nothing,
10639           since we created it sunken).
10640
10641         * gst/gstghostpad.c:
10642           Fix docs typo.
10643
10644 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10645
10646         * gst/gstinfo.c: (__gst_in_valgrind):
10647           Add some newlines.
10648
10649         * plugins/elements/gsttypefindelement.c:
10650         (gst_type_find_element_chain):
10651           Don't leak buffer caps.
10652
10653 2006-04-06  Michael Smith  <msmith@fluendo.com>
10654
10655         * gst/parse/grammar.y:
10656           Fix a leak in parse-launch for any source-or-sink named element 
10657           references used.
10658
10659         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10660           Unref the pipeline if it exists after we've failed parsing.
10661
10662 2006-04-05  Michael Smith  <msmith@fluendo.com>
10663
10664         * gst/gstpipeline.c: (gst_pipeline_init):
10665           When we create a pipeline bus, initially create it in flushing mode.
10666           Fixes leaks in at least one test, and makes a new pipeline work the
10667           same as one that has gone to READY and then back to NULL.
10668
10669         * gst/gstelement.c:
10670           Typo fix in docs.
10671
10672 2006-04-05  Michael Smith  <msmith@fluendo.com>
10673
10674         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10675           Unref a pad we reffed.
10676         * tests/check/gst/gstutils.c: (GST_START_TEST):
10677           Unref bins
10678
10679 2006-04-05  Michael Smith  <msmith@fluendo.com>
10680
10681         * gst/gstquery.c: (gst_query_set_formats),
10682         (gst_query_set_formatsv):
10683           Fix leaking GValues in queries, as shown by valgrind/testsuite.
10684
10685 2006-04-05  Michael Smith  <msmith@fluendo.com>
10686
10687         * tests/check/generic/sinks.c: (GST_START_TEST):
10688           Fix a variety of memleaks in sinks check, which are only sometimes 
10689           shown by running the tests under valgrind (weird?).
10690
10691 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
10692
10693         * docs/version.entities.in:
10694           Fix the substituted entity name after thomas' changes on the
10695           weekend.
10696
10697 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10698
10699         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10700         VALGRIND_PRINTF
10701         
10702 2006-04-05  Andy Wingo  <wingo@pobox.com>
10703
10704         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10705
10706         * libs/gst/base/gstbasetransform.c
10707         (gst_base_transform_sink_eventfunc): When resetting our segment on
10708         FLUSH_STOP, also update the flag saying we haven't seen a
10709         newsegment.
10710
10711 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10712
10713         Patch by: Paolo Borelli  <pborelli at katamail dot com>
10714
10715         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10716         (gst_plugin_check_license):
10717           minor clean-ups: G_DEFINE_TYPE already takes care of the
10718           parent_class stuff, no need to do it twice. Mark array of
10719           license strings as constant. (#337103)
10720           
10721 2006-04-04  Michael Smith  <msmith@fluendo.com>
10722
10723         * tools/gst-inspect.c: (print_element_list):
10724           Free the right plugin list; fixes a memory leak.
10725
10726 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10727
10728         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
10729
10730         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10731           Don't error out on empty buffers (#336945).
10732           
10733 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
10734
10735         * docs/libs/gstreamer-libs-sections.txt:
10736         * gst/gsttaglist.c:
10737         * libs/gst/base/gstbasesink.c:
10738         * libs/gst/base/gstbasesink.h:
10739         * libs/gst/base/gstbasesrc.c:
10740         * libs/gst/base/gstbasesrc.h:
10741           Documentation updates. Make BaseSink and BaseSrc docs contain the
10742           class structure so that people can actually see the prototypes for
10743           virtual functions they're supposed to be overriding.
10744
10745 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10746
10747         * plugins/elements/gsttypefindelement.c:
10748         (gst_type_find_element_chain):
10749           More debug info; when skipping typefinding, send cached
10750           events in all cases.
10751
10752 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10753
10754         * configure.ac:
10755           use new AS_VERSION and AS_NANO macros
10756         * gst/gst-i18n-lib.h:
10757         * gst/gst.c:
10758         * gst/gsterror.c:
10759         * gst/gstversion.h.in:
10760         * win32/common/config.h:
10761         * win32/common/config.h.in:
10762           update accordingly
10763
10764 2006-03-31  Michael Smith  <msmith@fluendo.com>
10765
10766         * plugins/elements/gsttypefindelement.c:
10767         (gst_type_find_element_chain):
10768           Do not typefind content if the buffers already have caps.
10769           Neccesary for icydemux (#333657), and the right thing to do anyway.
10770
10771 2006-03-30  Wim Taymans  <wim@fluendo.com>
10772
10773         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10774         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10775         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10776         (gst_base_sink_record_qos_observation),
10777         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10778         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10779         (gst_base_sink_change_state):
10780         More QoS measurements as described in the design doc.
10781         Get rid of ringbuffer with observations, running average is
10782         more simple and equally good.
10783         Calculates valid proportion now.
10784         Added beginning of flood measurement.
10785
10786 2006-03-29  Wim Taymans  <wim@fluendo.com>
10787
10788         * docs/design/part-qos.txt:
10789         * gst/gstclock.c:
10790         Small documentation updates and additions.
10791
10792 2006-03-29  Wim Taymans  <wim@fluendo.com>
10793
10794         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10795         (gst_base_src_send_event), (gst_base_src_loop),
10796         (gst_base_src_change_state):
10797         Perform the EOS logic when we reach the segment stop position.
10798         Fix compilation on gcc4.1
10799
10800 2006-03-29  Wim Taymans  <wim@fluendo.com>
10801
10802         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10803
10804         * plugins/elements/gstqueue.c: (gst_queue_init),
10805         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10806         (gst_queue_set_property):
10807         * plugins/elements/gstqueue.h:
10808         In queue, when EOS is received, if minimum threshold > max_size -
10809         current_level, there is chance that queue blocks forever in conditional
10810         item del wait. This is because the queue is not emptied completely due
10811         to minimum threshold.  Here is another approach. Instead of setting
10812         cur_levels to max in EOS, just zero all minimum threshold levels. This
10813         should make sure that queue gives out all data. When going to READY
10814         (stop) state, just reset the original minimum threshold levels.
10815         Fixes #336336.
10816
10817 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
10818
10819         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10820         (gst_type_find_element_handle_event),
10821         (gst_type_find_element_send_cached_events),
10822         (gst_type_find_element_change_state):
10823         * plugins/elements/gsttypefindelement.h:
10824           When typefinding is done in push mode, we should cache
10825           events we receive during typefinding instead of just
10826           dropping them (e.g. newsegment, custom events from
10827           dvdreadsrc etc.) and then send them out once we've
10828           determined the type of the stream (and decodebin
10829           has had a chance to plug in a decoder/demuxer).
10830           
10831 2006-03-27  Wim Taymans  <wim@fluendo.com>
10832
10833         * docs/design/part-qos.txt:
10834         First QoS ideas.
10835
10836 2006-03-27  Wim Taymans  <wim@fluendo.com>
10837
10838         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10839
10840         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10841         (gst_base_src_send_event), (gst_base_src_change_state):
10842         Handle element seek correctly when we are streaming.
10843         Fixes #326998.
10844
10845 2006-03-24  Michael Smith  <msmith@fluendo.com>
10846
10847         * docs/faq/gst-uninstalled:
10848           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10849           allow you to correctly run intalled applications built against old 
10850           core, using plugins that require updated core (e.g. running
10851           installed totem against a full uninstalled gstreamer stack)
10852
10853 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10854
10855         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10856         more debug details
10857
10858 2006-03-24  Wim Taymans  <wim@fluendo.com>
10859
10860         * docs/gst/gstreamer-sections.txt:
10861         Rearrange the order of the methods so that related methods
10862         are grouped together in sections.
10863
10864 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10865
10866         * gst/gstelement.c:
10867           Little clarification in the docs
10868
10869 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10870
10871         * docs/README:
10872         formatting fix
10873         * plugins/elements/gstidentity.c:
10874         * plugins/elements/gstqueue.c:
10875         * plugins/elements/gsttee.c:
10876         * plugins/elements/gsttypefindelement.c:
10877         GST_ELEMENT_DETAILS formatting
10878
10879 2006-03-24  Wim Taymans  <wim@fluendo.com>
10880
10881         * libs/gst/base/gstbasesink.h:
10882         Only add fields, not insert or we break ABI.
10883
10884 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10885
10886         * win32/common/libgstbase.def:
10887         * win32/common/libgstreamer.def:
10888           Update, add recently added functions.
10889
10890 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10891
10892         * docs/gst/gstreamer-sections.txt:
10893         * gst/gstutils.c: (gst_pad_query_peer_position),
10894         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10895         * gst/gstutils.h:
10896           API: add some new utility functions:
10897            - gst_pad_query_peer_position()
10898            - gst_pad_query_peer_duration()
10899            - gst_pad_query_peer_convert()
10900           
10901 2006-03-23  Wim Taymans  <wim@fluendo.com>
10902
10903         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10904         (gst_base_sink_init), (gst_base_sink_finalize),
10905         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10906         (gst_base_sink_set_property), (gst_base_sink_get_property),
10907         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10908         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10909         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10910         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10911         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10912         (gst_base_sink_preroll_object), (gst_base_sink_event),
10913         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10914         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10915         (gst_base_sink_query), (gst_base_sink_change_state):
10916         Decouple max-lateness and the fact that QoS messages are generated
10917         with a new property (qos).
10918         added API: GstBaseSink::async_play()
10919         Add vmethod so subclasses can be notified of ASYNC playing
10920         state changes.
10921         Collect timestamp start and stop to report better current
10922         position in EOS/PLAYING/PAUSED/READY/NULL.
10923         Refactor QoS/frame dropping and other measurements.
10924         API: GstBaseSrc::qos
10925         Fixes #326311
10926
10927         * libs/gst/base/gstbasesink.h:
10928         Added Private struct.
10929         API: gst_base_sink_set_qos_enabled()
10930         API: gst_base_sink_is_qos_enabled()
10931
10932 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10933
10934         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10935           If compiling against GLib-2.8 or newer, try to read the
10936           registry file using GMappedFile first before falling back
10937           to fopen() + fread() (#332151).
10938
10939 2006-03-22  Wim Taymans  <wim@fluendo.com>
10940
10941         * gst/gstinfo.c: (gst_debug_set_active),
10942         (gst_debug_category_set_threshold):
10943         Disable debugging unless explicitly activated.
10944         Fixes #335480.
10945
10946 2006-03-22  Wim Taymans  <wim@fluendo.com>
10947
10948         * gst/gstelement.c: (gst_element_set_locked_state),
10949         (gst_element_dispose):
10950         Cleanup the error case.
10951
10952         * gst/gstobject.c: (gst_object_dispose):
10953         print a critical when some object was disposed with
10954         a parent, also revive the object since it might
10955         crash the parent.
10956
10957 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
10958
10959         * tools/gst-launch.1.in:
10960           Fix another typo.
10961
10962 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10963
10964         * configure.ac:
10965         * tests/check/Makefile.am:
10966           disable some tests when we don't have a registry
10967         * tests/check/gst/gstutils.c: (gst_utils_suite):
10968           don't build the part that needs parsing
10969
10970 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10971
10972         * gst/Makefile.am
10973         * tests/examples/Makefile.am:
10974           fix --disable-parse build
10975
10976 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10977
10978         * tools/gst-feedback.1.in:
10979           Fix typo: s/feeback/feedback/ (#133494).
10980
10981 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10982
10983         * tools/Makefile.am:
10984         * tools/gst-launch.1.in:
10985           Add FILES section and correct entry about GST_REGISTRY_PATH
10986           environment variable (#133495; #133494).
10987
10988 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10989
10990         * tools/Makefile.am:
10991         * tools/gst-md5sum.1.in:
10992         * tools/gst-md5sum.c:
10993           Remove gst-md5sum and man page (the md5sink element
10994           required was removed ages ago)
10995
10996 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10997
10998         * gst/gststructure.c: (gst_structure_id_set_value):
10999           Make sure that string fields in structures/taglists
11000           contain valid UTF-8 - we don't want to pass rubbish to
11001           applications because of a buggy plugin (cp. #334167).
11002
11003 2006-03-21  Edward Hervey  <edward@fluendo.com>
11004
11005         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11006         (gst_bin_handle_message_func):
11007         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
11008         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
11009         (gst_element_set_bus_func):
11010         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
11011         * gst/gstminiobject.c: (gst_value_set_mini_object),
11012         (gst_value_take_mini_object):
11013         * gst/gstpad.c: (gst_pad_set_pad_template):
11014         * gst/gstpipeline.c: (gst_pipeline_dispose),
11015         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11016         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
11017         (gst_collect_pads_chain):
11018         * libs/gst/net/gstnettimeprovider.c:
11019         (gst_net_time_provider_set_property):
11020         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
11021         It's in fact all issues with gst_*object_replace().
11022
11023 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11024
11025         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
11026         
11027         * pkgconfig/gstreamer-check-uninstalled.pc.in:
11028         * pkgconfig/gstreamer-check.pc.in:
11029           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
11030
11031 2006-03-21  Edward Hervey  <edward@fluendo.com>
11032
11033         * gst/gstbuffer.h:
11034         * gst/gstevent.h:
11035         * gst/gstmessage.h:
11036         gst_[buffer|event|message]_ref() macros are replaced by a static
11037         inline functions because gcc-4.1 will about if the return value
11038         isn't used.
11039         * tests/check/gst/gstevent.c: (event_probe):
11040         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
11041
11042 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
11043
11044         * gst/gstutils.h:
11045         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
11046         the type' case. (Closes: #335195 for now). In the future, when we
11047         depend on GLib 2.10, we could also intern the type name using
11048         g_intern_static_string()
11049
11050 2006-03-20  Wim Taymans  <wim@fluendo.com>
11051
11052         * gst/gstbin.c: (gst_bin_handle_message_func),
11053         (bin_query_max_init), (bin_query_position_fold),
11054         (bin_query_position_done), (gst_bin_query):
11055         Position query should also take max of all streams.
11056
11057 2006-03-20  Wim Taymans  <wim@fluendo.com>
11058
11059         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11060         (gst_fake_src_finalize):
11061         Fix leaks in fakesrc.
11062
11063         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11064         Fix leaks in the testcase.
11065
11066 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
11067
11068         * gst/gst_private.h:
11069           add win32 specific import decoration(__declspec(dllimport)) 
11070           for all extern GstDebugCategory * variables
11071         * win32/common/libgstbase.def:
11072         * win32/common/libgstcontroller.def:
11073         * win32/common/libgstreamer.def:
11074           Add some exports, remove empty lines
11075         * win32/common/libgstdataprotocol.def:
11076         * win32/common/libgstdataprotocol.dsp:
11077         * win32/common/libgstnet.def:
11078         * win32/common/libgstnet.dsp:
11079           new project files and exportation files added
11080         
11081 2006-03-19  Wim Taymans  <wim@fluendo.com>
11082
11083         * tests/check/libs/basesrc.c: (eos_event_counter):
11084         Use proper return value for probe.
11085
11086 2006-03-17  Wim Taymans  <wim@fluendo.com>
11087
11088         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
11089         (gst_pad_push):
11090         Don't leak buffers, caps and pads on negotiation errors.
11091
11092 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
11093
11094         * docs/faq/cvs.xml:
11095         * docs/faq/dependencies.xml:
11096         * docs/faq/developing.xml:
11097         * docs/faq/faq.xml:
11098         * docs/faq/general.xml:
11099         * docs/faq/getting.xml:
11100         * docs/faq/legal.xml:
11101         * docs/faq/troubleshooting.xml:
11102         * docs/faq/using.xml:
11103         Faq review and update.
11104
11105 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
11106
11107         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
11108         (gst_pad_push):
11109         Don't pound the cpu to pieces by checking get_caps when accept_caps
11110         is called with the same caps as the pad already has.
11111         Use GST_DEBUG_OBJECT when outputting caps change information.
11112
11113 2006-03-15  Wim Taymans  <wim@fluendo.com>
11114
11115         * gst/gstclock.c: (gst_clock_class_init):
11116         Fix docs.
11117
11118 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
11119
11120         * gst/gstbuffer.h:
11121         Documentation fix.
11122
11123         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
11124         (gst_pad_accept_caps), (gst_pad_configure_sink),
11125         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
11126         Make the default acceptcaps behaviour be to check the requested 
11127         caps against the gst_pad_get_caps output. 
11128
11129         Ensure that gst_pad_accept_caps is used to check caps when a pad
11130         doesn't have a setcaps function, so that pads automatically refuse 
11131         caps that they don't allow in their pad template. (Fixes #332986)
11132
11133         When a buffer with attached caps is pushed, ensure that the source 
11134         pad receives those caps even if the element didn't call
11135         gst_pad_set_caps first.
11136
11137 2006-03-15  Wim Taymans  <wim@fluendo.com>
11138
11139         * libs/gst/base/gstadapter.c:
11140         Add some docs.
11141
11142 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
11143
11144         * win32/common/libgstbase.def:
11145         * win32/common/libgstcontroller.def:
11146         * win32/common/libgstreamer.def:
11147           Add a whole bunch of missing functions (#334434).
11148
11149 2006-03-14  Wim Taymans  <wim@fluendo.com>
11150
11151         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11152         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11153         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
11154         Better debug info when we receive a segment event.
11155         Reorganize a bit so we can pass the get_times() results around.
11156         Use the segment format when calculating the running time.
11157         Don't do QoS is sync is disabled or we have no clock or the
11158         element does not want us to sync to the clock.
11159         Don't drop buffers if QoS is disabled for now.
11160
11161 2006-03-14  Wim Taymans  <wim@fluendo.com>
11162
11163         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
11164         Marked the stats property as unimplemented so people don't get
11165         wild ideas.
11166         Add debug message when regression goes wrong.
11167         Added some more docs.
11168
11169 2006-03-14  Wim Taymans  <wim@fluendo.com>
11170
11171         * gst/gstsegment.c: (gst_segment_to_stream_time):
11172         Return correct return type in case of errors.
11173
11174 2006-03-14  Wim Taymans  <wim@fluendo.com>
11175
11176         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
11177           Don't segfault on invalid formats.
11178
11179 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
11180
11181         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11182           Can't use gst_segment_to_running_time() when the segment
11183           is not in GST_TIME_FORMAT (like with filesink, for example).
11184           Stops flac encoding pipelines from spewing critical warnings
11185           at EOS (#331248).
11186           
11187 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
11188
11189         * gst/gstpipeline.c: (gst_pipeline_class_init):
11190           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
11191
11192         * plugins/elements/gsttypefindelement.c:
11193         (gst_type_find_element_handle_event):
11194           Don't try to typefind empty streams.
11195
11196 2006-03-14  Wim Taymans  <wim@fluendo.com>
11197
11198         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11199         (gst_base_sink_do_qos):
11200         Separate QoS calculation.
11201         Only drop buffers when lateness is bigger than the 
11202         duration of the buffer.
11203
11204 2006-03-13  Wim Taymans  <wim@fluendo.com>
11205
11206         * gst/gstpipeline.c: (gst_pipeline_set_property),
11207         (gst_pipeline_get_property), (do_pipeline_seek),
11208         (gst_pipeline_change_state), (gst_pipeline_set_delay),
11209         (gst_pipeline_get_delay):
11210         Don't deadlock when reading properties.
11211
11212 2006-03-13  Wim Taymans  <wim@fluendo.com>
11213
11214         * libs/gst/base/gstbasetransform.c:
11215         (gst_base_transform_class_init), (gst_base_transform_init),
11216         (gst_base_transform_sink_event),
11217         (gst_base_transform_sink_eventfunc),
11218         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
11219         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11220         (gst_base_transform_set_property),
11221         (gst_base_transform_get_property),
11222         (gst_base_transform_change_state), (gst_base_transform_update_qos),
11223         (gst_base_transform_set_qos_enabled),
11224         (gst_base_transform_is_qos_enabled):
11225         * libs/gst/base/gstbasetransform.h:
11226         Make basetransform virtual method for src events too.
11227         Handle QOS in basetransform.
11228         API: gst_base_transform_update_qos()
11229         API: gst_base_transform_set_qos_enabled()
11230         API: gst_base_transform_is_qos_enabled()
11231
11232 2006-03-13  Wim Taymans  <wim@fluendo.com>
11233
11234         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11235         (gst_base_sink_do_sync):
11236         Small cleanups.
11237         Use QOS debug category.
11238
11239 2006-03-13  Wim Taymans  <wim@fluendo.com>
11240
11241         * plugins/elements/gstqueue.c:
11242         Very small doc update.
11243
11244 2006-03-13  Wim Taymans  <wim@fluendo.com>
11245
11246         * gst/gst_private.h:
11247         * gst/gstinfo.c: (_gst_debug_init):
11248         Added QOS debug category
11249
11250 2006-03-13  Wim Taymans  <wim@fluendo.com>
11251
11252         * docs/gst/gstreamer-sections.txt:
11253         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11254         * gst/gstbin.h:
11255         * gst/gstbus.c: (gst_bus_class_init):
11256         * gst/gstbus.h:
11257         * gst/gstclock.c:
11258         * gst/gstelement.c: (gst_element_set_locked_state):
11259         * gst/gstsegment.c:
11260         Documentation updates.
11261
11262         * gst/gstpipeline.c: (gst_pipeline_get_type),
11263         (gst_pipeline_class_init), (gst_pipeline_init),
11264         (gst_pipeline_dispose), (gst_pipeline_set_property),
11265         (gst_pipeline_get_property), (do_pipeline_seek),
11266         (gst_pipeline_send_event), (gst_pipeline_change_state),
11267         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11268         (gst_pipeline_get_delay):
11269         * gst/gstpipeline.h:
11270         Added methods for setting the delay.
11271         API: gst_pipeline_set_delay()
11272         API: gst_pipeline_get_delay()
11273         Add pipeline debug category
11274         Various cleanups.
11275         Updated docs.
11276         Don't reset stream time when seek failed.
11277
11278 2006-03-13  Wim Taymans  <wim@fluendo.com>
11279
11280         * docs/design/draft-klass.txt:
11281         * docs/design/part-clocks.txt:
11282         * docs/design/part-events.txt:
11283         * docs/design/part-gstbin.txt:
11284         * docs/design/part-gstpipeline.txt:
11285         * docs/design/part-messages.txt:
11286         * docs/design/part-negotiation.txt:
11287         * docs/design/part-overview.txt:
11288         * docs/design/part-preroll.txt:
11289         * docs/design/part-seeking.txt:
11290         * docs/design/part-states.txt:
11291         * docs/design/part-streams.txt:
11292         Documentation updates.
11293
11294 2006-03-12  Julien MOUTTE  <julien@moutte.net>
11295
11296         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11297         us to leak strings...
11298
11299 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11300
11301         * libs/gst/net/gstnettimeprovider.c:
11302           fix docs
11303         * win32/common/config.h:
11304           update
11305
11306 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
11307
11308         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11309
11310         * configure.ac:
11311           Don't check for libgnomeui (leftover from old examples
11312           that aren't built or disted any longer) (#334303).
11313           
11314 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
11315
11316         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11317         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11318           Emit RESOURCE_NO_SPACE_LEFT error here as well when
11319           there's no space left on the device.
11320
11321 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
11322
11323         * gst/gstclock.h:
11324           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11325           to cast the input to GstClockTime before comparing with
11326           another GstClockTime value.
11327
11328 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11329
11330         * configure.ac:
11331           back to trunk
11332
11333 === release 0.10.4 ===
11334
11335 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
11336
11337         * configure.ac:
11338           releasing 0.10.4, "Light"
11339
11340 2006-03-10  Michael Smith  <msmith@fluendo.com>
11341
11342         * libs/gst/dataprotocol/dataprotocol.c:
11343           Fix docs for dataprocotol to not get the return types completely
11344           wrong for a few functions.
11345
11346 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11347
11348         * docs/gst/gstreamer-sections.txt:
11349         * gst/gstpipeline.c: (gst_pipeline_class_init),
11350         (gst_pipeline_init), (gst_pipeline_set_property),
11351         (gst_pipeline_get_property), (gst_pipeline_change_state),
11352         (gst_pipeline_set_auto_flush_bus),
11353         (gst_pipeline_get_auto_flush_bus):
11354         * gst/gstpipeline.h:
11355           Add new API: gst_pipeline_set_auto_flush_bus() and
11356           gst_pipeline_get_auto_flush_bus() to disable automatic
11357           flushing of the pipeline's GstBus when going from READY
11358           to NULL state (#332045).
11359
11360 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11361
11362         * docs/gst/gstreamer-sections.txt:
11363         * gst/gsturi.c: (gst_uri_has_protocol):
11364         * gst/gsturi.h:
11365            Add new API: gst_uri_has_protocol() (#333779).
11366
11367 2006-03-09  Wim Taymans  <wim@fluendo.com>
11368
11369         * gst/gstclock.c: (gst_clock_entry_new),
11370         (gst_clock_id_compare_func), (gst_clock_id_wait),
11371         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11372         (gst_clock_init), (gst_clock_get_internal_time),
11373         (gst_clock_set_master), (do_linear_regression),
11374         (gst_clock_add_observation), (gst_clock_set_property):
11375         * gst/gstclock.h:
11376         Review docs.
11377         Small cleanups.
11378         Fix a possible segfault when the window-size is made smaller.
11379         Calculate jitter before performing the clock wait. Ideally
11380         the clock implementation should calculate jitter but we need
11381         API breakage for that.
11382
11383         * gst/gstsystemclock.c: (gst_system_clock_init):
11384         Docs review.
11385         
11386         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11387         Remove leftover else
11388
11389         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11390         (gst_systemclock_suite):
11391         Added check to test GST_CLOCK_DIFF.
11392
11393 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11394
11395         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11396         (gst_type_find_helper_get_range):
11397           If we are provided with the size, we should implement
11398           GstTypeFind::get_length, so that typefind functions who
11399           want to can actually peek at the middle of a file.
11400
11401 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
11402
11403         * docs/manual/advanced-dataaccess.xml:
11404           Add some very very basic error checking.
11405
11406         * docs/pwg/appendix-checklist.xml:
11407           Some updates to the list of things to check when writing an element.
11408
11409 2006-03-08  Wim Taymans  <wim@fluendo.com>
11410
11411         * docs/design/part-element-transform.txt:
11412         Added some docs about the design of tranform elements.
11413
11414         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11415         (gst_base_src_loop), (gst_base_src_change_state):
11416         Mark buffers with the DISCONT flag.
11417
11418 2006-03-08  Michael Smith  <msmith@fluendo.com>
11419
11420         * gst/gstregistry.h:
11421         * gst/gstregistryxml.c: (gst_registry_save),
11422         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11423         (gst_registry_xml_save_pad_template),
11424         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11425         (gst_registry_xml_write_cache):
11426           Rewrite registry-saving to avoid race conditions and check for
11427           failed writes.
11428
11429 2006-03-08  Wim Taymans  <wim@fluendo.com>
11430
11431         * libs/gst/base/gstbasetransform.c:
11432         (gst_base_transform_transform_caps),
11433         (gst_base_transform_transform_size),
11434         (gst_base_transform_prepare_output_buffer),
11435         (gst_base_transform_get_unit_size),
11436         (gst_base_transform_buffer_alloc),
11437         (gst_base_transform_handle_buffer),
11438         (gst_base_transform_change_state):
11439         Cleanups, separate normal flow from errors, add sensible
11440         DEBUG lines.
11441         Don't try to renegotiate when allocating an output buffer.
11442         Also copy DISCONT buffer flag when copying a buffer.
11443         Reset the transform after we finish streaming, not during.
11444
11445 2006-03-08  Wim Taymans  <wim@fluendo.com>
11446
11447         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11448         Use last buffer timestamp in qos message.
11449
11450 2006-03-07  Wim Taymans  <wim@fluendo.com>
11451
11452         Patch by: Christophe Fergeau
11453
11454         * docs/pwg/advanced-tagging.xml:
11455         * docs/pwg/building-pads.xml:
11456           fixes #333416
11457
11458 2006-03-07  Wim Taymans  <wim@fluendo.com>
11459
11460         * docs/libs/gstreamer-libs-sections.txt:
11461         Added basesink new methods.
11462
11463         * gst/gstevent.c:
11464         * gst/gstevent.h:
11465         Docs updates. Flesh out the QoS docs.
11466
11467         * libs/gst/base/gstadapter.c:
11468         Small doc clarification about ownership and flushing.
11469
11470         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11471         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11472         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11473         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11474         * libs/gst/base/gstbasesink.h:
11475         API additions: 
11476         Added new methods to allow subclass to control max-lateness 
11477         and sync.
11478         Generate very basic QoS events based on last sync observation.
11479         Updated docs, fix typo, added some QoS blurb.
11480
11481         * libs/gst/base/gstbasesrc.c:
11482         Remove obsolete _get_state() calls from docs.
11483
11484 2006-03-07  Wim Taymans  <wim@fluendo.com>
11485
11486         * docs/libs/gstreamer-libs-sections.txt:
11487         * libs/gst/base/gstbasetransform.h:
11488         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11489         Fix docs for GstBaseSrc.
11490
11491 2006-03-07  Wim Taymans  <wim@fluendo.com>
11492
11493         * docs/gst/gstreamer-sections.txt:
11494         * gst/gstbuffer.h:
11495         * gst/gstvalue.c:
11496         * libs/gst/base/gstbasetransform.h:
11497         Small documentation fixes.
11498
11499 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11500
11501         * gst/gstvalue.c:
11502           Document thread-unsafety of gst_value_register_foo_func()
11503           when used at the same time as gst_value_foo() (#322628).
11504
11505 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11506
11507         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11508         (gst_push_src_check_get_range):
11509           Push sources don't support pull mode by default.
11510
11511 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11512
11513         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11514         (gst_base_src_init), (gst_base_src_pad_check_get_range),
11515         (gst_base_src_default_check_get_range):
11516         * libs/gst/base/gstbasesrc.h:
11517           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11518           provide default implementation, and rename
11519           gst_base_src_check_get_range() to
11520           gst_base_src_pad_check_get_range() for clarity.
11521
11522 2006-03-06  Wim Taymans  <wim@fluendo.com>
11523
11524         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11525         Make property overridable.
11526
11527 2006-03-06  Wim Taymans  <wim@fluendo.com>
11528
11529         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11530         (gst_base_sink_init), (gst_base_sink_set_property),
11531         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11532         * libs/gst/base/gstbasesink.h:
11533         API addition: Make max-lateness a property.
11534
11535 2006-03-06  Wim Taymans  <wim@fluendo.com>
11536
11537         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11538         (gst_base_sink_do_sync), (gst_base_sink_render_object):
11539         Don't ever draw a frame that is >10ms late.
11540
11541 2006-03-06  Michael Smith  <msmith@fluendo.com>
11542
11543         * gst/gstmessage.c: (_gst_message_copy):
11544           When copying a message, set the parent_refcount of the enclosed
11545           structure to point at the copy, not the original message.
11546
11547 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11548
11549         Patch by: Christophe Fergeau
11550
11551         * gst/gstutils.h:
11552           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11553           usable in c++ code (#333417)
11554
11555 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11556
11557         * gst/gstclock.h:
11558           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11559
11560 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
11561
11562         * libs/gst/base/gstbasetransform.c:
11563         (gst_base_transform_transform_caps):
11564           Make sure caps are writable before passing them to
11565           gst_caps_append().
11566
11567 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11568
11569         * gst/gsterror.h:
11570           Fix some minor docs errors.
11571
11572 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11573
11574           Patch by: Ross Burton <ross at burtonini dot com>
11575
11576         * gst/gsterror.c: (_gst_resource_errors_init):
11577         * gst/gsterror.h:
11578           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11579
11580 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11581
11582         * gst/gst.c:
11583         Add a check and output a g_warning when GStreamer is built
11584         against GLib 2.6 but running against 2.8 or higher, and vice 
11585         versa. (Closes: #323542)
11586
11587 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11588
11589         * gst/parse/parse.l:
11590           Commit patch for parse_launch syntax from #331255. Removes 
11591           support for quoted strings and mimetypes when writing filtered 
11592           caps. See the bug report for more details - I'm pretty sure this
11593           obscure feature is not in use by _anyone_ anywhere.
11594
11595           With this simple change, the size of the gstreamer.so here 
11596           drops from 2193KB to 1565KB.
11597
11598 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11599
11600         * plugins/elements/gsttypefindelement.h:
11601         * plugins/elements/gsttypefindelement.c:
11602         (gst_type_find_element_src_event), (start_typefinding),
11603         (stop_typefinding), (gst_type_find_element_handle_event),
11604         (gst_type_find_element_chain),
11605         (gst_type_find_element_chain_do_typefinding):
11606           Use gst_type_find_helper_for_buffer() for chain-based
11607           typefinding.
11608
11609 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11610
11611         * plugins/elements/gsttypefindelement.c:
11612         (gst_type_find_element_class_init),
11613         (gst_type_find_element_set_property),
11614         (gst_type_find_element_get_property):
11615           Deprecate "maximum" property (not only was it only taken into
11616           account for typefinding in push-mode anyway, it also was never
11617           actually possible to set it in the first place because the
11618           property was registered with the numeric property ID for the
11619           "minimum" property). Register "maximum" property correctly,
11620           for the sake of future copy'n'pasters. Remove some cruft
11621           from property get/set functions.
11622
11623 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11624
11625         * plugins/elements/gsttypefindelement.c:
11626         (gst_type_find_element_activate):
11627           Use gst_type_find_helper_get_range() here, so we
11628           can honour the "minimum" property and also emit
11629           the signal with the correct probability of the found caps.
11630
11631 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
11632
11633         * docs/libs/gstreamer-libs-sections.txt:
11634         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11635         (helper_find_suggest), (gst_type_find_helper_get_range),
11636         (gst_type_find_helper):
11637         * libs/gst/base/gsttypefindhelper.h:
11638           New API: gst_type_find_helper_get_range() (#333042).
11639
11640 2006-03-02  Michael Smith  <msmith@fluendo.com>
11641
11642         * gst/gstregistryxml.c: (load_feature):
11643           Asserting on a failure to read part of the registry is Not Cool.
11644           Just log a warning and return NULL (which is already handled)
11645
11646 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
11647
11648         * win32/common/libgstbase.def:
11649           added export of gst_type_find_helper_for_buffer
11650         * win32/common/libgstbase.def:
11651           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11652           gst_ghost_pad_get_target
11653
11654 2006-02-28  Wim Taymans  <wim@fluendo.com>
11655
11656         * docs/design/draft-klass.txt:
11657         We use Filter now.
11658         Added Connector to mark elements that are only used to
11659         allow pipeline connections.
11660         Moved Debug to extra feature since most of them are 
11661         functionally something else.
11662
11663 2006-02-28  Wim Taymans  <wim@fluendo.com>
11664
11665         * docs/design/draft-klass.txt:
11666         Some updates and clarifications.
11667
11668 2006-02-28  Wim Taymans  <wim@fluendo.com>
11669
11670         * docs/design/draft-klass.txt:
11671         Proposal for klass field values.
11672
11673         * docs/design/part-streams.txt:
11674         Start of a doc describing stream anatomy.
11675
11676 2006-02-28  Wim Taymans  <wim@fluendo.com>
11677
11678         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11679         Help the compiler a bit with type registration.
11680         Use existing forward cod path instead of duplicating it when 
11681         handling a message.
11682         
11683         * gst/gstbus.c: (gst_bus_get_type):
11684         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11685         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11686         * gst/gstclock.c: (gst_clock_get_type):
11687         * gst/gstelement.c: (gst_element_get_type),
11688         * gst/gstelementfactory.c: (gst_element_factory_get_type):
11689         * gst/gstindexfactory.c: (gst_index_factory_get_type):
11690         * gst/gstminiobject.c: (gst_mini_object_get_type):
11691         * gst/gstpad.c: (gst_pad_get_type):
11692         * gst/gstsegment.c: (gst_segment_get_type):
11693         * gst/gststructure.c: (gst_structure_get_type):
11694         * gst/gstsystemclock.c: (gst_system_clock_get_type):
11695         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11696         * gst/gstvalue.c:
11697         Help compiler with type registration.
11698
11699         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11700         Small doc update.
11701
11702 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11703
11704         * plugins/elements/gsttypefindelement.c:
11705         (gst_type_find_element_handle_event):
11706           When we get an EOS event and have not found a type yet
11707           (most likely because we had not yet accumulated
11708           TYPE_FIND_MIN_SIZE of data yet), try to determine the
11709           type given the data we have so far. Fixes typefinding
11710           for very short streams again, most notably quicktime
11711           redirections as used on Apple's trailer site (#331701).
11712
11713 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11714
11715         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11716         (gst_type_find_helper):
11717           Try typefinding factories with the highest rank first.
11718
11719 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11720
11721         * docs/libs/gstreamer-libs-docs.sgml:
11722         * docs/libs/gstreamer-libs-sections.txt:
11723         * libs/gst/base/gsttypefindhelper.c:
11724           Add section for typefind helper and add documentation
11725           for the old and the new function.
11726
11727 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11728
11729         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11730         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11731         (gst_type_find_helper_for_buffer):
11732         * libs/gst/base/gsttypefindhelper.h:
11733           New API: gst_type_find_helper_for_buffer() (#332723).
11734           
11735 2006-02-27  Michael Smith  <msmith@fluendo.com>
11736
11737         Patch by: Loïc Minier
11738
11739         * configure.ac:
11740         * docs/Makefile.am:
11741         * docs/slides/Makefile.am:
11742           prevent CVS directories getting disted.
11743
11744 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11745
11746         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11747           Use the REFCOUNTING category for caps refcounting.
11748           
11749 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11750
11751         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11752           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11753
11754 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11755
11756         * plugins/elements/gsttypefindelement.c:
11757         (gst_type_find_element_activate):
11758           Use gst_pad_check_pull_range() before _activate_pull()
11759           to avoid unnecessary open/close (see #331690).
11760
11761 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11762
11763         * gst/gstutils.c:
11764           Docs enhancement: make it crystal clear what the
11765           gst_pad_add_*_probe() callbacks should look like.
11766
11767 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11768
11769         * libs/gst/base/gstbasesrc.c:
11770           Document how applications can stop recording from
11771           live sources (see #330996).
11772
11773 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11774
11775         * tests/check/Makefile.am:
11776         * tests/check/libs/basesrc.c: (eos_event_counter),
11777         (basesrc_eos_events_pull), (basesrc_eos_events_push),
11778         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11779         (gst_basesrc_suite), (main):
11780           ... and add some tests for the base source EOS stuff.
11781
11782 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11783
11784         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11785           Test case originally showed the problem fixed below,
11786           but was then amended. Add checks back at the place
11787           where they used to be.
11788
11789 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11790
11791         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11792         (gst_base_src_init), (gst_base_src_loop),
11793         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11794         (gst_base_src_change_state):
11795         * libs/gst/base/gstbasesrc.h:
11796           Don't unconditionally send EOS when going from PAUSED to
11797           READY state, esp. make sure we don't send two EOS events
11798           in some cases (e.g. one when reaching EOS and one when
11799           going from PAUSED to READY). Also, we don't want to send
11800           EOS events when operating in pull mode. However, we do
11801           want to send an EOS event when shutting down a live
11802           source explicitly, for example (fixes #330996).
11803           
11804 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11805
11806         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11807           Update src->read_position after a seek when not using mmap.
11808           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11809
11810 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
11811
11812         * gst/Makefile.am:
11813         * gst/gstparse.h:
11814         * gst/gstutils.c:
11815         * gst/gstutils.h:
11816         Make things work with --disable-parse as they do with 
11817         --disable-load-save - the symbols involved disappear, but the
11818         header is still installed and GST_DISABLE_PARSE is included via
11819         gstconfig.h
11820
11821 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11822
11823         * libs/gst/base/gstbasetransform.c:
11824         (gst_base_transform_change_state): Fix a stupid bug. I was 
11825         sure I compiled that.
11826
11827 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11828
11829         * gst/gstpad.c: (gst_pad_set_blocked_async):
11830         * gst/gstutils.c: (gst_pad_add_data_probe),
11831         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11832         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11833         (gst_pad_remove_buffer_probe): Make those function act on the
11834         ghostpad target when it's a ghostpad. (Closes #331727)
11835
11836 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11837
11838         * libs/gst/base/gstbasetransform.c:
11839         (gst_base_transform_change_state): Make basetransform reusable.
11840         (Closes #331898)
11841
11842 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
11843
11844         * docs/random/release:
11845         Move the current documentation of how to do a release to the top
11846         of the file.
11847
11848         * gst/gstbin.c: (gst_bin_class_init),
11849         (gst_bin_handle_message_func):
11850         Allow multiple state-recalculation threads. (Closes #328873)
11851
11852 2006-02-19  Julien MOUTTE  <julien@moutte.net>
11853
11854         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11855         * gst/gstpad.c: (gst_pad_set_event_function),
11856         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11857         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11858         2 strings. You can't use the STR_NULL macro on that.
11859
11860 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
11861
11862         * gst/gstpad.c: (gst_pad_set_event_function),
11863         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11864         (gst_pad_set_getcaps_function)
11865         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11866           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11867           So now, we can use --gst-debug-level=5 on Windows
11868         * win32/common/libgstcontroller.def:
11869           Added export of gst_controller_init
11870         * win32/vs6/libgstcontroller.dsp:
11871           Fixed Release post build configuration
11872
11873 2006-02-17  Wim Taymans  <wim@fluendo.com>
11874
11875         * tests/check/gst/gstquery.c: (GST_START_TEST):
11876         Added another check.
11877
11878 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
11879
11880         * plugins/elements/gsttypefindelement.c: (find_peek):
11881           We can do peeks at non-zero offsets, as long as they
11882           fall within the buffer we have.
11883
11884 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
11885
11886         * tests/check/Makefile.am:
11887         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11888         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11889         (parse_suite), (main):
11890           Add testsuite for parse launch syntax
11891
11892 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
11893
11894         * plugins/elements/gsttypefindelement.c:
11895         (gst_type_find_element_chain):
11896           When typefinding is unsuccessful in the chain function, don't
11897           error out immediately. Only error out with NO_CAPS_FOUND if
11898           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11899           otherwise simply wait for more data so we can try typefinding
11900           again with more data later. Also, don't attempt to typefind
11901           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11902           this should improve typefinding from network sources where the
11903           size of the first buffer can be somewhat random.
11904
11905 2006-02-14  Wim Taymans  <wim@fluendo.com>
11906
11907         * docs/gst/gstreamer-sections.txt:
11908         * gst/gstpadtemplate.c:
11909         * gst/gstpadtemplate.h:
11910         Fix padtemplate docs, fixes #328805.
11911
11912 2006-02-14  Wim Taymans  <wim@fluendo.com>
11913
11914         * tools/gst-launch.c: (main):
11915         NO_PREROLL is not an ERROR so don't send confusing messages
11916         to the user.
11917
11918 2006-02-14  Wim Taymans  <wim@fluendo.com>
11919
11920         Patch by: Torsten Schoenfeld
11921
11922         * gst/gstregistry.c: (gst_registry_get_default),
11923         (_gst_registry_cleanup):
11924         Protect default registry with lock and ref/sink it.
11925         Fixes #324818
11926
11927 2006-02-14  Wim Taymans  <wim@fluendo.com>
11928
11929         * gst/gstbuffer.c:
11930         * gst/gstquery.c: (gst_query_list_add_format),
11931         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11932         (gst_query_parse_formats_nth):
11933         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11934         Docs fixes.
11935
11936 2006-02-14  Wim Taymans  <wim@fluendo.com>
11937
11938         * docs/gst/gstreamer-sections.txt:
11939         Reworked query docs.
11940
11941         * gst/gstquery.c: (gst_query_new_formats),
11942         (gst_query_list_add_format), (gst_query_set_formats),
11943         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11944         (gst_query_parse_formats_nth):
11945         * gst/gstquery.h:
11946         Flesh out formats query, added some new methods.
11947         Fix part of #324398.
11948
11949         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11950         Added query creation tests.
11951
11952 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
11953
11954         * gst/gstpad.c: (fixate_value):
11955         Add a default fixation for fraction lists.
11956
11957 2006-02-13  Wim Taymans  <wim@fluendo.com>
11958
11959         * gst/gsttask.c: (gst_task_init), (gst_task_func),
11960         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11961         (gst_task_join):
11962         * gst/gsttask.h:
11963         Detect and warn for obvious deadlocks. fixes #320340
11964         Fix error case where lock was not released.
11965
11966         * tests/check/Makefile.am:
11967         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11968         (task_func), (gst_element_suite), (main):
11969         Add task check.
11970
11971 2006-02-13  Wim Taymans  <wim@fluendo.com>
11972
11973         * docs/gst/gstreamer-sections.txt:
11974         * gst/gstbus.c:
11975         Add new functions to docs.
11976
11977 2006-02-13  Wim Taymans  <wim@fluendo.com>
11978
11979         * docs/design/part-TODO.txt:
11980         Updated TODO list, basesrc supports seeking to non-bytes
11981         formats.
11982
11983         * docs/design/part-element-sink.txt:
11984         Update docs.
11985
11986         * gst/gstbin.c: (bin_replace_message),
11987         (gst_bin_handle_message_func):
11988         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11989         * gst/gstevent.c: (gst_event_finalize):
11990         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11991         (gst_pad_send_event):
11992         Use shiny new _TYPE_NAME macros.
11993
11994         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11995         Move debug statement up.
11996
11997         * gst/gstelement.c: (gst_element_set_locked_state):
11998         Add some debugging.
11999
12000 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
12001
12002         * docs/gst/gstreamer-sections.txt:
12003         * gst/gstmessage.h:
12004         * gst/gstquery.h:
12005           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
12006           macros (#330906). Also, document the already existing
12007           GST_QUERY_TYPE macro.
12008
12009 2006-02-13  Wim Taymans  <wim@fluendo.com>
12010
12011         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
12012         (event_probe), (GST_START_TEST):
12013         Only events up to the pipeline EOS are counted, there are
12014         some more when going to NULL currently which we don't care
12015         about for now.
12016
12017 2006-02-13  Wim Taymans  <wim@fluendo.com>
12018
12019         * gst/gstpad.c: (gst_pad_send_event):
12020         Correctly check flushing and emit probes. fixes #330125
12021
12022 2006-02-10  Andy Wingo  <wingo@pobox.com>
12023
12024         * gst/gstbus.c (gst_bus_class_init): Declare our private data
12025         structure.
12026         (gst_bus_init): Cache the location of the private data in the
12027         instance structure.
12028         (gst_bus_enable_sync_message_emission) 
12029         (gst_bus_disable_sync_message_emission): Implement new public
12030         functions.
12031         (gst_bus_post): Emit the sync-message signal if the user asked for
12032         it. Fixes #330684.
12033
12034         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
12035         location of the bus-private structure.
12036         (gst_bus_enable_sync_message_emission)
12037         (gst_bus_disable_sync_message_emission): API addition
12038
12039 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
12040
12041         Patch by: Vincent Torri
12042
12043         * docs/pwg/building-boiler.xml:
12044         PWG patch from #326800
12045
12046 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
12047
12048         * configure.ac:
12049         * docs/Makefile.am:
12050         * docs/design/Makefile.am:
12051           Dist design docs.
12052
12053 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
12054
12055         * configure.ac:
12056           back to CVS
12057
12058 === release 0.10.3 ===
12059
12060 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
12061
12062         * configure.ac:
12063           releasing 0.10.3, "Like a virgin"
12064
12065 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
12066
12067         * configure.ac:
12068           2nd prerelease of 0.10.3
12069           Bump libtool versioning.
12070
12071 2006-02-07  Andy Wingo  <wingo@pobox.com>
12072
12073         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
12074         update last_stop if we're in TIME format and the timestamp is
12075         valid.
12076
12077         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
12078         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
12079         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
12080         If we get a new newsegment with a different format, adapt
12081         accordingly.
12082
12083         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
12084         of 0. Not a problem, really.
12085
12086         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
12087         warn if sync=true.
12088
12089 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
12090
12091         * configure.ac:
12092           Prelease of 0.10.3
12093
12094 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
12095
12096         * win32/vs7:
12097           project files updated to the default vs7 configuration
12098         * win32/common/libgstbase.def:
12099         * win32/common/libgstreamer.def:
12100           added new symbols,
12101           removed empty lines,
12102           sorted all exported symbols alphabetically
12103         * win32/common/dirent.c:
12104         * win32/common/dirent.h:
12105         * win32/common/gchar.h:
12106           use windows line end.
12107           
12108 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
12109
12110         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12111           Send EOS event when stopping.
12112
12113 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
12114
12115         * docs/README:
12116           Tell folks what to do if the plugin-foobar.xml file
12117           hasn't been generated for a newly-added plugin.
12118
12119 2006-02-05  Julien MOUTTE  <julien@moutte.net>
12120
12121         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12122         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12123         (gst_collect_pads_start), (gst_collect_pads_stop),
12124         (gst_collect_pads_event): Collectpads now holds a reference
12125         to the GstPad that was added. Indeed we don't want to look
12126         at pads that might just go away with no warning...
12127
12128 2006-02-05  Julien MOUTTE  <julien@moutte.net>
12129
12130         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
12131         (gst_collect_pads_start), (gst_collect_pads_stop),
12132         (gst_collect_pads_event), (gst_collect_pads_chain):
12133         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
12134         Mark Nauwelaerts's patch on bug #328491.
12135
12136 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
12137
12138         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
12139         (gst_utils_suite):
12140           Add some simple tests for gst_parse_bin_from_description() and
12141           gst_bin_find_unconnected_pad() (#329069).
12142
12143 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
12144
12145         * tools/gst-launch.c: (event_loop), (main):
12146           Catch errors during preroll (#320084).
12147
12148 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
12149
12150         * plugins/elements/gsttypefindelement.c:
12151         (gst_type_find_element_activate):
12152           Post TYPE_NOT_FOUND error message when typefinding
12153           is unsuccessful in the activate function as well.
12154
12155 2006-02-02  Wim Taymans  <wim@fluendo.com>
12156
12157         * docs/design/part-element-sink.txt:
12158         Updated doc.
12159
12160 2006-02-02  Wim Taymans  <wim@fluendo.com>
12161
12162         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12163         (gst_base_sink_render_object),
12164         (gst_base_sink_queue_object_unlocked):
12165         Only keep track of prerollable items when we are 
12166         prerolling.
12167         Before rendering after preroll, always check if we
12168         have queued items.
12169         Added some more debugging.
12170
12171 2006-02-02  Wim Taymans  <wim@fluendo.com>
12172
12173         * gst/gstelement.c: (gst_element_continue_state),
12174         (gst_element_set_state_func), (gst_element_change_state):
12175         Fixed #326576, been running this for quite some time with
12176         no regressions at all.
12177
12178 2006-02-02  Wim Taymans  <wim@fluendo.com>
12179
12180         * common/gst.supp:
12181         Added more suppressions
12182
12183 2006-02-02  Wim Taymans  <wim@fluendo.com>
12184
12185         * docs/design/part-element-sink.txt:
12186         Updated document.
12187
12188         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12189         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
12190         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
12191         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12192         (gst_base_sink_do_sync), (gst_base_sink_render_object),
12193         (gst_base_sink_preroll_object),
12194         (gst_base_sink_queue_object_unlocked),
12195         (gst_base_sink_queue_object), (gst_base_sink_event),
12196         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
12197         (gst_base_sink_loop), (gst_base_sink_activate_pull),
12198         (gst_base_sink_get_position), (gst_base_sink_change_state):
12199         * libs/gst/base/gstbasesink.h:
12200         Totally refactored matching the design doc.
12201         Use two segments, one to clip incomming buffers and another to
12202         perform sync.
12203         Handle queueing correctly, bypass the queue when playing.
12204         Make EOS cancelable.
12205         Handle errors correctly when operating in pull based mode.
12206
12207         * tests/check/elements/fakesink.c: (GST_START_TEST),
12208         (fakesink_suite):
12209         Added new check for sinks.
12210
12211 2006-02-02  Wim Taymans  <wim@fluendo.com>
12212
12213         * gst/gstsegment.c: (gst_segment_clip):
12214         No reason to refuse to clip when start == -1
12215
12216 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
12217
12218         * docs/README:
12219         * docs/manual/intro-basics.xml:
12220         * docs/manual/intro-preface.xml:
12221         * docs/manual/manual.xml:
12222         * docs/pwg/advanced-dparams.xml:
12223         * docs/pwg/intro-basics.xml:
12224         * docs/pwg/intro-preface.xml:
12225         * docs/pwg/pwg.xml:
12226           describe dparams (controller) for plugins
12227           unify docs a little more
12228
12229 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
12230
12231         * docs/gst/gstreamer-sections.txt:
12232         * gst/gstutils.c: (element_find_unconnected_pad),
12233         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12234         * gst/gstutils.h:
12235           Add new API: gst_parse_bin_from_description() and
12236           gst_bin_find_unconnected_pad() (#329069).
12237
12238 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
12239
12240         * docs/manual/README:
12241           uncover a nasty detail of the docs build
12242
12243 2006-01-31  Wim Taymans  <wim@fluendo.com>
12244
12245         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12246         Don't cache duration messages if we're not going to use or
12247         free them.
12248
12249 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
12250
12251         * docs/manual/advanced-dparams.xml:
12252         * docs/pwg/advanced-dparams.xml:
12253           more dparam docs
12254         * gst/gstindex.c:
12255           fix docs
12256         * libs/gst/controller/lib.c: (gst_controller_init):
12257           init just once
12258
12259 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
12260
12261         * gst/gstelement.c: (gst_element_message_full):
12262           also show file/line/func if no additional debug was given
12263
12264 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
12265         
12266         * win32/vs7/grammar.vcproj:
12267           activate copy of autogenerated files for Release mode
12268
12269 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12270         
12271         * win32/common/libgstreamer.def:
12272           export gst_value_compare
12273
12274 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
12275
12276         * plugins/elements/Makefile.am:
12277         * plugins/elements/gstelements.c:
12278         * plugins/elements/gstfdsink.c: (_do_init),
12279         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12280         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12281         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12282         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12283         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12284         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12285         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12286         * plugins/elements/gstfdsink.h:
12287         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12288
12289 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
12290
12291         * docs/manual/advanced-dparams.xml:
12292           describe controller
12293         * docs/manual/advanced-position.xml:
12294         * docs/manual/basics-init.xml:
12295         * docs/manual/manual.xml:
12296         * docs/manual/titlepage.xml:
12297         * docs/pwg/pwg.xml:
12298         * docs/pwg/titlepage.xml:
12299           cleanup xml (more to come)
12300         * libs/gst/controller/gstcontroller.c:
12301           fix typo
12302
12303 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12304         
12305         * win32/vs6/grammar.dsp:
12306           add autogen of gstmarshal.c,h for Release mode
12307                 
12308 2006-01-30  Wim Taymans  <wim@fluendo.com>
12309
12310         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12311         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12312         (gst_base_sink_handle_object), (gst_base_sink_event),
12313         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12314         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12315         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12316         (gst_base_sink_deactivate), (gst_base_sink_activate),
12317         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12318         (gst_base_sink_query), (gst_base_sink_change_state):
12319         Basesink cleanups, remove some old code.
12320         Handle the case where a subclass can preroll in the render
12321         method (mostly audiosinks).
12322         Handle more events.
12323         Remove some locks around variables that are now protected
12324         with the PREROLL_LOCK (clock_id, flushing, ..).
12325         Optimize position query some more, do correct locking.
12326         Remove old code to push queue in state change, this is not
12327         needed anymore since preroll blocks on all prerollable items 
12328         now.
12329         Almost implemented as described in design doc.
12330
12331 2006-01-30  Wim Taymans  <wim@fluendo.com>
12332
12333         * tests/check/gst/gstbin.c: (GST_START_TEST):
12334         Wait for refcount to settle down before checking.
12335
12336 2006-01-30  Wim Taymans  <wim@fluendo.com>
12337
12338         * docs/design/part-element-sink.txt:
12339         Pseudo code overview of desired sink behaviour regarding
12340         preroll.
12341
12342 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12343         * win32/vs6/grammar.dsp:
12344           fix some bugs in Release mode for autogenerated files
12345                 
12346 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12347         * win32/common/libgstbase.def:
12348         * win32/common/libgstreamer.def:
12349           export some new symbols: gst_base_src_set_format,
12350           gst_iterator_next, gst_structure_set_valist
12351
12352 2006-01-29  Julien MOUTTE  <julien@moutte.net>
12353
12354         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12355         Set pad functions unconditionally. Fixes #329105.
12356
12357 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12358         * win32/vs8:
12359           add vs8 project files created by Sergey Scobich
12360
12361 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
12362
12363         * gst/gstutils.c: (gst_element_unlink_pads):
12364         Don't leak pad references.
12365
12366         * tests/check/elements/fakesink.c: (GST_START_TEST):
12367         * tests/check/generic/sinks.c: (GST_START_TEST):
12368         * tests/check/generic/states.c: (GST_START_TEST):
12369         * tests/check/gst/gstbin.c: (GST_START_TEST):
12370         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12371         * tests/check/gst/gstelement.c: (GST_START_TEST):
12372         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12373         * tests/check/gst/gstiterator.c: (GST_START_TEST):
12374         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12375         Fix a bunch of leaks. Make generic/sinks.c
12376         use a bit less cpu by slowing the buffer rate
12377         between fakesrc and fakesink.
12378         
12379 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
12380         * gst/gstcaps.c:
12381         * gst/gstelement.c: (gst_element_send_event):
12382         * gst/gstevent.c:
12383         * gst/gstinfo.c:
12384         * gst/gstiterator.c:
12385         * gst/gstiterator.h:
12386         * gst/gstpad.c: (gst_pad_send_event):
12387         * gst/gststructure.c:
12388         * gst/gsturi.c:
12389         * gst/gstutils.c:
12390         * gst/gstvalue.c:
12391         * libs/gst/base/gstadapter.c:
12392           doc fixes, to link to function, just write gst_cool_function(), don't
12393           prefix with '#'
12394
12395 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12396
12397         * plugins/elements/gsttee.c: (gst_tee_do_push),
12398         (gst_tee_handle_buffer):
12399         Always prefer an actual return value from a src
12400         pad in place of NOT_LINKED. This means we return
12401         WRONG_STATE when all src pads are WRONG_STATE
12402         instead of NOT_LINKED.
12403
12404         Lock when replacing the last message to prevent
12405         racing with the get_property method.
12406
12407         Add debug output
12408
12409 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12410
12411         * tests/check/Makefile.am:
12412         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12413         (main):
12414         Add a very simple check that should have caught the memleak I fixed
12415         last night (if not for the slice allocator hiding it)
12416
12417 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12418
12419         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12420         (gst_bin_remove_func), (gst_bin_handle_message_func),
12421         (bin_query_duration_fold), (bin_query_generic_fold):
12422         Clean up references to the clock provider when disposed or when
12423         handling a clock-lost message from it.
12424
12425         Unref sinks when performing a query via gst_iterator_fold, as the
12426         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12427
12428         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12429         (gst_clock_set_master):
12430         Drop our reference to the master clock, if any, when we are disposed.
12431
12432         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12433         Chain up in dispose. 
12434
12435 2006-01-26  Wim Taymans  <wim@fluendo.com>
12436
12437         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12438         Add some debugging.
12439
12440 2006-01-26  Julien MOUTTE  <julien@moutte.net>
12441
12442         * plugins/elements/gsttee.c: (gst_tee_do_push),
12443         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12444         handles pad being NOT_LINKED or in WRONG_STATE.
12445
12446 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12447
12448         * win32/MANIFEST:
12449           more updating
12450
12451 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12452
12453         * win32/MANIFEST:
12454           remove obsolete entry
12455
12456 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12457
12458         * docs/gst/gstreamer-sections.txt:
12459         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12460         (gst_bin_iterate_sources), (gst_bin_send_event):
12461         * gst/gstbin.h:
12462         * gst/gstelement.c: (gst_element_send_event):
12463         * gst/gstevent.c:
12464         * gst/gstpad.c: (gst_pad_send_event):
12465           added code for downstream events, reviewed docs in gstevent.c
12466
12467 2006-01-25  Julien MOUTTE  <julien@moutte.net>
12468
12469         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12470         We only query position using the clock in the playing state.
12471         Query peer in the other cases.
12472         * win32/common/config.h: Updates.
12473
12474 2006-01-24  Wim Taymans  <wim@fluendo.com>
12475
12476         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12477         A clock entry that is scheduled for the exact time of the
12478         clock is still in time.
12479
12480         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12481         (gst_base_sink_do_sync):
12482         Add some more debug info.
12483
12484 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12485
12486         * win32/vs7:
12487           Add new vs7 project files and solution.
12488
12489 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12490
12491         * win32/vs7:
12492           all files removed as they were out-dated.
12493
12494 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12495
12496         * docs/random/release:
12497           update notes
12498         * gst/gstbin.c: (gst_bin_init):
12499         * gst/gstbus.c: (gst_bus_new):
12500         * gst/gstbus.h:
12501         * gst/gstpipeline.c: (gst_pipeline_init):
12502           use gst_bus_new(), improve logging, fix docs
12503         * win32/common/config.h:
12504           update for cvs build
12505
12506 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12507
12508         * autogen.sh:
12509           up required version of automake to 1.7
12510
12511 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
12512
12513         * win32/common/libgstreamer.def:
12514           export gst_buffer_is_metadata_writable
12515
12516 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
12517
12518         * docs/gst/gstreamer-sections.txt:
12519         * gst/gstevent.h:
12520           Add gst_event_replace() (#327001)
12521
12522 2006-01-20  Wim Taymans  <wim@fluendo.com>
12523
12524         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12525         Make it actually compile too..
12526
12527 2006-01-20  Wim Taymans  <wim@fluendo.com>
12528
12529         * gst/gstcaps.c:
12530         Clarify behaviour of _is_equal() when passing NULL parameters.
12531
12532         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12533         (gst_pad_set_caps):
12534         Cleanups. Don't unref NULL caps.
12535         When setting the same caps, protect caps of the pad with
12536         proper lock.
12537         Use full functionality of _is_equal() when comparing caps.
12538
12539 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12540
12541         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12542         Don't loop infinitely if there are no buffers to present. Partially
12543         fixes #327197, but collectpads is just broken for reusing elements
12544         to do multiple encodes atm.
12545
12546 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12547
12548         * tools/gst-inspect.c: (print_element_features):
12549         * tools/gst-xmlinspect.c: (main):
12550         URL_HANDLER is not a plugin feature we can search for in
12551         the registry.
12552
12553 2006-01-19  Edward Hervey  <edward@fluendo.com>
12554
12555         * gst/gstelement.c: (gst_element_pads_activate): 
12556         When activating, do src pads first, then sink pads.
12557         When de-activating, do sink pads first, then src pads.
12558
12559 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12560
12561         * docs/gst/gstreamer-sections.txt:
12562         Add gst_index_add_associationv to the docs
12563
12564 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12565
12566         * gst/gstevent.c:
12567           Fix docs typo
12568
12569         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12570         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12571           Do some refactoring. Doesn't actually change functionality,
12572           but makes landing the DRAIN event easier later.
12573
12574 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
12575
12576         * docs/pwg/advanced-scheduling.xml:
12577           Update from 0.9.x to 0.10 API and make example a bit
12578           clearer.
12579
12580 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12581
12582         * docs/gst/gstreamer-sections.txt:
12583         Add gst_buffer_(is|make)_metadata_writable methods.
12584
12585 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12586
12587         * docs/design/part-sparsestreams.txt:
12588         Update sparse streams doc, hopefully for greater clarity
12589
12590 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
12591
12592         * docs/design/part-events.txt:
12593         Remove mention of FILLER events.
12594         Add DRAIN event.
12595
12596         * docs/design/part-sparsestreams.txt:
12597         Write some things about using NEWSEGMENT to keep sparse streams
12598         flowing.
12599
12600 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12601
12602         * gst/gstbin.c: (gst_bin_dispose):
12603           Guard gst_object_unref call against a NULL object (dispose
12604           can theoretically be called multiple times).
12605           
12606 2006-01-18  Wim Taymans  <wim@fluendo.com>
12607
12608         * gst/gstbin.c: (gst_bin_element_set_state):
12609         * gst/gstclock.c: (gst_clock_id_wait):
12610         Added some more debug info.
12611
12612         * libs/gst/base/gstadapter.c:
12613         Added more docs.
12614
12615         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12616         (gst_base_sink_do_sync), (gst_base_sink_chain):
12617         Added some comments.
12618
12619 2006-01-18  Wim Taymans  <wim@fluendo.com>
12620
12621         * tests/check/Makefile.am:
12622         * tests/check/elements/fakesink.c: (chain_async_buffer),
12623         (chain_async), (chain_async_return), (GST_START_TEST),
12624         (fakesink_suite), (main):
12625         Added fakesink test that checks prerolling and clipping
12626         behaviour.
12627
12628         * tests/check/gst/gstutils.c: (GST_START_TEST):
12629         Make check run faster so that buildbots don't timeout.
12630
12631 2006-01-18  Wim Taymans  <wim@fluendo.com>
12632
12633         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12634         (gst_base_sink_do_sync):
12635         Some cleanups.
12636         When the sink finishes blocking on the preroll buffer, it can
12637         immediatly render it instead of rendering when the next buffer
12638         arrives.
12639
12640 2006-01-18  Wim Taymans  <wim@fluendo.com>
12641
12642         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12643         (gst_base_sink_get_property), (gst_base_sink_do_sync),
12644         (gst_base_sink_chain):
12645         Small cleanups.
12646         GST_ELEMENT_CLOCK and sync are protected with LOCK.
12647         Don't store _last_stop if the buffer is dropped.
12648
12649 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12650
12651         * plugins/elements/gsttypefindelement.c:
12652         (gst_type_find_element_class_init):
12653           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12654           object method handler that sets the caps on the pad and we want
12655           that to happen before we emit the signal (fixes e.g. feeding a
12656           plain text file to decodebin).
12657
12658 2006-01-18  Christian Schaller  <Christian@fluendo.com>
12659
12660         * gst/gstplugin.c: Add MPL and Proprietary as license options
12661
12662 2006-01-18  Andy Wingo  <wingo@pobox.com>
12663
12664         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12665         symbol was exported before, it appears this was just an oversight.
12666         Fixes #168703.
12667         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12668
12669         * gst/gstindex.c (gst_index_add_associationv): Changed int in
12670         prototype to gint. OK since this prototype was not in the header.
12671
12672 2006-01-17  Andy Wingo  <wingo@pobox.com>
12673
12674         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12675         registry while we remove plugins.
12676
12677         * tools/gst-inspect.c (print_element_info): Don't unref the
12678         factory arg, that should be the responsibility of whatever code
12679         received the ref. Fixes a double-free when called from
12680         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12681         (main): Unref the factory if we have one.
12682         (print_element_list): No change -- relies on the
12683         plugin_feature_list_free to free the list of features.
12684
12685 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
12686
12687         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12688         (gst_buffer_make_metadata_writable):
12689         * gst/gstbuffer.h:
12690         * libs/gst/base/gstbasetransform.c:
12691         (gst_base_transform_prepare_output_buf):
12692         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12693         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12694           Replace gst_buffer_(make|is)_metadata_writable patch now
12695           that the release is out.
12696
12697 2006-01-17  Andy Wingo  <wingo@pobox.com>
12698
12699         * gst/gstregistry.c: Reflow design comment. Update so as to speak
12700         in the present tense without reference to versions.
12701
12702         * gst/gstregistry.c (gst_registry_add_plugin)
12703         (gst_registry_remove_plugin, gst_registry_remove_feature)
12704         (gst_registry_find_feature, gst_registry_get_feature_list)
12705         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12706         (gst_registry_lookup, gst_registry_scan_path)
12707         (_gst_registry_remove_cache_plugins)
12708         (gst_registry_get_feature_list_by_plugin): Add argument
12709         validation.
12710
12711 === release 0.10.2 ===
12712
12713 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
12714
12715         * configure.ac:
12716           releasing 0.10.2, "If man is five"
12717
12718 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12719
12720         * gst/gstbuffer.c:
12721         * gst/gstbuffer.h:
12722         * libs/gst/base/gstbasetransform.c:
12723         (gst_base_transform_prepare_output_buf):
12724         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12725         * tests/check/gst/gstbuffer.c: (gst_test_suite):
12726           Back out patch until after the release.
12727
12728 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12729
12730         * gst/gstminiobject.c:
12731           Spelling fix in docs.
12732         * ChangeLog - remove conflict indicator
12733
12734 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12735
12736         Reviewed By: Andy Wingo
12737
12738         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12739         (gst_buffer_make_metadata_writable):
12740         * gst/gstbuffer.h:
12741           Add gst_buffer_(is|make)_metadata_writable as analogues of
12742           gst_buffer_(is|make)_writable.
12743
12744         * libs/gst/base/gstbasetransform.c:
12745         (gst_base_transform_prepare_output_buf):
12746         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12747           Use name gst_buffer_(is|make)_metadata_writable functions.
12748
12749         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12750           Test gst_buffer_(is|make)_metadata_writable
12751         
12752           (Closes: #324162)
12753
12754 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12755
12756         * docs/manual/Makefile.am:
12757           don't do parallel make
12758         * configure.ac:
12759           AC_SUBST HOST_CPU
12760         * win32/common/config.h.in:
12761           add generations for HOST_CPU and GST_MAJORMINOR
12762         * win32/common/config.h:
12763           commit generated result
12764
12765 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
12766
12767         * docs/manual/appendix-integration.xml:
12768           Update GNOME integration section to use gst_init_get_option_group()
12769           instead of the old popt stuff (#322911). Also, GNOME applications
12770           should  now use gconf*sink and gconf*src instead of the old gconf
12771           helper lib we had.
12772
12773 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
12774
12775
12776         * docs/gst/gstreamer-docs.sgml:
12777         * docs/gst/gstreamer-sections.txt:
12778         * docs/libs/gstreamer-libs-sections.txt:
12779           add new API entries to the docs
12780         * libs/gst/controller/Makefile.am:
12781         * libs/gst/controller/gstcontroller.c:
12782         * libs/gst/controller/gstcontroller.h:
12783         * libs/gst/controller/gstcontrollerprivate.h:
12784         * libs/gst/controller/gsthelper.c:
12785         * libs/gst/controller/gstinterpolation.c:
12786           move private structs to private header
12787         * po/README:
12788           gstreamer-0.7 -> gstreamer-0.10
12789         * tests/check/libs/struct_i386.h:
12790           remove private structs
12791
12792 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12793
12794         * plugins/indexers/Makefile.am:
12795           Fixes as part of #317048
12796
12797 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12798
12799         * plugins/indexers/Makefile.am:
12800           fix #316086 - compilation when mmap is missing
12801
12802 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
12803
12804         * libs/gst/base/gstbasesink.c:
12805           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
12806           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12807         * win32/common/config.h:
12808           added some defines GST_MAJORMINOR and HOST_CPU
12809         * win32/common/libgstbase.def:
12810         * win32/common/libgstreamer.def:
12811           added some exported functions.
12812
12813 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12814
12815         * libs/gst/controller/gstcontroller.c:
12816         (gst_controlled_property_set_interpolation_mode),
12817         (gst_controlled_property_new):
12818         * libs/gst/controller/gstcontroller.h:
12819         * libs/gst/controller/gstinterpolation.c:
12820         (interpolate_none_get_string_value_array):
12821           make G_TYPE_STRING controlable
12822
12823 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12824
12825         * tools/README:
12826         * tools/gst-feedback.1.in:
12827         * tools/gst-inspect.1.in:
12828         * tools/gst-launch.1.in:
12829         * tools/gst-md5sum.1.in:
12830         * tools/gst-typefind.1.in:
12831         * tools/gst-xmlinspect.1.in:
12832         * tools/gst-xmllaunch.1.in:
12833           cleanup man-pages, remove reference to gst-register, document env-vars
12834
12835 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
12836
12837         * gst/gstbuffer.c: (gst_buffer_span):
12838           gst_buffer_span should copy the timestamp of the first buffer
12839           if they were both originally overlapping subbuffers of the 
12840           same parent, using the same logic as the 'slow copy' case.
12841
12842 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
12843
12844         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12845           Need to awaken ALL the pads when we pop a buffer, otherwise
12846           collectpads only works when there is 2 input streams.
12847
12848 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
12849
12850         * docs/random/ensonic/media-device-daemon.txt:
12851           more ideas (dbus)
12852         * gst/gstbuffer.c:
12853           fix doc example, add clarification
12854         * tools/gst-launch.1.in:
12855           add initial info about GST_PLUGIN_PATH, needs more work
12856
12857 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
12858
12859         * docs/manual/basics-bins.xml:
12860         * docs/manual/basics-elements.xml:
12861         * docs/manual/intro-basics.xml:
12862           Some more minor docs additions and updates.
12863
12864 2006-01-11  Wim Taymans  <wim@fluendo.com>
12865
12866         * docs/manual/basics-bins.xml:
12867         * docs/manual/basics-elements.xml:
12868         Some small fixes as pointed out by Ser-ver on IRC.
12869
12870 2006-01-10  Edward Hervey  <edward@fluendo.com>
12871
12872         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12873         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12874         the single-segment mode.
12875
12876 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
12877
12878         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12879
12880         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12881         (gst_base_src_perform_seek), (gst_base_src_send_event),
12882         (gst_base_src_set_property), (gst_base_src_get_property),
12883         (gst_base_src_loop), (gst_base_src_start),
12884         (gst_base_src_activate_push):
12885         * libs/gst/base/gstbasesrc.h:
12886           Name (private) union; makes Sun's Forte compiler happy (#324900).
12887
12888 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
12889
12890         * README:
12891           gst-register is gone.
12892
12893 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12894
12895         * gst/gstvalue.c: (_gst_value_initialize):
12896           make the G_TYPE_DATE instantiation work if debug is disabled
12897
12898 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
12899
12900         * gst/gstmessage.c: (gst_message_parse_tag),
12901         (gst_message_parse_error), (gst_message_parse_warning):
12902           Don't crash when return location for error/warning debug
12903           string is NULL; add fact that return locations can be
12904           NULL to docs where appropriate.
12905
12906 2006-01-05  Wim Taymans  <wim@fluendo.com>
12907
12908         * gst/gstplugin.c: (gst_plugin_load_file):
12909         Replace strdup by g_strdup.
12910
12911 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12912
12913         * docs/pwg/advanced-types.xml:
12914           fix doc borkage
12915
12916 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12917
12918         submitted by: Abel Cheung
12919
12920         * po/LINGUAS:
12921         * po/zh_TW.po:
12922           Added Chinese (traditional) translation
12923
12924 2006-01-04  Wim Taymans  <wim@fluendo.com>
12925
12926         * docs/manual/basics-pads.xml:
12927         * docs/plugins/Makefile.am:
12928         * docs/plugins/gstreamer-plugins-docs.sgml:
12929         * docs/plugins/gstreamer-plugins-sections.txt:
12930         * docs/pwg/advanced-clock.xml:
12931         * docs/pwg/advanced-scheduling.xml:
12932         * docs/pwg/advanced-types.xml:
12933         * plugins/elements/gstfdsink.c:
12934         * plugins/elements/gstfdsrc.c:
12935         * plugins/elements/gstfdsrc.h:
12936         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12937         * plugins/elements/gstidentity.h:
12938         * plugins/elements/gstqueue.h:
12939         * plugins/elements/gsttee.c:
12940         * plugins/elements/gsttee.h:
12941         * plugins/elements/gsttypefindelement.c:
12942         (gst_type_find_element_class_init):
12943         * plugins/elements/gsttypefindelement.h:
12944         Small updates to various docs.
12945         Added core plugins to docs.
12946
12947 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12948
12949         * common/gst.supp:
12950           add a suppression for liboil's uninitialized variable
12951
12952 2006-01-02  James Livingston  <jrl at ids dot org dot au>
12953
12954         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12955
12956         * gst/gstutils.h:
12957           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12958           macro, so that gcc doesn't complain if the -Wmissing-prototypes
12959           compiler switch is being used (#325429).
12960
12961 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
12962
12963         * gst/gstbin.c: (gst_bin_query):
12964           Disable duration query caching in bins until it gets
12965           fixed (see #324807).
12966
12967 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12968
12969         * tools/gst-inspect.c: (print_element_properties_info):
12970           Handle properties of POINTER and BOXED type.
12971
12972 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12973
12974         * gst/gst.c: (init_post):
12975           Init tags stuff and some other things before loading
12976           any static plugins (there may be other static plugins
12977           than just the GStreamer ones, and they may want to
12978           register their own tags or formats or whatever, and
12979           preferably without segfaulting).
12980
12981         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12982           Print at least a warning in the debug logs if we drop a
12983           query just because we don't know how to adjust the value
12984           in the particular format.
12985
12986 2005-12-24  David Schleef  <ds@schleef.org>
12987
12988         * tools/gstreamer-completion:
12989           Replacement for gst-complete written in sh and sed.  Only
12990           completes names of features, but that's 90% of what I want
12991           it for.  Properties are not available in registry.xml.  (Maybe
12992           they should be...)
12993
12994 === release 0.10.1 ===
12995
12996 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
12997
12998         * configure.ac:
12999           releasing 0.10.1, "Nollaig chridheil"
13000
13001 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
13002
13003         * docs/faq/cvs.xml:
13004           Add missing quote, should be make ERROR_CFLAGS="".
13005
13006 2005-12-20  Wim Taymans  <wim@fluendo.com>
13007
13008         * docs/design/part-trickmodes.txt:
13009         More documentation on trickmodes.
13010
13011 2005-12-20  Edward Hervey  <edward@fluendo.com>
13012
13013         * gst/gstcaps.c: (gst_static_caps_get_type):
13014         * gst/gstcaps.h:
13015           API addition: GST_TYPE_STATIC_CAPS
13016         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
13017         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
13018         * gst/gstpadtemplate.h:
13019           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
13020         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
13021         bindings.
13022
13023 2005-12-18  Wim Taymans  <wim@fluendo.com>
13024
13025         * libs/gst/base/gstadapter.c:
13026         * libs/gst/base/gstadapter.h:
13027         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13028         (gst_base_sink_get_position):
13029         * libs/gst/base/gstbasesink.h:
13030         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13031         (gst_base_src_default_query), (gst_base_src_default_do_seek),
13032         (gst_base_src_do_seek), (gst_base_src_perform_seek),
13033         (gst_base_src_send_event), (gst_base_src_update_length),
13034         (gst_base_src_get_range), (gst_base_src_loop),
13035         (gst_base_src_start):
13036         * libs/gst/base/gstbasesrc.h:
13037         * libs/gst/base/gstbasetransform.h:
13038         * libs/gst/base/gstcollectpads.h:
13039         * libs/gst/base/gstpushsrc.c:
13040         * libs/gst/base/gstpushsrc.h:
13041         * libs/gst/dataprotocol/dataprotocol.c:
13042         * libs/gst/dataprotocol/dataprotocol.h:
13043         * libs/gst/net/gstnetclientclock.h:
13044         * libs/gst/net/gstnettimeprovider.h:
13045         Documentation updates.
13046
13047 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
13048
13049         * docs/manual/basics-helloworld.xml:
13050           Remove superfluous closing bracket in helloworld example.
13051
13052 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
13053
13054         * tools/gst-launch.1.in:
13055           Update gst-launch man page; add a section with useful
13056           environment variables. Fixes #323882.
13057
13058 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
13059
13060         * gst/gst.c:
13061         * gst/gst_private.h:
13062           change some char* into char[]
13063
13064 2005-12-16  Wim Taymans  <wim@fluendo.com>
13065
13066         * gst/gstregistryxml.c: (load_feature):
13067         Cleanups.
13068         Don't use g_object_unref on GstObjects so that we avoid
13069         leaks on unsafe glibs.
13070
13071 2005-12-16  Wim Taymans  <wim@fluendo.com>
13072
13073         * gst/gstbin.c: (gst_bin_recalc_state):
13074         Small doc updates.
13075
13076 2005-12-16  Wim Taymans  <wim@fluendo.com>
13077
13078         * common/check.mak:
13079         Added make forever target for check.
13080
13081 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13082
13083         * gst/gst.c: (init_post):
13084           make the registry cache file HOST_CPU-dependent
13085
13086 2005-12-16  Andy Wingo  <wingo@pobox.com>
13087
13088         * plugins/elements/gstbufferstore.c
13089         (gst_buffer_store_cleared_func): Pay attention to g_list_append
13090         return value.
13091
13092         * tests/check/gst/gstobject.c
13093         (test_fake_object_name_threaded_unique): Pay attention to
13094         g_list_sort return value.
13095
13096 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
13097
13098         * tools/gst-feedback-m.m:
13099           Update for 0.9/0.10 (fixes #323870).
13100
13101 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
13102
13103         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
13104           Fix lcopy for mini objects, the mini object needs to be ref'ed.
13105           
13106         * tests/check/gst/gstminiobject.c: (my_foo_init),
13107         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
13108         (test_value_collection), (gst_mini_object_suite):
13109           Add test to ensure refcounts end up as expected when passing
13110           GstMiniObjects through g_object_get() and g_object_set().
13111
13112 2005-12-14  Julien MOUTTE  <julien@moutte.net>
13113
13114         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13115         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
13116         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
13117         of collectpads. This version removes a lot of races without
13118         touching API/ABI. Yay !
13119
13120 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
13121
13122         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
13123           Don't allow activation of a srcpad in pull_range if it has no
13124           getrange function.
13125           Change some debug statements to be a little clearer
13126
13127         * plugins/elements/gsttypefindelement.c:
13128         (gst_type_find_handle_src_query):
13129           Check that we have a peer before executing queries thereupon.
13130
13131         * tests/examples/metadata/read-metadata.c: (message_loop):
13132           Use gst_bus_pop instead of gst_bus_poll when we just want it to
13133           immediately return us any available message with 0 timeout.
13134
13135 2005-12-12  Michael Smith  <msmith@fluendo.com>
13136
13137         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
13138           Don't unref factories after calling them.
13139         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
13140         * plugins/elements/gsttypefindelement.c:
13141         (gst_type_find_element_chain):
13142           Free lists of factories after using them. Fixing typefinding memory
13143           leaks.
13144
13145 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13146
13147         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
13148         (gst_plugin_feature_load):
13149           more meaningful debug output
13150         * configure.ac:
13151         * tests/Makefile.am:
13152         * tests/old/examples/Makefile.am:
13153           make make distcheck happy again
13154
13155 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
13156
13157         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13158           Catch the special case where we are operating chain-based,
13159           but the downstream peer pad has no chain function. Emit a
13160           custom error message in this case instead of letting the
13161           core generate one implying that this is some sort of core
13162           bug. It's not, it just means that whatever got plugged
13163           into the pipeline downstream when we announced the type
13164           can only operate pull-based, while our source can only
13165           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
13166           Error string has not been marked for translation yet, as
13167           it probably needs some more work first.
13168
13169         (gst_type_find_element_get_best_possibility):
13170           Add helper function to find the best of all available
13171           found possibilities that qualify given the min. threshold.
13172
13173         (gst_type_find_element_handle_event):
13174           Fix the case where we get an EOS while still in TYPEFIND
13175           mode (we want to chose the best of all possible types,
13176           not just the first type that happens to be in our unsorted
13177           list of possible types).
13178
13179         (gst_type_find_element_chain):
13180           Make sure we return GST_FLOW_ERROR when we errored out
13181           in stop_typefinding(); also, don't just find the best of
13182           all found type entries and then use the last examined
13183           type entry, but actually use the best entry.
13184
13185 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
13186
13187         * tests/examples/typefind/typefind.c: (type_found):
13188         * tests/examples/xml/runxml.c: (xml_loaded):
13189           More gcc4 fixes and a mem leak fix.
13190
13191 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13192
13193         * tests/examples/xml/createxml.c: (object_saved):
13194           gcc 4 fixes
13195
13196 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13197
13198         * tests/Makefile.am:
13199           enable the examples even more
13200
13201 2005-12-12  Andy Wingo  <wingo@pobox.com>
13202
13203         * libs/gst/net/gstnettimeprovider.c
13204         (gst_net_time_provider_class_init, gst_net_time_provider_init)
13205         (gst_net_time_provider_set_property)
13206         (gst_net_time_provider_get_property):
13207         API addition: Export "active" as a GObject property.
13208         (gst_net_time_provider_thread): Only respond to time queries if
13209         the time provider is active.
13210
13211         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
13212         NetTimeProvider, preserving binary compat.
13213
13214 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13215
13216         * tests/examples/controller/audio-example.c: (main):
13217         * tests/examples/launch/Makefile.am:
13218           convert comments again
13219
13220 2005-12-12  Wim Taymans  <wim@fluendo.com>
13221
13222         * libs/gst/base/gstpushsrc.c:
13223         Fix typo.
13224
13225 2005-12-12  Wim Taymans  <wim@fluendo.com>
13226
13227         * docs/libs/gstreamer-libs-sections.txt:
13228         Added new symbol to docs.
13229
13230         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13231         (gst_base_src_init), (gst_base_src_set_format),
13232         (gst_base_src_default_query), (gst_base_src_query),
13233         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13234         (gst_base_src_perform_seek), (gst_base_src_send_event),
13235         (gst_base_src_default_event), (gst_base_src_event_handler),
13236         (gst_base_src_set_property), (gst_base_src_get_property),
13237         (gst_base_src_wait), (gst_base_src_do_sync),
13238         (gst_base_src_update_length), (gst_base_src_get_range),
13239         (gst_base_src_check_get_range), (gst_base_src_loop),
13240         (gst_base_src_default_negotiate), (gst_base_src_start),
13241         (gst_base_src_activate_push), (gst_base_src_activate_pull),
13242         (gst_base_src_change_state):
13243         * libs/gst/base/gstbasesrc.h:
13244         Implement seeking to other formats than _BYTES.
13245         Implement more seeking methods correctly.
13246         Doc updates.
13247         Added query vmethod.
13248         Added do_seek vmethod to make life easier for subclasses
13249         when seeking.
13250         API addition: gst_base_src_set_format()
13251
13252 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13253
13254         * tests/examples/Makefile.am:
13255           added that too
13256
13257 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13258
13259         * configure.ac:
13260         * docs/random/ensonic/media-device-daemon.txt:
13261         * tests/examples/controller/.cvsignore:
13262         * tests/examples/controller/Makefile.am:
13263         * tests/examples/controller/audio-example.c: (main):
13264         * tests/examples/helloworld/.cvsignore:
13265         * tests/examples/helloworld/Makefile.am:
13266         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13267         * tests/examples/launch/.cvsignore:
13268         * tests/examples/launch/Makefile.am:
13269         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13270         * tests/examples/metadata/.cvsignore:
13271         * tests/examples/metadata/Makefile.am:
13272         * tests/examples/metadata/read-metadata.c: (message_loop),
13273         (make_pipeline), (print_tag), (main):
13274         * tests/examples/queue/.cvsignore:
13275         * tests/examples/queue/Makefile.am:
13276         * tests/examples/queue/queue.c: (event_loop), (main):
13277         * tests/examples/typefind/.cvsignore:
13278         * tests/examples/typefind/Makefile.am:
13279         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13280         (main):
13281         * tests/examples/xml/.cvsignore:
13282         * tests/examples/xml/Makefile.am:
13283         * tests/examples/xml/createxml.c: (object_saved), (main):
13284         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13285         * tests/old/examples/Makefile.am:
13286         * tests/old/examples/TODO:
13287         * tests/old/examples/controller/.cvsignore:
13288         * tests/old/examples/controller/Makefile.am:
13289         * tests/old/examples/controller/audio-example.c:
13290         * tests/old/examples/helloworld/.cvsignore:
13291         * tests/old/examples/helloworld/Makefile.am:
13292         * tests/old/examples/helloworld/helloworld.c:
13293         * tests/old/examples/launch/.cvsignore:
13294         * tests/old/examples/launch/Makefile.am:
13295         * tests/old/examples/launch/mp3parselaunch.c:
13296         * tests/old/examples/launch/mp3play:
13297         * tests/old/examples/manual/Makefile.am:
13298         * tests/old/examples/metadata/Makefile.am:
13299         * tests/old/examples/metadata/read-metadata.c:
13300         * tests/old/examples/queue/.cvsignore:
13301         * tests/old/examples/queue/Makefile.am:
13302         * tests/old/examples/queue/queue.c:
13303         * tests/old/examples/typefind/.cvsignore:
13304         * tests/old/examples/typefind/Makefile.am:
13305         * tests/old/examples/typefind/typefind.c:
13306         * tests/old/examples/xml/.cvsignore:
13307         * tests/old/examples/xml/Makefile.am:
13308         * tests/old/examples/xml/createxml.c:
13309         * tests/old/examples/xml/runxml.c:
13310           applied some simple fixing to some examples
13311           re-enabled the working examples
13312
13313 2005-12-12  Wim Taymans  <wim@fluendo.com>
13314
13315         * gst/gstsegment.c: (gst_segment_init),
13316         (gst_segment_set_last_stop), (gst_segment_set_seek),
13317         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13318         (gst_segment_to_running_time):
13319         Added more documentation.
13320         Make sure the last_pos value is updated properly.
13321         Make sure to_stream_time and to_running_time don't
13322         operate on wrong values.
13323
13324         * tests/check/gst/gstsegment.c: (GST_START_TEST):
13325         Update check.
13326
13327 2005-12-12  Michael Smith  <msmith@fluendo.com>
13328
13329         * plugins/elements/gsttypefindelement.c: (free_entry),
13330         (gst_type_find_element_chain):
13331           Now that we're not leaking factories, make sure we keep references
13332           to them while we need them.
13333
13334 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13335
13336         * tests/check/gst/struct_i386.h:
13337           ifdef out the XML structs
13338
13339 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13340
13341         * gst/gstvalue.c: (gst_value_transform_double_fraction):
13342           floor is not needed, F is always positive; this obviates the
13343           need for adding -lm when building without libxml
13344
13345 2005-12-12  Wim Taymans  <wim@fluendo.com>
13346
13347         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13348         Take current playback rate into account when reporting
13349         the position.
13350
13351 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13352
13353         * docs/manual/mime-world.fig:
13354           Let's try this again, this time with a file that is
13355           actually in XFig format.
13356
13357 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13358
13359         * docs/manual/mime-world.fig:
13360           Add audioconvert element to diagram so that it
13361           matches the text and the code (fixes #319526).
13362
13363 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13364
13365         * docs/pwg/building-chainfn.xml:
13366         * docs/pwg/building-pads.xml:
13367         * docs/pwg/building-state.xml:
13368         * docs/pwg/other-source.xml:
13369           Update state change stuff for 0.10 (fixes #322969).
13370
13371 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13372
13373         * docs/manual/advanced-dataaccess.xml:
13374         * docs/manual/appendix-checklist.xml:
13375         * docs/manual/appendix-programs.xml:
13376         * docs/manual/basics-pads.xml:
13377         * docs/manual/highlevel-components.xml:
13378         * docs/manual/manual.xml:
13379           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13380           add converters in front of pipelines; remove curly
13381           brackets for threads stuff, they no longer exist; use
13382           GST_TYPE_FRACTION for framerates; update some pieces of
13383           code to 0.10, but there's plenty more to do.
13384
13385         * docs/manual/appendix-porting.xml:
13386           Expand on asynchroneous state changes; s/0.9/0.10/;
13387           mention disappearance of gst_init_get_popt_table()
13388           (fixes #322916).
13389
13390 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13391
13392         * docs/faq/using.xml:
13393           Spider no longer exists, and neither does gst-launch-ext.
13394           Update examples to use decodebin and playbin and put
13395           converters in front of sinks (fixes #323726).
13396
13397 2005-12-09  Michael Smith  <msmith@fluendo.com>
13398
13399         * plugins/elements/gsttypefindelement.c: (find_peek),
13400         (gst_type_find_element_chain):
13401           Fix leaking element factories in typefinding.
13402           Fix problem where we forgot about a probable type on non-seekable
13403           files, and thus later mis-typefound it.
13404
13405 2005-12-09  Michael Smith  <msmith@fluendo.com>
13406
13407         * common/m4/gst-makecontext.m4:
13408         * common/m4/gst-mcsc.m4:
13409         * configure.ac:
13410         * win32/common/config.h:
13411         * win32/common/config.h.in:
13412           Remove makecontext stuff; not used in 0.10 and causes problems on
13413           HPUX according to bug #322441
13414
13415 2005-12-07  Wim Taymans  <wim@fluendo.com>
13416
13417         * tests/check/Makefile.am:
13418         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13419         (main):
13420         * tests/check/libs/struct_i386.h:
13421         Added ABI check for libs
13422
13423 2005-12-07  Wim Taymans  <wim@fluendo.com>
13424
13425         * tests/check/Makefile.am:
13426         And add the struct_i386.h to dist.
13427
13428 2005-12-07  Wim Taymans  <wim@fluendo.com>
13429
13430         * tests/check/Makefile.am:
13431         * tests/check/gst/.cvsignore:
13432         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13433         (main):
13434         * tests/check/gst/struct_i386.h:
13435         Added check for ABI compatibility.
13436
13437 2005-12-07  Wim Taymans  <wim@fluendo.com>
13438
13439         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13440         (gst_fake_src_get_times), (gst_fake_src_create):
13441         Fix broken sync option, fixes #323259
13442
13443 2005-12-07  Wim Taymans  <wim@fluendo.com>
13444
13445         * gst/gstbuffer.c:
13446         Small docs update.
13447
13448         * gst/gstcaps.c: (gst_caps_is_equal):
13449         Don't assert on NULL <--> X. Fixes #323260
13450
13451         * gst/gstminiobject.c: (gst_mini_object_replace):
13452         If we're doing atomic operations, we might just as well use
13453         the proper way to get an atomic pointer.
13454
13455         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13456         Clean up debugging.
13457
13458 2005-12-07  Michael Smith  <msmith@fluendo.com>
13459
13460         * gst/parse/grammar.y:
13461           Remove handling of { } for threads.
13462
13463 2005-12-06  David Schleef  <ds@schleef.org>
13464
13465         * libs/gst/base/gstbasetransform.c: speling fix.
13466
13467 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13468
13469         * docs/libs/tmpl/gstdataprotocol.sgml:
13470         * docs/random/omega/testing/gstobject.c:
13471         * gst/gst.c:
13472         * gst/gstclock.c:
13473         * gst/gstelement.c:
13474         * gst/gstelementfactory.c:
13475         * gst/gsterror.c:
13476         * gst/gstevent.c:
13477         * gst/gstghostpad.c:
13478         * gst/gstinfo.c:
13479         * gst/gstpadtemplate.c:
13480         * gst/gstregistryxml.c:
13481         * gst/gsttaglist.c:
13482         * gst/gsttagsetter.c:
13483         * gst/gsttypefind.c:
13484         * gst/gstvalue.c:
13485         * libs/gst/base/gstbasesrc.c:
13486         * libs/gst/net/gstnetclientclock.c:
13487         * libs/gst/net/gstnettimeprovider.c:
13488         * plugins/elements/gstfakesrc.c:
13489         * plugins/elements/gstfdsrc.c:
13490         * plugins/elements/gstfilesrc.c:
13491         * plugins/elements/gstidentity.c:
13492         * plugins/elements/gstqueue.c:
13493         * plugins/elements/gsttypefindelement.c:
13494         * plugins/indexers/gstfileindex.c:
13495         * plugins/indexers/gstmemindex.c:
13496         * tests/check/gst/gsttag.c:
13497         * tests/old/examples/cutter/cutter.c:
13498         * tests/old/examples/mixer/mixer.c:
13499         * tests/old/examples/xml/runxml.c: (main):
13500         * tests/old/testsuite/caps/normalisation.c:
13501         * tests/old/testsuite/debug/global.c:
13502         * tests/old/testsuite/parse/parse1.c:
13503         * tools/gst-xmlinspect.c:
13504         * win32/common/dirent.c:
13505           expand tabs
13506
13507 === release 0.10.0 ===
13508
13509 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13510
13511         * configure.ac:
13512           releasing 0.10.0, "Maroilles"
13513
13514 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13515
13516         submitted by: Funda Wang <fundawang@linux.net.cn>
13517
13518         * po/LINGUAS:
13519         * po/zh_CN.po:
13520           added Chinese (Traditional) translation
13521
13522 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13523
13524         * docs/gst/gstreamer-sections.txt:
13525         * docs/libs/tmpl/gstdataprotocol.sgml:
13526         * docs/random/thomasvs/TODO:
13527         * gst/gstutils.c:
13528         * gst/gstutils.h:
13529           fix docs
13530
13531 2005-12-05  Andy Wingo  <wingo@pobox.com>
13532
13533         patch by: Wim Taymans <wim@fluendo.com>
13534
13535         * libs/gst/base/gstbasetransform.c
13536         (gst_base_transform_prepare_output_buf)
13537         (gst_base_transform_buffer_alloc):
13538         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13539         alloc_buffer_and_set_caps.
13540
13541         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13542         set_caps on the source pad.
13543         (gst_pad_alloc_buffer_and_set_caps): New function, does what
13544         alloc_buffer used to do. Fixes #322874.
13545
13546         * docs/gst/gstreamer-sections.txt: 
13547         * docs/design/part-negotiation.txt: 
13548         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13549         changes.
13550
13551 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13552
13553         patch by: Sebastien Moutte
13554
13555         * win32/MANIFEST:
13556         * win32/common/config.h.in:
13557         * win32/vs6/libgstcontroller.dsp:
13558           win32 build fixes
13559
13560 2005-12-05  Wim Taymans  <wim@fluendo.com>
13561
13562         * gst/gstcaps.c: (gst_caps_is_equal):
13563         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13564         (gst_fake_src_create):
13565         Back out previous code changes, leave doc updates, file bugs 
13566         instead. 
13567
13568 2005-12-05  Wim Taymans  <wim@fluendo.com>
13569
13570         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13571         (gst_fake_src_get_times), (gst_fake_src_create):
13572         * plugins/elements/gstfakesrc.h:
13573         Fix broken sync code.
13574
13575 2005-12-05  Wim Taymans  <wim@fluendo.com>
13576
13577         * gst/gstcaps.c: (gst_caps_is_equal):
13578         Comparing NULL against !NULL yields different caps, not a
13579         failure.
13580
13581 2005-12-05  Wim Taymans  <wim@fluendo.com>
13582
13583         * gst/gstpipeline.c:
13584         Fix small typo in docs.
13585
13586 2005-12-05  Andy Wingo  <wingo@pobox.com>
13587
13588         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
13589
13590         * gst/gst.c (init_post): remove hard-coded 0.9 location for
13591         registries/plugins with a MAJORMINOR one.
13592         (plugin_desc): Rename library from gstcoreleements to
13593         staticelements. Fixes #323222.
13594
13595 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
13596
13597         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13598           Change debug category to 'collectpads' from 'collect_pads'
13599           (fixes #323250).
13600
13601 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13602
13603         patch by: Sebastien Moutte
13604
13605         * libs/gst/controller/gstinterpolation.c:
13606           use convert function for uint64/double
13607         * win32/vs6/libgstcontroller.dsp:
13608           link to GLib
13609
13610 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13611
13612         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13613         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13614         * gst/gstutils.h:
13615         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13616           add tests that seem to show that the guint64/gdouble conversions
13617           are correct.
13618
13619 2005-12-02  Wim Taymans  <wim@fluendo.com>
13620
13621         * gst/gstregistry.c: (gst_registry_add_path):
13622         * gst/gstregistry.h:
13623         * gst/gstregistryxml.c:
13624         Fix docs again.
13625
13626 2005-12-02  Wim Taymans  <wim@fluendo.com>
13627
13628         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13629         (gst_util_uint64_scale_int):
13630         Small cleanup.
13631
13632         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13633         Add debug log line.
13634
13635         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13636         Add FIXME.
13637
13638 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13639
13640         * win32/MANIFEST:
13641         * win32/common/config.h:
13642         * win32/vs6/gstreamer.dsw:
13643         * win32/vs6/libgstcoreelements.dsp:
13644         * win32/vs6/libgstelements.dsp:
13645           renamed core elements plugin
13646
13647 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13648
13649         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13650         (get_candidates):
13651           do piece-wise major/minor comparison so 0.9 < 0.10
13652           also allow .exe extensions for tools
13653
13654 2005-12-02  Michael Smith  <msmith@fluendo.com>
13655
13656         * gst/gst.c:
13657           Escape a % to make gtkdoc happier; bug 322958.
13658
13659 === release 0.9.7 ===
13660
13661 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13662
13663         * configure.ac:
13664           releasing 0.9.7, "My Dog Has No Nose"
13665
13666 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13667
13668         * common/gst-xmlinspect.py:
13669         * configure.ac:
13670         * docs/libs/tmpl/gstdataprotocol.sgml:
13671         * docs/random/release:
13672         * po/af.po:
13673         * po/az.po:
13674         * po/bg.po:
13675         * po/ca.po:
13676         * po/cs.po:
13677         * po/de.po:
13678         * po/en_GB.po:
13679         * po/fr.po:
13680         * po/it.po:
13681         * po/nb.po:
13682         * po/nl.po:
13683         * po/ru.po:
13684         * po/sq.po:
13685         * po/sr.po:
13686         * po/sv.po:
13687         * po/tr.po:
13688         * po/uk.po:
13689         * po/vi.po:
13690         * win32/common/config.h:
13691         * win32/common/config.h.in:
13692         * win32/vs6/gst_inspect.dsp:
13693         * win32/vs6/gst_launch.dsp:
13694         * win32/vs6/libgstbase.dsp:
13695         * win32/vs6/libgstelements.dsp:
13696         * win32/vs6/libgstreamer.dsp:
13697         * win32/vs7/GStreamer.vcproj:
13698         * win32/vs7/gst-inspect.vcproj:
13699         * win32/vs7/gst-launch.vcproj:
13700         * win32/vs7/libgstbase.vcproj:
13701           bump GST_MAJORMINOR to 0.10
13702           reset libtool version
13703
13704 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13705
13706         * po/LINGUAS:
13707         * po/bg.po:
13708           Added Bulgarian translation by (Alexander Shopov)
13709
13710 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13711
13712         * tests/check/gst/gstplugin.c:
13713           fix test
13714
13715 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13716
13717         * common/gst-xmlinspect.py:
13718         * common/gtk-doc-plugins.mak:
13719         * configure.ac:
13720         * docs/Makefile.am:
13721         * docs/gst/Makefile.am:
13722         * docs/gst/gstreamer-docs.sgml:
13723         * docs/gst/gstreamer-sections.txt:
13724         * docs/gst/gstreamer.types:
13725         * docs/gst/gstreamer.types.in:
13726         * docs/plugins/Makefile.am:
13727         * docs/plugins/gstreamer-plugins-docs.sgml:
13728         * docs/plugins/gstreamer-plugins-sections.txt:
13729         * docs/plugins/gstreamer-plugins.types:
13730         * docs/plugins/inspect.stamp:
13731         * docs/plugins/inspect/plugin-coreelements.xml:
13732         * docs/plugins/inspect/plugin-coreindexers.xml:
13733         * docs/plugins/scanobj-build.stamp:
13734         * gstreamer.spec.in:
13735         * plugins/elements/Makefile.am:
13736         * plugins/elements/gstelements.c:
13737         * plugins/elements/gstfakesink.c:
13738         * plugins/elements/gstfakesrc.c:
13739         * plugins/elements/gstfilesink.c:
13740         * plugins/elements/gstfilesrc.c:
13741         * plugins/elements/gstqueue.c:
13742         * plugins/indexers/Makefile.am:
13743         * plugins/indexers/gstindexers.c:
13744           document core plugins in a separate document just like all the
13745           others
13746           rename these plugins to something starting with core
13747
13748 2005-12-01  Andy Wingo  <wingo@pobox.com>
13749
13750         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13751         padding here before, but it missed the commit.
13752
13753 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13754
13755         * libs/gst/controller/gstinterpolation.c:
13756           whitespace prices have crashed, we should feel free to use some now
13757           use gst_guint64_to_gdouble
13758
13759 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13760
13761         * libs/gst/controller/gstcontroller.c:
13762         * libs/gst/controller/gsthelper.c:
13763         * libs/gst/controller/gstinterpolation.c:
13764         * libs/gst/controller/lib.c:
13765           wrap config.h include
13766
13767 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13768
13769         * docs/gst/gstreamer-sections.txt:
13770           update docs
13771
13772 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13773
13774         * plugins/elements/gstelements.c:
13775         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13776         (gst_fd_sink__class_init), (gst_fd_sink__init),
13777         (gst_fd_sink__chain), (gst_fd_sink__set_property),
13778         (gst_fd_sink__get_property):
13779         * plugins/elements/gstfdsink.h:
13780         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13781         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13782         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13783         (gst_fd_src_unlock), (gst_fd_src_set_property),
13784         (gst_fd_src_get_property), (gst_fd_src_create),
13785         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13786         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13787         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13788         (gst_fd_src_uri_handler_init):
13789         * plugins/elements/gstfdsrc.h:
13790         * plugins/elements/gstqueue.c: (gst_queue_get_type):
13791           more anal cleanup
13792
13793 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13794
13795         * docs/gst/Makefile.am:
13796         * docs/gst/gstreamer.types.in:
13797         * gst/Makefile.am:
13798           fix the docs build
13799
13800 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13801
13802         * configure.ac:
13803         * gst/Makefile.am:
13804         * gst/gst.c:
13805         * gst/gstplugin.h:
13806         * gst/gstregistry.h:
13807         * tests/benchmarks/complexity.c:
13808         * tests/benchmarks/mass-elements.c:
13809         * tests/check/Makefile.am:
13810         * tools/Makefile.am:
13811         * tools/gst-inspect.c:
13812         * tools/gst-xmlinspect.c:
13813           various fixes to make
13814           --disable-nls --disable-registry --disable-loadsave
13815           --disable-parse --disable-gst-debug
13816           work and get the core .so down to 360444 bytes after stripping
13817
13818 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13819
13820         * Makefile.am:
13821         * configure.ac:
13822           descend into tests
13823         * docs/random/thomasvs/TODO:
13824         * tests/Makefile.am:
13825         * tests/README:
13826           add a README
13827
13828 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13829
13830         * win32/GStreamer.vcproj:
13831         * win32/MANIFEST:
13832         * win32/Makefile:
13833         * win32/Makefile.inspect:
13834         * win32/Makefile.launch:
13835         * win32/Makefile.register:
13836         * win32/README.txt:
13837         * win32/gst-inspect.vcproj:
13838         * win32/gst-launch.vcproj:
13839         * win32/gst-register.vcproj:
13840         * win32/gstelements.vcproj:
13841         * win32/gstgetbits.def:
13842         * win32/gstgetbits.vcproj:
13843         * win32/gstreamer-dbg.def:
13844         * win32/gstreamer.def:
13845         * win32/libgstbase.def:
13846         * win32/libgstbase.vcproj:
13847         * win32/link_oldruntime.c:
13848         * win32/mman.c:
13849         * win32/mman.h:
13850         * win32/mman.inl:
13851         * win32/msvc71.sln:
13852           move even more stuff, win32/ is nice and clean now
13853
13854 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13855
13856         * libs/gst/control/.cvsignore:
13857         * win32/MANIFEST:
13858         * win32/config.h:
13859         * win32/dirent.c:
13860         * win32/dirent.h:
13861         * win32/gstbytestream.def:
13862         * win32/gstbytestream.vcproj:
13863         * win32/gstconfig.h:
13864         * win32/gstenumtypes.c:
13865         * win32/gstenumtypes.h:
13866         * win32/gstoptimalscheduler.vcproj:
13867         * win32/gstversion.h:
13868         * win32/gtchar.h:
13869         * win32/testsuite/bins.vcproj:
13870         * win32/testsuite/bytestream.vcproj:
13871         * win32/testsuite/caps.vcproj:
13872         * win32/testsuite/cleanup.vcproj:
13873         * win32/testsuite/clock.vcproj:
13874         * win32/testsuite/debug.vcproj:
13875         * win32/testsuite/dlopen.vcproj:
13876         * win32/testsuite/dynparams.vcproj:
13877         * win32/testsuite/elements.vcproj:
13878         * win32/testsuite/ghostpads.vcproj:
13879         * win32/testsuite/indexers.vcproj:
13880         * win32/testsuite/negotiation.vcproj:
13881         * win32/testsuite/parse.vcproj:
13882         * win32/testsuite/plugin.vcproj:
13883         * win32/testsuite/refcounting.vcproj:
13884         * win32/testsuite/schedulers.vcproj:
13885         * win32/testsuite/states.vcproj:
13886         * win32/testsuite/tags.vcproj:
13887         * win32/testsuite/threads.vcproj:
13888           remove old win32 stuff that isn't maintained and should be
13889           reorganized
13890
13891 2005-11-30  Andy Wingo  <wingo@pobox.com>
13892
13893         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13894         loading the gst.interfaces python module bork.
13895
13896         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13897         available since GLib 2.2. Fixes #318031.
13898
13899 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13900
13901         * Makefile.am:
13902         * check/.cvsignore:
13903         * check/Makefile.am:
13904         * check/elements/.cvsignore:
13905         * check/elements/fakesrc.c:
13906         * check/elements/fdsrc.c:
13907         * check/elements/identity.c:
13908         * check/generic/.cvsignore:
13909         * check/generic/states.c:
13910         * check/gst-libs/.cvsignore:
13911         * check/gst-libs/controller.c:
13912         * check/gst-libs/gdp.c:
13913         * check/gst/.cvsignore:
13914         * check/gst/capslist.h:
13915         * check/gst/gst.c:
13916         * check/gst/gstbin.c:
13917         * check/gst/gstbuffer.c:
13918         * check/gst/gstbus.c:
13919         * check/gst/gstcaps.c:
13920         * check/gst/gstelement.c:
13921         * check/gst/gstevent.c:
13922         * check/gst/gstghostpad.c:
13923         * check/gst/gstiterator.c:
13924         * check/gst/gstmessage.c:
13925         * check/gst/gstminiobject.c:
13926         * check/gst/gstobject.c:
13927         * check/gst/gstpad.c:
13928         * check/gst/gstpipeline.c:
13929         * check/gst/gstplugin.c:
13930         * check/gst/gstsegment.c:
13931         * check/gst/gststructure.c:
13932         * check/gst/gstsystemclock.c:
13933         * check/gst/gsttag.c:
13934         * check/gst/gstutils.c:
13935         * check/gst/gstvalue.c:
13936         * check/net/.cvsignore:
13937         * check/net/gstnetclientclock.c:
13938         * check/net/gstnettimeprovider.c:
13939         * check/pipelines/.cvsignore:
13940         * check/pipelines/cleanup.c:
13941         * check/pipelines/simple_launch_lines.c:
13942         * check/pipelines/stress.c:
13943         * check/states/.cvsignore:
13944         * check/states/sinks.c:
13945         * configure.ac:
13946         * examples/Makefile.am:
13947         * examples/appreader/.cvsignore:
13948         * examples/appreader/Makefile.am:
13949         * examples/appreader/appreader.c:
13950         * examples/controller/.cvsignore:
13951         * examples/controller/Makefile.am:
13952         * examples/controller/audio-example.c:
13953         * examples/cutter/.cvsignore:
13954         * examples/cutter/Makefile.am:
13955         * examples/cutter/cutter.c:
13956         * examples/cutter/cutter.h:
13957         * examples/events/Makefile.am:
13958         * examples/events/seek.c:
13959         * examples/helloworld/.cvsignore:
13960         * examples/helloworld/Makefile.am:
13961         * examples/helloworld/helloworld.c:
13962         * examples/helloworld2/.cvsignore:
13963         * examples/helloworld2/Makefile.am:
13964         * examples/helloworld2/helloworld2.c:
13965         * examples/launch/.cvsignore:
13966         * examples/launch/Makefile.am:
13967         * examples/launch/mp3parselaunch.c:
13968         * examples/launch/mp3play:
13969         * examples/manual/.cvsignore:
13970         * examples/manual/Makefile.am:
13971         * examples/manual/extract.pl:
13972         * examples/metadata/Makefile.am:
13973         * examples/metadata/read-metadata.c:
13974         * examples/mixer/.cvsignore:
13975         * examples/mixer/Makefile.am:
13976         * examples/mixer/mixer.c:
13977         * examples/mixer/mixer.h:
13978         * examples/pingpong/.cvsignore:
13979         * examples/pingpong/Makefile.am:
13980         * examples/pingpong/pingpong.c:
13981         * examples/plugins/.cvsignore:
13982         * examples/plugins/Makefile.am:
13983         * examples/plugins/example.c:
13984         * examples/plugins/example.h:
13985         * examples/pwg/.cvsignore:
13986         * examples/pwg/Makefile.am:
13987         * examples/pwg/extract.pl:
13988         * examples/queue/.cvsignore:
13989         * examples/queue/Makefile.am:
13990         * examples/queue/queue.c:
13991         * examples/queue2/.cvsignore:
13992         * examples/queue2/Makefile.am:
13993         * examples/queue2/queue2.c:
13994         * examples/queue3/.cvsignore:
13995         * examples/queue3/Makefile.am:
13996         * examples/queue3/queue3.c:
13997         * examples/queue4/.cvsignore:
13998         * examples/queue4/Makefile.am:
13999         * examples/queue4/queue4.c:
14000         * examples/retag/.cvsignore:
14001         * examples/retag/Makefile.am:
14002         * examples/retag/retag.c:
14003         * examples/retag/transcode.c:
14004         * examples/thread/.cvsignore:
14005         * examples/thread/Makefile.am:
14006         * examples/thread/thread.c:
14007         * examples/typefind/.cvsignore:
14008         * examples/typefind/Makefile.am:
14009         * examples/typefind/typefind.c:
14010         * examples/xml/.cvsignore:
14011         * examples/xml/Makefile.am:
14012         * examples/xml/createxml.c:
14013         * examples/xml/runxml.c:
14014         * tests/Makefile.am:
14015         * tests/check/Makefile.am:
14016         * testsuite/.cvsignore:
14017         * testsuite/Makefile.am:
14018         * testsuite/Rules:
14019         * testsuite/caps/.cvsignore:
14020         * testsuite/caps/Makefile.am:
14021         * testsuite/caps/app_fixate.c:
14022         * testsuite/caps/audioscale.c:
14023         * testsuite/caps/caps.c:
14024         * testsuite/caps/caps.h:
14025         * testsuite/caps/caps_strings:
14026         * testsuite/caps/compatibility.c:
14027         * testsuite/caps/deserialize.c:
14028         * testsuite/caps/enumcaps.c:
14029         * testsuite/caps/eratosthenes.c:
14030         * testsuite/caps/filtercaps.c:
14031         * testsuite/caps/fixed.c:
14032         * testsuite/caps/fraction-convert.c:
14033         * testsuite/caps/fraction-multiply-and-zero.c:
14034         * testsuite/caps/intersect2.c:
14035         * testsuite/caps/intersection.c:
14036         * testsuite/caps/normalisation.c:
14037         * testsuite/caps/random.c:
14038         * testsuite/caps/renegotiate.c:
14039         * testsuite/caps/sets.c:
14040         * testsuite/caps/simplify.c:
14041         * testsuite/caps/string-conversions.c:
14042         * testsuite/caps/structure.c:
14043         * testsuite/caps/subtract.c:
14044         * testsuite/caps/union.c:
14045         * testsuite/debug/.cvsignore:
14046         * testsuite/debug/Makefile.am:
14047         * testsuite/debug/category.c:
14048         * testsuite/debug/commandline.c:
14049         * testsuite/debug/global.c:
14050         * testsuite/debug/output.c:
14051         * testsuite/debug/printf_extension.c:
14052         * testsuite/dlopen/.cvsignore:
14053         * testsuite/dlopen/Makefile.am:
14054         * testsuite/dlopen/dlopen_gst.c:
14055         * testsuite/dlopen/loadgst.c:
14056         * testsuite/elements/.cvsignore:
14057         * testsuite/elements/Makefile.am:
14058         * testsuite/elements/gst-inspect-check.in:
14059         * testsuite/elements/struct_i386.h:
14060         * testsuite/elements/struct_size.c:
14061         * testsuite/indexers/.cvsignore:
14062         * testsuite/indexers/Makefile.am:
14063         * testsuite/indexers/cache1.c:
14064         * testsuite/indexers/indexdump.c:
14065         * testsuite/parse/.cvsignore:
14066         * testsuite/parse/Makefile.am:
14067         * testsuite/parse/parse1.c:
14068         * testsuite/parse/parse2.c:
14069         * testsuite/plugin/.cvsignore:
14070         * testsuite/plugin/Makefile.am:
14071         * testsuite/plugin/README:
14072         * testsuite/plugin/dynamic.c:
14073         * testsuite/plugin/linked.c:
14074         * testsuite/plugin/loading.c:
14075         * testsuite/plugin/registry.c:
14076         * testsuite/plugin/static.c:
14077         * testsuite/plugin/static2.c:
14078         * testsuite/plugin/testplugin.c:
14079         * testsuite/plugin/testplugin2.c:
14080         * testsuite/plugin/testplugin2_s.c:
14081         * testsuite/plugin/testplugin_s.c:
14082         * testsuite/refcounting/.cvsignore:
14083         * testsuite/refcounting/Makefile.am:
14084         * testsuite/refcounting/bin.c:
14085         * testsuite/refcounting/element.c:
14086         * testsuite/refcounting/element_pad.c:
14087         * testsuite/refcounting/mainloop.c:
14088         * testsuite/refcounting/mem.c:
14089         * testsuite/refcounting/mem.h:
14090         * testsuite/refcounting/object.c:
14091         * testsuite/refcounting/pad.c:
14092         * testsuite/refcounting/sched.c:
14093         * testsuite/refcounting/thread.c:
14094         * testsuite/states/.cvsignore:
14095         * testsuite/states/Makefile.am:
14096         * testsuite/states/bin.c:
14097         * testsuite/states/locked.c:
14098         * testsuite/states/parent.c:
14099         * testsuite/threads/.cvsignore:
14100         * testsuite/threads/159566.c:
14101         * testsuite/threads/159852.c:
14102         * testsuite/threads/Makefile.am:
14103         * testsuite/threads/queue.c:
14104         * testsuite/threads/signals.c:
14105         * testsuite/threads/staticrec.c:
14106         * testsuite/threads/thread.c:
14107         * testsuite/threads/threadb.c:
14108         * testsuite/threads/threadc.c:
14109         * testsuite/threads/threadd.c:
14110         * testsuite/threads/threade.c:
14111         * testsuite/threads/threadf.c:
14112         * testsuite/threads/threadg.c:
14113         * testsuite/threads/threadh.c:
14114         * testsuite/threads/threadi.c:
14115           move all of these under tests
14116
14117 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14118
14119         * configure.ac:
14120         * tests/Makefile.am:
14121           fix distcheck
14122
14123 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14124
14125         * docs/gst/gstreamer-sections.txt:
14126         * tests/sched/.cvsignore:
14127         * tests/sched/Makefile.am:
14128         * tests/sched/cases/(fs-fs).xml:
14129         * tests/sched/cases/(fs-i-fs).xml:
14130         * tests/sched/cases/(fs-i-i-fs).xml:
14131         * tests/sched/cases/(fs-i-q[i-fs]).xml:
14132         * tests/sched/dynamic-pipeline.c:
14133         * tests/sched/interrupt1.c:
14134         * tests/sched/interrupt2.c:
14135         * tests/sched/interrupt3.c:
14136         * tests/sched/runtestcases:
14137         * tests/sched/runxml.c:
14138         * tests/sched/sched-stress.c:
14139         * tests/sched/sort.c:
14140         * tests/sched/testcases:
14141         * tests/sched/testcases1.tc:
14142         * tests/seeking/.cvsignore:
14143         * tests/seeking/Makefile.am:
14144         * tests/seeking/seeking1.c:
14145         * tests/threadstate/.cvsignore:
14146         * tests/threadstate/Makefile.am:
14147         * tests/threadstate/test1.c:
14148         * tests/threadstate/test2.c:
14149         * tests/threadstate/threadstate1.c:
14150         * tests/threadstate/threadstate2.c:
14151         * tests/threadstate/threadstate3.c:
14152         * tests/threadstate/threadstate4.c:
14153         * tests/threadstate/threadstate5.c:
14154           remove obsolete tests
14155         * configure.ac:
14156         * tests/bench-complexity.scm:
14157         * tests/bench-mass_elements.scm:
14158         * tests/complexity.c:
14159         * tests/complexity.gnuplot:
14160         * tests/instantiate/.cvsignore:
14161         * tests/instantiate/Makefile.am:
14162         * tests/instantiate/caps.c:
14163         * tests/mass_elements.c:
14164         * tests/network-clock-utils.scm:
14165         * tests/network-clock.scm:
14166         * tests/plot-data:
14167         First pass at cleaning up tests/ dir before moving the rest
14168         Combined with CVS surgery
14169
14170 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14171
14172         * po/POTFILES.in:
14173           queue has moved, update
14174
14175 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14176
14177         * docs/gst/gstreamer-sections.txt:
14178           remove double entries from the docs
14179         * gst/gst_private.h:
14180         * gst/gstinfo.c: (_gst_debug_init):
14181           remove the THREAD debug category
14182         * gst/Makefile.am:
14183         * gst/gstqueue.c:
14184         * gst/gstqueue.h:
14185         * docs/gst/gstreamer.types:
14186         * plugins/elements/gstqueue.c: (gst_queue_get_type),
14187         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
14188           completely move queue and fix up debugging categories
14189
14190 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14191
14192         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14193           make initialization portable, using LL is not
14194
14195 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14196
14197         * win32/common/gstconfig.h:
14198           add large padding
14199
14200 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14201
14202         * win32/common/libgstreamer.def:
14203           rename symbols; sort base section
14204
14205 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14206
14207         * gst/gstclock.c: (do_linear_regression):
14208           remove crack non-portable handrolled DEBUG macro
14209
14210 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14211
14212         * docs/random/release:
14213           update notes
14214         * win32/common/gstenumtypes.c: (register_gst_object_flags),
14215         (gst_object_flags_get_type), (register_gst_bin_flags),
14216         (gst_bin_flags_get_type), (register_gst_buffer_flag),
14217         (gst_buffer_flag_get_type), (register_gst_bus_flags),
14218         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14219         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
14220         (gst_caps_flags_get_type), (register_gst_clock_return),
14221         (gst_clock_return_get_type), (register_gst_clock_entry_type),
14222         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14223         (gst_clock_flags_get_type), (register_gst_state),
14224         (gst_state_get_type), (register_gst_state_change_return),
14225         (gst_state_change_return_get_type), (register_gst_state_change),
14226         (gst_state_change_get_type), (register_gst_element_flags),
14227         (gst_element_flags_get_type), (register_gst_core_error),
14228         (gst_core_error_get_type), (register_gst_library_error),
14229         (gst_library_error_get_type), (register_gst_resource_error),
14230         (gst_resource_error_get_type), (register_gst_stream_error),
14231         (gst_stream_error_get_type), (register_gst_event_type_flags),
14232         (gst_event_type_flags_get_type), (register_gst_event_type),
14233         (gst_event_type_get_type), (register_gst_seek_type),
14234         (gst_seek_type_get_type), (register_gst_seek_flags),
14235         (gst_seek_flags_get_type), (register_gst_format),
14236         (gst_format_get_type), (register_gst_index_certainty),
14237         (gst_index_certainty_get_type), (register_gst_index_entry_type),
14238         (gst_index_entry_type_get_type),
14239         (register_gst_index_lookup_method),
14240         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14241         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14242         (gst_index_resolver_method_get_type), (register_gst_index_flags),
14243         (gst_index_flags_get_type), (register_gst_debug_level),
14244         (gst_debug_level_get_type), (register_gst_debug_color_flags),
14245         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14246         (gst_iterator_result_get_type), (register_gst_iterator_item),
14247         (gst_iterator_item_get_type), (register_gst_message_type),
14248         (gst_message_type_get_type), (register_gst_mini_object_flags),
14249         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14250         (gst_pad_link_return_get_type), (register_gst_flow_return),
14251         (gst_flow_return_get_type), (register_gst_activate_mode),
14252         (gst_activate_mode_get_type), (register_gst_pad_direction),
14253         (gst_pad_direction_get_type), (register_gst_pad_flags),
14254         (gst_pad_flags_get_type), (register_gst_pad_presence),
14255         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14256         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14257         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14258         (gst_plugin_error_get_type), (register_gst_plugin_flags),
14259         (gst_plugin_flags_get_type), (register_gst_rank),
14260         (gst_rank_get_type), (register_gst_query_type),
14261         (gst_query_type_get_type), (register_gst_tag_merge_mode),
14262         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14263         (gst_tag_flag_get_type), (register_gst_task_state),
14264         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14265         (gst_alloc_trace_flags_get_type),
14266         (register_gst_type_find_probability),
14267         (gst_type_find_probability_get_type), (register_gst_uri_type),
14268         (gst_uri_type_get_type), (register_gst_parse_error),
14269         (gst_parse_error_get_type):
14270         * win32/common/gstenumtypes.h:
14271         * win32/common/gstversion.h:
14272           update visual studio generated files
14273
14274 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14275
14276         * win32/vs6/libgstbase.dsp:
14277         * win32/vs6/libgstelements.dsp:
14278           update project files for new locations
14279
14280 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14281
14282         * Makefile.am:
14283           remove some files
14284         * README:
14285           reinstate and update
14286         * DEVEL:
14287         * REQUIREMENTS:
14288           removed
14289         * LICENSE:
14290         * docs/random/LICENSE:
14291           moved to random
14292
14293 2005-11-30  Edward Hervey  <edward@fluendo.com>
14294
14295         * gst/gsttypefind.c: (gst_type_find_register):
14296         * gst/gsttypefind.h:
14297         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14298         (gst_type_find_factory_dispose):
14299         * gst/gsttypefindfactory.h:
14300         Fix memory leak in GstTypeFindFactory.
14301
14302 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14303
14304         * gst/gst.c:
14305         * plugins/elements/Makefile.am:
14306         * plugins/elements/gstelements.c:
14307         * plugins/elements/gstqueue.c:
14308           move queue from core to the elements plugin
14309
14310 2005-11-29  Andy Wingo  <wingo@pobox.com>
14311
14312         * libs/gst/base/gstbasetransform.h: 
14313         * libs/gst/base/gstbasesrc.h: 
14314         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14315
14316         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14317         of pointers by which to pad very extensible base classes (like the
14318         ones in libs/gst/base).
14319
14320 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14321
14322         * docs/gst/gstreamer-docs.sgml:
14323         * docs/gst/gstreamer-sections.txt:
14324         * docs/libs/gstreamer-libs-docs.sgml:
14325         * docs/libs/gstreamer-libs-sections.txt:
14326           moving documentation from core to lib
14327
14328 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14329
14330         * check/Makefile.am:
14331         * configure.ac:
14332         * docs/gst/Makefile.am:
14333         * gst/Makefile.am:
14334         * gst/base/.cvsignore:
14335         * gst/base/Makefile.am:
14336         * gst/base/README:
14337         * gst/base/gstadapter.c:
14338         * gst/base/gstadapter.h:
14339         * gst/base/gstbasesink.c:
14340         * gst/base/gstbasesink.h:
14341         * gst/base/gstbasesrc.c:
14342         * gst/base/gstbasesrc.h:
14343         * gst/base/gstbasetransform.c:
14344         * gst/base/gstbasetransform.h:
14345         * gst/base/gstcollectpads.c:
14346         * gst/base/gstcollectpads.h:
14347         * gst/base/gstpushsrc.c:
14348         * gst/base/gstpushsrc.h:
14349         * gst/base/gsttypefindhelper.c:
14350         * gst/base/gsttypefindhelper.h:
14351         * gst/check/Makefile.am:
14352         * gst/check/gstcheck.c:
14353         * gst/check/gstcheck.h:
14354         * gst/net/Makefile.am:
14355         * gst/net/gstnet.h:
14356         * gst/net/gstnetclientclock.c:
14357         * gst/net/gstnetclientclock.h:
14358         * gst/net/gstnettimepacket.c:
14359         * gst/net/gstnettimepacket.h:
14360         * gst/net/gstnettimeprovider.c:
14361         * gst/net/gstnettimeprovider.h:
14362         * libs/gst/Makefile.am:
14363         * libs/gst/base/Makefile.am:
14364         * libs/gst/base/gstbasetransform.c:
14365         * libs/gst/check/Makefile.am:
14366         * plugins/elements/Makefile.am:
14367         * po/POTFILES.in:
14368           CVS surgery + support to move base, check, and net out of gst
14369           and into libs/gst
14370
14371 2005-11-29  Andy Wingo  <wingo@pobox.com>
14372
14373         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14374
14375         * gst/gststructure.h (struct _GstStructure): Only one pointer of
14376         padding.
14377
14378         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14379
14380         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14381
14382         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14383
14384         * gst/gstobject.h: (struct _GstObject): Only one pointer of
14385         padding; reduces object size by about 30%. We don't expect
14386         anything else to go into gstobject.
14387
14388         * gst/gstminiobject.h (struct _GstMiniObject)
14389         (struct _GstMiniObjectClass): Only one pointer of padding; the
14390         payload is only a pointer and two ints anyway. For the class there
14391         are only two methods as well.
14392         
14393         * gst/gstelement.h (struct _GstElementClass): Removed
14394         the state_changed signal callback, it is not used.
14395
14396 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14397
14398         * docs/gst/gstreamer.types:
14399           fix includes, though they are a little dinky
14400
14401 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14402
14403         * check/Makefile.am:
14404           look in the right place for elements, a lot more chance of
14405           success
14406         * gst/Makefile.am:
14407           remove indexers and elements subdirs
14408         * plugins/Makefile.am:
14409           make indexers conditional
14410
14411 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14412
14413         * Makefile.am:
14414         * configure.ac:
14415         * plugins/elements/Makefile.am:
14416         * plugins/elements/gstcapsfilter.c:
14417         * plugins/elements/gstfilesink.c:
14418         * plugins/elements/gstfilesrc.c:
14419         * plugins/elements/gstidentity.c:
14420         * plugins/indexers/Makefile.am:
14421           do CVS surgery and related build fixery to move elements
14422           and indexers in a new gstreamer/plugins directory, out of the
14423           gst/ directory
14424
14425 2005-11-29  Andy Wingo  <wingo@pobox.com>
14426
14427         * check/Makefile.am:
14428         * pkgconfig/gstreamer-net-uninstalled.pc.in:
14429         * pkgconfig/gstreamer-net.pc.in:
14430         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14431         #322257.
14432
14433 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14434
14435         * tools/Makefile.am:
14436         * tools/gst-complete.1.in:
14437         * tools/gst-complete.c:
14438         * tools/gst-compprep.1.in:
14439         * tools/gst-compprep.c:
14440           removing -compprep and -complete
14441
14442 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14443
14444         * gst/gstevent.c: (gst_event_new_new_segment),
14445         (gst_event_parse_new_segment):
14446         * gst/gstevent.h:
14447           fix #320529 - clean up new_segment API and structure.
14448           Let's hope everyone was using the methods, and not the structure.
14449
14450 2005-11-29  Edward Hervey  <edward@fluendo.com>
14451
14452         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14453         (gst_base_sink_event), (gst_base_sink_do_sync),
14454         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14455         Properly handle non GST_FORMAT_TIME segment
14456         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14457         Properly handle non GST_FORMAT_TIME segment
14458         * gst/gstsegment.c:
14459         This function is valid if the accumulator is 0 and the format
14460         is different from the requested format.
14461         
14462 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14463
14464         * docs/gst/gstreamer-sections.txt:
14465         Add gst_query_new_seeking and gst_query_parse_seeking to the
14466         docs.
14467
14468 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14469
14470         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14471           Treat a pad alloc with new caps the same as if we were not
14472           negotiated, in order to allow a changing upstream output
14473           to produce a new format of data.
14474
14475 2005-11-29  Edward Hervey  <edward@fluendo.com>
14476
14477         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14478         (gst_base_transform_event), (gst_base_transform_eventfunc):
14479         The event virtual method is now properly implemented, with a default
14480         handler
14481         Sub classes should call the parent_class event method. They should
14482         return FALSE if they had a problem handling the given event, or don't
14483         want GstBaseTransform to send that even downstream
14484         * gst/elements/gstidentity.c: (gst_identity_class_init),
14485         (gst_identity_init), (gst_identity_event),
14486         (gst_identity_transform_ip), (gst_identity_set_property),
14487         (gst_identity_get_property):
14488         * gst/elements/gstidentity.h:
14489         Added the single-segment boolean property.
14490         If set to TRUE, it will output a single segment of data, starting from
14491         0, will eat up all incoming newsegment, and modify the timestamp of the
14492         buffers accordingly
14493
14494 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
14495
14496         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14497           Don't ref NULL target pad (#322751). Improve docs.
14498
14499 2005-11-29  Michael Smith  <msmith@fluendo.com>
14500
14501         * gst/gstregistryxml.c: (load_plugin):
14502           Don't crash if we failed to load a feature from a plugin. 
14503
14504 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14505
14506         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14507         (GST_START_TEST):
14508           use more check API and less GLib API
14509
14510 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14511
14512         * Makefile.am:
14513           don't run checks if we don't have check
14514         * common/check.mak:
14515           remove the registry when running make torture
14516         * docs/gst/gstreamer-sections.txt:
14517           remove second multiply
14518         * gst/gstqueue.c: (gst_queue_loop):
14519           fix a compile warning when disabling debug
14520
14521 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14522
14523         * gst/gstinfo.h:
14524         Hey! Let's print the pad name if the pointer != NULL instead
14525         of when it == NULL :-)
14526
14527 2005-11-28  Wim Taymans  <wim@fluendo.com>
14528
14529         * check/gst/gstutils.c: (GST_START_TEST):
14530         Updated check, add some scaling accuracy checking code.
14531
14532         * gst/gstutils.c: (gst_util_div128_64),
14533         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14534         (gst_util_uint64_scale_int):
14535         Fix 6 times faster division code. Optimize for common 
14536         1/1 and less common X/1 cases.
14537
14538 2005-11-28  Wim Taymans  <wim@fluendo.com>
14539
14540         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14541         More checks.
14542
14543         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14544         (do_linear_regression), (gst_clock_add_observation):
14545         Cleanups.
14546         Release lock when the clock cannot be slaved.
14547         Catch the case where the regression returned an invalid denominator.
14548
14549         * gst/gstutils.c: (gst_util_div128_64_iterate),
14550         (gst_util_div128_64), (gst_util_uint64_scale_int64),
14551         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14552         Add protentially more performant non-iterative 128/64 divide function
14553         that unfortunatly does not work yet.
14554         Shortcut the trivial 0/X = 0 case.
14555         Remove the warnings on overflow.
14556
14557 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14558
14559         * gst/gstplugin.c: (gst_plugin_register_func):
14560           everything causing a plugin not to load should be at least a WARNING
14561
14562 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
14563
14564         * docs/random/ensonic/dparams.txt:
14565           some TODOs for the next dev cycle
14566         * libs/gst/controller/gstcontroller.c:
14567         (gst_controlled_property_set_interpolation_mode),
14568         (gst_controlled_property_new):
14569         * libs/gst/controller/gstcontroller.h:
14570           use base type to assign acccessor functions
14571
14572 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14573
14574         * check/Makefile.am:
14575         Oops, that should have been top_srcdir
14576
14577 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14578
14579         * check/Makefile.am:
14580         * check/elements/fdsrc.c: (GST_START_TEST):
14581         Use a cmdline define to specify the location of a file to use for
14582         testing, to avoid breaking distcheck.
14583
14584 2005-11-28  Andy Wingo  <wingo@pobox.com>
14585
14586         * gst/gstpad.c (fixate_value): Use array functions for arrays.
14587
14588 2005-11-28  Edward Hervey  <edward@fluendo.com>
14589
14590         * tools/gst-launch.c: (main):
14591         Clarify the output strings, makes it easier to translate.
14592         Fixes #322626
14593
14594 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14595
14596         * gst/Makefile.am:
14597           don't try and build net if we don't even have <sys/socket.h>
14598
14599 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
14600
14601         * check/Makefile.am:
14602         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14603         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14604           Add tests for fdsrc seekability
14605
14606         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14607         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14608         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14609         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14610         * gst/elements/gstfdsrc.h:
14611           fdsrc should not be a 'live' source.
14612           Implement seeking on seekable fd's.
14613
14614         * gst/gstquery.c: (gst_query_new_seeking),
14615         (gst_query_parse_seeking):
14616         * gst/gstquery.h:
14617           Implement SEEKING query functions: 
14618             *_new_seeking and *_parse_seeking
14619
14620 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14621
14622         * gst/gstelement.c: (gst_element_dispose):
14623           don't loop forever
14624
14625         * gst/gstiterator.c:
14626         * gst/gststructure.c:
14627           doc fixes
14628
14629         * libs/gst/controller/gstcontroller.c:
14630         (gst_controlled_property_set_interpolation_mode):
14631         * libs/gst/controller/gstcontroller.h:
14632         * libs/gst/controller/gstinterpolation.c:
14633         (interpolate_none_get_enum_value_array):
14634           support controlling enums
14635
14636 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14637
14638         * gst/gstvalue.c:
14639           Improve documentation for gst_value_union().
14640
14641         * gst/gstvalue.h:
14642           Change return value for union, intersect and subtract functions
14643           from gint to gboolean.
14644
14645 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14646
14647         * gst/gstvalue.c: (gst_value_serialize_any_list),
14648         (gst_value_transform_any_list_string),
14649         (gst_value_deserialize_list), (gst_value_deserialize_array),
14650         (gst_value_set_int_range), (gst_value_deserialize_int_range),
14651         (gst_value_set_double_range), (gst_value_deserialize_double_range),
14652         (gst_value_set_fraction_range_full),
14653         (gst_value_deserialize_fraction_range),
14654         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14655         (gst_value_deserialize_boolean),
14656         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14657         (gst_value_serialize_float), (gst_value_deserialize_float),
14658         (gst_string_wrap), (gst_value_deserialize_string),
14659         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14660         (gst_value_union_int_range_int_range),
14661         (gst_value_intersect_int_range_int_range),
14662         (gst_value_intersect_double_range_double_range),
14663         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14664         (gst_value_subtract_int_range_int_range),
14665         (gst_value_subtract_double_double_range),
14666         (gst_value_subtract_double_range_double_range),
14667         (gst_value_deserialize_fraction):
14668         * gst/gstvalue.h:
14669           Use gint, gdouble and gchar in our API instead of int, double and
14670           char (and make usage in gstvalue.c more consistent).
14671
14672 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14673
14674         * check/Makefile.am:
14675         * libs/gst/controller/Makefile.am:
14676         * libs/gst/dataprotocol/Makefile.am:
14677           fix up Makefile.am and remove GST_ENABLE_NEW
14678
14679 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14680
14681         * configure.ac:
14682         * gst/Makefile.am:
14683         * gst/base/Makefile.am:
14684         * gst/check/Makefile.am:
14685         * gst/elements/Makefile.am:
14686         * gst/net/Makefile.am:
14687           update LDFLAGS use some more
14688
14689 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14690
14691         * common/m4/gst-doc.m4:
14692           Fixes #312589
14693
14694 2005-11-26  Edward Hervey  <edward@fluendo.com>
14695
14696         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14697         This shouldn't issue a g_warning since it returns NULL if it
14698         couldn't find the plugin, and all functions using this behave
14699         properly on a NULL return. Switching to a GST_WARNING.
14700
14701 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
14702
14703         * gst/gstbin.c: (gst_bin_handle_message_func):
14704         Don't leak clock messages.
14705
14706 2005-11-25  Wim Taymans  <wim@fluendo.com>
14707
14708         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14709         (gst_util_uint64_scale_int):
14710         Optimisations, remove unneeded vars.
14711
14712 2005-11-25  Wim Taymans  <wim@fluendo.com>
14713
14714         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14715         Added more checks for the high precision uint64 cases.
14716
14717         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14718         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14719         Implement high precision (guint64 * guint64) / guint64.
14720
14721 2005-11-24  Wim Taymans  <wim@fluendo.com>
14722
14723         * gst/base/gstbasesrc.c: (gst_base_src_query):
14724         Fix wrong percentage query.
14725
14726         * gst/gstutils.c: (gst_util_uint64_scale),
14727         (gst_util_uint64_scale_int):
14728         Add some more common cases that can be handled 
14729         efficiently to _scale.
14730
14731 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14732
14733         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14734         (gst_mini_object_suite):
14735           don't use check calls from threads; check probably isn't
14736           threadsafe and using a lock to make it threadsafe would
14737           defeat the purpose of this check
14738         * gst/check/gstcheck.c:
14739         * gst/check/gstcheck.h:
14740           use GST_DEBUG some more
14741
14742 2005-11-24  Wim Taymans  <wim@fluendo.com>
14743
14744         * gst/gstutils.c: (gst_util_uint64_scale),
14745         (gst_util_uint64_scale_int):
14746         Chain trivial case to _scale_int.
14747
14748 2005-11-24  Wim Taymans  <wim@fluendo.com>
14749
14750         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14751         Added test for scaling.
14752
14753         * gst/gstclock.h:
14754         Small doc fix.
14755
14756         * gst/gstutils.c: (gst_util_uint64_scale_int):
14757         Implemented high precision scaling code.
14758
14759 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
14760
14761         * gst/gstinfo.h:
14762           do not crash on pad==NULL
14763
14764 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14765
14766         Patch by: Stefan Kost
14767
14768         * common/gtk-doc.mak:
14769         * docs/gst/Makefile.am:
14770         * docs/libs/Makefile.am:
14771           Fix distcheck issues for the libraries docs build
14772           Closes #319599.
14773
14774 2005-11-24  Michael Smith <msmith@fluendo.com>
14775
14776         * docs/manual/basics-helloworld.xml:
14777           Fix bug #315027: memory leak in example code in docs.
14778
14779 2005-11-24  Michael Smith <msmith@fluendo.com>
14780
14781         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14782           Unlock the PREROLL_LOCK in a failure case.
14783
14784 2005-11-24  Wim Taymans  <wim@fluendo.com>
14785
14786         * docs/gst/gstreamer-sections.txt:
14787         * gst/base/gstadapter.h:
14788         * gst/base/gstbasesink.h:
14789         * gst/base/gstbasesrc.h:
14790         * gst/base/gstbasetransform.h:
14791         * gst/base/gstpushsrc.h:
14792         * gst/elements/gstfakesink.h:
14793         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14794         * gst/elements/gstfakesrc.h:
14795         * gst/elements/gstfilesink.h:
14796         * gst/elements/gstfilesrc.h:
14797         * gst/gst.c:
14798         * gst/gstbin.c:
14799         * gst/gstbuffer.c: (_gst_buffer_copy):
14800         * gst/gstbus.h:
14801         * gst/gstcaps.c:
14802         * gst/gstchildproxy.c:
14803         * gst/gstclock.c:
14804         * gst/gstelement.c:
14805         * gst/gstelementfactory.c:
14806         * gst/gstelementfactory.h:
14807         * gst/gstevent.c:
14808         * gst/gstghostpad.h:
14809         * gst/gstindex.h:
14810         * gst/gstinterface.h:
14811         * gst/gstminiobject.c:
14812         * gst/gstminiobject.h:
14813         * gst/gstpad.c:
14814         * gst/gstpad.h:
14815         * gst/gstpadtemplate.h:
14816         * gst/gstpipeline.h:
14817         * gst/gstpluginfeature.h:
14818         * gst/gstquery.h:
14819         * gst/gstqueue.h:
14820         * gst/gsttaglist.c:
14821         * gst/gsttaglist.h:
14822         * gst/gsttagsetter.c:
14823         * gst/gsttagsetter.h:
14824         * gst/gsttrace.c:
14825         * gst/gsttrace.h:
14826         * gst/gsttypefind.h:
14827         * gst/gsturi.h:
14828         * gst/gstvalue.c:
14829         * gst/net/gstnetclientclock.c:
14830         * gst/net/gstnetclientclock.h:
14831         * gst/net/gstnettimepacket.c:
14832         * gst/net/gstnettimeprovider.c:
14833         * gst/net/gstnettimeprovider.h:
14834         Doc fixes.
14835
14836 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14837
14838         * configure.ac: back to HEAD
14839
14840 === release 0.9.6 ===
14841
14842 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
14843
14844         * configure.ac:
14845           releasing 0.9.6, "Always On Time"
14846
14847 2005-11-23  Wim Taymans  <wim@fluendo.com>
14848
14849         * docs/gst/gstreamer-sections.txt:
14850         * gst/glib-compat.c:
14851         * gst/gsttagsetter.c:
14852         * gst/gstvalue.c:
14853         * gst/net/gstnetclientclock.c:
14854         * gst/net/gstnettimepacket.h:
14855         Doc updates.
14856
14857 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14858
14859         * docs/faq/using.xml:
14860         * docs/libs/tmpl/gstcontrol.sgml:
14861         * docs/manual/advanced-dparams.xml:
14862         * docs/manual/appendix-checklist.xml:
14863         * docs/manual/basics-elements.xml:
14864         * docs/pwg/other-source.xml:
14865         * docs/random/moving-plugins:
14866         * gst/gstpad.c:
14867         * tools/gst-launch.1.in:
14868           remove mentions of sinesrc
14869
14870 2005-11-23  Michael Smith <msmith@fluendo.com>
14871
14872         * docs/gst/gstreamer-sections.txt:
14873           Update for new API and API changes.
14874         * gst/gstobject.h:
14875           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14876         * gst/gstvalue.c:
14877           Documentation typo fix.
14878         * gst/net/gstnettimepacket.c:
14879           Documentation fixes for arguments.
14880
14881 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
14882
14883         * gst/gststructure.c: (gst_structure_get_fraction),
14884         (gst_structure_parse_value),
14885         (gst_structure_fixate_field_nearest_fraction):
14886         * gst/gststructure.h:
14887         * gst/gstutils.c: (gst_util_uint64_scale_int):
14888         * gst/gstutils.h:
14889         * scripts/update-funcnames:
14890         API Changes. 
14891         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14892         Make gst_structure_fixate_field_nearest_fraction take a numerator
14893         and denominator argument instead of a GValue
14894         add gst_structure_get_fraction helper function.
14895
14896 2005-11-23  Wim Taymans  <wim@fluendo.com>
14897
14898         * docs/design/part-TODO.txt:
14899         Update TODO.
14900
14901         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14902         * gst/net/gstnetclientclock.h:
14903         Use parent fields for timeout and window_size.
14904
14905 2005-11-23  Andy Wingo  <wingo@pobox.com>
14906
14907         * check/net/gstnetclientclock.c (test_functioning): Adjust to
14908         rate_num/rate_denom change.
14909
14910         * gst/net/gstnetclientclock.c
14911         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14912         OBJECT_LOCK. Don't call add_observation with the lock.
14913
14914         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14915         fraction.
14916         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14917         rate fraction.
14918         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14919         deal with rate as a fraction whose numerator and denominator are
14920         GstClockTime values.
14921         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14922         master; the other fields are protected by the SLAVE_LOCK.
14923         (do_linear_regression): Note that this must be called with the
14924         SLAVE_LOCK.
14925         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14926         OBJECT_LOCK. Call set_calibration instead of touching the
14927         variables directly.
14928         (gst_clock_set_property, gst_clock_get_property): Protect
14929         master/slave parameters with the SLAVE_LOCK.
14930
14931         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14932         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14933         note that all of the instance variables that add_observation and
14934         the set_master functions use are protected by that lock and not
14935         the OBJECT_LOCK.
14936         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14937
14938         * gst/gstclock.c (gst_clock_add_observation): No longer requires
14939         the caller to take the object lock.
14940
14941 2005-11-23  Wim Taymans  <wim@fluendo.com>
14942
14943         * gst/gsterror.c: (_gst_core_errors_init):
14944         * gst/gsterror.h:
14945         Add error for clock stuff.
14946
14947         * gst/gstpipeline.c: (gst_pipeline_change_state),
14948         (gst_pipeline_set_clock):
14949         Post clock error when clock cannot be used in a pipeline.
14950
14951 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
14952
14953         * docs/gst/gstreamer-sections.txt:
14954           make two symbols from gstinfo private for the docs
14955         * gst/base/gstcollectpads.h:
14956         * gst/gstutils.c:
14957           fix doc typos, update docs
14958
14959 2005-11-22  Wim Taymans  <wim@fluendo.com>
14960
14961         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14962         (gst_base_sink_wait), (gst_base_sink_do_sync),
14963         (gst_base_sink_handle_event):
14964         * gst/base/gstbasesink.h:
14965         No need to store the clock, the parent element class already
14966         has it.
14967
14968         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14969         Updates for clock_set returning a gboolean
14970
14971         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14972         (gst_clock_id_wait_async), (gst_clock_class_init),
14973         (gst_clock_init), (gst_clock_finalize),
14974         (gst_clock_get_internal_time), (gst_clock_get_time),
14975         (gst_clock_slave_callback), (gst_clock_set_master),
14976         (gst_clock_get_master), (do_linear_regression),
14977         (gst_clock_add_observation), (gst_clock_set_property),
14978         (gst_clock_get_property):
14979         * gst/gstclock.h:
14980         Implement master/slave. When setting a clock as a slave, a
14981         periodic timeout is scheduled to sample master and slave times.
14982         Then the slave clock is recalibrated to match offset and rate
14983         of the master clock.
14984         Update logging a bit.
14985         Add flag so that a clock can state that is cannot be slaved to
14986         another clock.
14987
14988         * gst/gstelement.c: (gst_element_set_clock):
14989         * gst/gstelement.h:
14990         The set clock returns a gboolean for when an element cannot
14991         deal with the selected clock in the pipeline. 
14992
14993         * gst/gstpipeline.c: (gst_pipeline_change_state),
14994         (gst_pipeline_set_clock):
14995         * gst/gstpipeline.h:
14996         Handle the case where the selected clock cannot be set on
14997         the pipeline.
14998
14999         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
15000         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
15001         (gst_net_client_clock_set_property),
15002         (gst_net_client_clock_get_property),
15003         (gst_net_client_clock_observe_times):
15004         * gst/net/gstnetclientclock.h:
15005         Use regression code in GstClock parent, remove duplicated
15006         functionality.
15007
15008 2005-11-22  Michael Smith <msmith@fluendo.com>
15009
15010         * gst/gstutils.c: (gst_util_clock_time_scale):
15011         * gst/gstutils.h:
15012         * docs/gst/gstreamer-sections.txt:
15013           Rename method to have extra underscore.
15014
15015 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15016
15017         * gst/elements/Makefile.am:
15018         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
15019         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15020         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15021         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
15022         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
15023         * gst/elements/gstfakesrc.h:
15024         * gst/gstqueue.c: (queue_leaky_get_type):
15025           correctly fix GEnumValues so that nick is the short lowercase
15026           dashed tag
15027         * tools/gst-inspect.c: (print_element_properties_info):
15028           also show the nick, since it's useful to use from parse_launch
15029           syntax
15030           Fixes #322139
15031
15032 2005-11-22  Michael Smith <msmith@fluendo.com>
15033
15034         * gst/gstutils.c: (gst_util_clocktime_scale):
15035         * gst/gstutils.h:
15036         * docs/gst/gstreamer-sections.txt:
15037           Add util method for scaling a clocktime by a fraction. Useful 
15038           implementation is left as an exercise for the reader.
15039
15040 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15041
15042         * gst/gstvalue.c: (gst_value_collect_fraction_range):
15043         If needed, allocate storage in the destination value during
15044         collection.
15045
15046 2005-11-22  Edward Hervey  <edward@fluendo.com>
15047
15048         * docs/gst/gstreamer-sections.txt:
15049         * gst/Makefile.am:
15050         * gst/gst.h:
15051         * gst/gsturitype.c:
15052         * gst/gsturitype.h:
15053         * gst/gstutils.c: (gst_util_set_object_arg):
15054         * tools/gst-compprep.c: (main):
15055         * tools/gst-inspect.c: (print_element_properties_info):
15056         Removed GstURI, closes bug #321061
15057
15058 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15059
15060         * check/gst/gststructure.c: (GST_START_TEST):
15061         * gst/gststructure.c: (gst_structure_parse_value):
15062           Oops, broke automatic string type parsing.
15063           Add a test to catch it in future.
15064
15065 2005-11-22  Andy Wingo  <wingo@pobox.com>
15066
15067         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
15068         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
15069         Actually rename the function implementations. Grr.
15070
15071 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15072
15073         * check/gst/capslist.h:
15074           Comment test cases
15075         * check/gst/gststructure.c: (GST_START_TEST),
15076         (gst_structure_suite):
15077           Test automatic value type detection in gst_structure_from_string.
15078         * gst/gststructure.c: (gst_structure_parse_value):
15079           Add fraction as a type we try and guess automatically in
15080           caps/structure strings.
15081
15082 2005-11-22  Andy Wingo  <wingo@pobox.com>
15083
15084         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
15085
15086         * gst/gsttagsetter.h:
15087         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
15088         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
15089         (gst_tag_setter_add_tag_valist)
15090         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
15091         _add_values, _add_valist, and _add_valist_values. Since this is an
15092         interface the function suffixes should be more explicit so
15093         language binding don't end up with element.add_valist ->
15094         gst_tag_setter_add_valist, for example. Fixes #322069.
15095
15096 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15097
15098         * check/gst/gstcaps.c: (GST_START_TEST):
15099           Extend caps string tests to check that a caps to string
15100           conversion is reversible and produces the same caps.
15101
15102         * gst/gststructure.c: (gst_structure_value_get_generic_type):
15103           Output "fraction" as the generic type fraction range, so caps
15104           serialisation and deserialisation works.
15105         * check/gst/capslist.h:
15106         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15107           Support 'MIN' and 'MAX' for deserialising fractions.
15108
15109 2005-11-22  Andy Wingo  <wingo@pobox.com>
15110
15111         * gst/gstevent.h (gst_event_new_new_segment)
15112         (gst_event_parse_new_segment, gst_event_new_buffer_size)
15113         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
15114         Renamed from *_newsegment, *_buffersize, *_notarget.
15115
15116         * scripts/update-funcnames: New script, performs the changes
15117         listed above.
15118
15119 2005-11-22  Wim Taymans  <wim@fluendo.com>
15120
15121         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15122         Make sure the GstFlowReturn is returned.
15123
15124         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
15125         (gst_bus_add_signal_watch):
15126         * gst/gstbus.h:
15127         add gst_bus_add_signal_watch_full.
15128
15129         * gst/gstplugin.c: (gst_plugin_load_file):
15130         Small style cleanup.
15131
15132 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15133
15134         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
15135           Block the fakesrc srcpad when we send an event, to avoid
15136           contention on the stream_lock causing random test failures.
15137
15138 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15139
15140         * check/gst/gstvalue.c: (GST_START_TEST):
15141         * gst/gstvalue.c: (gst_value_fraction_subtract):
15142           Fix subtraction.
15143
15144 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
15145
15146         * gst/gst.h:
15147           include "gstchildproxy.h"
15148         * gst/gstchildproxy.h:
15149         * libs/gst/controller/gstcontroller.h:
15150           use G_GNUC_NULL_TERMINATED
15151
15152 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15153
15154         * check/gst/capslist.h:
15155         * check/gst/gstcaps.c: (GST_START_TEST):
15156         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15157         * gst/gststructure.c: (gst_structure_parse_range),
15158         (gst_structure_fixate_field_nearest_fraction):
15159         * gst/gststructure.h:
15160         * gst/gstvalue.c: (gst_value_init_fraction_range),
15161         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
15162         (gst_value_collect_fraction_range),
15163         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
15164         (gst_value_set_fraction_range_full),
15165         (gst_value_get_fraction_range_min),
15166         (gst_value_get_fraction_range_max),
15167         (gst_value_serialize_fraction_range),
15168         (gst_value_transform_fraction_range_string),
15169         (gst_value_compare_fraction_range),
15170         (gst_value_deserialize_fraction_range),
15171         (gst_value_intersect_fraction_fraction_range),
15172         (gst_value_intersect_fraction_range_fraction_range),
15173         (gst_value_subtract_fraction_fraction_range),
15174         (gst_value_subtract_fraction_range_fraction),
15175         (gst_value_subtract_fraction_range_fraction_range),
15176         (gst_value_collect_fraction), (gst_value_fraction_multiply),
15177         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
15178         (gst_value_transform_string_fraction), (_gst_value_initialize):
15179         * gst/gstvalue.h:
15180           Implement fraction ranges and extend GstFraction to support
15181           arithmetic subtraction, as well as deserialization from integer
15182           strings such as "100"
15183           Add a testsuite as for int and double range set operations
15184
15185 2005-11-21  Andy Wingo  <wingo@pobox.com>
15186
15187         * gst/gsttaglist.h: 
15188         * gst/gstcaps.h: 
15189         * gst/gststructure.h: Add glib-compat.h.
15190
15191 2005-11-21  Wim Taymans  <wim@fluendo.com>
15192
15193         * gst/gstbin.c: (gst_bin_change_state_func):
15194         Fix for #321595
15195
15196 2005-11-21  Wim Taymans  <wim@fluendo.com>
15197
15198         * gst/gstsegment.h:
15199         And add a nice define too.
15200
15201 2005-11-21  Wim Taymans  <wim@fluendo.com>
15202
15203         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
15204         (gst_segment_new), (gst_segment_free), (gst_segment_init),
15205         (gst_segment_set_duration), (gst_segment_set_last_stop),
15206         (gst_segment_set_seek), (gst_segment_set_newsegment),
15207         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15208         (gst_segment_clip):
15209         * gst/gstsegment.h:
15210         Make binding friendly.
15211
15212 2005-11-21  Andy Wingo  <wingo@pobox.com>
15213
15214         * gst/gsttagsetter.h: 
15215         * gst/gsttaglist.h: 
15216         * gst/gststructure.h: 
15217         * gst/gstcaps.h: 
15218         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
15219         #319940.
15220
15221         * gst/gsterror.c (_gst_core_errors_init):
15222         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
15223         category.
15224
15225         * gst/Makefile.am (gst_headers): Add glib-compat.h.
15226         (noinst_HEADERS): noinst the -private.
15227
15228 2005-11-21  Michael Smith <msmith@fluendo.com>
15229
15230         * gst/gstplugin.h:
15231         * gst/gstregistry.h:
15232           Remove unimplemented declarations for which we can see no sensible
15233           use.
15234
15235 2005-11-21  Andy Wingo  <wingo@pobox.com>
15236
15237         * gst/gst.h: Include glib-compat.h.
15238
15239         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15240
15241         * gst/glib-compat.c: Include the public and the private header.
15242
15243         * gst/glib-compat-private.h: Copied here from glib-compat.h.
15244
15245         * gst/gstvalue.c: 
15246         * gst/gstpad.c: 
15247         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15248
15249         * check/gst/gstevent.c (create_custom_events): Check that
15250         FLUSH_STOP is serialized.
15251
15252         * check/elements/identity.c (event_func): 
15253         * check/elements/fakesrc.c (event_func): No stream lock, the core
15254         takes it.
15255
15256         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15257         stream lock taking, yay.
15258
15259         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15260         ensure that core takes the stream lock.
15261
15262         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15263         lock name change.
15264
15265         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15266         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15267         it already. For the flush start we do take it though so we get the
15268         right preroll state change messages.
15269
15270         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15271         the stream lock here, the core does it for us.
15272
15273         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15274         GST_STREAM_GET_LOCK.
15275         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
15276         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
15277         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15278         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15279         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
15280         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15281
15282         * gst/gstpad.c: Update for stream lock name change.
15283
15284         * gst/base/gstbasesink.c: Update for preroll lock name change.
15285
15286 2005-11-21  Wim Taymans  <wim@fluendo.com>
15287
15288         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15289         (gst_clock_get_master):
15290         * gst/gstclock.h:
15291         * gst/gstsystemclock.c: (gst_system_clock_init):
15292         Convert Clock flags to object flags.
15293         Added methods to manage master/slave clocks.
15294
15295 2005-11-21  Wim Taymans  <wim@fluendo.com>
15296
15297         * check/gst/gstsegment.c: (GST_START_TEST):
15298         * docs/design/part-TODO.txt:
15299         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15300         (gst_base_sink_event), (gst_base_sink_do_sync),
15301         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15302         (gst_base_sink_query), (gst_base_sink_change_state):
15303         * gst/base/gstbasesink.h:
15304         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15305         (gst_base_src_default_newsegment),
15306         (gst_base_src_configure_segment), (gst_base_src_do_seek),
15307         (gst_base_src_get_range), (gst_base_src_loop),
15308         (gst_base_src_change_state):
15309         * gst/base/gstbasesrc.h:
15310         * gst/base/gstbasetransform.c:
15311         (gst_base_transform_prepare_output_buf),
15312         (gst_base_transform_event), (gst_base_transform_change_state):
15313         * gst/base/gstbasetransform.h:
15314         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15315         (gst_collect_pads_event):
15316         * gst/base/gstcollectpads.h:
15317         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15318         (gst_fake_src_create):
15319         * gst/elements/gstfakesrc.h:
15320         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15321         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15322         (gst_segment_set_last_stop), (gst_segment_set_seek),
15323         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15324         (gst_segment_to_running_time), (gst_segment_clip):
15325         * gst/gstsegment.h:
15326         More segment updates, replace code in plugins with segment
15327         helper functions.
15328
15329 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15330
15331         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15332         Don't ignore sscanf results
15333
15334 2005-11-21  Andy Wingo  <wingo@pobox.com>
15335
15336         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15337
15338         * *.h:
15339         * *.c: Ran scripts/update-macros. Oh yes.
15340
15341         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15342         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15343         GST_GET_LOCK, etc.
15344
15345         * scripts/update-macros: New script. Run it on your files to
15346         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15347         well.
15348
15349 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15350
15351         * docs/gst/Makefile.am:
15352         * docs/gst/gstreamer-docs.sgml:
15353         * docs/gst/gstreamer-sections.txt:
15354         * docs/gst/gstreamer.types:
15355         * gst/gstinfo.h:
15356           more docs fixes, add new api to the docs
15357
15358 2005-11-21  Andy Wingo  <wingo@pobox.com>
15359
15360         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15361         state_broadcast call.
15362
15363         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15364
15365 2005-11-21  Julien MOUTTE  <julien@moutte.net>
15366
15367         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15368         function calls for arrays.
15369
15370 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15371
15372         * docs/random/ensonic/media-device-daemon.txt:
15373           wild idea, can this be done?
15374         * docs/gst/gstreamer-sections.txt:
15375         * gst/gsterror.h:
15376         * gst/gstfilter.c:
15377         * gst/gstfilter.h:
15378         * gst/gstplugin.h:
15379         * gst/gstpluginfeature.c:
15380         * gst/gsttrace.c:
15381         * gst/gstvalue.c:
15382         * gst/gstvalue.h:
15383           doc fixes and additions
15384
15385 2005-11-21  Andy Wingo  <wingo@pobox.com>
15386
15387         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
15388         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
15389         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
15390         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15391         private to the basesrc implementation.
15392
15393         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15394         behalf of event function if necessary. It should no longer be
15395         necessary to take the stream lock in pad's event functions. Fixes
15396         #320299.
15397
15398 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15399         * docs/gst/gstreamer-sections.txt:
15400         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15401         (gst_structure_fixate_field_nearest_double),
15402         (gst_structure_fixate_field_boolean):
15403         * gst/gststructure.h:
15404         * win32/common/libgstreamer.def:
15405         * win32/gstreamer.def:
15406
15407         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15408         (#322027)
15409
15410 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15411
15412         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15413         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15414         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15415         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15416         (gst_fdsrc_uri_handler_init):
15417         * gst/elements/gstfdsrc.h:
15418           Port fd:// URI handler from 0.8 to fdsrc
15419
15420 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15421
15422         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15423         (gst_value_serialize_fourcc):
15424         * gst/gstvalue.h:
15425           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15426           consistent with our other format defines (#320324).
15427
15428 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15429
15430         * gst/gstvalue.c: (gst_value_is_fixed):
15431           Revert previous commit. Value lists are by definition
15432           not fixed, as they are a list of possible values.
15433
15434 2005-11-21  Andy Wingo  <wingo@pobox.com>
15435
15436         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15437         during the stable series if we need it. Fixes #319178.
15438
15439         * gst/gstevent.c (gst_event_new_filler): Removed.
15440
15441         * check/gst/gstevent.c: Update comment about filler events.
15442
15443 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15444
15445         * gst/gstvalue.c: (gst_value_is_fixed):
15446           Should handle both value arrays and value lists.
15447
15448 2005-11-21  Andy Wingo  <wingo@pobox.com>
15449
15450         patch by: Alessandro Dessina <alessandro nnva org>
15451
15452         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15453         functions to access arrays. Fixes #321962.
15454
15455 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15456
15457         * docs/gst/gstreamer.types:
15458           gst_collectpads_get_type => gst_collect_pads_get_type.
15459           
15460         * gst/base/gstbasetransform.c:
15461           Remove unused SIGNAL_HANDOFF enum.
15462
15463 2005-11-21  Andy Wingo  <wingo@pobox.com>
15464
15465         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15466         the event type (upstream, downstream, serialized). Renamed
15467         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15468         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15469         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15470
15471         * gst/gstevent.c: Update for new CUSTOM event names.
15472
15473         * check/gst/gstevent.c: Update check for new CUSTOM event names.
15474
15475         * gst/gstevent.h:
15476         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15477         bug #319392.
15478
15479 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15480
15481         * docs/gst/gstreamer-sections.txt:
15482         * win32/common/libgstbase.def:
15483         * win32/libgstbase.def:
15484         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15485         (gst_collect_pads_class_init), (gst_collect_pads_init),
15486         (gst_collect_pads_finalize), (gst_collect_pads_new),
15487         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15488         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15489         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15490         (gst_collect_pads_start), (gst_collect_pads_stop),
15491         (gst_collect_pads_peek), (gst_collect_pads_pop),
15492         (gst_collect_pads_available), (gst_collect_pads_read),
15493         (gst_collect_pads_flush), (gst_collect_pads_event),
15494         (gst_collect_pads_chain):
15495         * gst/base/gstcollectpads.h:
15496           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15497           unimplemented functions as unimplemented. Add padding to
15498           GstCollectData. (#320766, #320423)
15499
15500 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15501
15502         * gst/gstmessage.c:
15503           Improve docs for DURATION message (usage of duration parameter)
15504           (#320113)
15505
15506 2005-11-20  Wim Taymans  <wim@fluendo.com>
15507
15508         * check/Makefile.am:
15509         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15510         (main):
15511         * gst/Makefile.am:
15512         * gst/gst.h:
15513         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15514         (gst_segment_set_seek), (gst_segment_set_newsegment),
15515         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15516         (gst_segment_clip):
15517         * gst/gstsegment.h:
15518         Added segment helper structure and methods. Not fully implemented
15519         yet.
15520         Added segment check.
15521
15522 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
15523
15524         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15525           Add a deserialisation test for fractions
15526         * examples/metadata/read-metadata.c: (message_loop),
15527         (make_pipeline), (main):
15528           Fix up metadata reading sample.
15529         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15530           Debug format fix
15531         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15532           Don't try and fixate empty caps
15533         * gst/gst_private.h:
15534           Wrap in G_BEGIN_DECLS/G_END_DECLS
15535         * gst/gstvalue.c: (gst_value_collect_fraction),
15536         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15537         (gst_value_transform_string_fraction),
15538         (gst_value_compare_fraction):
15539           Add some extra guards to ensure that we don't end up 
15540           with an invalid denominator of 0 in a gstfraction and
15541           that fractions always get reduced.
15542
15543 2005-11-20  Wim Taymans  <wim@fluendo.com>
15544
15545         * docs/gst/gstreamer-sections.txt:
15546         * gst/gstbuffer.h:
15547         * gst/gstelement.c:
15548         * gst/gstformat.c:
15549         * gst/gstformat.h:
15550         * gst/gstindex.h:
15551         * gst/gstquery.c:
15552         * gst/gstquery.h:
15553         * gst/gstvalue.c:
15554         Doc fixes.
15555
15556 2005-11-20  Wim Taymans  <wim@fluendo.com>
15557
15558         * docs/design/part-TODO.txt:
15559         * gst/gstcaps.h:
15560         Make a proper enum of the flag.
15561
15562 2005-11-19  Wim Taymans  <wim@fluendo.com>
15563
15564         * docs/design/part-TODO.txt:
15565         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15566         (gst_format_to_quark), (gst_format_register):
15567         * gst/gstformat.h:
15568         * gst/gstquery.c: (_gst_query_initialize),
15569         (gst_query_type_get_name), (gst_query_type_to_quark),
15570         (gst_query_type_register):
15571         * gst/gstquery.h:
15572         Add type to quark and type to string conversions.
15573
15574 2005-11-19  Andy Wingo  <wingo@pobox.com>
15575
15576         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15577         #320097.
15578
15579 2005-11-19  Wim Taymans  <wim@fluendo.com>
15580
15581         * docs/design/part-TODO.txt:
15582         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15583         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15584         (gst_bin_handle_message_func):
15585         * gst/gstbin.h:
15586         Make message handling overridable.
15587
15588 2005-11-19  Andy Wingo  <wingo@pobox.com>
15589
15590         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15591
15592         * gst/gstclock.h:
15593         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15594         be a GstClockTime.
15595         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15596         is a GstClockTime. Fixes #321710.
15597
15598         * gst/gstclock.h (GstClock): Remove offset property. Add
15599         internal_calibration and external_calibration. Fix padding. Pad
15600         also by GstClockTime so we don't run into problems.
15601
15602         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15603         (gst_clock_get_rate_offset): Remove.
15604         (gst_clock_set_time_adjust): Remove. Fixes #321712.
15605
15606         * gst/gstutils.h:
15607         * gst/gstutils.c (g_static_rec_cond_wait)
15608         (g_static_rec_cond_timed_wait): Removed, no longer needed.
15609
15610         * gst/gstbin.c: Remove terrible continue_state prototype.
15611
15612         * gst/gstelement.h (gst_element_continue_state): Make public.
15613
15614         * gst/gstelement.h:
15615         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15616         by continue_state. Fixes #319389.
15617
15618         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15619         Really fixes #168438. However I don't see anywhere where the
15620         filter function is called... stupid GStreamer...
15621         
15622         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15623         don't have a dispose function, so it won't get called when the
15624         object is unreffed, but oh well!
15625
15626         * gst/gstindex.c (gst_index_set_filter_full): New API function,
15627         allows a destroy function to be set so user_data can be freed.
15628         Fixes #168438.
15629         (gst_index_set_filter): Call gst_index_set_filter_full.
15630
15631         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15632
15633         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15634         string should produce an error, given the lack of a way to
15635         represent NULL strings. Fixes #165650.
15636         
15637         * gst/gstvalue.h: 
15638         * gst/gstvalue.c (gst_value_array_append_value) 
15639         (gst_value_array_prepend_value, gst_value_array_get_size) 
15640         (gst_value_array_get_value): New API, copied from
15641         gst_value_list_*, only operates on arrays.
15642         (gst_value_list_append_value, gst_value_list_prepend_value) 
15643         (gst_value_list_concat, gst_value_list_get_size) 
15644         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15645
15646         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15647         init_list, because it works on both.
15648         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15649         (gst_value_copy_list_or_array): Renamed from copy_list.
15650         (gst_value_free_list_or_array): Renamed from free_list.
15651         (gst_value_collect_list_or_array): Renamed from collect_list.
15652         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15653         (gst_value_list_or_array_peek_pointer): Renamed from
15654         list_peek_pointer.
15655         (_gst_value_array_value_table, _gst_value_list_value_table):
15656         Update value table functions.
15657         (gst_value_compare_list_or_array): Renamed from compare_list.
15658
15659         * gsttaglist.h: Whoops, foreach function returns void. Also fix
15660         some constness.
15661
15662         * gst/gsttaglist.c:
15663         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15664         GstTagList*. Fixes #143472.
15665
15666         * gst/gststructure.h: Clarify what the foreach/map functions can
15667         or can't do to their arguments.
15668
15669 2005-11-18  Wim Taymans  <wim@fluendo.com>
15670
15671         * gst/gstclock.c: (gst_clock_set_calibration),
15672         (gst_clock_get_calibration):
15673         Doc and API fixes.
15674         Calibration can be set with internal time equal to current
15675         internal time too.
15676
15677 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15678
15679         * gst/gsterror.c:
15680         * gst/gsterror.h:
15681           document
15682
15683 2005-11-18  Andy Wingo  <wingo@pobox.com>
15684
15685         * configure.ac: 
15686         * pkgconfig/gstreamer-net.pc.in:
15687         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15688         * pkgconfig/Makefile.am: Add net pkgconfig files.
15689
15690 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
15691
15692         * gst/gstcaps.c:
15693         * gst/gstghostpad.c:
15694         * gst/gsttrace.c:
15695         * gst/gstvalue.c:
15696         * gst/gstvalue.h:
15697           docs fixes
15698
15699 2005-11-18  Andy Wingo  <wingo@pobox.com>
15700
15701         * gst/net/gstnetclientclock.c: Turn off debugging.
15702
15703         * check/net/gstnetclientclock.c (test_functioning): Assert that the
15704         times connverge somewhat. Can't make a real test.
15705
15706         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15707         integer arithmetic. Return the minimum of the domain, which can be
15708         set as "internal" for gst_clock_set_calibration.
15709         (gst_net_client_clock_observe_times): Call _set_calibration.
15710         (gst_net_client_clock_new): Call _set_calibration instead of
15711         rate_offset.
15712
15713         * check/net/gstnetclientclock.c (test_functioning): Use the right
15714         adjustment api.
15715
15716         * gst/gstclock.h:
15717         * gst/gstclock.c (gst_clock_get_calibration) 
15718         (gst_clock_set_calibration): New functions, obsolete the ones I
15719         added yesterday. Doh. Precision issues mean we have to extrapolate
15720         from a point in the more recent past than 1970.
15721         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15722         obsolete.
15723         (gst_clock_adjust_unlocked): Use the right calibration data.
15724
15725 2005-11-18  Edward Hervey  <edward@fluendo.com>
15726
15727         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
15728         Also reset the ->current_* values in READY->PAUSED
15729
15730 2005-11-18  Andy Wingo  <wingo@pobox.com>
15731
15732         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15733         Whoops, check the right fd. Also add some debugging.
15734         (gst_net_client_clock_observe_times): Adjust for int64 offset.
15735         (do_linear_regression): Add a crapload of debugging. Subtract off
15736         the minimum values from the input series to discard unneeded bits.
15737         Use only int arithmetic. There is still double arithmetic when
15738         calculating the intercept that needs fixing. Return boolean to
15739         indicate success; FALSE would mean the domain or range is too
15740         great. Still needs fixes.
15741
15742 2005-11-18  Wim Taymans  <wim@fluendo.com>
15743
15744         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15745         For the current position in stream time, we need to subtract
15746         accumulated time.
15747         
15748         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15749         Release lock before calling the callback function of async
15750         entries.
15751
15752 2005-11-18  Andy Wingo  <wingo@pobox.com>
15753
15754         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15755         Port goes all the way to MAXUINT16.
15756
15757         * gst/net/gstnettimeprovider.c: Make the port range the same as
15758         for the kernel: 0 assigns, otherwise ports are less than
15759         MAXUINT16.
15760
15761         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15762         port change.
15763
15764         * check/net/gstnetclientclock.c (test_functioning): Add the start
15765         of another test. 
15766
15767 2005-11-18  Wim Taymans  <wim@fluendo.com>
15768
15769         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15770         (gst_bin_remove_func), (bin_bus_handler):
15771         * gst/gstbin.h:
15772         Removing a clock provider from a bin, triggers a clock lost message
15773         so that a new clock will be selected.
15774         Adding a clock to a bin triggers a clock provider message.
15775         Make sure we reselect a clock when we received a clock lost message.
15776         Keep a reference to the element that provided the clock.
15777
15778 2005-11-18  Andy Wingo  <wingo@pobox.com>
15779
15780         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15781         the clock initially so it produces values around the base time.
15782         (gst_net_client_clock_class_init): Typo fix.
15783         (gst_net_client_clock_thread): Add note on when the socket gets
15784         closed.
15785
15786 2005-11-17  Wim Taymans  <wim@fluendo.com>
15787
15788         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15789         Free remote and local time arrays.
15790
15791 2005-11-17  Wim Taymans  <wim@fluendo.com>
15792
15793         * gst/net/gstnetclientclock.c: (do_linear_regression),
15794         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15795         Fix compilation, uninitialized vars and a forgotten continue.
15796
15797 2005-11-17  Andy Wingo  <wingo@pobox.com>
15798
15799         * check/Makefile.am (check_PROGRAMS): 
15800         * check/net/gstnetclientclock.c: Add a most minimal test for the
15801         net client clock. More to come later.
15802
15803         * gst/net/gstnet.h: 
15804         * gst/net/Makefile.am: Add netclientclock.
15805
15806         * gst/net/gstnetclientclock.h:
15807         * gst/net/gstnetclientclock.c: New files, implement an untested
15808         GstClock that takes its time from a network time provider.
15809         Implements the algorithm in network-clock.scm.
15810
15811         * tests/network-clock.scm (*window-size*): Rename from
15812         *queue-length*.
15813         * tests/network-clock.scm (network-time): 
15814         * tests/network-clock-utils.scm (q-push): Update callers.
15815
15816 2005-11-17  Wim Taymans  <wim@fluendo.com>
15817
15818         * gst/gstbin.c: (gst_bin_provide_clock_func),
15819         (gst_bin_sort_iterator_new):
15820         And unref the child too..
15821
15822 2005-11-17  Wim Taymans  <wim@fluendo.com>
15823
15824         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15825         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15826         Refactor the sort iterator so it can be used while holding the
15827         LOCK too.
15828         Make clock selection select a clock closest to the source.
15829
15830 2005-11-17  Michael Smith <msmith@fluendo.com>
15831
15832         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15833         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15834         * gst/gstclock.h:
15835           Anonymous structs are a gcc (and some other compilers) extension, so
15836           don't use them. Since this is only for ABI-compatibility, and our
15837           API/ABI freeze is over in a few days, this whole thing will only
15838           last a few days, so don't bother trying to think up a meaningful
15839           name for the struct.
15840
15841 2005-11-17  Andy Wingo  <wingo@pobox.com>
15842
15843         * gst/gstclock.h (GstClock): Add rate and offset properties,
15844         preserving ABI stability. Add rate/offset accessors. Will file bug
15845         for the freeze break.
15846
15847         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15848         and offset, trying to keep precision and avoiding
15849         underflow/overflow.
15850         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15851         functions. Make gst_clock_set_time_adjust obsolete.
15852         (gst_clock_set_time_adjust): Note that this function is obsolete.
15853         Will file bug soon.
15854
15855         * gst/base/gstbasetransform.h: Make the ABI-stability hack
15856         greppable by using GST_PADDING-1+1.
15857
15858 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
15859
15860         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15861
15862         * gst/gstmessage.c: (gst_message_parse_clock_lost):
15863           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15864
15865         * gst/gstpadtemplate.h:
15866         * gst/gstpluginfeature.h:
15867           Don't use c++ style comments in headers (#321638).
15868
15869 2005-11-16  Andy Wingo  <wingo@pobox.com>
15870
15871         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15872         buffer.
15873
15874         * check/net/gstnettimeprovider.c: Check to see that the time
15875         provider actually provides times. Works, yo!
15876
15877 2005-11-16  Wim Taymans  <wim@fluendo.com>
15878
15879         * check/Makefile.am:
15880         Enable more tests.
15881
15882         * check/elements/fakesrc.c: (GST_START_TEST):
15883         Set element to NULL before disposing it.
15884
15885 2005-11-16  Andy Wingo  <wingo@pobox.com>
15886
15887         * gst/net/Makefile.am:
15888         * gst/net/gstnet.h:
15889         * gst/net/gstnettimeprovider.c: 
15890         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15891         provider, include it from gstnet.h, and add it to the build.
15892
15893         * gst/net/gstnettimepacket.h: 
15894         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15895         sending and receiving.
15896
15897 2005-11-16  Wim Taymans  <wim@fluendo.com>
15898
15899         * check/Makefile.am:
15900         Enable valgrind check.
15901
15902         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15903         (gst_fake_src_alloc_buffer):
15904         Fix memleak.
15905
15906 2005-11-16  Wim Taymans  <wim@fluendo.com>
15907
15908         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15909         Call parent finalize too.
15910
15911 2005-11-16  Wim Taymans  <wim@fluendo.com>
15912
15913         * check/Makefile.am:
15914         Enable valgrind check that should work fine now.
15915
15916         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15917         * gst/gstqueue.c: (gst_queue_init):
15918         Fix memleaks in pad allocation.
15919
15920 2005-11-16  Andy Wingo  <wingo@pobox.com>
15921
15922         * gst/net/Makefile.am:
15923         * gst/net/gstnet.h: New part of core to hold network elements and
15924         objects. Put in core because it exposes API that applications want
15925         to use. The library is named libgstnet-tempname right now because
15926         of the existing libgstnet in gst-plugins-base. Solution is
15927         probably to rename the one in plugins-base; will file a bug for
15928         the freeze break.
15929
15930         * gst/net/gstnettimeprovider.c: 
15931         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15932         get_time call over the network.
15933
15934         * configure.ac: 
15935         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15936
15937         * check/Makefile.am:
15938         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15939         get additions shortly.
15940
15941 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15942
15943         * gst/gstpad.c: (gst_pad_new_from_static_template):
15944         * gst/gstpad.h:
15945           add gst_pad_new_from_static_template functions
15946         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15947         (gst_check_setup_sink_pad):
15948         * gst/elements/gsttee.c: (gst_tee_init):
15949           and use them
15950
15951 2005-11-16  Wim Taymans  <wim@fluendo.com>
15952
15953         * gst/gstpad.c: (gst_pad_pause_task):
15954         Removed warning, it's not really an error either.
15955
15956 2005-11-16  Wim Taymans  <wim@fluendo.com>
15957
15958         * gst/base/gstbasetransform.c:
15959         (gst_base_transform_prepare_output_buf),
15960         (gst_base_transform_event):
15961         Check if the caps are NULL, this can happen if the element
15962         is shutting down and the pad caps are set to NULL.
15963
15964 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15965
15966         * gst/elements/gsttee.c: (gst_tee_init):
15967           fix pad template leak in tee
15968
15969 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15970
15971         * gst/glib-compat.c: (g_value_dup_gst_object):
15972         * gst/glib-compat.h:
15973         * gst/gstpad.c: (gst_pad_set_property):
15974           use gst_object_ref when setting the pad template; this will
15975           trigger the pad template leaks on GLib 2.6 and the slaves
15976
15977 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15978
15979         * gst/glib-compat.c: (gst_flags_get_first_value):
15980         * gst/glib-compat.h:
15981         * gst/gstregistryxml.c:
15982           remove functions copied from GLib 2.6
15983
15984 2005-11-16  Michael Smith <msmith@fluendo.com>
15985
15986         * gst/Makefile.am:
15987           Don't link against VALGRIND_LIBS. That was always the wrong thing to
15988           do, but only breaks with newer valgrind versions. We're not a
15989           valgrind tool, we have no link-time dependencies on libcoregrind.
15990
15991 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15992
15993         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15994           some debug changes
15995         * gst/gstmessage.h:
15996           typo fixes
15997
15998 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15999
16000         * gst/base/gstbasesrc.c: (gst_base_src_init):
16001         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16002         * gst/gstqueue.c: (gst_queue_init):
16003         * gst/gstregistryxml.c: (load_feature):
16004           Revert all these unrefs, they don't even pass make check !
16005
16006 2005-11-15  Johan Dahlin  <johan@gnome.org>
16007
16008         * gst/base/gstbasesrc.c: (gst_base_src_init):
16009         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16010         * gst/gstqueue.c: (gst_queue_init): 
16011         Free pad templates, fixes a couple of leaks.
16012
16013 2005-11-15  Daniel Fischer  <dan at f3c dot com>
16014
16015         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16016
16017         * gst/gstpad.c: (gst_pad_get_property):
16018           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
16019           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
16020           (#321452)
16021
16022 2005-11-15  Wim Taymans  <wim@fluendo.com>
16023
16024         * gst/gstevent.c:
16025         Small doc update.
16026
16027 2005-11-15  Andy Wingo  <wingo@pobox.com>
16028
16029         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
16030
16031         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
16032         using GST_CLOCK_TIME_NONE to disable base time management.
16033         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
16034         time if it was NONE before.
16035         (gst_pipeline_change_state): Only munge the base time if
16036         stream_time != GST_CLOCK_TIME_NONE.
16037
16038         * check/gst/gstpipeline.c (test_base_time): Punt around the
16039         problem of the probe not being called, because that's not the
16040         issue I'm looking at. Add a check that setting stream_time to NONE
16041         disables base time management.
16042         
16043 2005-11-15  Wim Taymans  <wim@fluendo.com>
16044
16045         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16046         segment_stop == -1 at startup.
16047
16048         * gst/base/gstbasetransform.c: (gst_base_transform_event),
16049         (gst_base_transform_change_state):
16050         Init segment values at start.
16051
16052 2005-11-15  Wim Taymans  <wim@fluendo.com>
16053
16054         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16055         0 segment values are 0 in any format.
16056
16057         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16058         * gst/base/gstbasetransform.h:
16059         Parse newsegment correctly in basetransform
16060
16061         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16062         Sync to clock using updated segment values.
16063
16064 2005-11-15  Andy Wingo  <wingo@pobox.com>
16065
16066         * check/gst/gstpipeline.c (test_base_time): Add check that the
16067         base time and stream time are reset correctly.
16068
16069 2005-11-15  Wim Taymans  <wim@fluendo.com>
16070
16071         * docs/design/part-TODO.txt:
16072         Some more TODO items.
16073
16074 2005-11-15  Andy Wingo  <wingo@pobox.com>
16075
16076         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
16077         error if the user selected "no clock" as the clocking method.
16078
16079         * check/gst/gstpipeline.c (test_base_time): New test for buffer
16080         timestamps with live capture.
16081
16082         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
16083         is 0 but we are a live source, timestamp the buffers using the
16084         element's clock.
16085
16086 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
16087
16088         * docs/gst/gstreamer-sections.txt:
16089         * gst/gsterror.c:
16090         * gst/gstghostpad.c:
16091         * gst/gstobject.h:
16092         * gst/gstxml.c:
16093           more section docs
16094
16095 2005-11-14  Wim Taymans  <wim@fluendo.com>
16096
16097         * common/gst.supp:
16098           add suppressions from Wim's Debian machine
16099
16100 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16101
16102         * common/gst.supp:
16103           add suppressions from Andy's AMD64 Ubuntu machine
16104
16105 2005-11-14  Andy Wingo  <wingo@pobox.com>
16106
16107         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
16108         STATE_LOCK not necessary. Fixes #311489.
16109
16110         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
16111         #305291.
16112
16113         * gst/gstindex.c (gst_index_add_object): Note in the docs that
16114         this function is not implemented.
16115
16116 2005-11-14  Julien MOUTTE  <julien@moutte.net>
16117
16118         * gst/base/gstbasetransform.c:
16119         (gst_base_transform_prepare_output_buf):
16120         Ref the source pad caps while we need them.
16121         Fixes (#321386)
16122
16123 2005-11-11  Wim Taymans  <wim@fluendo.com>
16124
16125         * docs/gst/gstreamer-sections.txt:
16126         Added some docs for GstCollectData.
16127
16128         * gst/base/gstadapter.c:
16129         Some small code example fix.
16130
16131         * gst/base/gstcollectpads.c:
16132         * gst/base/gstcollectpads.h:
16133         Document some more.
16134
16135 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16136
16137         * configure.ac: back to HEAD
16138
16139 === release 0.9.5 ===
16140
16141 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
16142
16143         * configure.ac:
16144           releasing 0.9.5, "Bike Lunch Day"
16145
16146 2005-11-11  Wim Taymans  <wim@fluendo.com>
16147
16148         * gst/gstbuffer.c: (_gst_buffer_copy):
16149         Copy more flags.
16150
16151         * gst/gstcaps.c: (gst_caps_is_equal):
16152         Fix some docs.
16153         Make _is_equal fast in the trivial cases.
16154
16155         * gst/gstminiobject.c:
16156         * gst/gstminiobject.h:
16157         More docs. Spifify .h file.
16158
16159         * gst/gstutils.c:
16160         Small doc update.
16161
16162 2005-11-11  Wim Taymans  <wim@fluendo.com>
16163
16164         * gst/base/gstbasetransform.c:
16165         (gst_base_transform_prepare_output_buf),
16166         (gst_base_transform_handle_buffer):
16167         Small cleanups.
16168         If we're processing a buffer and need to allocate an output
16169         buffer, we cannot accept a format change. If we did get a 
16170         format change, we have to alloc a buffer ourselves of the 
16171         right size.
16172
16173 2005-11-11  Wim Taymans  <wim@fluendo.com>
16174
16175         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
16176         While checking the flag for reentrancy in the gstcaps function
16177         is nice to detect recursive invocations, it also makes it 
16178         impossible to call getcaps from multiple threads, which must be
16179         possible. So, checking for recursive calls has to go.
16180
16181 2005-11-11  Michael Smith <msmith@fluendo.com>
16182
16183         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16184           Don't sync on buffers that fall partially outside our current
16185           segment. Prevents an assertion failure/abort playing some files.
16186
16187 2005-11-10  Andy Wingo  <wingo@pobox.com>
16188
16189         * check/gst/gstbin.c (test_message_state_changed_children): Style
16190         fix..
16191
16192         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
16193         gst_bus_poll with the signal watch. Ensures that poll and a signal
16194         watch see the same messages.
16195
16196         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
16197         a poll and a watch at the same time get the same messages.
16198
16199 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16200
16201         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
16202         * gst/gstcaps.c: (gst_caps_intersect):
16203           Don't call gst_caps_do_simplify - it doesn't respect order of caps
16204           and it's not needed.
16205
16206 2005-11-10  Wim Taymans  <wim@fluendo.com>
16207
16208         * docs/design/part-TODO.txt:
16209         Updated todo.
16210
16211 2005-11-10  Wim Taymans  <wim@fluendo.com>
16212
16213         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16214         * gst/base/gstbasesrc.c: (gst_base_src_wait),
16215         (gst_base_src_do_sync), (gst_base_src_get_range):
16216         Implement clock sync in base class.
16217
16218 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16219
16220         patch by: Tim-Philipp Müller <tim at centricular dot net>
16221
16222         * gst/gststructure.c: (gst_structure_parse_field),
16223         (gst_structure_from_string):
16224           Forward-port a 0.8 patch to handle escaped spaces in structure string,
16225           so that gst_parse_launch() can deal with spaces in filtered link
16226           caps (fixes #164479)
16227         * check/gst/capslist.h:
16228         * check/gst/gststructure.c: (GST_START_TEST):
16229           add unit tests for this change
16230
16231 2005-11-10  Wim Taymans  <wim@fluendo.com>
16232
16233         * docs/gst/gstreamer-sections.txt:
16234         * gst/gstelement.c:
16235         * gst/gstelement.h:
16236         Fix docs, move some STATE macros to private.
16237
16238 2005-11-10  Wim Taymans  <wim@fluendo.com>
16239
16240         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16241         Added check for bug #317341
16242
16243         * gst/gstbuffer.c:
16244         * gst/gstbuffer.h:
16245         Some more spiffifying.
16246
16247         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16248         Call peer linkfunction if we are a source pad. Totally fixes
16249         #317341
16250
16251         * gst/gstpad.c:
16252         Update docs, source pads should call the peer linkfunction
16253         so they can atomically perform the pad link.
16254
16255 2005-11-09  Wim Taymans  <wim@fluendo.com>
16256
16257         * gst/gstbuffer.c:
16258         * gst/gstbuffer.h:
16259         Uber-spiffy-spiffify some more.
16260
16261 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
16262
16263         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16264         * gst/elements/gstfilesink.c: (gst_file_sink_init):
16265         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16266         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16267         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16268         * gst/gstpad.c: (gst_pad_init):
16269           Use GST_DEBUG_FUNCPTR() more extensively.
16270
16271 2005-11-09  Wim Taymans  <wim@fluendo.com>
16272
16273         * gst/gstobject.c: (gst_object_class_init):
16274         * gst/gstobject.h:
16275         Documentation fixes.
16276
16277 2005-11-09  Edward Hervey  <edward@fluendo.com>
16278
16279         * gst/gsttypefindfactory.c:
16280         Fix docs.
16281         
16282 2005-11-09  Edward Hervey  <edward@fluendo.com>
16283
16284         * gst/base/gsttypefindhelper.c:
16285         * gst/gsttypefind.c:
16286         * gst/gsttypefind.h:
16287         Fix docs.
16288
16289 2005-11-09  Wim Taymans  <wim@fluendo.com>
16290
16291         * gst/gstiterator.c:
16292         Fix revision data.
16293
16294         * gst/gsttask.c:
16295         * gst/gsttask.h:
16296         Fix docs.
16297
16298 2005-11-09  Wim Taymans  <wim@fluendo.com>
16299
16300         * gst/gstevent.h:
16301         * gst/gsturi.h:
16302         Fix docs.
16303
16304 2005-11-09  Wim Taymans  <wim@fluendo.com>
16305
16306         * docs/gst/gstreamer-sections.txt:
16307         Moved the message async delivery private lock and cond
16308         to the private section.
16309
16310         * gst/gstmessage.c:
16311         * gst/gstmessage.h:
16312         Fixed docs.
16313
16314 2005-11-09  Edward Hervey  <edward@fluendo.com>
16315
16316         * docs/gst/gstreamer-sections.txt:
16317         * gst/gsturi.c:
16318         * gst/gsturi.h:
16319         Document GstURIHandler
16320
16321 2005-11-09  Wim Taymans  <wim@fluendo.com>
16322
16323         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16324         (gst_iterator_find_custom):
16325         * gst/gstiterator.h:
16326         Fix iterator docs.
16327
16328 2005-11-09  Wim Taymans  <wim@fluendo.com>
16329
16330         * gst/gstbin.h:
16331         Document another field.
16332
16333         * gst/gststructure.c:
16334         * gst/gststructure.h:
16335         Document.
16336
16337 2005-11-09  Wim Taymans  <wim@fluendo.com>
16338
16339         * gst/gstbin.h:
16340         Documented structs.
16341
16342 2005-11-09  Wim Taymans  <wim@fluendo.com>
16343
16344         * docs/gst/gstreamer-sections.txt:
16345         Added some new macros.
16346
16347         * gst/gstclock.c:
16348         * gst/gstclock.h:
16349         * gst/gstobject.h:
16350         Docs updates.
16351
16352 2005-11-09  Wim Taymans  <wim@fluendo.com>
16353
16354         * docs/design/part-TODO.txt:
16355         Some more items for the TODO
16356
16357         * gst/gstcaps.c:
16358         * gst/gstcaps.h:
16359         Document GstCaps.
16360
16361 2005-11-09  Andy Wingo  <wingo@pobox.com>
16362
16363         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16364         to work on something else now tho...
16365
16366         * gst/base/gstadapter.c: More adapter docs.
16367
16368         * gst/elements/gstfilesink.c (gst_file_sink_start) 
16369         (gst_file_sink_stop): New functions, replace the state change
16370         handler.
16371         (gst_file_sink_class_init): Hook up the start and stop functions.
16372         (gst_file_sink_base_init): Don't set the state change handler any
16373         more. It was a bit ugly too, being set from here...
16374         (gst_file_sink_get_property, gst_file_sink_set_property):
16375         Cleanups...
16376         (gst_file_sink_set_location): More robust check that doesn't call
16377         GST_STATE. Ugggggg.
16378
16379 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
16380
16381         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16382           Hold STREAM_LOCK while pushing newsegment or tag events as well.
16383
16384 2005-11-08  Wim Taymans  <wim@fluendo.com>
16385
16386         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16387         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16388         (gst_base_sink_chain), (gst_base_sink_change_state):
16389         * gst/base/gstbasesink.h:
16390         * gst/base/gstbasesrc.h:
16391         * gst/gstelement.h:
16392         * gst/gstevent.h:
16393         Avoid excessive typechecking in macros.
16394
16395         * gst/gstminiobject.c: (gst_mini_object_get_type),
16396         (gst_mini_object_init), (gst_mini_object_new),
16397         (gst_mini_object_free):
16398         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16399         (gst_object_finalize):
16400         Remove cruft code, optimize alloc_trace.
16401
16402 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16403
16404         * docs/faq/gst-uninstalled:
16405           fix up PS1 for systems that try to reset it
16406
16407 2005-11-07  Wim Taymans  <wim@fluendo.com>
16408
16409         * gst/base/gstbasesrc.c: (gst_base_src_init),
16410         (gst_base_src_get_range):
16411         Set the segment_end to -1 initially. Fixed typefind.
16412
16413 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
16414
16415         * gst/base/gstadapter.c:
16416           Debug category should be 'adapter', not 'GstAdapter'.
16417           
16418         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16419         (gst_collectpads_class_init), (gst_collectpads_init),
16420         (gst_collectpads_peek), (gst_collectpads_pop),
16421         (gst_collectpads_event), (gst_collectpads_chain):
16422           Add debug category and some debugging output. Use boilerplate
16423           macros. Remove some extraneous words from docs.
16424
16425 2005-11-05  Andy Wingo  <wingo@pobox.com>
16426
16427         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16428         macro.
16429
16430 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16431
16432         * docs/gst/gstreamer-sections.txt:
16433         * gst/gstcaps.h:
16434         * gst/gstinfo.c:
16435         * gst/gstminiobject.h:
16436         * gst/gstobject.h:
16437         * gst/gstutils.h:
16438           more docs added
16439
16440 2005-11-04  Wim Taymans  <wim@fluendo.com>
16441
16442         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16443         Small update to stop at the configured segment_end
16444         position.
16445
16446 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16447
16448         * gst/gstregistry.c:
16449         * gst/gstregistry.h:
16450           added missing docs
16451
16452 2005-11-04  Edward Hervey  <edward@fluendo.com>
16453
16454         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16455         Check if we are doing a segment seek and have arrived at the
16456         end of that segment.
16457
16458 2005-11-04  Wim Taymans  <wim@fluendo.com>
16459
16460         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16461         Don't leak a mutex unlock in case of an error.
16462
16463         * gst/gstbus.h:
16464         Doc fixes.
16465
16466 2005-11-04  Wim Taymans  <wim@fluendo.com>
16467
16468         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16469         (gst_bus_post):
16470         Get the context to wake up only once.
16471
16472 2005-11-03  Wim Taymans  <wim@fluendo.com>
16473
16474         * check/states/sinks.c: (GST_START_TEST):
16475         Uncomment fixed check.
16476
16477         * docs/design/part-TODO.txt:
16478         Updated TODO.
16479
16480         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16481         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16482         (gst_base_sink_get_position):
16483         If we are going to PLAYING, post the right pending state
16484         when we post the intermediate paused message.
16485
16486         * gst/gstelement.c: (gst_element_continue_state),
16487         (gst_element_set_state_func), (gst_element_change_state):
16488         Don't post state changes that were between the same state
16489         and were not ASYNC.
16490
16491 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16492
16493         * docs/gst/gstreamer-sections.txt:
16494         * gst/gstcaps.h:
16495         * gst/gstinfo.c:
16496         * gst/gstminiobject.h:
16497         * gst/gstobject.h:
16498         * gst/gstutils.h:
16499           more docs and doc style fixes
16500
16501 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16502
16503         * docs/gst/gstreamer-sections.txt:
16504         * gst/gstelement.c:
16505         * gst/gstminiobject.c:
16506         doc fixes
16507
16508 2005-11-03  Andy Wingo  <wingo@pobox.com>
16509
16510         * check/states/sinks.c (test_livesrc_sink): Add checks that the
16511         state-changed messages actually have the right order and the right
16512         values.
16513
16514 2005-11-03  Wim Taymans  <wim@fluendo.com>
16515
16516         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16517         Added some more checks. Specifically the case where NO_PREROLL
16518         elements are in the pipeline.
16519
16520         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16521         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16522         (gst_base_sink_get_position):
16523         Post READY->PAUSED state change messages too.
16524         Fix bug where VOID was posted as pending state...
16525
16526         * gst/gstbin.c: (gst_bin_recalc_state):
16527         use _element_continue_state() to continue the state change.
16528
16529         * gst/gstelement.c: (gst_element_continue_state),
16530         (gst_element_commit_state), (gst_element_set_state_func),
16531         (gst_element_change_state), (gst_element_change_state_func):
16532         Lots of state change cleanups, assign the STATE_RETURN in
16533         a new continue_state() function that also propagates the
16534         last return value from a state change to the app.
16535         Update some debug statements with proper category.
16536
16537 2005-11-03  Wim Taymans  <wim@fluendo.com>
16538
16539         * docs/design/part-events.txt:
16540         * docs/design/part-gstpipeline.txt:
16541         * docs/design/part-messages.txt:
16542         * docs/design/part-overview.txt:
16543         * docs/design/part-seeking.txt:
16544         * docs/design/part-states.txt:
16545         * docs/design/part-trickmodes.txt:
16546         * docs/manual/advanced-position.xml:
16547         Small docs updates.
16548
16549         * gst/gstobject.h:
16550         People think !! is ugly, this looks better.
16551
16552         * gst/gstpad.c: (gst_pad_set_blocked_async):
16553         Remove !! since it's fixed elsewhere now.
16554
16555 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16556
16557         * gst/gstminiobject.h:
16558         * gst/gstobject.h:
16559           Add !! to _FLAG_IS_SET macros to make the result boolean.
16560
16561 2005-11-03  Edward Hervey  <edward@fluendo.com>
16562
16563         * gst/gstpad.c: (gst_pad_set_blocked_async):
16564         comparing a flag and a gboolean rarely returns coherent results...
16565         Added two characters (!!) to make that work correctly.
16566         
16567 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16568
16569         * gst/gstbus.c: (gst_bus_class_init):
16570           Fix some typos.
16571           
16572         * gst/gstqueue.c: (gst_queue_loop):
16573           Don't assume a miniobject that isn't a buffer is an
16574           event (it could be that there is a refcounting
16575           problem somewhere and the pointer is stale and
16576           refers to an already destroyed miniobject).
16577
16578 2005-11-03  Julien MOUTTE  <julien@moutte.net>
16579
16580         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16581
16582 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16583
16584         * docs/manual/advanced-position.xml:
16585           Update seek example and explanations to current 0.9 API.
16586
16587         * gst/elements/gsttypefindelement.c:
16588         (gst_type_find_element_activate):
16589           Remove FIXME comment now that the found caps
16590           are unreffed.
16591
16592 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16593
16594         * gst/gstregistryxml.c: (load_feature):
16595           Add another GST_STR_NULL instance
16596
16597 2005-11-02  Edward Hervey  <edward@fluendo.com>
16598
16599         * gst/gstpad.c: (handle_pad_block):
16600         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16601         
16602 2005-11-02  Wim Taymans  <wim@fluendo.com>
16603
16604         * gst/gstbin.c:
16605         Fix typo in docs.
16606
16607         * gst/gstelement.c: (gst_element_commit_state):
16608         Remove unused value.
16609
16610         * gst/gstiterator.c:
16611         Mention that the returned element is reffed in the docs.
16612
16613 2005-11-02  Wim Taymans  <wim@fluendo.com>
16614
16615         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16616         (gst_pad_push), (gst_pad_push_event):
16617         Unlock blocked pads when they are flushed.
16618
16619 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16620
16621         * docs/README:
16622         * docs/gst/gstreamer-sections.txt:
16623         * gst/gstbin.c:
16624           doc updates
16625         * gst/gstregistry.c: (gst_registry_scan_path_level):
16626           fix for a nasty little missed situation where an installed plug-in
16627           which was in the cache did not get overridden by an uninstalled one
16628           which was earlier in the plugin path because the newly created plugin
16629           for the uninstalled one (not in the registry) didn't get its
16630           ->registered set to TRUE
16631
16632 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16633
16634         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16635         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16636         (gst_collectpads_is_active), (gst_collectpads_collect),
16637         (gst_collectpads_collect_range), (gst_collectpads_start),
16638         (gst_collectpads_stop), (gst_collectpads_peek),
16639         (gst_collectpads_pop), (gst_collectpads_available),
16640         (gst_collectpads_read), (gst_collectpads_flush):
16641           Guard public API with assertions.
16642         
16643         * gst/gstpad.c:
16644           Fix docs for gst_pad_set_link_function().
16645
16646 2005-11-02  Johan Dahlin  <johan@gnome.org>
16647
16648         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
16649         Unref found_caps after we used it.
16650
16651 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16652
16653         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16654           Don't try to ref NULL.
16655
16656 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16657
16658         * win32/common/config.h.in:
16659           provide a GST_FUNCTION that just gives a string for now
16660
16661 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16662
16663         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16664         (gst_object_flags_get_type), (register_gst_bin_flags),
16665         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16666         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16667         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16668         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16669         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16670         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16671         (gst_clock_flags_get_type), (register_gst_state),
16672         (gst_state_get_type), (register_gst_state_change_return),
16673         (gst_state_change_return_get_type), (register_gst_state_change),
16674         (gst_state_change_get_type), (register_gst_element_flags),
16675         (gst_element_flags_get_type), (register_gst_core_error),
16676         (gst_core_error_get_type), (register_gst_library_error),
16677         (gst_library_error_get_type), (register_gst_resource_error),
16678         (gst_resource_error_get_type), (register_gst_stream_error),
16679         (gst_stream_error_get_type), (register_gst_event_type),
16680         (gst_event_type_get_type), (register_gst_seek_type),
16681         (gst_seek_type_get_type), (register_gst_seek_flags),
16682         (gst_seek_flags_get_type), (register_gst_format),
16683         (gst_format_get_type), (register_gst_index_certainty),
16684         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16685         (gst_index_entry_type_get_type),
16686         (register_gst_index_lookup_method),
16687         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16688         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16689         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16690         (gst_index_flags_get_type), (register_gst_debug_level),
16691         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16692         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16693         (gst_iterator_result_get_type), (register_gst_iterator_item),
16694         (gst_iterator_item_get_type), (register_gst_message_type),
16695         (gst_message_type_get_type), (register_gst_mini_object_flags),
16696         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16697         (gst_pad_link_return_get_type), (register_gst_flow_return),
16698         (gst_flow_return_get_type), (register_gst_activate_mode),
16699         (gst_activate_mode_get_type), (register_gst_pad_direction),
16700         (gst_pad_direction_get_type), (register_gst_pad_flags),
16701         (gst_pad_flags_get_type), (register_gst_pad_presence),
16702         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16703         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16704         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16705         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16706         (gst_plugin_flags_get_type), (register_gst_rank),
16707         (gst_rank_get_type), (register_gst_query_type),
16708         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16709         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16710         (gst_tag_flag_get_type), (register_gst_task_state),
16711         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16712         (gst_alloc_trace_flags_get_type),
16713         (register_gst_type_find_probability),
16714         (gst_type_find_probability_get_type), (register_gst_uri_type),
16715         (gst_uri_type_get_type), (register_gst_parse_error),
16716         (gst_parse_error_get_type):
16717         * win32/common/gstversion.h:
16718           update win32 copies
16719
16720 2005-11-01  Luca Ognibene  <luogni@tin.it>
16721
16722         * gst/gst.c:
16723           fix docs. popt is dead, long live GOption.
16724
16725 2005-10-31  Wim Taymans  <wim@fluendo.com>
16726
16727         * gst/gstbuffer.h:
16728         Small doc fix.
16729
16730 2005-10-31  Andy Wingo  <wingo@pobox.com>
16731
16732         * Boo!
16733
16734         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16735
16736         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16737         need to serialize property notifications on GLib 2.8. GLib 2.6 has
16738         the possibility of deadlocks here if code calling notify() or
16739         set() has a lock that can be taken in another notify handler (ABBA
16740         with class lock and e.g. python GIL state lock).
16741
16742 2005-10-28  Julien MOUTTE  <julien@moutte.net>
16743
16744         * gst/gstbus.c: Doc updates.
16745
16746 2005-10-28  Wim Taymans  <wim@fluendo.com>
16747
16748         * docs/design/part-TODO.txt:
16749         * gst/gstiterator.c:
16750         * gst/gstsystemclock.c:
16751         * gst/gstsystemclock.h:
16752         Doc updates.
16753
16754 2005-10-28  Edward Hervey  <edward@fluendo.com>
16755
16756         * docs/gst/gstreamer-docs.sgml:
16757         * docs/gst/gstreamer-sections.txt:
16758         the GstURIType documentation page is private, it only defines GstURIType
16759         which should be defined in the GstURIHandler page
16760         
16761 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16762
16763         * gst/gstbin.c: (gst_bin_class_init):
16764         * gst/gstbin.h:
16765         * gst/gstutils.c:
16766         Documentation updates.
16767
16768 2005-10-28  Wim Taymans  <wim@fluendo.com>
16769
16770         * docs/gst/gstreamer-sections.txt:
16771         * gst/gstclock.c:
16772         * gst/gstclock.h:
16773         Documented the clocks.
16774
16775 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
16776
16777         * docs/gst/gstreamer-sections.txt:
16778           move some macros to private sections
16779         * gst/gstminiobject.c:
16780         * gst/gstminiobject.h:
16781           add descriptions provided by ds and some more
16782         * gst/gstpad.h:
16783           mark macro as to be removed
16784
16785 2005-10-28  Wim Taymans  <wim@fluendo.com>
16786
16787         * docs/design/part-TODO.txt:
16788         Add an item to TODO.
16789
16790         * gst/gstiterator.c: (gst_iterator_fold),
16791         (gst_iterator_find_custom):
16792         * gst/gstiterator.h:
16793         Add iterator docs.
16794
16795 2005-10-28  Wim Taymans  <wim@fluendo.com>
16796
16797         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16798         (gst_base_transform_init):
16799         Don't leak class.
16800
16801         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16802         An EOS event marks the queue as completely filled.
16803
16804 2005-10-27  Wim Taymans  <wim@fluendo.com>
16805
16806         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16807         (gst_base_sink_do_sync), (gst_base_sink_get_position):
16808         Some more debugging.
16809
16810         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16811         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16812         (gst_base_transform_event), (gst_base_transform_getrange),
16813         (gst_base_transform_chain):
16814         * gst/base/gstbasetransform.h:
16815         Fix debugging,
16816         Protect transform and concurrent buffer alloc with a new lock.
16817         Try not to break ABI/API.
16818
16819 2005-10-27  Wim Taymans  <wim@fluendo.com>
16820
16821         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16822         (gst_base_src_init), (gst_base_src_query),
16823         (gst_base_src_default_newsegment),
16824         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16825         (gst_base_src_send_event), (gst_base_src_event_handler),
16826         (gst_base_src_pad_get_range), (gst_base_src_loop),
16827         (gst_base_src_unlock), (gst_base_src_default_negotiate),
16828         (gst_base_src_start), (gst_base_src_deactivate),
16829         (gst_base_src_activate_push), (gst_base_src_change_state):
16830         Move some stuff around and cleanup things.
16831
16832 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
16833
16834         * gst/base/gstbasesrc.c: (gst_base_src_query):
16835           Add missing break statements.
16836
16837 2005-10-27  Wim Taymans  <wim@fluendo.com>
16838
16839         * check/gst/gstbin.c: (GST_START_TEST):
16840         An extra refcount is taken in basesrc.
16841
16842         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16843         (gst_base_src_get_range), (gst_base_src_pad_get_range),
16844         (gst_base_src_loop):
16845         Small cleanups, check for flushing after being unlocked from the 
16846         LIVE_LOCK. take refcounts correctly (not yet everywhere).
16847         Don't send out EOS when going to READY.
16848
16849 2005-10-27  Wim Taymans  <wim@fluendo.com>
16850
16851         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16852         (gst_base_sink_get_position):
16853         Some more debug.
16854
16855         * gst/gstbin.c: (message_check), (bin_replace_message),
16856         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16857         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16858         (bin_query_duration_init), (bin_query_duration_fold),
16859         (bin_query_duration_done), (bin_query_generic_fold),
16860         (gst_bin_query):
16861         * tools/gst-launch.c: (main):
16862         Remove old option.
16863
16864 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
16865
16866         * examples/controller/audio-example.c: (main):
16867         * examples/queue/queue.c: (event_loop):
16868         * gst/base/gstbasetransform.h:
16869         * gst/gstelement.c: (gst_element_send_event):
16870         * gst/gstevent.h:
16871         * gst/gstpad.c: (gst_pad_send_event):
16872           fixing examples
16873           fixing docs typos
16874           changing log priority in error situations
16875
16876 2005-10-25  Wim Taymans  <wim@fluendo.com>
16877
16878         * gst/gstbin.c: (message_check), (bin_replace_message),
16879         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16880         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16881         (bin_query_duration_init), (bin_query_duration_fold),
16882         (bin_query_duration_done), (bin_query_generic_fold),
16883         (gst_bin_query):
16884         Some doc and debug updates.
16885         Cache previously requested query DURATION for speed. invalidate
16886         cached duration if element posts a DURATION message.
16887
16888 2005-10-25  Wim Taymans  <wim@fluendo.com>
16889
16890         * docs/design/part-TODO.txt:
16891         Update TODO.
16892
16893         * gst/gstbin.c: (message_check), (bin_replace_message),
16894         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16895         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16896         (bin_query_duration_init), (bin_query_duration_fold),
16897         (bin_query_duration_done), (bin_query_generic_fold),
16898         (gst_bin_query):
16899         Handle SEGMENT_START/DONE messages correctly.
16900         More evolved query algorithm that handles duration queries
16901         correctly.
16902
16903         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16904         (gst_element_get_state_func), (gst_element_abort_state),
16905         (gst_element_commit_state), (gst_element_lost_state):
16906         Some more debugging.
16907
16908         * gst/gstmessage.h:
16909         Added doc.
16910
16911 2005-10-25  Wim Taymans  <wim@fluendo.com>
16912
16913         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16914         Don't use invalid stream_time.
16915
16916         * gst/gstevent.c: (gst_event_new_newsegment):
16917         stream_time in newsegment cannot be undefined.
16918
16919 2005-10-24  Wim Taymans  <wim@fluendo.com>
16920
16921         * gst/gstbus.c:
16922         Doc fix.
16923
16924         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16925         (gst_queue_loop):
16926         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16927
16928 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
16929
16930         * docs/libs/tmpl/gstdparam.sgml:
16931         * docs/libs/tmpl/gstdplinint.sgml:
16932         * docs/libs/tmpl/gstdpman.sgml:
16933         * docs/libs/tmpl/gstdpsmooth.sgml:
16934         * docs/libs/tmpl/gstunitconvert.sgml:
16935           these are obsolete
16936
16937 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16938
16939         * configure.ac:
16940           back to HEAD
16941
16942 === release 0.9.4 ===
16943
16944 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16945
16946         * configure.ac:
16947           releasing 0.9.4, "Tyrannosaurus Rex"
16948
16949 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
16950
16951         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16952         (gst_file_sink_get_current_offset):
16953           Use fseeko() and ftello() if available. When falling back on
16954           lseek() to get the current offset, fflush() first to make sure
16955           everything is up-to-date and we get the right offset.
16956
16957 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16958
16959         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16960         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16961         * gst/gsterror.c: (_gst_stream_errors_init):
16962         * gst/gsterror.h:
16963         * gst/gstqueue.c: (gst_queue_loop):
16964         * po/POTFILES.in:
16965           remove prematurely added error category and clean up the instances
16966
16967 2005-10-21  Wim Taymans  <wim@fluendo.com>
16968
16969         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16970         (gst_base_sink_get_position), (gst_base_sink_query),
16971         (gst_base_sink_change_state):
16972         Simply set the right flag when going to playing, that's all
16973         we need to do instead of calling a function inside the object
16974         lock (that could take the lock as well and deadlock)
16975
16976 2005-10-21  Wim Taymans  <wim@fluendo.com>
16977
16978         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16979         (gst_base_src_loop):
16980         Don't warn, the peer element knows what to do best when
16981         the seek failed, it might try something else.
16982
16983 2005-10-21  Wim Taymans  <wim@fluendo.com>
16984
16985         * gst/base/gstbasesrc.c: (gst_base_src_init),
16986         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16987         Fix seeking.
16988
16989 2005-10-21  Wim Taymans  <wim@fluendo.com>
16990
16991         * docs/design/part-segments.txt:
16992         More docs.
16993
16994         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16995         Correctly set caps, even on the subbufer.
16996
16997 2005-10-21  Wim Taymans  <wim@fluendo.com>
16998
16999         * docs/gst/gstreamer-docs.sgml:
17000         * docs/gst/gstreamer-sections.txt:
17001         * gst/gstelement.h:
17002         * gst/gstevent.c:
17003         * gst/gstevent.h:
17004         * gst/gstmessage.h:
17005         * gst/gstpad.h:
17006         * gst/gstparse.h:
17007         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
17008         * gst/gsttask.h:
17009         * gst/gstutils.c:
17010         * gst/gstutils.h:
17011         And 2% more doc coverage.
17012
17013 2005-10-21  Andy Wingo  <wingo@pobox.com>
17014
17015         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
17016         position reporting.
17017
17018 2005-10-20  Wim Taymans  <wim@fluendo.com>
17019
17020         * gst/gsterror.c: (gst_error_get_message):
17021         * gst/gstparse.h:
17022         * gst/gstquery.h:
17023         * gst/gststructure.c:
17024         * gst/gsttrace.c:
17025         * gst/gstutils.c:
17026         More docs.
17027
17028 2005-10-20  Wim Taymans  <wim@fluendo.com>
17029
17030         * gst/gstbuffer.h:
17031         * gst/gstpad.c:
17032         * gst/gstparse.c:
17033         Another 1% more coverage.
17034
17035 2005-10-20  Wim Taymans  <wim@fluendo.com>
17036
17037         * docs/gst/gstreamer-sections.txt:
17038         * gst/gstelement.c: (gst_element_get_state_func),
17039         (gst_element_abort_state), (gst_element_commit_state),
17040         (gst_element_lost_state):
17041         * gst/gstevent.h:
17042         * gst/gstquery.c: (gst_query_set_position),
17043         (gst_query_parse_position), (gst_query_set_duration),
17044         (gst_query_parse_duration), (gst_query_new_convert):
17045         * gst/gstutils.c:
17046         Yay! 1% more docs coverage.
17047
17048 2005-10-20  Wim Taymans  <wim@fluendo.com>
17049
17050         * gst/gstpad.h:
17051         * gst/gstquery.c: (gst_query_set_position),
17052         (gst_query_parse_position), (gst_query_set_duration),
17053         (gst_query_parse_duration), (gst_query_new_convert):
17054         * gst/gstquery.h:
17055         * gst/gstutils.c: (gst_element_query_convert):
17056         * gst/gstutils.h:
17057         Docs and consistency fixes.
17058
17059 2005-10-20  Wim Taymans  <wim@fluendo.com>
17060
17061         * gst/gsttask.c:
17062         * gst/gsttask.h:
17063         More docs.
17064
17065 2005-10-20  Wim Taymans  <wim@fluendo.com>
17066
17067         * gst/gstbin.c: (message_check), (bin_replace_message),
17068         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17069         (update_degree), (gst_bin_sort_iterator_next),
17070         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
17071         Reworked the message handling a bit, cache the messages instead of
17072         only the senders. alows us to do more in the future.
17073
17074 2005-10-20  Wim Taymans  <wim@fluendo.com>
17075
17076         * docs/design/part-TODO.txt:
17077         Update TODO
17078
17079         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
17080         (gst_base_sink_query):
17081         Don't use clock time to report position when in EOS.
17082
17083 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
17084
17085         * tools/gst-inspect.c: (print_interfaces),
17086         (print_element_properties_info), (print_element_info):
17087           Fix interface output with gst-inspect -a; don't print
17088           newlines after double/float properties.
17089
17090 2005-10-20  Wim Taymans  <wim@fluendo.com>
17091
17092         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
17093         (gst_base_sink_query):
17094         Speed up current position calculation.
17095
17096         * gst/base/gstbasesrc.c: (gst_base_src_query),
17097         (gst_base_src_default_newsegment):
17098         Correctly set stream position in newsegment.
17099
17100         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
17101         (update_degree), (gst_bin_sort_iterator_next),
17102         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
17103         * gst/gstmessage.c: (gst_message_new_custom):
17104         Clean up debugging info
17105
17106         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
17107         (gst_queue_loop), (gst_queue_handle_src_query):
17108         Pause task faster.
17109
17110 2005-10-19  Wim Taymans  <wim@fluendo.com>
17111
17112         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17113         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
17114         Fix query handling again.
17115
17116 2005-10-19  Wim Taymans  <wim@fluendo.com>
17117
17118         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17119         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
17120         * gst/base/gstbasesrc.c: (gst_base_src_query):
17121         * gst/elements/gstfilesink.c: (gst_file_sink_query):
17122         * gst/elements/gsttypefindelement.c:
17123         (gst_type_find_handle_src_query), (find_element_get_length),
17124         (gst_type_find_element_activate):
17125         API change fix.
17126
17127         * gst/gstquery.c: (gst_query_new_position),
17128         (gst_query_set_position), (gst_query_parse_position),
17129         (gst_query_new_duration), (gst_query_set_duration),
17130         (gst_query_parse_duration), (gst_query_set_segment),
17131         (gst_query_parse_segment):
17132         * gst/gstquery.h:
17133         Bundling query position/duration is not a good idea since duration
17134         does not change much and we don't want to recalculate it for every
17135         position query, so they are separated again..
17136         Base value in segment query is not needed.
17137
17138         * gst/gstqueue.c: (gst_queue_handle_src_query):
17139         * gst/gstutils.c: (gst_element_query_position),
17140         (gst_element_query_duration), (gst_pad_query_position),
17141         (gst_pad_query_duration):
17142         * gst/gstutils.h:
17143         Updates for query API change.
17144         Added some docs here and there.
17145
17146 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17147
17148         * check/gst/gstbin.c: (GST_START_TEST):
17149         * check/gst/gstghostpad.c: (GST_START_TEST):
17150         * check/pipelines/cleanup.c: (GST_START_TEST):
17151           wait on thread to die so we can check refcount correctly
17152
17153 2005-10-18  Wim Taymans  <wim@fluendo.com>
17154
17155         * check/pipelines/stress.c: (GST_START_TEST):
17156         Make check a little more time consuming.
17157
17158 2005-10-18  Wim Taymans  <wim@fluendo.com>
17159
17160         * check/Makefile.am:
17161         * check/pipelines/stress.c: (GST_START_TEST),
17162         (simple_launch_lines_suite), (main):
17163         Small state change torture test.
17164
17165         * docs/design/part-states.txt:
17166         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17167         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
17168         (gst_base_sink_change_state):
17169         Never take state lock from streaming thread, clean up ugly
17170         hacks. Unfortunatly core does not yet support nice ways to
17171         async commit state.
17172         
17173         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
17174         (bin_bus_handler):
17175         Start state recalc if a STATE_DIRTY message is posted, but only
17176         on the toplevel bin.
17177
17178         * gst/gstelement.c: (gst_element_sync_state_with_parent),
17179         (gst_element_get_state_func), (gst_element_abort_state),
17180         (gst_element_commit_state), (gst_element_lost_state),
17181         (gst_element_set_state_func), (gst_element_change_state):
17182         * gst/gstelement.h:
17183         State variables are now protected with the LOCK, the state
17184         lock is only used to serialize _set_state().
17185
17186 2005-10-18  Wim Taymans  <wim@fluendo.com>
17187
17188         * check/gst/gstbin.c: (GST_START_TEST):
17189         * check/gst/gstmessage.c: (GST_START_TEST):
17190         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17191         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
17192         (bin_bus_handler):
17193         * gst/gstelement.c: (gst_element_abort_state),
17194         (gst_element_commit_state), (gst_element_lost_state):
17195         * gst/gstmessage.c: (gst_message_new_state_changed),
17196         (gst_message_new_state_dirty), (gst_message_new_segment_start),
17197         (gst_message_new_segment_done), (gst_message_new_duration),
17198         (gst_message_parse_state_changed),
17199         (gst_message_parse_segment_start),
17200         (gst_message_parse_segment_done), (gst_message_parse_duration):
17201         * gst/gstmessage.h:
17202         * tools/gst-launch.c: (event_loop):
17203         Seriously, this is better than a previous commit as we only need
17204         to notify the fact that an element changed state in a streaming
17205         thread, marking the state of the parents dirty, hence the 
17206         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
17207         message.
17208
17209 2005-10-18  Wim Taymans  <wim@fluendo.com>
17210
17211         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
17212         (gst_bin_recalc_func):
17213         * gst/gstelement.c: (gst_element_set_clock),
17214         (gst_element_abort_state), (gst_element_lost_state):
17215         Cleanups, prepare for state change fixes.
17216
17217 2005-10-18  Wim Taymans  <wim@fluendo.com>
17218
17219         * gst/gstbin.h:
17220         * gst/gstelement.c: (gst_element_class_init),
17221         (gst_element_set_state), (gst_element_set_state_func):
17222         * gst/gstelement.h:
17223         Pending ABI changes.
17224         GThreadPool in GstBinClass to monitor async state changes.
17225         state_cookie in GstElement to detect concurrent gst/set state.
17226         set_state is now virtual too in case a very complicated element
17227         has to be constructed.
17228
17229 2005-10-18  Wim Taymans  <wim@fluendo.com>
17230
17231         * check/gst/gstbin.c: (GST_START_TEST):
17232         * check/gst/gstmessage.c: (GST_START_TEST):
17233         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17234         * gst/gstbin.c: (bin_bus_handler):
17235         * gst/gstelement.c: (gst_element_commit_state),
17236         (gst_element_lost_state):
17237         * gst/gstmessage.c: (gst_message_new_state_changed),
17238         (gst_message_new_segment_start), (gst_message_new_segment_done),
17239         (gst_message_new_duration), (gst_message_parse_state_changed),
17240         (gst_message_parse_segment_start),
17241         (gst_message_parse_segment_done), (gst_message_parse_duration):
17242         * gst/gstmessage.h:
17243         * tools/gst-launch.c: (event_loop):
17244         Make messages future proof.
17245         state-change gets a flag if it was a message comming from the
17246         streaming thread.
17247         segment-start/stop can also be specified in other formats.
17248         A message to notify an app that a pipeline changed playback 
17249         duration.
17250         Also fix a GstMessage leak in -launch
17251
17252 2005-10-18  Andy Wingo  <wingo@pobox.com>
17253
17254         * gst/gstelement.c (gst_element_dispose): More helpful message.
17255
17256 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17257
17258         reviewed by: <delete if not using a buddy>
17259
17260         * common/gtk-doc.mak:
17261
17262 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17263
17264         * gst/gstregistry.c: (gst_registry_scan_path_level):
17265           unref a plug-in we get that was already initialized
17266
17267 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
17268
17269         * docs/gst/gstreamer-sections.txt:
17270         * docs/libs/gstreamer-libs-sections.txt:
17271         * gst/gstelement.h:
17272           add new api entries
17273           hide internal macro
17274
17275 2005-10-17  Andy Wingo  <wingo@pobox.com>
17276
17277         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17278         cleanup.
17279
17280         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17281
17282         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17283
17284         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17285         (gst_element_get_state_func): Better debug message.
17286         (gst_element_commit_state): s/INFO/DEBUG/.
17287         (gst_element_lost_state, gst_element_change_state): 
17288
17289         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17290         (gst_message_new_custom): s/INFO/LOG/.
17291
17292 2005-10-17  Michael Smith <msmith@fluendo.com>
17293
17294         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17295           Check if end time is valid using end time, not start time.
17296
17297 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
17298
17299         * check/gst-libs/controller.c: (GST_START_TEST),
17300         (gst_controller_suite):
17301         * libs/gst/controller/gstcontroller.c:
17302         (gst_controlled_property_set_interpolation_mode):
17303         * libs/gst/controller/gstcontroller.h:
17304         * libs/gst/controller/gstinterpolation.c:
17305         * testsuite/controller/.cvsignore:
17306         * testsuite/controller/Makefile.am:
17307         * testsuite/controller/interpolator.c:
17308           merge controller testsuites
17309           fix broken tests
17310           remove mem-chunk from docs
17311
17312 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17313
17314         * gst/gstmemchunk.c:
17315         * gst/gstmemchunk.h:
17316         * gst/gsttrashstack.c:
17317         * gst/gsttrashstack.h:
17318           out.  get out.  you're fired.  to the Attic !
17319
17320 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17321
17322         * gst/gstcaps.c: (gst_caps_intersect):
17323           fix signedness issues in a (hopefully) correct way
17324         * gst/gstelement.c: (gst_element_pads_activate):
17325           some debugging
17326         * gst/gstobject.c: (gst_object_set_parent):
17327           some debugging
17328
17329 2005-10-17  Julien MOUTTE  <julien@moutte.net>
17330
17331         * gst/gstvalue.h: Fix prototypes.
17332
17333 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17334
17335         * docs/gst/gstreamer-sections.txt:
17336         * gst/gst.c: (gst_version_string):
17337         * gst/gst.h:
17338         * gst/gstversion.h.in:
17339         * win32/common/libgstreamer.def:
17340           add gst_version_string ()
17341
17342 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17343
17344         * configure.ac:
17345           clean up further
17346         * gst/gst.c: (init_post):
17347         * win32/common/config.h.in:
17348           it's PLUGINDIR now
17349         * gst/gstcaps.c: (gst_caps_intersect):
17350           use gint64, the range could be bigger than a guint
17351
17352 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17353
17354         * gst/gstclock.h:
17355           document potential problem in 2038
17356
17357 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17358
17359         * gst/gstcaps.c: (gst_caps_intersect):
17360           Fix guint j diving under 0
17361
17362 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17363
17364         * configure.ac:
17365         * win32/common/config.h:
17366         * win32/common/config.h.in:
17367           check for process.h, declares getpid() on Windows
17368         * gst/gstinfo.c:
17369           include process.h if we have it
17370         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17371         * gst/gstmemchunk.h:
17372           fix signedness issues
17373         * win32/common/libgstreamer.def:
17374           fix get_type's
17375
17376 2005-10-16  Julien MOUTTE  <julien@moutte.net>
17377
17378         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17379         fix. Because of unsigned ints, caps intersection was going nuts and
17380         trying to access structures with G_MAXUINT index. That fixes
17381         videotestsrc ! ffmpegcolorspace ! fakesink
17382         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17383         consistency.
17384
17385 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17386
17387         * configure.ac:
17388           use the gettext macro
17389         * gst/elements/gstelements.c:
17390         * gst/gst.c:
17391         * gst/indexers/gstindexers.c:
17392           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17393         * win32/common/config.h:
17394           updated config.h
17395         * win32/common/config.h.in:
17396           add the template to generate config.h
17397         * win32/common/gstenumtypes.c:
17398         * win32/common/gstversion.h:
17399           updated copies
17400
17401 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17402
17403         * gst/gst.c: (gst_version):
17404         * gst/gstversion.h.in:
17405           add the nano
17406
17407 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17408
17409         * gst/gstevent.h:
17410           Oops, add missing closing bracket.
17411
17412 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17413
17414         * configure.ac:
17415           use common m4's for argument checking
17416
17417 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17418
17419         * docs/gst/gstreamer-sections.txt:
17420         * gst/gstevent.h:
17421           Add GST_EVENT_TYPE_NAME() macro.
17422
17423 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17424
17425         * gst/gstinfo.c:
17426         * gst/gstpluginfeature.c:
17427         * gst/gsttask.c:
17428           privatize more symbols
17429
17430 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17431
17432         * configure.ac:
17433           add srcdir, builddir includes to GST_ALL_CFLAGS, since
17434           everything that uses GStreamer API should have the includes
17435
17436 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17437
17438         * docs/gst/gstreamer-sections.txt:
17439         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17440         * gst/gstvalue.h:
17441           give each value a _get_type, removes the DATA exports
17442
17443 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17444
17445         * gst/gst.c:
17446         * gst/gst.h:
17447           remove _gst_registry_auto_load, not used anymore
17448         * gst/gstbin.c: (gst_bin_get_type):
17449         * gst/gstbin.h:
17450         * gst/gstelement.c: (gst_element_get_type):
17451         * gst/gstelement.h:
17452         * gst/gstobject.c: (gst_object_get_type):
17453         * gst/gstobject.h:
17454         * gst/gstpad.c: (gst_pad_get_type):
17455         * gst/gstpad.h:
17456           make _get_type functions similar, fixes data export from library
17457
17458 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17459
17460         * configure.ac:
17461           correctly make conditionals
17462         * gst/elements/Makefile.am:
17463         * gst/elements/gstelements.c:
17464           fix typo causing fdsrc not to build
17465
17466 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17467
17468         * testsuite/Makefile.am:
17469         * testsuite/bytestream/.cvsignore:
17470         * testsuite/bytestream/Makefile.am:
17471         * testsuite/bytestream/filepadsink.c:
17472         * testsuite/bytestream/gstbstest.c:
17473         * testsuite/bytestream/test1.c:
17474         * testsuite/bytestream/testfile1:
17475         * testsuite/caps/normalisation.c:
17476         * testsuite/caps/random.c: (main):
17477         * testsuite/cleanup/.cvsignore:
17478         * testsuite/cleanup/Makefile.am:
17479         * testsuite/cleanup/cleanup1.c:
17480         * testsuite/cleanup/cleanup2.c:
17481         * testsuite/cleanup/cleanup3.c:
17482         * testsuite/cleanup/cleanup4.c:
17483         * testsuite/cleanup/cleanup5.c:
17484         * testsuite/controller/interpolator.c:
17485         * testsuite/debug/printf_extension.c: (main):
17486         * testsuite/elements/tee.c:
17487         * testsuite/negotiation/.cvsignore:
17488         * testsuite/negotiation/Makefile.am:
17489         * testsuite/negotiation/pad_link.c:
17490         * testsuite/pad/Makefile.am:
17491         * testsuite/pad/chainnopull.c:
17492         * testsuite/pad/getnopush.c:
17493         * testsuite/pad/link.c:
17494         * testsuite/refcounting/sched.c: (create_pipeline):
17495         * testsuite/registry/Makefile.am:
17496         * testsuite/registry/gst-print-formats.c:
17497         * testsuite/schedulers/.cvsignore:
17498         * testsuite/schedulers/142183-2.c:
17499         * testsuite/schedulers/142183.c:
17500         * testsuite/schedulers/143777-2.c:
17501         * testsuite/schedulers/143777.c:
17502         * testsuite/schedulers/147713.c:
17503         * testsuite/schedulers/147819.c:
17504         * testsuite/schedulers/147894-2.c:
17505         * testsuite/schedulers/147894.c:
17506         * testsuite/schedulers/Makefile.am:
17507         * testsuite/schedulers/group_link.c:
17508         * testsuite/schedulers/queue_link.c:
17509         * testsuite/schedulers/relink.c:
17510         * testsuite/schedulers/unlink.c:
17511         * testsuite/schedulers/unref.c:
17512         * testsuite/schedulers/useless_iteration.c:
17513         * testsuite/states/bin.c:
17514           clean out/remove some stuff from the testsuite directories
17515
17516 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17517
17518         * configure.ac:
17519           check for some headers
17520         * gst/elements/Makefile.am:
17521         * gst/elements/gstelements.c:
17522           don't compile fdsrc without sys/socket.h
17523         * gst/indexers/Makefile.am:
17524         * gst/indexers/gstindexers.c: (plugin_init):
17525           don't compile fileindex without mmap
17526
17527 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17528
17529         * configure.ac:
17530           reorganize
17531           clean up
17532           document more
17533           remove cruft
17534         * check/Makefile.am:
17535         * docs/gst/Makefile.am:
17536         * examples/helloworld/Makefile.am:
17537         * gst/Makefile.am:
17538         * gst/base/Makefile.am:
17539         * gst/check/Makefile.am:
17540         * gst/elements/Makefile.am:
17541         * gst/indexers/Makefile.am:
17542         * gst/parse/Makefile.am:
17543         * libs/gst/controller/Makefile.am:
17544         * libs/gst/dataprotocol/Makefile.am:
17545         * examples/helloworld/helloworld.c: (event_loop):
17546           compile fixes, though it's not being compiled currently
17547
17548 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17549
17550         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17551           Add some simple tests for the new taglist date API.
17552
17553 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17554
17555         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17556         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17557           Beautify 'last-message' output: print 'none' for buffer timestamps
17558           and durations if none is set; improve alignment with next messages.
17559
17560 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17561
17562         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17563         * gst/gstpluginfeature.h:
17564         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17565         * gst/gstregistry.h:
17566         * docs/gst/gstreamer-sections.txt:
17567           Add new API to check plugin feature version requirements.
17568
17569         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17570           Some basic tests for the above.         
17571
17572 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17573
17574         * gst/gststructure.c: (gst_structure_to_string):
17575           guard against NULL printf - happens when for example
17576           a message structure with GstClock gets serialized
17577
17578 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17579
17580         * gst/base/gstcollectpads.c: (gst_collectpads_event):
17581           Fix presumable copy'n'pasto.
17582
17583 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17584
17585         * gst/elements/gstfakesrc.h:
17586         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17587         * gst/elements/gsttypefindelement.c:
17588           fix some signedness
17589         * gst/elements/gstfilesink.c: (gst_file_sink_render):
17590           I wonder if this could actually write +2GB files before
17591
17592 2005-10-13  Andy Wingo  <wingo@pobox.com>
17593
17594         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17595         Fix Timmeke Waymans bug.
17596         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17597         string of the proper length to gst_caps_from_string. There's a
17598         potential for, before this fix, that this could cause someone
17599         connecting over the network to cause a segfault if the payload is
17600         not NUL-terminated.
17601
17602 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17603
17604         * docs/design/draft-push-pull.txt:
17605         * docs/design/part-overview.txt:
17606         * docs/random/TODO-pre-0.9:
17607         * docs/random/old/ChangeLog.gstreamer:
17608         * gst/base/gstpushsrc.c:
17609         * gst/gstclock.c:
17610           fixed typos
17611
17612 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17613
17614         * gst/glib-compat.c: (gst_flags_get_first_value):
17615         * gst/glib-compat.h:
17616         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17617         (gst_value_compare_double), (gst_value_serialize_flags):
17618           GLib 2.6 g_flags_get_first_value has a bug that triggers an
17619           infinite loop
17620
17621 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17622
17623         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17624         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17625           fix up debugging
17626         * tools/gst-launch.c: (event_loop):
17627           print out clock nicely
17628
17629 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17630
17631         * docs/gst/gstreamer-sections.txt:
17632         * gst/gsttaglist.h:
17633         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17634         (gst_tag_list_get_date_index):
17635           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17636           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17637
17638 2005-10-13  Julien MOUTTE  <julien@moutte.net>
17639
17640         * gst/base/gstcollectpads.c: (gst_collectpads_event),
17641         (gst_collectpads_chain):
17642         * gst/base/gstcollectpads.h: Handle newsegment and store informations
17643         in CollectData.
17644
17645 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17646
17647         * docs/gst/gstreamer-sections.txt:
17648         * gst/gst.c:
17649         * gst/gsterror.h:
17650         * tools/gst-inspect.c: (main):
17651         * tools/gst-launch.c: (main):
17652         * tools/gst-run.c: (main):
17653         * tools/gst-xmlinspect.c: (main):
17654           fix GOption context leaks
17655           doc fixes
17656
17657 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17658
17659         * gst/gstbus.c:
17660           use HAVE_UNISTD_H
17661         * win32/common/config.h:
17662           update config
17663         * win32/vs6/grammar.dsp:
17664         * win32/vs6/libgstelements.dsp:
17665         * win32/vs6/libgstreamer.dsp:
17666           update vs6 files
17667
17668 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17669
17670         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17671         * gst/base/gstbasesrc.c: (gst_base_src_query):
17672           fix more guint64<->gdouble conversions
17673
17674 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17675
17676         * Makefile.am:
17677           add win32-update target
17678         * win32/common/gstconfig.h:
17679         * win32/common/gstenumtypes.c:
17680         * win32/common/gstenumtypes.h:
17681         * win32/common/gstversion.h:
17682           add files that visual studio can't generate
17683
17684 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17685
17686         * Makefile.am:
17687           add a win32-update target
17688         * configure.ac:
17689
17690 2005-10-12  Wim Taymans  <wim@fluendo.com>
17691
17692         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17693         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17694         * gst/gstelement.c: (gst_element_commit_state),
17695         (gst_element_set_state):
17696         Protect flags with proper lock.
17697         unref provided cached clock in dispose.
17698
17699 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17700
17701         * gst/gst.c:
17702         * gst/gstminiobject.h:
17703         * gst/gstpad.h:
17704         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17705           removed unused flags from miniobject
17706           doc fixes
17707
17708 2005-10-12  Wim Taymans  <wim@fluendo.com>
17709
17710         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17711         (gst_file_sink_event), (gst_file_sink_render):
17712         Flush before seeking.
17713
17714 2005-10-12  Andy Wingo  <wingo@pobox.com>
17715
17716         * gst/gst.c (gst_init_check): Ignore unknown options, as has
17717         always been the case.
17718
17719 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17720
17721         * check/gst/gstbin.c: (GST_START_TEST):
17722         * docs/gst/gstreamer-sections.txt:
17723         * gst/base/gstbasesink.c: (gst_base_sink_init):
17724         * gst/base/gstbasesrc.c: (gst_base_src_init),
17725         (gst_base_src_get_range), (gst_base_src_check_get_range),
17726         (gst_base_src_start), (gst_base_src_stop):
17727         * gst/base/gstbasesrc.h:
17728         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17729         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17730         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17731         (bin_bus_handler):
17732         * gst/gstbin.h:
17733         * gst/gstbuffer.h:
17734         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17735         * gst/gstbus.h:
17736         * gst/gstelement.c: (gst_element_is_locked_state),
17737         (gst_element_set_locked_state), (gst_element_commit_state),
17738         (gst_element_set_state):
17739         * gst/gstelement.h:
17740         * gst/gstindex.c: (gst_index_init):
17741         * gst/gstindex.h:
17742         * gst/gstminiobject.h:
17743         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17744         (gst_object_set_parent):
17745         * gst/gstobject.h:
17746         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17747         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17748         * gst/gstpad.h:
17749         * gst/gstpadtemplate.h:
17750         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17751         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17752         * gst/gstpipeline.h:
17753         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17754         (gst_file_index_commit):
17755         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17756         * testsuite/pad/link.c: (gst_test_src_init),
17757         (gst_test_filter_init), (gst_test_sink_init):
17758         * testsuite/states/locked.c: (main):
17759           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17760           moved bitshift from macro to enum definition
17761
17762 2005-10-12  Wim Taymans  <wim@fluendo.com>
17763
17764         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17765         * gst/elements/gstfilesink.c: (gst_file_sink_event),
17766         (gst_file_sink_render):
17767         Some more debugging info.
17768
17769 2005-10-12  Wim Taymans  <wim@fluendo.com>
17770
17771         * docs/design/part-states.txt:
17772         * tools/gst-launch.c: (main):
17773         Some doc updates.
17774         Revert non-intentional change.
17775
17776 2005-10-12  Wim Taymans  <wim@fluendo.com>
17777
17778         * check/gst/gstbin.c: (GST_START_TEST):
17779         * check/gst/gstelement.c: (GST_START_TEST):
17780         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17781         * check/gst/gstghostpad.c: (GST_START_TEST):
17782         * check/gst/gstpipeline.c: (GST_START_TEST):
17783         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17784         * check/states/sinks.c: (GST_START_TEST):
17785         * gst/elements/gsttypefindelement.c: (stop_typefinding):
17786         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17787         (gst_bin_remove_func), (gst_bin_get_state_func),
17788         (gst_bin_recalc_state), (gst_bin_change_state_func),
17789         (bin_bus_handler):
17790         * gst/gstelement.c: (gst_element_get_state_func),
17791         (gst_element_get_state), (gst_element_abort_state),
17792         (gst_element_commit_state), (gst_element_set_state),
17793         (gst_element_change_state), (gst_element_change_state_func):
17794         * gst/gstelement.h:
17795         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17796         (gst_pipeline_provide_clock_func):
17797         * gst/gstutils.c: (gst_element_link_pads_filtered):
17798         * tools/gst-launch.c: (main):
17799         * tools/gst-typefind.c: (main):
17800         Use GstClockTime in _get_state() instead of GTimeVal.
17801         Remove old code in gstutils.c
17802
17803 2005-10-12  Andy Wingo  <wingo@pobox.com>
17804
17805         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17806         removed.
17807
17808         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17809         there is no task. Shouldn't affect any code, as nothing in our
17810         plugins checks this return value.
17811         (gst_pad_stop_task): Also take the stream lock if the pad has no
17812         task. Docs updated.
17813
17814 2005-10-12  Wim Taymans  <wim@fluendo.com>
17815
17816         * gst/gstpad.c: (pre_activate), (post_activate),
17817         (gst_pad_activate_pull), (gst_pad_activate_push):
17818         Cleanup activation code. Reset old state if
17819         activation failed.
17820
17821 2005-10-12  Wim Taymans  <wim@fluendo.com>
17822
17823         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17824         (gst_base_sink_change_state):
17825         No need to prerol after receiving EOS.
17826
17827         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17828         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17829         * gst/elements/gstidentity.c: (gst_identity_event):
17830         Print events more verbosely.
17831
17832 2005-10-12  Wim Taymans  <wim@fluendo.com>
17833
17834         * check/Makefile.am:
17835         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17836         * check/states/sinks2.c:
17837         Moved sinks2 testcode in sinks check.
17838
17839         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17840         (gst_bin_remove_func), (gst_bin_recalc_state),
17841         (gst_bin_change_state_func), (bin_bus_handler):
17842         Fix potential race condition when _get_state() iterated over an
17843         ASYNC element right before it posted a state completion.
17844
17845         * gst/gstclock.h:
17846         Do proper cast here.
17847
17848         * gst/gstevent.c: (gst_event_new_newsegment),
17849         (gst_event_parse_newsegment):
17850         A playback rate of 0.0 is not allowed.
17851
17852 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17853
17854         * win32/common/config.h:
17855         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17856         (_trewinddir), (_ttelldir), (_tseekdir):
17857         * win32/common/dirent.h:
17858         * win32/common/gtchar.h:
17859         * win32/common/libgstbase.def:
17860         * win32/common/libgstreamer.def:
17861         * win32/vs6/grammar.dsp:
17862         * win32/vs6/gst_inspect.dsp:
17863         * win32/vs6/gst_launch.dsp:
17864         * win32/vs6/gstreamer.dsw:
17865         * win32/vs6/libgstbase.dsp:
17866         * win32/vs6/libgstelements.dsp:
17867         * win32/vs6/libgstreamer.dsp:
17868           Visual Studio 6 project files, and a new common directory.
17869           Phear.
17870
17871 2005-10-11  Wim Taymans  <wim@fluendo.com>
17872
17873         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17874         (gst_base_sink_do_sync), (gst_base_sink_query),
17875         (gst_base_sink_change_state):
17876         * gst/base/gstbasesink.h:
17877         Correctly parse newsegment info.
17878
17879 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17880
17881         * gst/gst.c: (init_post):
17882           split plugin paths correctly
17883
17884 2005-10-11  Wim Taymans  <wim@fluendo.com>
17885
17886         * check/gst/gstevent.c: (GST_START_TEST):
17887         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17888         (gst_base_sink_change_state):
17889         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17890         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17891         * gst/elements/gstfilesink.c: (gst_file_sink_event):
17892         * gst/gstevent.c: (gst_event_new_newsegment),
17893         (gst_event_parse_newsegment):
17894         * gst/gstevent.h:
17895         Added extra flag to newsegment for future API freeze.
17896         Updated check and base elements.
17897
17898 2005-10-11  Julien MOUTTE  <julien@moutte.net>
17899
17900         * gst/base/gstcollectpads.c: (gst_collectpads_init),
17901         (gst_collectpads_add_pad), (gst_collectpads_pop),
17902         (gst_collectpads_event), (gst_collectpads_chain):
17903         * gst/base/gstcollectpads.h: Handle EOS correctly.
17904
17905 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17906
17907         * tools/gst-launch.c: (main):
17908           more null protecting
17909
17910 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17911
17912         * gst/gst-i18n-lib.h:
17913           check for ENABLE_NLS, not GETTEXT_PACKAGE
17914         * gst/gstregistry.c: (gst_registry_add_plugin),
17915         (gst_registry_scan_path_level),
17916         (_gst_registry_remove_cache_plugins):
17917           protect possibly NULL strings
17918         * gst/parse/types.h:
17919           config.h already included before
17920         * tools/gst-inspect.c: (main):
17921           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17922           check for ENABLE_NLS, not GETTEXT_PACKAGE
17923         * tools/gst-launch.c: (main):
17924           check for ENABLE_NLS, not GETTEXT_PACKAGE
17925
17926 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17927
17928         * configure.ac:
17929           if we don't have glib, fail before testing 2.8
17930         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17931           fix a leak, should fix plugins-base testsuite
17932
17933 2005-10-11  Andy Wingo  <wingo@pobox.com>
17934
17935         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17936         take the mode we're going to as an arg. Go head and set the mode
17937         and flushing flags now, so that if the activate function starts a
17938         thread all the flags will be in the right state.
17939         (post_activate): Renamed also. Just handle making sure streaming
17940         finishes for the deactivation case, and setting the deactivated
17941         mode.
17942         (gst_pad_set_active): Complain loudly if deactivation fails.
17943         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17944         (gst_pad_activate_push): Adapt to pre/post_activate changes,
17945         remove the terrible hack.
17946
17947 2005-10-11  Wim Taymans  <wim@fluendo.com>
17948
17949         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17950         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17951         (gst_bin_recalc_state), (gst_bin_change_state_func),
17952         (gst_bin_dispose), (bin_bus_handler):
17953         * gst/gstbin.h:
17954         Prepare to make current EOS message queue more generic.
17955         Fix some typos.
17956
17957         * gst/gstevent.c: (gst_event_new_newsegment),
17958         (gst_event_parse_newsegment):
17959         * gst/gstevent.h:
17960         Rename base to stream_time.
17961
17962         * gst/gstmessage.h:
17963         Fix typo in docs.
17964
17965 2005-10-11  Wim Taymans  <wim@fluendo.com>
17966
17967         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17968         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17969         (gst_bin_change_state_func), (bin_bus_handler):
17970         * gst/gstbin.h:
17971         Work on proper clock selection.
17972
17973 2005-10-11  Edward Hervey  <edward@fluendo.com>
17974
17975         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
17976         * libs/gst/controller/gstcontroller.h:
17977         Added GList* version of _remove_properties() in order to be able to wrap
17978         it in bindings.
17979
17980 2005-10-11  Wim Taymans  <wim@fluendo.com>
17981
17982         * docs/design/part-states.txt:
17983         Some more docs.
17984
17985         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17986         (gst_bin_change_state_func), (bin_bus_handler):
17987         Doc updates. Don't distribute the same clock over and over again.
17988
17989         * gst/gstclock.c:
17990         * gst/gstclock.h:
17991         Doc updates.
17992
17993         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17994         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17995         (gst_pad_send_event):
17996         * gst/gstpad.h:
17997         Make probe emission threadsafe again.
17998         Register quarks and move _get_name() from utils.
17999         Doc updates.
18000
18001         * gst/gstpipeline.c: (gst_pipeline_class_init),
18002         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
18003         Only redistribute the clock of it changed.
18004
18005         * gst/gstsystemclock.h:
18006         Doc updates. 
18007
18008         * gst/gstutils.c:
18009         * gst/gstutils.h:
18010         Moved the _flow_get_name() to GstPad.
18011
18012 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18013
18014         * check/gst-libs/gdp.c: (GST_START_TEST):
18015         * check/gst/gstcaps.c: (GST_START_TEST):
18016         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
18017         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
18018         (gst_dp_packet_from_caps):
18019           fix more valgrind warnings before turning up the heat
18020
18021 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18022
18023         * gst/parse/grammar.y:
18024           some cleanup before the hacking
18025
18026 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18027
18028         * gst/base/gstbasesrc.c: (gst_base_src_query):
18029           use conversions
18030         * gst/gstutils.c: (gst_guint64_to_gdouble),
18031         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
18032         * gst/gstutils.h:
18033           externalize, basesrc uses it
18034           obviously the implementation needs testing
18035
18036 2005-10-10  Wim Taymans  <wim@fluendo.com>
18037
18038         * tests/sched/Makefile.am:
18039         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
18040         (make_pipeline3), (make_pipeline4), (print_elem), (main):
18041
18042 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18043
18044         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
18045           apparently converting from guint64 to double is not implemented
18046           on MSVC
18047
18048 2005-10-10  Wim Taymans  <wim@fluendo.com>
18049
18050         * check/Makefile.am:
18051         * check/generic/states.c: (GST_START_TEST):
18052         * check/gst/gstbin.c: (GST_START_TEST):
18053         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18054         * check/states/sinks.c: (GST_START_TEST):
18055         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
18056         (main):
18057         Check fixes, use API as stated in design docs, remove hacks.
18058
18059         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18060         (gst_base_sink_change_state):
18061         Catch stopping our task while we're shutting down.
18062
18063         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
18064         (gst_bin_remove_func), (gst_bin_get_state_func),
18065         (gst_bin_recalc_state), (gst_bin_change_state_func),
18066         (bin_bus_handler):
18067         * gst/gstbin.h:
18068         * gst/gstelement.c: (gst_element_init),
18069         (gst_element_get_state_func), (gst_element_abort_state),
18070         (gst_element_commit_state), (gst_element_lost_state),
18071         (gst_element_set_state), (gst_element_change_state),
18072         (gst_element_change_state_func):
18073         * gst/gstelement.h:
18074         New state change algorithm (see #318116)
18075
18076         * gst/gstpipeline.c: (gst_pipeline_class_init),
18077         (gst_pipeline_init), (gst_pipeline_set_property),
18078         (gst_pipeline_get_property), (do_pipeline_seek),
18079         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
18080         * gst/gstpipeline.h:
18081         Remove crude state change hacks.
18082
18083         * gst/gstutils.h:
18084         Remove crude hacks.
18085
18086         * tools/gst-launch.c: (main):
18087         Fixes for state change. Needs some more work to fully use the
18088         new stuff.
18089
18090 2005-10-10  Andy Wingo  <wingo@pobox.com>
18091
18092         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
18093
18094         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
18095         this flag, but it's not even in GLib 2.6. Odd. Hack around the
18096         issue.
18097
18098 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18099
18100         * gst/gstiterator.c: (gst_iterator_new):
18101           Fix my previous commit: GTypes passed to gst_iterator_new()
18102           can be fundamental types.
18103
18104 2005-10-10  Wim Taymans  <wim@fluendo.com>
18105
18106         * gst/gstelement.c: (gst_element_iterate_pad_list),
18107         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
18108         (gst_element_iterate_sink_pads):
18109         Use src/sink pads lists for the respective iterators instead
18110         of filtering.
18111
18112 2005-10-10  Andy Wingo  <wingo@pobox.com>
18113
18114         Merged in popt removal + GOption addition patch from Ronald, bug
18115         #169772.
18116
18117         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
18118         GstElement macros around, remove popt-related symbols, add goption
18119         stuff.
18120
18121         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
18122         
18123         * docs/gst/Makefile.am:
18124         * docs/libs/Makefile.am: No POPT_CFLAGS.
18125         
18126         * examples/manual/Makefile.am:
18127         * docs/manual/basics-init.xml: Doc updates with an example.
18128         
18129         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
18130         (gst_init), (parse_one_option), (parse_goption_arg):
18131         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
18132         bit of hand merging and debugging to get the GOption stuff working
18133         tho.
18134         
18135         * tests/Makefile.am:
18136         * tools/Makefile.am:
18137         * tools/gst-inspect.c: (main):
18138         * tools/gst-launch.c: (main):
18139         * tools/gst-run.c: (main):
18140         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
18141
18142 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18143
18144         * gst/gstiterator.c: (gst_iterator_new):
18145           Add assertions to make sure passed GType is likely to really
18146           be a GType (as the compiler won't catch it if the size and
18147           GType arguments get mixed up, see #318447).
18148
18149 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
18150
18151         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18152
18153         * gst/gstbin.c: (gst_bin_iterate_sorted):
18154           Pass GType and size arguments to gst_iterator_new() in the right
18155           order (maybe we should make _new() take the GType as first argument
18156           just like _new_list()?) (#318447).
18157           
18158
18159 2005-10-10  Wim Taymans  <wim@fluendo.com>
18160
18161         * gst/gstelement.c: (gst_element_finalize):
18162         And free the GStaticRecMutex too
18163
18164 2005-10-10  Andy Wingo  <wingo@pobox.com>
18165
18166         * gst/gstelement.c (gst_element_init, gst_element_finalize):
18167         Allocate and free the mutex properly.
18168
18169         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
18170         New macros.
18171         (GstElement): The state_lock is now recursive. Rebuild your
18172         plugins, suckers. Old macros adapted.
18173
18174         * docs/gst/gstreamer-sections.txt: Doc updates.
18175
18176         * gst/gstutils.h:
18177         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
18178         (g_static_rec_cond_wait): Ported from state changes patch, while
18179         we wait on bug #317802 to be solved in a well-distributed GLib.
18180
18181         * gst/gstelement.c (gst_element_change_state_func): Renamed from
18182         gst_element_change_state, variable name changes.
18183         (gst_element_change_state): Split out of gst_element_set_state in
18184         preparation for the state change merge. Doesn't pay attention to
18185         the 'transition' argument.
18186         (gst_element_set_state): Updates, hopefully purely cosmetic.
18187         (gst_element_sync_state_with_parent): MT-safety. Ported from the
18188         state change patch.
18189         (gst_element_get_state_func): Renamed from get_state, cosmetic
18190         changes.
18191
18192 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18193
18194         * gst/elements/gstelements.c:
18195         * win32/GStreamer.vcproj:
18196         * win32/config.h:
18197         * win32/dirent.c: (_tseekdir):
18198         * win32/gst-inspect.vcproj:
18199         * win32/gst-launch.vcproj:
18200         * win32/gstconfig.h:
18201         * win32/gstelements.vcproj:
18202         * win32/gstenumtypes.c: (gst_object_flags_get_type):
18203         * win32/gstreamer.def:
18204         * win32/msvc71.sln:
18205           updates for the win32 build (patch from Sebastien Moutte)
18206
18207 2005-10-10  Andy Wingo  <wingo@pobox.com>
18208
18209         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
18210         gst_bin_get_state, cleaned up (but no logic changes).
18211         (bin_element_is_sink): Comment updates.
18212         (sink_iterator_filter): Remove needless cast.
18213         (gst_bin_iterate_sinks): Doc update.
18214         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
18215         cleaned up (but no logic changes).
18216
18217         * check/states/sinks.c (test_src_sink): Cleanups from the state
18218         change patch.
18219         (test_livesrc_sink): Sync on the state.
18220
18221         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
18222         the state change patch.
18223
18224         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
18225         change patch.
18226
18227         * check/gst/gstbin.c: Merge in some style fixes and additional
18228         checks from Wim's state change patch.
18229
18230 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18231
18232         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18233         (gst_type_find_helper):
18234           Check whether we have the requested data already in our list of
18235           cached buffers before pulling a new buffer; also make the buffer
18236           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18237
18238 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18239
18240         * gst/gstcaps.c:
18241         * gst/gstevent.c:
18242           doc updates
18243         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18244           don't use long long, it's not portable.  Replacing with
18245           gint64 seems to work; let's hope no skeletons fall out of the closet.
18246
18247 2005-10-10  Andy Wingo  <wingo@pobox.com>
18248
18249         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18250
18251 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
18252
18253         * docs/gst/gstreamer-sections.txt:
18254         * gst/gstevent.c:
18255         * gst/gstevent.h:
18256         * gst/gstinfo.c:
18257         * gst/gstinfo.h:
18258         * gst/gstmessage.c: (gst_message_parse_state_changed):
18259         * gst/gstpad.c:
18260         * gst/gstpad.h:
18261           more docs, fix compilation
18262
18263 2005-10-09  Philippe Khalaf <burger@speedy.org>
18264         * gst/gstmessage.c:
18265           Fixed a few forgotten variables on previous commit
18266
18267 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
18268
18269         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18270           Fix evil typefind crasher: getrange() might return a short
18271           buffer at the end of a file, but gst_type_find_peek() must
18272           either return the full data as requested or NULL, but
18273           never a short buffer.
18274
18275 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18276
18277         * gst/gstmessage.c: (gst_message_new_state_changed),
18278         (gst_message_parse_state_changed):
18279         * gst/gstmessage.h:
18280           don't use "new", it's a C++ keyword
18281
18282 2005-10-08  Wim Taymans  <wim@fluendo.com>
18283
18284         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18285         * gst/gstelement.c: (gst_element_post_message):
18286         * gst/gstpipeline.c: (gst_pipeline_change_state):
18287         Small docs and debug updates.
18288
18289 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18290
18291         * docs/gst/gstreamer-sections.txt:
18292         * gst/gstelementfactory.c:
18293         * gst/gstevent.c:
18294         * gst/gsttaglist.c:
18295           more docs
18296
18297 2005-10-08  Wim Taymans  <wim@fluendo.com>
18298
18299         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18300         (gst_bin_dispose), (bin_bus_handler):
18301         Fix typos, add comments.
18302         Clear EOS list when going to PAUSED from any direction and do it
18303         in a threadsafe way.
18304         Get base time in a threadsafe way too.
18305         Fix confusing debug in the change_state function.
18306         Various other small cleanups.
18307         
18308         * gst/gstelement.c: (gst_element_post_message):
18309         Fix very verbose bus posting code.
18310
18311         * gst/gstpipeline.c: (gst_pipeline_class_init),
18312         (gst_pipeline_set_property), (gst_pipeline_get_property),
18313         (gst_pipeline_change_state):
18314         Small ARG_ -> PROP_ cleanup
18315
18316 2005-10-08  Wim Taymans  <wim@fluendo.com>
18317
18318         * gst/gstbin.c: (is_eos), (bin_bus_handler):
18319         Do a less CPU demanding EOS check because we can.
18320
18321 2005-10-08  Wim Taymans  <wim@fluendo.com>
18322
18323         * libs/gst/dataprotocol/dataprotocol.c:
18324         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18325         (gst_dp_packet_from_event):
18326         * libs/gst/dataprotocol/dataprotocol.h:
18327         * libs/gst/dataprotocol/dp-private.h:
18328         It's about time we bump the version number.
18329         Since event types don't fit in the guint8 anymore describing
18330         the payload type, make payload type 16 bits wide.
18331
18332 2005-10-08  Wim Taymans  <wim@fluendo.com>
18333
18334         * docs/design/part-TODO.txt:
18335         * docs/design/part-clocks.txt:
18336         * docs/design/part-events.txt:
18337         * docs/design/part-gstbin.txt:
18338         * docs/design/part-gstelement.txt:
18339         * docs/design/part-gstpipeline.txt:
18340         * docs/design/part-live-source.txt:
18341         * docs/design/part-messages.txt:
18342         * docs/design/part-overview.txt:
18343         * docs/design/part-states.txt:
18344         Many doc updates.
18345
18346 2005-10-08  Wim Taymans  <wim@fluendo.com>
18347
18348         * gst/gstevent.c:
18349         * gst/gstevent.h:
18350         Fix event quark registration.
18351         Add some space between events so we can insert them in the
18352         right groups.
18353
18354 2005-10-08  Wim Taymans  <wim@fluendo.com>
18355
18356         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18357         (gst_base_sink_handle_buffer):
18358         Better log message.
18359
18360         * gst/gstbus.h:
18361         * gst/gstelement.h:
18362         More docs.
18363
18364         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18365         (gst_queue_set_property), (gst_queue_get_property):
18366         * gst/gstqueue.h:
18367         Remove old unused properties.
18368
18369 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18370         * docs/gst/gstreamer-sections.txt:
18371         * gst/gstmessage.c:
18372         * gst/gstmessage.h:
18373         * gst/gstminiobject.c:
18374         * gst/gstminiobject.h:
18375         * gst/gstobject.h:
18376         * gst/gstpad.h:
18377         * gst/gstutils.h:
18378           lots of new docs and doc fixes
18379
18380 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18381
18382         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18383         * gst/gstplugin.h:
18384         * gst/gstregistry.c: (gst_registry_lookup_locked),
18385         (gst_registry_scan_path_level):
18386         * gst/gstregistryxml.c: (load_plugin):
18387           Only ever load one plugin for a given plugin basename.
18388           This ensures correct overriding of GST_PLUGIN_PATH over
18389           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18390           system installed plugins.
18391
18392 2005-10-08  Wim Taymans  <wim@fluendo.com>
18393
18394         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18395         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18396         Prepare for doing QOS.
18397
18398 2005-10-08  Wim Taymans  <wim@fluendo.com>
18399
18400         * check/gst/gstbin.c: (GST_START_TEST):
18401         * check/pipelines/cleanup.c: (GST_START_TEST):
18402         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18403         Allow new clock message too.
18404
18405 2005-10-08  Wim Taymans  <wim@fluendo.com>
18406
18407         * gst/gstmessage.c: (gst_message_new_error),
18408         (gst_message_new_warning), (gst_message_new_tag),
18409         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18410         (gst_message_new_clock_lost), (gst_message_new_new_clock),
18411         (gst_message_new_segment_start), (gst_message_new_segment_done),
18412         (gst_message_parse_state_changed),
18413         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18414         (gst_message_parse_new_clock):
18415         * gst/gstmessage.h:
18416         Also carry the clock in question.
18417
18418 2005-10-08  Wim Taymans  <wim@fluendo.com>
18419
18420         * gst/gstmessage.c: (gst_message_new_custom),
18421         (gst_message_new_eos), (gst_message_new_error),
18422         (gst_message_new_warning), (gst_message_new_tag),
18423         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18424         (gst_message_new_new_clock), (gst_message_new_segment_start),
18425         (gst_message_new_segment_done), (gst_message_parse_state_changed),
18426         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18427         * gst/gstmessage.h:
18428         Clean up.
18429         Added clock related messages.
18430
18431         * gst/gstpipeline.c: (gst_pipeline_change_state):
18432         Post message when the clock changed.
18433
18434         * tools/gst-launch.c: (event_loop):
18435         Print new clock.
18436
18437 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
18438
18439         * tools/gst-inspect.c: (print_element_properties_info):
18440           Can't pass NULL strings to g_print() on windows.
18441
18442 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18443
18444         * docs/Makefile.am:
18445         * docs/gst/Makefile.am:
18446         * docs/gst/gstreamer-docs.sgml:
18447         * docs/gst/running.xml:
18448         * docs/version.entities.in:
18449           add a chapter on running GStreamer.
18450           document GST_DEBUG and GST_PLUGIN* env vars
18451
18452 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18453
18454         * Makefile.am:
18455           remove include dir
18456         * configure.ac:
18457           remove PLUGINS_BUILDDIR stuff
18458         * gst/gst.c: (init_post):
18459           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18460         * idiottest.mak:
18461           remove, it was condescending and not needed
18462
18463 2005-10-08  Wim Taymans  <wim@fluendo.com>
18464
18465         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18466         (gst_base_sink_handle_object), (gst_base_sink_event),
18467         (gst_base_sink_wait), (gst_base_sink_handle_event),
18468         (gst_base_sink_change_state):
18469         * gst/base/gstbasesink.h:
18470         Repost EOS message while going to PLAYING if still EOS.
18471         Make sure that when receiving a FLUSH_START we don't attempt
18472         to sync on the clock anymore.
18473
18474 2005-10-08  Wim Taymans  <wim@fluendo.com>
18475
18476         * tools/gst-launch.c: (event_loop):
18477         Better message printout.
18478
18479 2005-10-08  Wim Taymans  <wim@fluendo.com>
18480
18481         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18482         (gst_bin_child_proxy_get_children_count):
18483         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18484         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18485         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18486         (gst_child_proxy_set_valist):
18487         * gst/parse/grammar.y:
18488         Make ChildProxy threadsafe and fix mem leaks.
18489
18490 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18491
18492         * gst/gst.c: (init_post):
18493           debug the GST_PLUGIN_ env vars
18494
18495 2005-10-08  Wim Taymans  <wim@fluendo.com>
18496
18497         * check/gst/gstbin.c: (GST_START_TEST):
18498         * check/gst/gstmessage.c: (GST_START_TEST):
18499         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18500         * gst/gstelement.c: (gst_element_commit_state),
18501         (gst_element_lost_state):
18502         * gst/gstmessage.c: (gst_message_new_state_changed),
18503         (gst_message_parse_state_changed):
18504         * gst/gstmessage.h:
18505         * tools/gst-launch.c: (event_loop):
18506         Added extra field to STATE_CHANGE message with the pending
18507         state, which will be different from the new state soon.
18508
18509 2005-10-08  Wim Taymans  <wim@fluendo.com>
18510
18511         * gst/gstbus.c: (gst_bus_pop):
18512         * gst/gstclock.c:
18513         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18514         Small cleanups and doc updates.
18515
18516 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18517
18518         * gst/gst.c: (init_pre):
18519         * gst/gstbin.c: (gst_bin_add_func):
18520           log distributing clocks and base time
18521         * gst/gstregistry.c: (gst_registry_add_plugin),
18522         (gst_registry_scan_path_level), (gst_registry_scan_path):
18523           clean up the debugging output a little
18524         * gst/gstutils.c: (gst_element_state_get_name):
18525           warn about a memleak (I've actually seen this be used, though
18526           it was probably a bug)
18527
18528 2005-10-07  Wim Taymans  <wim@fluendo.com>
18529
18530         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18531         (gst_base_src_init), (gst_base_src_default_newsegment),
18532         (gst_base_src_newsegment), (gst_base_src_do_seek),
18533         (gst_base_src_loop), (gst_base_src_start):
18534         * gst/base/gstbasesrc.h:
18535         Make the newsegment event customizable by subclasses.
18536
18537 2005-10-07  Wim Taymans  <wim@fluendo.com>
18538
18539         * gst/gstevent.c: (gst_event_new_buffersize),
18540         (gst_event_parse_buffersize):
18541         * gst/gstevent.h:
18542         New event for future idea.
18543
18544 2005-10-07  Andy Wingo  <wingo@pobox.com>
18545
18546         * gst/gstelement.c (gst_element_post_message): Doc update.
18547
18548         * docs/gst/gstreamer-sections.txt: Update.
18549
18550         * gst/gstmessage.c (gst_message_new_application): Made into a
18551         function like honest API calls.
18552         (gst_message_new_element): New message type.
18553
18554         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18555
18556         * check/elements/fakesrc.c (test_no_preroll): New check, checks
18557         that setting a live fakesrc to PAUSED returns NO_PREROLL both
18558         times.
18559
18560         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18561         NO_PREROLL from gst_element_change_state to fall through.
18562
18563 2005-10-07  Wim Taymans  <wim@fluendo.com>
18564
18565         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18566         (gst_ghost_pad_do_activate_push):
18567         Activating a ghostpad with no internal pad in push mode
18568         is ok.
18569
18570 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18571
18572         * gst/gstobject.h:
18573           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18574           Fixes compilation on Windows.
18575
18576 2005-10-07  Michael Smith <msmith@fluendo.com>
18577
18578         * tools/gst-inspect.c:
18579           Print out feature and plugin count at the end when printing out
18580           all features.
18581
18582 2005-10-04  Michael Smith <msmith@fluendo.com>
18583
18584         * gst/gsterror.c: (_gst_stream_errors_init):
18585           Add another error string used in a few existing plugins.
18586
18587         * gst/gstplugin.c:
18588         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18589         * tools/gst-inspect.c: (print_element_info):
18590           When a feature disappears from a plugin (and the feature exists in
18591           the cached registry file), things went horribly wrong. This isn't a
18592           complete fix, we should actually be removing the 'missing' features
18593           from the features list when we load the actual plugin. That's not
18594           yet implemented. 
18595
18596 2005-10-04  Johan Dahlin  <johan@gnome.org>
18597
18598         * check/gst/gstiterator.c: (GST_START_TEST):
18599         * gst/gstbin.c: (gst_bin_iterate_elements),
18600         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18601         * gst/gstelement.c: (gst_element_iterate_pads):
18602         * gst/gstformat.c: (gst_format_iterate_definitions):
18603         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18604         (gst_iterator_new_list), (gst_iterator_filter):
18605         * gst/gstiterator.h:
18606         * gst/gstquery.c: (gst_query_type_iterate_definitions):
18607         Add a GType to GstIterator, update callsites and tests.
18608
18609 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18610
18611         * gst/gstpad.c: (gst_pad_event_default_dispatch):
18612           give events a chance to be handled by event probes when the pad
18613           is not linked
18614
18615 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18616
18617         * gst/gstevent.c: (gst_event_type_get_name),
18618         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18619         * gst/gstevent.h:
18620           add string representations for event types
18621
18622 2005-10-06  Wim Taymans  <wim@fluendo.com>
18623
18624         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18625         Don't use NULL pointers.
18626
18627 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18628
18629         * gst/gst_private.h:
18630         * gst/gstbus.c:
18631         * gst/gstelement.c:
18632         * gst/gstinfo.c:
18633         * gst/gstpluginfeature.c:
18634           widen the debug category in output to fit the biggest one we have
18635           add a bus category and use it
18636           play with the colors
18637           fix up some categories
18638
18639 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18640
18641         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18642           add push activation of sink ghost pads.
18643           Andye, please verify
18644
18645 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18646
18647         * gst/gstutils.c: (gst_element_link_pads):
18648           fix a bug in the case where neither element has a pad
18649         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18650           add a test for that case
18651
18652 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18653
18654         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18655           emit have-data before checking for peers.  This allows
18656           for probe handlers to connect elements.  This helps autopluggers.
18657         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18658         (gst_pad_suite):
18659           add six checks, linked/unlinked with no/true/false probe
18660
18661 2005-10-04  Wim Taymans  <wim@fluendo.com>
18662
18663         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18664         (gst_fake_sink_event), (gst_fake_sink_preroll),
18665         (gst_fake_sink_render), (gst_fake_sink_change_state):
18666         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18667         (gst_fake_src_get_property), (gst_fake_src_create),
18668         (gst_fake_src_stop):
18669         * gst/elements/gstidentity.c: (gst_identity_stop):
18670         Protect last_message with lock.
18671
18672 2005-10-04  Edward Hervey  <edward@fluendo.com>
18673
18674         * gst/gstformat.h: 
18675         Added precision in the comments for GST_FORMAT_DEFAULT
18676
18677 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
18678
18679         * tools/gst-launch.c: (main):
18680           Don't try to run erroneous pipelines.
18681
18682 2005-10-04  Julien MOUTTE  <julien@moutte.net>
18683
18684         * gst/gstbus.c: We don't need this header.
18685
18686 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18687
18688         * configure.ac:
18689           back to development
18690
18691 === release 0.9.3 ===
18692
18693 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18694
18695         * README:
18696         * configure.ac:
18697           Releasing 0.9.3, "Unregistered"
18698
18699 2005-10-03  Andy Wingo  <wingo@pobox.com>
18700
18701         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18702         whereby calling a pad's activatepush() function can start a thread
18703         that starts to push or pull before the pad gets the FLUSHING flag
18704         unset. Hack around it by holding the stream lock until the flag is
18705         set. Need to replace this with a proper solution. Together with
18706         the ghost pad fixes, this fixes mp3 playing/tagreading.
18707
18708         * docs/design/part-gstghostpad.txt: Add a note about activation of
18709         proxy pads outside of ghost pads.
18710
18711         * gst/gstghostpad.c: Implement the ghost pad activation design.
18712
18713 2005-10-02  Andy Wingo  <wingo@pobox.com>
18714
18715         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18716         It is volatile, after all.
18717
18718         * docs/design/part-gstghostpad.txt: Flesh out activation with
18719         ghost pads.
18720
18721         * gst/base/gstbasesrc.c (gst_base_src_init): Use
18722         GST_DEBUG_FUNCPTR.
18723
18724 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
18725
18726         * configure.ac:
18727           Fix (unused) AM_CONDITIONAL tests.
18728
18729 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
18730
18731         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18732
18733         * gst/gstutils.c: (gst_pad_query_convert):
18734           Add assertion that makes sure src_val is >=0, just like
18735           gst_query_new_convert() has. (#315895)
18736
18737 2005-09-30  Edward Hervey  <edward@fluendo.com>
18738
18739         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18740         Let's not iterate pads we're not interested in, it avoids getting 
18741         sky-high refcounts on sinkpad.
18742
18743 2005-09-30  Wim Taymans  <wim@fluendo.com>
18744
18745         * gst/gstelement.c: (gst_element_set_state),
18746         (gst_element_change_state):
18747         Small tweak, element in ASYNC remains ASYNC.
18748
18749 2005-09-30  Wim Taymans  <wim@fluendo.com>
18750
18751         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18752         Only error is an error.
18753
18754         * gst/gstbin.c: (gst_bin_change_state):
18755         Better debugging.
18756
18757         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18758         Also call pad_block in pad alloc.
18759
18760         * gst/gstutils.c: (gst_flow_get_name):
18761         Better debugging.
18762
18763 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18764
18765         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18766         (gst_base_src_get_range):
18767           Fix documentation typos. Add some more debug info.
18768
18769 2005-09-29  David Schleef  <ds@schleef.org>
18770
18771         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18772           more end-user friendly.
18773         * tools/gst-inspect.c: (main): Check if command-line argument is
18774           a file and attempt to load that file as a plugin.
18775
18776 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18777
18778         * check/gst/gstbin.c:
18779         * check/states/sinks.c:
18780           fix tests for the new warning
18781         * check/gst/gstpipeline.c:
18782           add a test for pipeline and bus interaction
18783         * gst/gstelement.c:
18784           elements should be NULL if they get disposed; add a warning if not
18785
18786 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18787
18788         * gst/gstobject.c:
18789           for 2.6 refcounting, make debug log more correct by printing
18790           the actual refcounts at the time of swap (Wim)
18791
18792 2005-09-29  Andy Wingo  <wingo@pobox.com>
18793
18794         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18795         removes signal watches previously added via
18796         gst_bus_add_signal_watch.
18797         (gst_bus_add_signal_watch): Don't return the source id, just store
18798         it on the bus if there wasn't an id already.
18799
18800         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18801         add_signal_watch and remove_signal_watch.
18802
18803 2005-09-29  Edward Hervey  <edward@fluendo.com>
18804
18805         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
18806         Better if we actually iterate the list :)
18807
18808 2005-09-29  Wim Taymans  <wim@fluendo.com>
18809
18810         * check/gst/gstbin.c: (GST_START_TEST):
18811         Change for new bus API.
18812
18813         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18814         (send_messages), (GST_START_TEST), (gstbus_suite):
18815         Change for new bus signal API.
18816
18817         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18818         (gst_bus_source_prepare), (gst_bus_source_check),
18819         (gst_bus_create_watch), (gst_bus_add_watch_full),
18820         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18821         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18822         * gst/gstbus.h:
18823         Remove support for multiple GSources operating on different
18824         message types as it is too complex and unneeded when using
18825         signals.
18826         Added support for receiving signals from the bus.
18827
18828 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18829
18830         * docs/libs/tmpl/gstdataprotocol.sgml:
18831         * docs/manual/advanced-dataaccess.xml:
18832         * gst/elements/gstcapsfilter.c:
18833         * gst/gstutils.c:
18834           rename filter-caps to caps property
18835
18836 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18837
18838         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18839           More robust fraction string parsing.
18840
18841         * docs/pwg/appendix-porting.xml:
18842           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18843
18844 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18845
18846         * gst/gstcaps.c: (gst_caps_do_simplify):
18847           Thou shalt not free a structure and then continue using it
18848           in the next loop iteration.
18849
18850         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18851         (gst_caps_suite):
18852           Add test case for caps simplification.
18853
18854 2005-09-29  Wim Taymans  <wim@fluendo.com>
18855
18856         * check/gst/gstbin.c: (GST_START_TEST):
18857         Oops.
18858
18859 2005-09-29  Wim Taymans  <wim@fluendo.com>
18860
18861         * check/gst/gstbin.c: (GST_START_TEST):
18862         Add bus to bin.
18863
18864         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18865         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18866         (find_element), (gst_bin_sort_iterator_next),
18867         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18868         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18869         (gst_bin_change_state), (gst_bin_dispose):
18870         A bin does not have a bus, it gets the bus from the parent.
18871
18872         * gst/gstelement.c: (gst_element_requires_clock),
18873         (gst_element_provides_clock), (gst_element_is_indexable),
18874         (gst_element_is_locked_state), (gst_element_change_state),
18875         (gst_element_set_bus_func):
18876         Small cleanups.
18877
18878         * gst/gstpipeline.c: (gst_pipeline_class_init),
18879         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18880         The pipeline provides a bus.
18881
18882 2005-09-28  Johan Dahlin  <johan@gnome.org>
18883
18884         * gst/gstmessage.c (gst_message_parse_state_changed): Use
18885         gst_structure_get_enum instead of gst_structure_get_int
18886
18887         * gst/gststructure.c (gst_structure_get_enum): Impl.
18888
18889         * gst/gststructure.h (gst_structure_get_enum): Add
18890
18891         * docs/gst/gstreamer-sections.txt: Ditto
18892
18893         * gst/gstmessage.c (gst_message_new_state_changed): Use
18894         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18895         which does introspection.
18896         Reviewed by Christian Schaller
18897
18898 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18899
18900         * gst/gstinfo.c: (gst_debug_log_default):
18901           don't do dummy g_strdup()s
18902         * libs/gst/controller/gstcontroller.c:
18903         (on_object_controlled_property_changed),
18904         (gst_controlled_property_new), (gst_controller_new_valist),
18905         (gst_controller_new_list),
18906         (gst_controller_remove_properties_valist), (gst_controller_set),
18907         (gst_controller_get), (gst_controller_sync_values),
18908         (gst_controller_get_value_array), (_gst_controller_class_init),
18909         (gst_controller_get_type):
18910         * libs/gst/controller/gstcontroller.h:
18911         * libs/gst/controller/gstinterpolation.c:
18912         (gst_controlled_property_find_timed_value_node):
18913           convert // to /**/ comments
18914
18915 2005-09-28  Wim Taymans  <wim@fluendo.com>
18916
18917         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18918         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18919         (gst_bus_sync_signal_handler):
18920         * gst/gstbus.h:
18921         Added async-message and sync-message signals to the bus.
18922         Added helper BusFunc to emit signals for all posted messages.
18923
18924         * gst/gstmessage.c: (gst_message_type_get_name),
18925         (gst_message_type_to_quark), (gst_message_get_type):
18926         * gst/gstmessage.h:
18927         Register quarks for message names.
18928
18929 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18930
18931         * docs/libs/gstreamer-libs-sections.txt:
18932         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18933         (gst_controller_new_list):
18934         * libs/gst/controller/gstcontroller.h:
18935           added another constructor for language bindings
18936
18937 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18938
18939         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18940           add another check
18941         * gst/gstbus.c:
18942           add some doc
18943         * gst/gstinfo.c: (_gst_debug_init):
18944           slightly more readable color for refcount debugging
18945
18946 2005-09-28  Wim Taymans  <wim@fluendo.com>
18947
18948         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18949         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18950         (find_element), (gst_bin_sort_iterator_next),
18951         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18952         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18953         (gst_bin_change_state), (gst_bin_dispose):
18954         Small doc fixes. get_clock -> provide_clock.
18955
18956         * gst/gstelement.c: (gst_element_class_init),
18957         (gst_element_provides_clock), (gst_element_provide_clock),
18958         (gst_element_get_clock), (gst_element_commit_state),
18959         (gst_element_lost_state):
18960         * gst/gstelement.h:
18961         Make get/set_clock() symetric. Add provide_clock vmethod since
18962         that is actually what this function does.
18963
18964         * gst/gstpipeline.c: (gst_pipeline_class_init),
18965         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18966         (gst_pipeline_get_clock):
18967         get_clock -> provide_clock.
18968
18969 2005-09-28  Andy Wingo  <wingo@pobox.com>
18970
18971         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18972         lieu of real docs...
18973
18974         * gst/elements/gstfdsrc.c: Cleaned up a bit.
18975
18976 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
18977
18978         * gst/elements/gstcapsfilter.c:
18979         * gst/elements/gstfakesink.c:
18980         * gst/elements/gstfakesrc.c:
18981         * gst/elements/gstfdsink.c:
18982         * gst/elements/gstfdsrc.c:
18983         * gst/elements/gstfilesink.c:
18984         * gst/elements/gstfilesrc.c:
18985         * gst/elements/gstidentity.c:
18986         * gst/elements/gsttee.c:
18987         * gst/elements/gsttypefindelement.c:
18988           Make element details static.
18989
18990 2005-09-28  Wim Taymans  <wim@fluendo.com>
18991
18992         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18993         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18994         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18995         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18996         (gst_bin_change_state), (gst_bin_dispose):
18997         Some documentation updates.
18998         Clean up dispose handlers.
18999
19000         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
19001         * gst/gstpad.c: (gst_pad_dispose):
19002         Clean up dispose handler.
19003
19004         * gst/gstpipeline.c: (gst_pipeline_change_state):
19005         Removed spurious UNLOCK.
19006
19007 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
19008
19009         * docs/gst/gstreamer-sections.txt:
19010         * gst/base/gstbasesrc.h:
19011         * gst/gstelement.h:
19012         * gst/gstevent.h:
19013         * gst/gstobject.h:
19014         * gst/gstpad.h:
19015         * gst/gstpipeline.c:
19016         * gst/gstpipeline.h:
19017         * gst/gstutils.h:
19018         * gst/gstxml.h:
19019           added two new functions to the docs
19020                 documents all undocumented GstXXXFlags
19021                 completed some incomplete docs 
19022
19023 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19024
19025         * gst/gstbin.c: (gst_bin_dispose):
19026         * gst/gstelement.c: (gst_element_dispose):
19027           remove now useless and leaky resurrection code in dispose
19028         * gst/base/gstbasesrc.c: (gst_base_src_init):
19029         * gst/gstelementfactory.c: (gst_element_factory_create):
19030         * gst/gstobject.c: (gst_object_set_parent):
19031           add some debugging
19032
19033 2005-09-27  Wim Taymans  <wim@fluendo.com>
19034
19035         * docs/design/part-TODO.txt:
19036         Update TODO.
19037
19038         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19039         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19040         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19041         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19042         (gst_bin_change_state):
19043         * gst/gstelement.h:
19044         Remove element variable, we keep element info in the iterator now.
19045
19046 2005-09-27  Andy Wingo  <wingo@pobox.com>
19047
19048         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
19049         values.
19050
19051 2005-09-27  Wim Taymans  <wim@fluendo.com>
19052
19053         * check/gst/gstbin.c: (GST_START_TEST):
19054         Enable check that works now.
19055
19056         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19057         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19058         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19059         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19060         (gst_bin_change_state):
19061         * gst/gstbin.h:
19062         Redid the state change algorithm using a topological sort algo.
19063         Handles all cases correctly.
19064         Exposed iterator for state change order.
19065
19066         * gst/gstelement.h:
19067         Temp storage for state changes. Need to get rid of this soon.
19068
19069 2005-09-27  Wim Taymans  <wim@fluendo.com>
19070
19071         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
19072         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
19073         (link_fold_func), (gst_pad_proxy_setcaps):
19074         Leak fixes, the fold functions need to unref the passed object and
19075         _get_parent_*() returns ref to parent.
19076
19077 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
19078
19079         * check/gst/gstbuffer.c: (test_make_writable):
19080           Plug leak in test case and fix 'make check-valgrind'
19081
19082 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
19083
19084         * gst/gstbuffer.c: (gst_subbuffer_init):
19085           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
19086           works correctly in all circumstances (we could have just copied
19087           the parent buffer's readonly flag, but conceptually it seems
19088           cleaner to mark all subbuffers as read-only). (based on patch
19089           by Alessandro Decina, #314710).
19090         
19091         * check/gst/gstbuffer.c: (create_read_only_buffer),
19092         (test_make_writable), (test_subbuffer_make_writable),
19093         (gst_test_suite):
19094           Add some tests for gst_buffer_make_writable().
19095
19096 2005-09-27  Wim Taymans  <wim@fluendo.com>
19097
19098         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
19099         use gst_object_has_ancestor().
19100
19101         * gst/gstobject.c: (gst_object_has_ancestor):
19102         * gst/gstobject.h:
19103         gst_object_has_ancestor() copied from gstbin.c as it is a
19104         useful function.
19105
19106         * tests/instantiate/create.c: (create_all_elements):
19107         * tests/lat.c: (handoff_src), (handoff_sink):
19108         * tests/sched/runxml.c: (main):
19109         * tests/seeking/seeking1.c: (main):
19110         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
19111         (main):
19112         Fix compilation of some tests.
19113
19114 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
19115
19116         * gst/gsterror.h:
19117           Remove comment. GST_TYPE_G_ERROR is here to stay,
19118           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
19119           (#316961, #300610).
19120
19121 2005-09-26  Wim Taymans  <wim@fluendo.com>
19122
19123         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19124         Added check that shows error in state change order.
19125
19126 2005-09-26  Wim Taymans  <wim@fluendo.com>
19127
19128         * gst/gstbin.c: (gst_bin_change_state):
19129         Make state change function use 3 queues again, we were
19130         adding elements in the wrong order.
19131
19132         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
19133         Some debug info,
19134
19135         * gst/gstpad.c: (gst_pad_dispose):
19136         Added some debug info first.
19137
19138 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
19139
19140         * docs/design/draft-push-pull.txt:
19141         * docs/design/part-events.txt:
19142         * docs/design/part-overview.txt:
19143         * docs/design/part-scheduling.txt:
19144           Replace all _pull_region() with _pull_range()
19145           
19146 2005-09-26  Andy Wingo  <wingo@pobox.com>
19147
19148         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
19149
19150         * check/gst-libs/controller.c: Update for controller api change.
19151
19152         * configure.ac: 
19153         * tests/Makefile.am:
19154         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
19155         over by GLib bug 118439.
19156         
19157         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
19158         routines to a function.
19159
19160         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
19161
19162         * libs/gst/controller/gsthelper.c:
19163         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
19164         (gst_object_sync_values): Renamed from sink_values. Ugh.
19165
19166         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
19167
19168         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
19169         Renamed from controller_key, as it is exported.
19170
19171         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
19172
19173 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
19174
19175         * gst/Makefile.am:
19176         * gst/gst.h:
19177         * gst/gstpad.h:
19178         * gst/gstpadtemplate.h:
19179         * gst/gstquery.c:
19180         * gst/gstquery.h:
19181         * gst/gstqueryutils.c:
19182         * gst/gstqueryutils.h:
19183           remove queryutils headers after moving the two used functions
19184           to gstquery.  also fixes build problem for gstsiddec
19185
19186 2005-09-26  Michael Smith <msmith@fluendo.com>
19187
19188         * tools/gst-launch.1.in:
19189         Correct documentation in manpage of debug syntax
19190
19191 2005-09-26  Wim Taymans  <wim@fluendo.com>
19192
19193         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19194         (gst_base_src_is_seekable), (gst_base_src_change_state):
19195         Some more debugging info.
19196
19197 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19198
19199         * docs/gst/gstreamer-sections.txt:
19200         * gst/base/gstbasetransform.h:
19201         * gst/gstindex.h:
19202           added more docs
19203
19204 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19205
19206         * docs/gst/.cvsignore:
19207         * docs/gst/tmpl/.cvsignore:
19208         * docs/gst/tmpl/gstpipeline.sgml:
19209         * docs/gst/tmpl/gstplugin.sgml:
19210         * gst/gstpipeline.c:
19211         * gst/gstplugin.c:
19212         * gst/gstplugin.h:
19213           inlined the last two docs files
19214           removed the tmpl directory from cvs (no more conflicts here!)
19215
19216 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19217
19218         * docs/gst/gstreamer-sections.txt:
19219         * docs/gst/tmpl/.cvsignore:
19220         * docs/gst/tmpl/gstpad.sgml:
19221         * docs/gst/tmpl/gstpadtemplate.sgml:
19222         * gst/Makefile.am:
19223         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
19224         (gst_pad_finalize), (gst_pad_set_pad_template):
19225         * gst/gstpad.h:
19226         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
19227         (gst_pad_template_class_init), (gst_pad_template_init),
19228         (gst_pad_template_dispose), (name_is_valid),
19229         (gst_static_pad_template_get), (gst_pad_template_new),
19230         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19231         (gst_pad_template_pad_created):
19232         * gst/gstpadtemplate.h:
19233           inlined two more docs
19234           factored gstpadtemplate out of gstpad
19235
19236 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
19237
19238         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19239         (test_children_state_change_order_semi_sink):
19240           Fix test case: we can't rely on a fixed state change order when
19241           going from READY => PAUSED because the sink might commit its 
19242           new state first when the first buffer created by the source 
19243           reaches the sink before the source has finished its change state.
19244           (Test case still fails at times, see #316856, comment 5 onwards)
19245
19246 2005-09-24  Wim Taymans  <wim@fluendo.com>
19247
19248         * docs/design/part-events.txt:
19249         * docs/design/part-gstbus.txt:
19250         * docs/design/part-gstpipeline.txt:
19251         * docs/design/part-messages.txt:
19252         * docs/design/part-overview.txt:
19253         * docs/design/part-segments.txt:
19254         * gst/gstbin.c:
19255         * gst/gstbuffer.c:
19256         * gst/gstclock.c:
19257         * gst/gstelement.c:
19258         * gst/gstevent.c:
19259         * gst/gstfilter.c:
19260         * gst/gstiterator.c:
19261         Various documentation updates.
19262
19263 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19264
19265         * gst/gstclock.h:
19266           Well, that's embarassing.  Luckily we weren't using
19267           GST_CLOCK_DIFF anywhere.
19268
19269 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19270
19271         * common/gtk-doc.mak:
19272           don't fail on building XML, FC4 slave shows a bunch of doc
19273           missing bits that I don't get
19274         * gst/gstpad.c:
19275         * gst/gstpipeline.c:
19276         * gst/gststructure.c:
19277           some doc updates
19278
19279 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19280
19281         * docs/design/part-gstbin.txt:
19282         * docs/design/part-gstbus.txt:
19283         * gst/gstbus.c:
19284           Add blurb about how the bus goes into flushing mode and
19285           drops all messages when its bin goes from READY into NULL 
19286           state.
19287
19288 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19289
19290         * docs/gst/gstreamer-sections.txt:
19291         * gst/gststructure.c: (gst_structure_get_clock_time):
19292         * gst/gststructure.h:
19293           add a method to get a GstClockTime out of a structure
19294
19295 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19296
19297         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19298         (test_children_state_change_order_semi_sink), (gst_bin_suite):
19299           Added test to check state change order in bins (can still be made
19300           to fail here under heavy disk load; bails out with 'Push on pad
19301           fakesink:sink0, but it was not activated in push mode').
19302
19303         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19304           Fix state change order when there is only a semi sink (#316856)
19305
19306         * gst/gstbus.c: (gst_bus_class_init):
19307           Use _class_peek_parent(), not _class_ref(); fix docs to say
19308           'default main context' instead of 'mainloop' where that is
19309           what's meant.
19310
19311         * gst/gstelement.c: (gst_element_commit_state),
19312         (gst_element_set_state):
19313           Fix typos in debug messages
19314
19315 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19316
19317         * docs/README:
19318         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19319         * gst/gstpluginfeature.c:
19320         * gst/gstutils.c:
19321           various doc updates
19322         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19323           change an assert into an error until it gets fixed properly
19324
19325 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
19326
19327         * docs/gst/gstreamer-sections.txt:
19328         * docs/gst/tmpl/.cvsignore:
19329         * docs/gst/tmpl/gstelement.sgml:
19330         * docs/gst/tmpl/gstinfo.sgml:
19331         * docs/gst/tmpl/gstobject.sgml:
19332         * gst/gstelement.c:
19333         * gst/gstelement.h:
19334         * gst/gstinfo.c:
19335         * gst/gstinfo.h:
19336         * gst/gstobject.c: (gst_object_class_init):
19337         * gst/gstobject.h:
19338           inlined 3 more biiiig doc files and added some missing docs on the fly
19339
19340 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19341
19342         * check/gst/.cvsignore:
19343         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19344         * gst/gstregistryxml.c: (load_plugin),
19345         (gst_registry_xml_save_plugin):
19346           put back source in registry.  add checks for find_plugin.
19347         * testsuite/states/bin.c: (assert_state), (empty_bin),
19348         (test_adding_one_element), (main):
19349         * testsuite/states/locked.c: (main):
19350           some compile/run fixes
19351
19352 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19353
19354         * check/gst/gstvalue.c: (GST_START_TEST):
19355           fix leaks in the test itself
19356
19357 2005-09-22  Wim Taymans  <wim@fluendo.com>
19358
19359         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19360         (gst_base_sink_send_event), (gst_base_sink_peer_query),
19361         (gst_base_sink_query):
19362         Prepare for more accurate position reporting and query
19363         handling.
19364
19365         * gst/gstelement.c: (gst_element_send_event),
19366         (gst_element_set_state):
19367         Add some comment.
19368
19369 2005-09-22  Wim Taymans  <wim@fluendo.com>
19370
19371         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19372         (gst_query_parse_segment):
19373         * gst/gstquery.h:
19374         More documentation.
19375         Add segment query for future use.
19376
19377 2005-09-22  Wim Taymans  <wim@fluendo.com>
19378
19379         * gst/gstbin.c: (gst_bin_add_func):
19380         Some more debug info.
19381
19382         * gst/gstelement.c: (gst_element_send_event):
19383         Simplify send_event
19384
19385         * gst/gstelement.h:
19386         Don't know how flags got broken.
19387
19388         * gst/gstquery.h:
19389         Added new query.
19390
19391 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19392
19393         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19394           Add simplistic test suite for GST_TYPE_DATE serialisation and
19395           deserialisation.
19396
19397 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19398
19399         * docs/gst/gstreamer-sections.txt:
19400         * gst/gststructure.c: (gst_structure_set_valist),
19401         (gst_structure_get_date):
19402         * gst/gststructure.h:
19403         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19404         (gst_date_copy), (gst_value_compare_date),
19405         (gst_value_serialize_date), (gst_value_deserialize_date),
19406         (gst_value_transform_date_string),
19407         (gst_value_transform_string_date), (_gst_value_initialize):
19408         * gst/gstvalue.h:
19409           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19410           bunch of utility functions along with a hack that checks that
19411           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19412           is required. Part of the grand scheme in #170777.
19413
19414 2005-09-22  Andy Wingo  <wingo@pobox.com>
19415
19416         * gst/gstconfig.h.in: Psych out gtk-doc.
19417
19418         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19419
19420         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19421
19422         * tools/gst-inspect.c (print_element_list): Plug some
19423         inconsequential leaks.
19424
19425         * gst/gstregistry.c (gst_registry_get_default): Doc.
19426
19427         * check/gst/gstplugin.c: 
19428         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19429         * gst/gstelementfactory.c (gst_element_factory_create): 
19430         * gst/gstindexfactory.c (gst_index_factory_create): Update for
19431         refcount changes.
19432
19433         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19434         (gst_plugin_feature_load): Doc, don't eat refs.
19435
19436         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19437         (gst_plugin_list_free): Doc.
19438         (gst_plugin_load_file): Doc updates.
19439
19440         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19441         accessors returning refcounted objects, return a ref.
19442
19443         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19444         accessor for caps. IDEMPOTENCE. Oh yes.
19445
19446 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
19447
19448         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19449
19450         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19451         (_gst_debug_register_funcptr):
19452           Add mutex to serialise access to the hash table with
19453           the function pointer => function name string mapping;
19454           make that hash table static scope (#316809).
19455
19456         * gst/registries/.cvsignore:
19457           Remove left-over file.
19458
19459 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19460
19461         * docs/pwg/appendix-porting.xml:
19462           And something about newsegment events and caps-on-buffers to
19463           the porting guide (feel free to improve).
19464
19465 2005-09-21  Andy Wingo  <wingo@pobox.com>
19466
19467         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19468         data and event probes on the same pad.
19469         (test_buffer_probe_once): Test that removing probes from within
19470         the probe functions works.
19471
19472 2005-09-21  Andy Wingo  <wingo@pobox.com>
19473
19474         * check/gst/gstutils.c: New file.
19475         (test_buffer_probe_n_times): A simple buffer probe test. More to
19476         come, foolios.
19477
19478         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19479         have-data::buffer, not have-data.
19480         (gst_pad_add_event_probe): Likewise for have-data::event.
19481         (gst_pad_add_data_probe): More docs. The part about 'resolving the
19482         peer' isn't quite right yet though.
19483         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
19484         (gst_pad_remove_data_probe): Change to take the guint handler_id
19485         as their arg, not the function+data, which is more glib-like.
19486
19487         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19488         the signal emission to indicate if the data is a buffer or an
19489         event.
19490         (gst_pad_get_type): Initialize buffer and event quarks.
19491         (gst_pad_class_init): have-data is now a detailed signal, yes it
19492         is.
19493
19494 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19495
19496         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19497         * gst/gstutils.c: (gst_util_set_value_from_string),
19498         (gst_util_set_object_arg):
19499           Don't put functional code in g_return_if_fail() or
19500           g_return_val_if_fail() statements, otherwise things will 
19501           break when G_DISABLE_CHECKS is defined during compilation.
19502
19503 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19504
19505         * docs/gst/tmpl/.cvsignore:
19506         * docs/gst/tmpl/gstvalue.sgml:
19507         * gst/gstvalue.c:
19508         * gst/gstvalue.h:
19509           inlied another one and added  some obvious docs
19510
19511 2005-09-21  Wim Taymans  <wim@fluendo.com>
19512
19513         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19514         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19515         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19516         (gst_fdsrc_get_property), (gst_fdsrc_create):
19517         * gst/elements/gstfdsrc.h:
19518         Properly implement fdsrc. Removed signal and timeout,
19519         better implemented somewhere else.
19520
19521 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19522
19523         * docs/gst/tmpl/.cvsignore:
19524         * docs/gst/tmpl/gstimplementsinterface.sgml:
19525         * gst/gstinterface.c:
19526           inlined more docs
19527
19528 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19529
19530         * docs/gst/gstreamer-sections.txt:
19531         * docs/gst/tmpl/.cvsignore:
19532         * docs/gst/tmpl/gstenumtypes.sgml:
19533           remove obsolete doc file
19534
19535 2005-09-21  David Schleef  <ds@schleef.org>
19536
19537         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19538         little beer, fix a little leak.
19539
19540 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19541
19542         * docs/gst/gstreamer-docs.sgml:
19543         * docs/gst/gstreamer-sections.txt:
19544         * docs/gst/tmpl/.cvsignore:
19545         * gst/Makefile.am:
19546         * gst/gst.h:
19547         * gst/gstbin.c:
19548         * gst/gstelement.h:
19549         * gst/gstindex.c: (gst_index_class_init):
19550         * gst/gstindex.h:
19551         * gst/gstindexfactory.c: (gst_index_factory_get_type),
19552         (gst_index_factory_class_init), (gst_index_factory_init),
19553         (gst_index_factory_finalize), (gst_index_factory_new),
19554         (gst_index_factory_destroy), (gst_index_factory_find),
19555         (gst_index_factory_create), (gst_index_factory_make):
19556         * gst/gstindexfactory.h:
19557         * gst/gstpluginfeature.c:
19558         * gst/gstpluginfeature.h:
19559         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19560           more docs inlined, splitted gstindex.{c,h}
19561
19562 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19563
19564         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19565           fix a leak
19566
19567 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19568
19569         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19570           Set sync to FALSE by default.
19571
19572 2005-09-20  Wim Taymans  <wim@fluendo.com>
19573
19574         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19575         (gst_base_sink_init):
19576         Make sync property settable from subclass.
19577
19578         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19579         (gst_fake_sink_change_state):
19580         Set sync to FALSE by default.
19581
19582 2005-09-20  Wim Taymans  <wim@fluendo.com>
19583
19584         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19585         * tools/gst-launch.c: (main):
19586         The timeout handler should have lower priority than the source
19587         so we don't timeout before popping a message with 0 timeout.
19588         Dump error messages after failed state change.
19589
19590 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19591
19592         * tools/gst-inspect.c: (print_element_properties_info):
19593           Fix two typos.
19594
19595 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19596
19597         * check/gst/gstevent.c:
19598         * gst/elements/gstfakesink.c:
19599         * gst/elements/gstfakesink.h:
19600           remove the sync property from fakesink.
19601           has the side effect of setting sync TRUE
19602           for fakesink, which is a change.  Anyone who knows how
19603           to fix this nicely in a GObject-y way, feel free.
19604
19605 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19606
19607         * docs/gst/gstreamer-docs.sgml:
19608           remove probe refsection
19609
19610 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19611
19612         * check/Makefile.am:
19613           disable valgrinding the controller test again
19614         * docs/gst/gstreamer-sections.txt:
19615           update for api-changes
19616
19617 2005-09-20  Wim Taymans  <wim@fluendo.com>
19618
19619         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19620         (gst_base_sink_set_property), (gst_base_sink_get_property),
19621         (gst_base_sink_do_sync):
19622         * gst/base/gstbasesink.h:
19623         Added sync property to basesink to disable clock sync.
19624
19625 2005-09-20  Andy Wingo  <wingo@pobox.com>
19626
19627         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19628         eating the caller's refcount.
19629
19630         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
19631         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19632         refcount.
19633
19634         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19635         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19636         of GLib 2.8 public, so we can know which refcount to check in
19637         tests.
19638
19639         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19640         (gst_object_init): Only set the gst refcount if we're going ahead
19641         with the refcount hack.
19642
19643 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19644
19645         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19646         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19647           more leaks plumbed, added more debug-logging
19648         * gst/gstmacros.h:
19649           whitespace fix
19650
19651 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19652
19653         * gst/gstmessage.c:
19654           remove include of gstmemchunk.h
19655
19656 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19657
19658         * gst/gstclock.c: (_gst_clock_id_free):
19659           Commit from the Political Party For More Atomic CVS Commits,
19660           so that people don't waste too much of their day fishing
19661           out obvious leaks out of massive commits.
19662           Oh, and fix a pretty damn obvious leak in the memchunk
19663           removal code.
19664
19665 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19666
19667         * check/Makefile.am:
19668         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19669           plug mem-leak, re-add to valgrindable tests
19670
19671 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19672
19673         * gst/gstplugin.h:
19674           unbreak the build for those who have chronic arthritis
19675           and typing "make check" is just too taxing on the hands
19676
19677 2005-09-20  Andy Wingo  <wingo@pobox.com>
19678
19679         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19680         really want it out, you should fix plugins at the same time.
19681
19682 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
19683
19684         * configure.ac:
19685         * docs/gst/gstreamer-sections.txt:
19686         * gst/gstobject.c:
19687           added missing symbols to api docs
19688           disable ref-count hack if we have glib >= 2.8
19689
19690 2005-09-19  David Schleef  <ds@schleef.org>
19691
19692         * docs/gst/Makefile.am: Ignore a few more internal headers
19693         * docs/gst/gstreamer-docs.sgml: Remove old sections
19694         * docs/gst/gstreamer-sections.txt: Remove old sections
19695         * docs/gst/tmpl/gstobject.sgml: update
19696         * docs/gst/tmpl/gstplugin.sgml: update
19697         * docs/gst/tmpl/gstpluginfeature.sgml: update
19698         * docs/random/ds/0.9-suggested-changes: update.
19699         * gst/Makefile.am: remove memchunk and trashstack, since they're
19700           not used.
19701         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19702         * gst/gst.h: don't include some headers
19703         * gst/gstchildproxy.c: add gstmarshal.h
19704         * gst/gstclock.c: Don't use memchunks
19705         * gst/gstminiobject.c: Add some docs
19706         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19707         * gst/gstobject.h: same
19708         * gst/gstplugin.c: include gstmacros.h
19709         * gst/gstplugin.h: don't include gstmacros.h, since it's private
19710         * gst/gstquery.c: don't use memchunks
19711         * gst/gstregistry.c: rename gst_registry_deinit()
19712         * gst/gstregistry.h: same
19713
19714 2005-09-19  David Schleef  <ds@schleef.org>
19715
19716         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19717         * docs/libs/gstreamer-libs-sections.txt:
19718         * docs/libs/tmpl/gstgetbits.sgml:
19719         * docs/libs/tmpl/gstputbits.sgml:
19720
19721 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
19722
19723         * win32/gstenumtypes.c:
19724         * win32/gstenumtypes.h:
19725           Update.
19726
19727 2005-09-19  Wim Taymans  <wim@fluendo.com>
19728
19729         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19730         Automatically PAUSE and RESUME a pipeline when a flushing seek
19731         is performed.
19732
19733 2005-09-19  Andy Wingo  <wingo@pobox.com>
19734
19735         * gst/gstregistry.h: Spacing fixen.
19736
19737 2005-09-19  Wim Taymans  <wim@fluendo.com>
19738
19739         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19740         Handle state change failure more correctly.
19741
19742 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19743
19744         * check/Makefile.am:
19745         * check/pipelines/cleanup.c: (run_pipeline):
19746         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19747         (GST_START_TEST):
19748           enable cleanup again after fixing the leak
19749         * docs/README:
19750           some more info on docs
19751
19752 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19753
19754         * check/Makefile.am:
19755           re-enable tests now that leaks are plugged
19756         * check/gst/gst.c:
19757         * check/gst/gstbin.c:
19758         * check/gst/gstpipeline.c:
19759           add some more tests while fixing leaks
19760         * common/check.mak:
19761           make sure binaries are uptodate when valgrinding/gdbing
19762         * gst/gst.c:
19763         * gst/gstelementfactory.c:
19764           remove a ref too many, and add a FIXME for when we get
19765           round to disposing of classes
19766         * gst/gstplugin.c:
19767           fix the refcounting when loading a plugin from a file and
19768           the code pretends that the pointer is the same even though
19769           of course it can change
19770         * gst/gstpluginfeature.c:
19771           unref plugins marked cached (a bit confusing as a name)
19772           as the docs state should be done
19773           various doc additions to explain refcounting
19774         * gst/gstregistry.c:
19775         * gst/gstregistryxml.c:
19776           debugging
19777
19778 2005-09-19  Wim Taymans  <wim@fluendo.com>
19779
19780         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19781         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19782         (send_messages), (GST_START_TEST), (gstbus_suite):
19783         * check/gst/gstpipeline.c: (GST_START_TEST):
19784         * check/pipelines/cleanup.c: (run_pipeline):
19785         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19786         (GST_START_TEST):
19787         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19788         (gst_bus_source_check), (gst_bus_source_dispatch),
19789         (gst_bus_create_watch), (gst_bus_add_watch_full),
19790         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19791         * gst/gstbus.h:
19792         * tools/gst-launch.c: (event_loop):
19793         * tools/gst-md5sum.c: (event_loop):
19794         GstBusHandler -> GstBusFunc, return value has the same meaning as
19795         any other GSource (FALSE == remove source).
19796         _add_watch() and _add_watch_full() now take a MessageType mask to
19797         only handle specific types of messages.
19798         _poll() returns the GstMessage instead of the message type to avoid
19799         race conditions.
19800         _have_pending() takes a MessageType mask now too.
19801         Added testsuite for multiple bus watches.
19802         Fix testsuites and applications for new bus API.
19803
19804 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19805
19806         * check/Makefile.am:
19807           mark a bunch of the tests as to fix until we fix them
19808
19809 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19810
19811         * common/check.mak:
19812           use GST_PLUGIN settings for valgrind tests as well, so we're
19813           valgrinding the correct thing
19814         * gst/gst.c: (init_post):
19815           plug another leak
19816
19817 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19818
19819         * gst/gst.c: (init_post), (gst_deinit):
19820         * gst/gstelementfactory.c: (gst_element_factory_class_init),
19821         (gst_element_factory_finalize), (gst_element_factory_cleanup):
19822         * gst/gstindex.c: (gst_index_factory_class_init),
19823         (gst_index_factory_finalize):
19824         * gst/gstobject.c: (gst_object_dispose):
19825         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19826         (gst_plugin_load_file), (gst_plugin_desc_free):
19827         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19828         (gst_plugin_feature_finalize):
19829         * gst/gstregistry.c: (gst_registry_class_init),
19830         (gst_registry_init), (gst_registry_finalize),
19831         (gst_registry_get_default), (gst_registry_deinit):
19832         * gst/gstregistry.h:
19833         * gst/gstregistryxml.c: (load_feature), (load_plugin):
19834           various cleanups and memleak plugging.  make valgrind is happy now.
19835
19836 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19837
19838         * common/check.mak:
19839           add a check-valgrind target
19840
19841 2005-09-18  David Schleef  <ds@schleef.org>
19842
19843         * tools/gst-inspect.c: Revert the GOption code.
19844
19845 2005-09-17  David Schleef  <ds@schleef.org>
19846
19847         * check/Makefile.am: Fix environment variables.
19848         * check/gst/gstplugin.c: Fix for API changes.
19849         * tools/gst-inspect.c: Fix for API changes.
19850         * tools/gst-xmlinspect.c: Fix for API changes.
19851         * gst/gstelementfactory.c:
19852         * gst/gstplugin.c:
19853         * gst/gstplugin.h:
19854         * gst/gstpluginfeature.c:
19855         * gst/gstpluginfeature.h:
19856         * gst/gstregistry.c:
19857         * gst/gstregistry.h:
19858         * gst/gstregistryxml.c:
19859         * gst/gsttypefind.c:
19860         * gst/gsttypefindfactory.c:
19861         * gst/indexers/gstfileindex.c:
19862         * gst/indexers/gstmemindex.c:
19863         * gst/schedulers/Makefile.am:
19864           Change registry to keep track of both plugins and features,
19865           removing the feature tracking from plugins themselves.
19866
19867 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19868
19869         * check/Makefile.am:
19870         * tools/gst-register.1.in:
19871           remove gst-register
19872
19873 2005-09-15  David Schleef  <ds@schleef.org>
19874
19875         * check/gst/gstplugin.c:
19876         * gst/gstelementfactory.c:
19877         * gst/gstplugin.c:
19878         * gst/gstpluginfeature.c:
19879         * gst/gstregistry.c:
19880           Getting tired of debugging.  Disabled all the unreffing of
19881           plugins and features, which fixes the segfaults, but of
19882           course leaks like crazy.  At least playbin works.
19883
19884 2005-09-15  David Schleef  <ds@schleef.org>
19885
19886         * check/gst/gstplugin.c: (register_check_elements),
19887         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19888         More testing
19889         * gst/elements/gsttypefindelement.c: Fix refcounting.
19890         * gst/gsttypefind.c:
19891         * gst/gsttypefindfactory.c:
19892         * gst/gsttypefindfactory.h:
19893
19894 2005-09-15  David Schleef  <ds@schleef.org>
19895
19896         * gst/gstindex.c: get refcounting correct.
19897         * gst/gstregistry.c: Handle the case where a feature/plugin is
19898           not found.
19899
19900 2005-09-15  David Schleef  <ds@schleef.org>
19901
19902         * check/Makefile.am:
19903         * check/gst/gstplugin.c: Add test
19904         * gst/gstplugin.c: Fix problems noticed by testsuite
19905         * gst/gstplugin.h:
19906         * gst/gstregistry.c: 
19907         * gst/gstregistry.h:
19908
19909 2005-09-15  David Schleef  <ds@schleef.org>
19910
19911         * gst/gstplugin.c: Implement semi-decent recounting and locking
19912           in plugins and plugin features.
19913         * gst/gstplugin.h:
19914         * gst/gstpluginfeature.c:
19915         * gst/gstpluginfeature.h:
19916         * gst/gstregistry.c:
19917
19918 2005-09-15  Michael Smith <msmith@fluendo.com>
19919
19920         * gst/gstregistry.c: (gst_registry_get_feature_list):
19921           Implement this. Makes oggdemux work; decodebin still broken.
19922
19923 2005-09-14  David Schleef  <ds@schleef.org>
19924
19925         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19926           #316076)
19927         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19928         * gst/check/Makefile.am:
19929         * libs/gst/controller/Makefile.am:
19930         * libs/gst/dataprotocol/Makefile.am:
19931
19932 2005-09-14  David Schleef  <ds@schleef.org>
19933
19934         * configure.ac: Remove getbits library.  Nothing uses it, and
19935           it should be in something like liboil if someone did want
19936           to use it.
19937         * libs/gst/Makefile.am:
19938         * libs/gst/getbits/Makefile.am:
19939         * libs/gst/getbits/gbtest.c:
19940         * libs/gst/getbits/getbits.c:
19941         * libs/gst/getbits/getbits.h:
19942         * libs/gst/getbits/gstgetbits_generic.c:
19943         * libs/gst/getbits/gstgetbits_i386.s:
19944         * libs/gst/getbits/gstgetbits_inl.h:
19945
19946 2005-09-14  David Schleef  <ds@schleef.org>
19947
19948         * gst/Makefile.am: Dist glib-compat.h
19949
19950 2005-09-14  David Schleef  <ds@schleef.org>
19951
19952         * configure.ac: Remove gst/registries, since it's no longer used.
19953         * gst/registries/Makefile.am:
19954         * gst/registries/gstlibxmlregistry.c:
19955         * gst/registries/gstlibxmlregistry.h:
19956         * gst/registries/gstxmlregistry.c:
19957         * gst/registries/gstxmlregistry.h:
19958         * gst/registries/registrytest.c:
19959
19960 2005-09-14  David Schleef  <ds@schleef.org>
19961
19962         * gst/glib-compat.h:
19963         * gst/gstregistryxml.c:
19964           Convergence is near.  Seriously.
19965
19966 2005-09-14  David Schleef  <ds@schleef.org>
19967
19968         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19969         * gst/glib-compat.h:
19970           Attempt #4 to appease the buildbots.
19971
19972 2005-09-14  David Schleef  <ds@schleef.org>
19973
19974         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19975           Attempt #3.
19976
19977 2005-09-14  David Schleef  <ds@schleef.org>
19978
19979         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19980         Attempt #2.
19981
19982 2005-09-14  David Schleef  <ds@schleef.org>
19983
19984         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19985           the new functions.
19986
19987 2005-09-14  David Schleef  <ds@schleef.org>
19988
19989         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19990         * gst/glib-compat.h: Add some functions that are in newer versions
19991           of glib than we care to require.
19992         * gst/gstregistryxml.c: Use them.
19993
19994 2005-09-14  David Schleef  <ds@schleef.org>
19995
19996         * po/POTFILES.in: remove gst-register.c
19997
19998 2005-09-14  David Schleef  <ds@schleef.org>
19999
20000         * docs/gst/gstreamer-docs.sgml:
20001         * docs/gst/gstreamer-sections.txt:
20002         * docs/gst/gstreamer.types:
20003         * docs/gst/tmpl/gstelement.sgml:
20004         * docs/gst/tmpl/gstplugin.sgml:
20005         * docs/gst/tmpl/gstpluginfeature.sgml:
20006           Documentation updates for registry changes.
20007
20008 2005-09-14  David Schleef  <ds@schleef.org>
20009
20010         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
20011           because we don't require glib-2.8.
20012
20013 2005-09-14  David Schleef  <ds@schleef.org>
20014
20015         * gst/gstregistryxml.c: Added.  Essentially moved out of the
20016           registries directory.
20017
20018 2005-09-14  David Schleef  <ds@schleef.org>
20019
20020         * check/Makefile.am:
20021         * check/generic/states.c:
20022         * gst/Makefile.am:
20023         * gst/gst.c:
20024         * gst/gst.h:
20025         * gst/gst_private.h:
20026         * gst/gstelementfactory.c:
20027         * gst/gstindex.c:
20028         * gst/gstinfo.c:
20029         * gst/gstplugin.c:
20030         * gst/gstplugin.h:
20031         * gst/gstpluginfeature.c:
20032         * gst/gstpluginfeature.h:
20033         * gst/gstregistry.c:
20034         * gst/gstregistry.h:
20035         * gst/gstregistrypool.c: remove
20036         * gst/gstregistrypool.h: remove
20037         * gst/gsttypefind.c:
20038         * gst/gsttypefindfactory.c:
20039         * gst/gsturi.c:
20040         * tools/Makefile.am:
20041         * tools/gst-compprep.c:
20042         * tools/gst-inspect.c:
20043         * tools/gst-register.c: remove
20044         * tools/gst-xmlinspect.c:
20045           Registry rewrite.  Changes registry from being a file created
20046           by a tool into a simple cache file created automatically by 
20047           libgstreamer.  Removed gst-register (because it's no longer
20048           needed).  Remove registry pools, because we only have one
20049           registry implementation (XML).  Fix up other subsystems as
20050           necessary.
20051
20052 2005-09-13  Michael Smith <msmith@fluendo.com>
20053
20054         * gst/gstconfig.h.in:
20055           Don't Use windows linking attributes for MinGW. Fixes #316157
20056
20057 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20058
20059         * gst/gstutils.c: (set_state_async_thread_func),
20060         (gst_element_set_state_async):
20061           Apparently people think it's better if this function doesn't
20062           try to set the state to whatever state was asked for on the first
20063           call to this function for any object.  Seriously.
20064
20065 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20066
20067         * check/gst/gstpipeline.c: (GST_START_TEST):
20068         * docs/gst/gstreamer-sections.txt:
20069         * gst/gstutils.c: (set_state_async_thread_func),
20070         (gst_element_set_state_async):
20071         * gst/gstutils.h:
20072           add a "gst_element_set_state_async" method that
20073           sets the state and starts a thread to make sure the state
20074           change completes as best as it can
20075
20076 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20077
20078         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20079           codify design+behaviour in testsuite after discussion
20080
20081 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20082
20083         * docs/gst/tmpl/gstelement.sgml:
20084         * docs/manual/appendix-quotes.xml:
20085           add a quote
20086         * gst/gstelement.c: (gst_element_set_state):
20087           add some debug
20088
20089 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
20090
20091         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20092         (gst_base_transform_prepare_output_buf),
20093         (gst_base_transform_handle_buffer):
20094         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
20095         (gst_capsfilter_prepare_buf):
20096           Remove the requirement for sub-classes to call the parent
20097           implementation of prepare_output_buffer with a wrapper function.
20098           
20099         * gst/gsttaglist.h:
20100         * gst/gsttagsetter.h:
20101           Fix #define wrapper
20102
20103 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
20104
20105         * docs/gst/gstreamer-sections.txt:
20106           more doc cleanups
20107
20108 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20109
20110         * docs/gst/gstreamer-sections.txt:
20111         * docs/gst/tmpl/gstelement.sgml:
20112         * docs/gst/tmpl/gstplugin.sgml:
20113         * gst/gstminiobject.c:
20114         * gst/gstvalue.h:
20115           docs now stop throwing warnings
20116
20117 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20118
20119         * docs/gst/gstreamer-sections.txt:
20120         * docs/gst/gstreamer.types:
20121         * docs/gst/tmpl/gstpad.sgml:
20122         * docs/gst/tmpl/gsttypes.sgml:
20123         * gst/base/gstadapter.h:
20124         * gst/base/gstbasesink.h:
20125         * gst/base/gstbasesrc.h:
20126         * gst/gstbin.h:
20127         * gst/gstbuffer.h:
20128         * gst/gstbus.h:
20129         * gst/gstcaps.h:
20130         * gst/gstclock.h:
20131         * gst/gstelement.h:
20132         * gst/gstevent.h:
20133         * gst/gstmessage.h:
20134         * gst/gstpad.h:
20135         * gst/gststructure.c:
20136         * gst/registries/gstlibxmlregistry.h:
20137           various documentation fixes
20138
20139 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20140
20141         * docs/gst/gstreamer-sections.txt:
20142         * docs/gst/tmpl/gstvalue.sgml:
20143           rearrange gstvalue section
20144         * gst/gstutils.c: (gst_element_state_get_name):
20145           NONE -> VOID
20146         * gst/gstvalue.c: (_gst_value_initialize):
20147         * gst/gstvalue.h:
20148           doc updates
20149
20150 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
20151
20152         * check/gst-libs/controller.c:
20153           Header include fix.
20154         * gst/base/gstbasetransform.c:
20155         (gst_base_transform_default_prepare_buf),
20156         (gst_base_transform_handle_buffer):
20157         * gst/base/gstbasetransform.h:
20158           Some more basetransform changes and fixes to enable sub-classes
20159           that modify buffer metadata only.
20160         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20161         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
20162         (gst_capsfilter_prepare_buf):
20163           If the output pad has fixed allowed caps and input buffers 
20164           don't have any, set the fixed caps on outgoing buffers.
20165
20166 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
20167         * check/elements/identity.c: (GST_START_TEST):
20168           Make the error a little clearer when the test fails because
20169           identity made a copy of the buffer.
20170         * docs/gst/gstreamer-sections.txt:
20171           New symbols in gstbasetransform.h
20172         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20173         (gst_base_transform_init), (gst_base_transform_transform_size),
20174         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20175         (gst_base_transform_default_prepare_buf),
20176         (gst_base_transform_get_unit_size),
20177         (gst_base_transform_buffer_alloc),
20178         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
20179         (gst_base_transform_change_state),
20180         (gst_base_transform_set_passthrough),
20181         (gst_base_transform_set_in_place),
20182         (gst_base_transform_is_in_place):
20183         * gst/base/gstbasetransform.h:
20184           Change BaseTransform to separate in_place operate from same_caps
20185           output. in_place implies that the element can perform the transform
20186           on incoming buffers in-place, even if the caps on the output are
20187           different.
20188           Sub-class elements can now implement special buffer allocation
20189           methods for outgoing buffers if they wish to.
20190           Big documentation addition.
20191         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
20192         * gst/elements/gstelements.c:
20193           Changes for basetransform modifications.
20194         * gst/elements/Makefile.am:
20195         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
20196           Compile fix. Extra debug output.
20197
20198 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20199
20200         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
20201         (gst_pad_suite):
20202           add tests for valid pad naming
20203         * gst/check/gstcheck.c: (gst_check_log_message_func),
20204         (gst_check_log_critical_func):
20205           add ASSERT_WARNING
20206           remove printing of code, it is fragile when the code contains
20207           % and the line number is enough info
20208         * gst/check/gstcheck.h:
20209         * gst/gstpad.c: (gst_pad_template_new):
20210           fix memleaks
20211
20212 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20213
20214         * configure.ac:
20215           say what CHECK flags we use
20216         * docs/libs/gstreamer-libs.types:
20217         * libs/gst/controller/Makefile.am:
20218         * libs/gst/controller/gst-controller.c:
20219         * libs/gst/controller/gst-controller.h:
20220         * libs/gst/controller/gst-helper.c:
20221         * libs/gst/controller/gst-interpolation.c:
20222         * libs/gst/controller/gstcontroller.c:
20223         * libs/gst/controller/gsthelper.c:
20224         * libs/gst/controller/gstinterpolation.c:
20225         * tools/gst-inspect.c: (print_plugin_info):
20226           we don't use dashes in header names
20227
20228 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20229
20230         * check/Makefile.am:
20231         * check/gst/.cvsignore:
20232         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20233         (gst_pipeline_suite), (main):
20234           adding a test for pipelines and state changes
20235         * gst/gstutils.c: (get_state_func):
20236           add some debugging
20237         * gstreamer.spec.in:
20238           fix up spec file
20239
20240 2005-09-08  Michael Smith <msmith@fluendo.com>
20241
20242         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20243         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20244         (gst_file_src_is_seekable), (gst_file_src_get_size),
20245         (gst_file_src_start):
20246         * gst/elements/gstfilesrc.h:
20247           Various fixes for unseekable, unmmapable, and non-normal files, so
20248           that fallback to read() rather than mmap() works.
20249         * gst/gstevent.c: (gst_event_new_newsegment):
20250           Allow newsegment events with segment_start == segment_end, as will
20251           correctly happen if you use filesrc on a zero-size file, for
20252           example.
20253
20254 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20255
20256         * gst/gstplugin.c: (gst_plugin_load_file):
20257           Call g_module_close when we don't load the module
20258
20259         * gst/registries/gstlibxmlregistry.c:
20260         (gst_xml_registry_get_property):
20261           Port leak fix from 0.8
20262
20263 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20264
20265         * docs/gst/gstreamer-docs.sgml:
20266         * docs/gst/tmpl/.cvsignore:
20267         * docs/gst/tmpl/gsttrace.sgml:
20268         * docs/gst/tmpl/gsttrashstack.sgml:
20269         * gst/Makefile.am:
20270         * gst/gst.h:
20271         * gst/gstelement.h:
20272         * gst/gstevent.h:
20273         * gst/gstmessage.c:
20274         * gst/gstmessage.h:
20275         * gst/gsttag.c:
20276         * gst/gsttag.h:
20277         * gst/gsttaginterface.c:
20278         * gst/gsttaginterface.h:
20279         * gst/gsttaglist.c:
20280         * gst/gsttaglist.h:
20281         * gst/gsttagsetter.c:
20282         * gst/gsttagsetter.h:
20283         * gst/gsttrace.c:
20284         * gst/gsttrace.h:
20285         * gst/gsttrashstack.c:
20286           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20287           inlined docs for gsttrace, gsttrashstack
20288
20289 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20290
20291         * gst/Makefile.am:
20292         * gst/elements/gstbufferstore.h:
20293         * gst/elements/gsttypefindelement.c:
20294         * gst/elements/gsttypefindelement.h:
20295         * gst/gst.h:
20296         * gst/gsttypefind.c:
20297         * gst/gsttypefind.h:
20298         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20299         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20300         (gst_type_find_factory_dispose),
20301         (gst_type_find_factory_unload_thyself),
20302         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20303         (gst_type_find_factory_get_caps),
20304         (gst_type_find_factory_get_extensions),
20305         (gst_type_find_factory_call_function):
20306         * gst/gsttypefindfactory.h:
20307         * gst/registries/gstlibxmlregistry.c:
20308         * gst/registries/gstxmlregistry.c:
20309           splitted gsttypefind into gsttypefind, gsttypefindfactory
20310
20311 2005-09-07  Andy Wingo  <wingo@pobox.com>
20312
20313         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20314         condition whereby the pad's task function is entered before the
20315         pad_mode variable was set.
20316
20317 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20318
20319         * gst/gstpad.c: (gst_pad_alloc_buffer):
20320           Catch misbehaving pad_alloc functions that don't
20321           set up caps and do it for them.
20322
20323 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20324
20325         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20326           test for pipe!=NULL
20327         * docs/gst/tmpl/.cvsignore:
20328         * docs/gst/tmpl/gstmemchunk.sgml:
20329         * docs/gst/tmpl/gstparse.sgml:
20330         * docs/gst/tmpl/gsttaglist.sgml:
20331         * docs/gst/tmpl/gsttagsetter.sgml:
20332         * docs/gst/tmpl/gsttypefind.sgml:
20333         * docs/gst/tmpl/gsttypefindfactory.sgml:
20334         * gst/gstmemchunk.c:
20335         * gst/gstparse.c:
20336         * gst/gsttag.c:
20337         * gst/gsttaginterface.c:
20338         * gst/gsttypefind.c:
20339         * gst/gsttypefind.h:
20340           inlined more docs
20341
20342 === release 0.9.2 ===
20343
20344 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20345
20346         * NEWS:
20347         * RELEASE:
20348         * configure.ac:
20349           releasing 0.9.2, "South"
20350
20351 2005-09-05  Andy Wingo  <wingo@pobox.com>
20352
20353         * gst/registries/gstxmlregistry.h:
20354         * gst/registries/gstxmlregistry.c: Um... resurrect...
20355         
20356         * gst/registries/gstxmlregistry.h:
20357         * gst/registries/gstxmlregistry.c: and update to newer API.
20358         Incidentally they should be a bit faster now that they don't have
20359         to parse the caps.
20360         
20361 2005-09-05  Andy Wingo  <wingo@pobox.com>
20362
20363         * gst/registries/gstxmlregistry.h:
20364         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20365         replaced by the libxml registry a while back
20366
20367 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20368
20369         * docs/gst/tmpl/gstplugin.sgml:
20370         * gst/elements/gstelements.c:
20371         * gst/gst.c:
20372         * gst/gstplugin.c: (gst_plugin_register_func),
20373         (gst_plugin_desc_copy), (gst_plugin_desc_free),
20374         (gst_plugin_get_source):
20375         * gst/gstplugin.h:
20376         * gst/registries/gstlibxmlregistry.c: (load_plugin),
20377         (gst_xml_registry_save_plugin):
20378         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20379         (gst_xml_registry_save_plugin):
20380         * tools/gst-inspect.c: (print_plugin_info):
20381           add a "source" plugin description field, to represent the source
20382           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
20383           will set it to PACKAGE, which is automake's idea of the name of
20384           the source project.
20385
20386 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20387
20388         * Makefile.am:
20389         * autogen.sh:
20390         * configure.ac:
20391         * docs/Makefile.am:
20392         * docs/faq/Makefile.am:
20393         * docs/gst/tmpl/gstelement.sgml:
20394         * docs/gst/tmpl/gsttypes.sgml:
20395         * docs/htmlinstall.mak:
20396         * docs/manual/Makefile.am:
20397         * docs/pwg/Makefile.am:
20398           reorganize doc build a little
20399           split out docbook and gtk-doc stuff
20400           have two separate --enable's and enable them through autogen
20401           but disable by default in configure (to be similar to other
20402           projects)
20403         * gstreamer.spec.in:
20404           clean up docs install
20405         * po/af.po:
20406         * po/az.po:
20407         * po/ca.po:
20408         * po/cs.po:
20409         * po/de.po:
20410         * po/en_GB.po:
20411         * po/fr.po:
20412         * po/it.po:
20413         * po/nb.po:
20414         * po/nl.po:
20415         * po/ru.po:
20416         * po/sq.po:
20417         * po/sr.po:
20418         * po/sv.po:
20419         * po/tr.po:
20420         * po/uk.po:
20421         * po/vi.po:
20422           translation updates
20423
20424 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
20425
20426         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20427           Add comment.
20428           
20429         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20430         (gst_fake_sink_change_state):
20431           Make state change function thread-safe.
20432           
20433         * gst/gstpad.c: (gst_pad_alloc_buffer):
20434           Set offset on generic buffer allocated by fallback.
20435
20436 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
20437
20438         * docs/gst/gstreamer-sections.txt:
20439         * docs/gst/tmpl/gstelement.sgml:
20440         * gst/gstpad.c:
20441         * libs/gst/controller/gst-controller.c:
20442         (gst_controlled_property_set_interpolation_mode),
20443         (gst_controlled_property_new),
20444         (gst_controller_find_controlled_property):
20445          run the wingo-magic script against the docs
20446
20447 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20448
20449         * docs/gst/gstreamer-docs.sgml:
20450         * docs/gst/gstreamer-sections.txt:
20451         * docs/gst/tmpl/.cvsignore:
20452         * docs/gst/tmpl/gstelementdetails.sgml:
20453         * docs/gst/tmpl/gstelementfactory.sgml:
20454         * gst/gst.c:
20455         * gst/gstbus.c:
20456         * gst/gstelementfactory.c:
20457         * gst/gstelementfactory.h:
20458           merged elementdetails docs into elementfactory docs
20459           inlined both
20460
20461 2005-09-02  Andy Wingo  <wingo@pobox.com>
20462
20463         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20464         consider this enum an enum and not a flags.
20465
20466 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20467
20468         * docs/gst/gstreamer-docs.sgml:
20469         * docs/gst/tmpl/.cvsignore:
20470         * docs/gst/tmpl/gstghostpad.sgml:
20471         * docs/gst/tmpl/gstiterator.sgml:
20472         * docs/gst/tmpl/gstmacros.sgml:
20473         * docs/gst/tmpl/gstrealpad.sgml:
20474         * docs/gst/tmpl/gstregistry.sgml:
20475         * docs/gst/tmpl/gstregistrypool.sgml:
20476         * docs/gst/tmpl/gststructure.sgml:
20477         * docs/gst/tmpl/gstsystemclock.sgml:
20478         * docs/gst/tmpl/gsttrace.sgml:
20479         * gst/gstghostpad.c:
20480         * gst/gstmacros.h:
20481         * gst/gstmemchunk.c:
20482         * gst/gstmemchunk.h:
20483         * gst/gstqueue.c:
20484         * gst/gstregistry.c:
20485         * gst/gstregistrypool.c:
20486         * gst/gststructure.c:
20487         * gst/gstsystemclock.c:
20488           more docs inlined
20489
20490 2005-09-02  Andy Wingo  <wingo@pobox.com>
20491
20492         * gst/gstelement.h (GstState): Renamed from GstElementState,
20493         changed to be a normal enum instead of flags.
20494         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20495         munged to be GST_STATE_CHANGE_*.
20496         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20497         work with the new state representation.
20498         (GstStateChange): New enumeration of possible state transitions.
20499         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20500         (GstElementClass::change_state): Pass the GstStateChange along as
20501         an argument. Helps language bindings, so they don't have to use
20502         tricky lock-needing macros like GST_STATE_CHANGE ().
20503
20504         * scripts/update-states (file): New script. Run it on a file to
20505         update it for state naming and API changes. Updates files in
20506         place.
20507
20508         * All files updated for the new API.
20509
20510 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20511
20512         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20513         * gst/gstutils.c: (gst_util_set_value_from_string),
20514         (gst_util_set_object_arg):
20515           fix a bunch of unchecked return values
20516         * tools/gst-complete.c: (main):
20517         * gstreamer.spec.in:
20518           clean up a little
20519
20520 2005-09-01  Wim Taymans  <wim@fluendo.com>
20521
20522         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20523         (gst_base_sink_event), (gst_base_sink_do_sync),
20524         (gst_base_sink_handle_event):
20525         * gst/base/gstbasesink.h:
20526         Handle newsegments more correctly.
20527
20528         * gst/gstbus.c:
20529         Fix docs.
20530
20531         * gst/gstevent.c: (gst_event_new_newsegment):
20532         A newsegment cannot have a start_time of -1
20533
20534 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
20535
20536         * win32/gstenumtypes.c:
20537         * win32/gstenumtypes.h:
20538           Update
20539
20540 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20541
20542         * libs/gst/controller/gst-controller.c:
20543         (gst_controlled_property_set_interpolation_mode),
20544         (gst_controlled_property_new):
20545          fixed boolean again
20546
20547 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
20548
20549         * docs/faq/gst-uninstalled:
20550           add -good
20551         * gst/gstevent.c:
20552         * gst/gstevent.h:
20553           remove wrong docs
20554         * gst/gstutils.c: (gst_element_link_filtered):
20555         * gst/gstutils.h:
20556           add gst_element_link_filtered
20557
20558 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20559
20560         * docs/gst/gstreamer-docs.sgml:
20561         * docs/gst/gstreamer-sections.txt:
20562         * docs/gst/tmpl/.cvsignore:
20563         * docs/gst/tmpl/gsterror.sgml:
20564         * docs/gst/tmpl/gstfilter.sgml:
20565         * docs/gst/tmpl/gsturihandler.sgml:
20566         * docs/gst/tmpl/gsturitype.sgml:
20567         * docs/gst/tmpl/gstutils.sgml:
20568         * docs/gst/tmpl/gstxml.sgml:
20569         * gst/gsterror.c:
20570         * gst/gsterror.h:
20571         * gst/gstfilter.c:
20572         * gst/gsturi.c:
20573         * gst/gsturitype.c:
20574         * gst/gstutils.c:
20575         * gst/gstxml.c:
20576           inlined more docs, fixed double id-ref
20577
20578 2005-08-31  Wim Taymans  <wim@fluendo.com>
20579
20580         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20581         (gst_base_transform_handle_buffer):
20582         Passthrough elements don't need the caps as they don't care.
20583
20584 2005-08-31  Wim Taymans  <wim@fluendo.com>
20585
20586         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20587         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20588         Don't leak refcounts on buffers.
20589
20590 2005-08-31  Wim Taymans  <wim@fluendo.com>
20591
20592         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20593         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20594         (gst_base_transform_chain), (gst_base_transform_change_state):
20595         * gst/base/gstbasetransform.h:
20596         Handle the case where we are not negotiated more gracefully.
20597
20598 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
20599
20600         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20601         (gst_file_src_map_region):
20602           Set READONLY flag on mmap'ed buffers, otherwise
20603           gst_buffer_make_writable() won't work properly (#314708).
20604
20605 2005-08-31  Wim Taymans  <wim@fluendo.com>
20606
20607         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20608         passthrough elements can even do inplace on non writable
20609         buffers (as they don't touch them).
20610
20611 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20612
20613         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20614         (gst_test_mono_source_set_property),
20615         (gst_test_mono_source_class_init), (GST_START_TEST),
20616         (gst_controller_suite):
20617           more tests (hehe I have the most)
20618         * gst/gstbus.c:
20619           describe popping messages whenusing mulltiple sources
20620         * libs/gst/controller/gst-controller.c:
20621         (gst_controlled_property_set_interpolation_mode),
20622         (gst_controlled_property_new):
20623         * libs/gst/controller/gst-controller.h:
20624         * libs/gst/controller/gst-interpolation.c:
20625           implement boolean properties
20626
20627 2005-08-31  Wim Taymans  <wim@fluendo.com>
20628
20629         * gst/gstminiobject.c: (gst_mini_object_ref):
20630         Cannot assert that the refcount has to be positive
20631         since a disposed object can be resurrected.
20632
20633 2005-08-31  Wim Taymans  <wim@fluendo.com>
20634
20635         * gst/gstpad.c: (gst_pad_init):
20636         Revert change, need to first fix badly behaving 
20637         apps.
20638
20639 2005-08-30  Wim Taymans  <wim@fluendo.com>
20640
20641         * check/elements/fakesrc.c: (setup_fakesrc):
20642         * check/elements/identity.c: (setup_identity):
20643         Activate pads before using them.
20644
20645 2005-08-30  Wim Taymans  <wim@fluendo.com>
20646
20647         * gst/base/gstadapter.c: (gst_adapter_flush):
20648         Flushing out 0 bytes is ok for this function.
20649
20650         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20651         no newsegment gives a warning and sets the start/stop to 
20652         invalid.
20653
20654         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20655         (gst_base_transform_set_passthrough):
20656         Some debug info.
20657
20658         * gst/gstminiobject.c: (gst_mini_object_ref):
20659         Check refcount here too.
20660
20661         * gst/gstpad.c: (gst_pad_init):
20662         Pads are initially flushing and refusing data.
20663
20664         * gst/gstutils.c: (gst_element_link_pads_filtered):
20665         When adding a capsfilter element make sure it has the
20666         same state as the parent bin.
20667
20668 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20669
20670         * docs/gst/tmpl/.cvsignore:
20671         * docs/gst/tmpl/gstformat.sgml:
20672         * docs/gst/tmpl/gstversion.sgml:
20673         * gst/gstbus.h:
20674         * gst/gstformat.c:
20675         * gst/gstformat.h:
20676         * gst/gstversion.h.in:
20677           more docs and two more inlined
20678
20679 2005-08-30  Wim Taymans  <wim@fluendo.com>
20680
20681         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20682         Don't sync to clock.
20683
20684 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20685
20686         * docs/gst/gstreamer-sections.txt:
20687           ultral33t func10ns deserve to appear in the docs actually
20688         * docs/gst/tmpl/.cvsignore:
20689         * docs/gst/tmpl/gstcompat.sgml:
20690         * docs/gst/tmpl/gstconfig.sgml:
20691         * gst/check/gstcheck.c:
20692         * gst/gstcompat.h:
20693         * gst/gstconfig.h.in:
20694           inlined more docs
20695
20696 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20697
20698         * docs/gst/tmpl/.cvsignore:
20699         * docs/gst/tmpl/gstquery.sgml:
20700         * docs/gst/tmpl/gstutils.sgml:
20701         * gst/gstquery.c:
20702         * gst/gstquery.h:
20703           inlined and extended docs
20704
20705 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20706
20707         * check/gst-libs/controller.c: (GST_START_TEST),
20708         (gst_controller_suite):
20709           more tests
20710         * docs/gst/tmpl/gstutils.sgml:
20711         * docs/libs/gstreamer-libs-sections.txt:
20712         * docs/libs/tmpl/gstdataprotocol.sgml:
20713           include path fixes
20714         * examples/controller/audio-example.c: (main):
20715           controller example works now
20716         * gst/gstclock.h:
20717           doc fixes
20718         * tools/gst-inspect.c: (print_element_properties_info):
20719           show param spec flags
20720
20721 2005-08-29  Andy Wingo  <wingo@pobox.com>
20722
20723         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20724
20725 2005-08-28  Andy Wingo  <wingo@pobox.com>
20726
20727         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20728         as having two arguments instead of just one. Allows superclasses
20729         to access information on subclasses -- see the terrible for() loop
20730         in gtype.c:g_type_create_instance for the reason why. All callers
20731         changed.
20732
20733 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20734
20735         * docs/design/part-messages.txt:
20736           update info
20737         * docs/gst/tmpl/.cvsignore:
20738         * docs/gst/tmpl/gstcaps.sgml:
20739         * docs/gst/tmpl/gstclock.sgml:
20740         * gst/gstbus.c:
20741         * gst/gstcaps.c:
20742         * gst/gstcaps.h:
20743         * gst/gstclock.c:
20744         * gst/gstclock.h:
20745         * gst/gstmessage.c:
20746           added descriptions for bus and message
20747           inline caps and clock docs
20748
20749 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20750
20751         * gst/gstmessage.c:
20752         * gst/gstmessage.h:
20753           doc fixes
20754
20755 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20756
20757         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20758           fix div-by-zero
20759
20760 2005-08-26  Andy Wingo  <wingo@pobox.com>
20761
20762         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20763         element_set_state's return val.
20764         (test_2_elements): Add test that's been disabled for months.
20765
20766         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20767         can-activate-pull properties.
20768
20769         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20770         can-activate-pull properties. Implement is_seekable so fakesrc can
20771         operate in pull mode.
20772
20773         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20774         properties.
20775         (gst_base_sink_activate, gst_base_sink_activate_pull)
20776         (gst_base_sink_activate_push): Make activation mode choosing work.
20777         Cleanups.
20778         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20779         is right. Make pull mode work. Post an eos before pausing in pull
20780         mode.
20781         (gst_base_sink_change_state): Pay attention to the core's
20782         change_state() return val.
20783         
20784         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20785         has-getrange properties. Cleanups.
20786         
20787         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20788         has_getrange and replace with can_activate_pull and
20789         can_activate_push.
20790
20791         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20792         locking comments. Remove has_loop, has_chain and replace with
20793         can_activate_pull and can_activate_push.
20794
20795 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
20796
20797         * configure.ac:
20798         * examples/Makefile.am:
20799         * examples/metadata/Makefile.am:
20800         * examples/metadata/read-metadata.c: (message_loop),
20801         (have_pad_handler), (make_pipeline), (print_tag), (main):
20802           Add metadata reading example that loops over a list of filenames,
20803           dumping any tags found.
20804
20805         * gst/gstbus.c: (gst_bus_dispose):
20806         * gst/gstelement.c: (gst_element_dispose):
20807           Release a few potentially-held references in dispose.
20808
20809 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20810
20811         * docs/gst/tmpl/gstminiobject.sgml:
20812           do *not* add tmpl/*.sgml files to CVS!
20813
20814 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20815
20816         * libs/gst/bytestream/.cvsignore:
20817         * libs/gst/bytestream/Makefile.am:
20818         * libs/gst/bytestream/adapter.c:
20819         * libs/gst/bytestream/adapter.h:
20820         * libs/gst/bytestream/bytestream.c:
20821         * libs/gst/bytestream/bytestream.h:
20822         * libs/gst/bytestream/filepad.c:
20823         * libs/gst/bytestream/filepad.h:
20824           removing obsolete files
20825
20826 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20827
20828         * docs/gst/gstreamer-docs.sgml:
20829         * docs/libs/gstreamer-libs-docs.sgml:
20830           disabed additional index entries again, as this makes docs-gen just
20831           slow and they aren't useful yet
20832         * docs/libs/gstreamer-libs-sections.txt:
20833           little -section.txt cleanup for libs
20834
20835 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20836
20837         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20838         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20839           fix up some debugging
20840         (gst_base_transform_get_unit_size),
20841         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20842         (gst_base_transform_handle_buffer):
20843         * gst/base/gstbasetransform.h:
20844           handle and store timed NEWSEGMENT events so that subclasses that
20845           calculate time by counting samples have a segment_start time they
20846           need to add to their timestamps - see audioresample
20847
20848 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20849
20850         * gst/gstbin.h:
20851           removed ';' from the end of macro defs
20852         * docs/gst/gstreamer-docs.sgml:
20853         * docs/gst/gstreamer-sections.txt:
20854         * docs/gst/tmpl/.cvsignore:
20855         * gst/gstbus.h:
20856         * gst/gstelement.c: (gst_element_class_init),
20857         (gst_element_set_state), (activate_pads),
20858         (gst_element_save_thyself):
20859         * gst/gstevent.c: (gst_event_new_newsegment):
20860         * gst/gstevent.h:
20861         * gst/gstiterator.c:
20862         * gst/gstiterator.h:
20863         * gst/gstpad.c:
20864         * gst/gstprobe.h:
20865         * gst/gstutils.c: (gst_pad_query_convert):
20866         * gst/gstutils.h:
20867           fixed parameter name mismatches between source, header and docs
20868           added some more docs, resolved the last batch of unused elements in
20869           docs (now someone needs to doc them)
20870
20871 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20872
20873         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20874         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20875           don't walk through the plugins backwards.  Where is all this
20876           reversed logic coming from ?
20877
20878 2005-08-25  Wim Taymans  <wim@fluendo.com>
20879
20880         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20881         (gst_base_transform_transform_size),
20882         (gst_base_transform_configure_caps),
20883         (gst_base_transform_get_unit_size),
20884         (gst_base_transform_buffer_alloc),
20885         (gst_base_transform_change_state):
20886         * gst/base/gstbasetransform.h:
20887         Cache caps unit_size.
20888         Make sure we cannot negotiate up and downstream at the
20889         same time.
20890
20891 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20892
20893         * gst/gst.c: (init_pre), (init_post):
20894           register the installed plugin path after the env var
20895         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20896         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20897           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20898           directories, so the tests can prefer uninstalled over installed
20899
20900 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20901
20902         * gst/base/gstbasetransform.h:
20903           comment
20904         * gst/gstpad.c:
20905           add to docs
20906
20907 2005-08-25  Wim Taymans  <wim@fluendo.com>
20908
20909         * gst/gstbin.c: (bin_bus_handler):
20910         Be a bit more conservative about the posted message.
20911         
20912         * gst/gstbus.c: (gst_bus_post):
20913         Some cleanups, warn wrong return values.
20914
20915 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
20916
20917         * check/gst/gstbin.c: (GST_START_TEST):
20918         * gst/gstbin.c: (bin_bus_handler):
20919         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20920         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20921         (gst_message_new_warning), (gst_message_new_tag),
20922         (gst_message_new_state_changed), (gst_message_new_segment_start),
20923         (gst_message_new_segment_done), (gst_message_new_custom):
20924         * gst/gstmessage.h:
20925         * tools/gst-launch.c: (event_loop):
20926         * tools/gst-md5sum.c: (event_loop):
20927           Revert unpopular change for GST_MESSAGE_SRC to GObject.
20928
20929 2005-08-25  Wim Taymans  <wim@fluendo.com>
20930
20931         * check/generic/states.c: (GST_START_TEST):
20932         Cleanup can be done at the end.
20933
20934         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20935         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20936         (gst_task_get_state), (gst_task_start), (gst_task_pause):
20937         Oh boy.. Thanks for finding this, Thomas. 
20938
20939 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20940
20941         * docs/gst/gstreamer.types:
20942           added missing types
20943
20944 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20945
20946         * docs/gst/gstreamer-docs.sgml:
20947         * docs/gst/gstreamer-sections.txt:
20948         * docs/gst/tmpl/.cvsignore:
20949         * gst/gstbin.c:
20950         * gst/gstiterator.c:
20951         * gst/gstutils.c:
20952         * gst/registries/gstxmlregistry.h:
20953           added missing classes and symbols (123 more to go)
20954           removed removed symbols from section file
20955           fixed many doc-comments
20956
20957 2005-08-24  Wim Taymans  <wim@fluendo.com>
20958
20959         * check/generic/states.c: (GST_START_TEST):
20960         Make sure all tasks are stopped.
20961
20962         * check/gst/gstbin.c: (GST_START_TEST):
20963         Unref after usage for proper valgrinding.
20964
20965         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20966         Really wait for the task to stop before destroying the
20967         mutex.
20968
20969         * gst/gstqueue.c: (gst_queue_sink_activate_push),
20970         (gst_queue_src_activate_push):
20971         Small cleanups. Don't stop the task when we did not start
20972         it.
20973
20974         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20975         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20976         (gst_task_get_state), (gst_task_start), (gst_task_pause),
20977         (gst_task_join):
20978         * gst/gsttask.h:
20979         Protect the stream lock with the object lock.
20980         Disallow setting the stream lock when running.
20981         Add cleanup_all to wait for the threadpool to finish.
20982         Remove code to autoallocate a mutex if none was provided.
20983         Add _join() to wait for a task to stop.
20984         Protect the thread pool with a global lock.
20985
20986 2005-08-24  Wim Taymans  <wim@fluendo.com>
20987
20988         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20989         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20990         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20991         * gst/base/gstbasesink.h:
20992         Handle newsegment events correctly.
20993         Drop buffers out of the segment range.
20994
20995 2005-08-22  Andy Wingo  <wingo@pobox.com>
20996
20997         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20998         macro, implements an interface and gstimplementsinterface for a
20999         new type.
21000
21001 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21002
21003         * check/Makefile.am:
21004         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
21005           add a test that does a bunch of state changes on elements
21006           needs some fixing for valgrind
21007         * check/states/sinks.c: (gst_object_suite):
21008           whitespace
21009         * gst/gstcaps.h:
21010           add prototype for gst_caps_is_equal_fixed
21011         * gst/gstplugin.c:
21012         * gst/gstregistrypool.c:
21013           doc fixes
21014
21015 2005-08-24  Andy Wingo  <wingo@pobox.com>
21016
21017         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
21018         convert a negative value. Doesn't make much sense. Mostly this is
21019         here to force callers to ensure -1 maps to -1.
21020
21021 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
21022
21023         * docs/pwg/advanced-types.xml:
21024           Well done to Michael for catching my deliberate introduction
21025           of this spelling mistake. 
21026         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
21027         * gst/gstelement.h:
21028           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
21029           unlink pads before removing the element from the bin.
21030
21031 2005-08-24  Andy Wingo  <wingo@pobox.com>
21032
21033         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
21034         the same thing as GST_DEBUG=*:4.
21035         (parse_debug_level, parse_debug_category): New helper parsers.
21036
21037 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21038
21039         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21040         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
21041         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
21042         (gst_base_transform_buffer_alloc),
21043         (gst_base_transform_handle_buffer):
21044           use gboolean return values and pointers to size so we can use the
21045           full GST_BUFFER_SIZE range (guint) for buffer sizes
21046           use GstPadDirection for transform_caps
21047         * gst/base/gstbasetransform.h:
21048           rename get_size to get_unit_size since that's what it is
21049         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
21050           use GstPadDirection for transform_caps
21051         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21052         * gst/gstutils.h:
21053           cleanup and debugging
21054
21055 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
21056
21057         * gst/gstelement.c: (gst_element_class_init),
21058         (gst_element_set_state), (activate_pads),
21059         (gst_element_save_thyself):
21060         * tools/gst-compprep.c: (main):
21061         * tools/gst-inspect.c: (print_element_properties_info):
21062         * tools/gst-xmlinspect.c: (print_element_properties):
21063           Fixed long standing mem-leak
21064
21065 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
21066
21067         * check/gst/gstbin.c: (GST_START_TEST):
21068         * gst/gstbin.c: (bin_bus_handler):
21069         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
21070         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
21071         (gst_message_new_warning), (gst_message_new_tag),
21072         (gst_message_new_state_changed), (gst_message_new_segment_start),
21073         (gst_message_new_segment_done), (gst_message_new_custom):
21074         * gst/gstmessage.h:
21075         * tools/gst-launch.c: (event_loop):
21076         * tools/gst-md5sum.c: (event_loop):
21077           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
21078           that applications can sensibly post custom messages with references
21079           to their own objects.
21080
21081 2005-08-24  Andy Wingo  <wingo@pobox.com>
21082
21083         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
21084         already.
21085
21086 2005-08-24  Wim Taymans  <wim@fluendo.com>
21087
21088         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21089         (gst_base_transform_transform_caps),
21090         (gst_base_transform_transform_size),
21091         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21092         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21093         (gst_base_transform_handle_buffer):
21094         * gst/base/gstbasetransform.h:
21095         Many fixes and new features added by Thomas. Can now also do
21096         transforms with variable sizes and a custom fixate_caps function.
21097
21098 2005-08-24  Wim Taymans  <wim@fluendo.com>
21099
21100         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21101         Some debugging.
21102
21103         * gst/gstclock.h:
21104         Cast to ClockTime before formatting to time.
21105
21106         * gst/gstutils.h:
21107         Cleanups.
21108
21109 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
21110
21111         * check/gst-libs/controller.c: (GST_START_TEST),
21112         (gst_controller_suite):
21113         * docs/gst/tmpl/gstcaps.sgml:
21114         * docs/gst/tmpl/gstghostpad.sgml:
21115         * docs/gst/tmpl/gstquery.sgml:
21116         * docs/gst/tmpl/gstutils.sgml:
21117         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
21118         (gst_object_sink_values), (gst_object_get_value_arrays),
21119         (gst_object_get_value_array):
21120           gracefully handle helper method calls to objects that are not beeing
21121           controlled, added test case for that          
21122
21123 2005-08-23  Wim Taymans  <wim@fluendo.com>
21124
21125         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
21126         (gst_event_new_newsegment), (gst_event_parse_newsegment),
21127         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
21128         (gst_event_parse_qos), (gst_event_new_seek),
21129         (gst_event_parse_seek):
21130         * gst/gstevent.h:
21131         Some more debugging output and doc cleanups.
21132
21133         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21134         Fix possible deadlock.
21135
21136 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21137
21138         * docs/gst/gstreamer-docs.sgml:
21139         * docs/gst/gstreamer-sections.txt:
21140         * docs/gst/gstreamer.types:
21141         * docs/gst/tmpl/.cvsignore:
21142         * gst/gstbin.h:
21143         * gst/gstbus.c:
21144         * gst/gstelement.c:
21145         * gst/gstevent.h:
21146           added 100 symbols from gstreamer-unused.txt to the right sections
21147           fixed more broken comments
21148           added GstBus to docs
21149
21150 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21151
21152         * docs/gst/gstreamer-sections.txt:
21153         * docs/gst/tmpl/.cvsignore:
21154         * docs/gst/tmpl/gstbin.sgml:
21155         * docs/gst/tmpl/gstbuffer.sgml:
21156         * gst/base/gstbasesrc.c:
21157         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
21158         * gst/gstbuffer.c:
21159         * gst/gstbuffer.h:
21160         * tools/gst-launch.1.in:
21161           inlined more doc comments, added missing comments and fixed comments
21162           fixed typos
21163
21164 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21165
21166         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21167           some debugging
21168         * gst/gstcaps.h:
21169           whitespace fixes
21170         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
21171           more debugging
21172         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
21173         * gst/gststructure.h:
21174           add a fixate function for booleans; add a FIXME that these func
21175           names should probably be gst_structure_fixate_*
21176
21177 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21178
21179         * docs/gst/gstreamer-docs.sgml:
21180         * docs/gst/gstreamer-sections.txt:
21181         * gst/Makefile.am:
21182         * gst/gstbin.c: (gst_bin_get_type),
21183         (gst_bin_child_proxy_get_child_by_index),
21184         (gst_bin_child_proxy_get_children_count),
21185         (gst_bin_child_proxy_init):
21186         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21187         (gst_child_proxy_get_child_by_index),
21188         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
21189         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
21190         (gst_child_proxy_get), (gst_child_proxy_set_property),
21191         (gst_child_proxy_set_valist), (gst_child_proxy_set),
21192         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
21193         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
21194         * gst/gstchildproxy.h:
21195         * gst/parse/grammar.y:
21196         * tools/gst-inspect.c: (print_interfaces),
21197         (print_element_properties_info), (print_element_info):
21198           ported gstchildproxy over from 0.8
21199           ported gst-inspect fixes and enhancements over from 0.8
21200
21201 2005-08-22  Wim Taymans  <wim@fluendo.com>
21202
21203         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21204         (gst_base_transform_handle_buffer):
21205         Also call the transform function if we have ANY caps.
21206
21207         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
21208         Fix debug info.
21209
21210 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21211
21212         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
21213           Don't pretend to handle seek events if the source is not seekable
21214
21215 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21216
21217         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21218           Remove extra parameter to debug output
21219
21220         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21221         (gst_base_src_do_seek), (gst_base_src_activate_push):
21222           Fix seek event handling.
21223
21224         * gst/gstpipeline.c: (gst_pipeline_change_state):
21225         * gst/gstqueue.c: (gst_queue_handle_sink_event),
21226         (gst_queue_src_activate_push):
21227           Don't start the src pad task on FLUSH_STOP if the pad
21228           isn't linked.
21229           Debug changes.
21230
21231 2005-08-22  Wim Taymans  <wim@fluendo.com>
21232
21233         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21234         Added check for gst_static_caps_get() refcounting.
21235
21236 2005-08-22  Wim Taymans  <wim@fluendo.com>
21237
21238         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21239         Make _static_caps_get() refcounting sane.
21240         
21241         * gst/gstelement.c: (gst_element_set_state):
21242         Add g_return_val_if_fail() to protect against segfaults.
21243
21244 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
21245
21246         * docs/gst/tmpl/gstevent.sgml:
21247         * gst/gstevent.c:
21248         * gst/gstevent.h:
21249           inlined remaining docs, added missing doc comments
21250
21251 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21252
21253         * check/gst/gstbin.c: (GST_START_TEST):
21254           since we don't know when preroll is done, use refcount range
21255           check for the sink
21256         * gst/check/gstcheck.h:
21257           add macro for checking refcount range
21258
21259 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21260
21261         * check/Makefile.am:
21262           clean up environment for when registry gets built versus
21263           when actual tests are run; valgrind seems to not report
21264           leaks if GST_PLUGIN_PATH is set to some specific values
21265         * check/gst/gstbin.c: (GST_START_TEST):
21266           add more refcounting checks; maybe this exposes a
21267           preroll lock bug ?
21268         * common/check.mak:
21269         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21270         * gst/check/gstcheck.h:
21271         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21272         (gst_bin_change_state):
21273         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21274           add/fix debugging/whitespace
21275
21276 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21277
21278         * check/gst/gstevent.c: (event_probe), (test_event),
21279         (GST_START_TEST):
21280          Er, don't call gst_bin_watch_for_state_change you idiot.
21281
21282 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21283
21284         * check/Makefile.am:
21285           Use CHECK_CFLAGS and CHECK_LIBS
21286         * check/gst/gstevent.c: (event_probe), (test_event),
21287         (GST_START_TEST):
21288           Don't leak events.
21289         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21290         (gst_base_src_start), (gst_base_src_stop),
21291         (gst_base_src_activate_push), (gst_base_src_activate_pull),
21292         (gst_base_src_change_state):
21293           Sprinkle gst_base_src_stop liberally around error paths to fix
21294           problems reusing a source after failed state changes.
21295         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21296         (helper_find_suggest), (gst_type_find_helper):
21297           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21298         * gst/gstevent.h:
21299         * docs/gst/tmpl/gstevent.sgml:
21300           Migrate part of the docs from the SGML file. Wait for ensonic to
21301           tell me how I did it wrong ;)
21302         * tools/gst-typefind.c: (main):
21303           Extra robustness to state changes between files.
21304
21305 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21306
21307         * check/Makefile.am:
21308           don't valgrind the controller test - it's leaking - Stefan, HELP
21309         * gst/check/gstcheck.c: (gst_check_message_error),
21310         (gst_check_chain_func), (gst_check_setup_element),
21311         (gst_check_teardown_element), (gst_check_setup_src_pad),
21312         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21313         (gst_check_teardown_sink_pad):
21314         * gst/check/gstcheck.h:
21315           add a bunch of methods to set up elements, and src and sink pads
21316         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21317         * check/elements/identity.c: (setup_identity), (cleanup_identity),
21318         (GST_START_TEST):
21319           use them
21320         * gst/gstmessage.c:
21321         * gst/gsttag.h:
21322           whitespace/doc fixes
21323
21324 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21325
21326         * gst/gstelement.h:
21327           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21328           be handled by the application and not always printed as well
21329
21330 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21331
21332         * check/Makefile.am:
21333           set GST_TOOLS_DIR
21334         * gst/check/gstcheck.c: (gst_check_message_error):
21335         * gst/check/gstcheck.h:
21336           add a fail_unless_equals_int
21337           add fail_unless for error messages
21338
21339 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21340
21341         * check/Makefile.am:
21342         * check/gst.supp:
21343         * common/Makefile.am:
21344         * common/check.mak:
21345         * common/gst.supp:
21346           factor out some of the common stuff so we can use it
21347
21348 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21349
21350         * check/Makefile.am:
21351         * check/gst/gstiterator.c: (GST_START_TEST):
21352         * check/gst/gstsystemclock.c: (GST_START_TEST),
21353         (gst_systemclock_suite):
21354         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21355         * gst/gstclock.c:
21356           valgrind more tests
21357
21358 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21359
21360         * check/elements/.cvsignore:
21361         * check/elements/gstfakesrc.c:
21362           rename to name of element
21363         * check/elements/identity.c: (chain_func), (event_func),
21364         (setup_identity), (cleanup_identity), (GST_START_TEST),
21365         (identity_suite), (main):
21366           add a test for identity
21367         * check/Makefile.am:
21368         * pkgconfig/Makefile.am:
21369         * pkgconfig/gstreamer-check.pc.in:
21370         * pkgconfig/gstreamer-check-uninstalled.pc.in:
21371         * gst/check:
21372         * gst/Makefile.am:
21373         * configure.ac:
21374           move the check stuff to a library that gets installed
21375         * check/gst-libs/controller.c: (GST_START_TEST):
21376         * check/gst-libs/gdp.c:
21377         * check/gst/gst.c: (GST_START_TEST):
21378         * check/gst/gstbin.c:
21379         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21380         * check/gst/gstbus.c:
21381         * check/gst/gstcaps.c: (GST_START_TEST):
21382         * check/gst/gstelement.c:
21383         * check/gst/gstghostpad.c:
21384         * check/gst/gstiterator.c:
21385         * check/gst/gstmessage.c:
21386         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21387         * check/gst/gstobject.c:
21388         * check/gst/gstpad.c: (GST_START_TEST):
21389         * check/gst/gststructure.c: (GST_START_TEST):
21390         * check/gst/gstsystemclock.c: (GST_START_TEST),
21391         (gst_systemclock_suite):
21392         * check/gst/gsttag.c: (gst_tag_suite):
21393         * check/gst/gstvalue.c:
21394         * check/pipelines/cleanup.c:
21395         * check/pipelines/simple_launch_lines.c:
21396         * check/states/sinks.c:
21397           change include statement
21398
21399         * docs/gst/gstreamer-sections.txt:
21400         * docs/gst/tmpl/gstpad.sgml:
21401           document more pad stuff
21402         * gst/gstminiobject.c: (gst_mini_object_ref),
21403         (gst_mini_object_unref):
21404           debug refcounting
21405
21406 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
21407
21408         * docs/gst/tmpl/gst.sgml:
21409         * gst/gst.c:
21410           eliminate another tmpl file, fix spelling in the long-description
21411
21412 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21413
21414         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21415         (test_event), (timediff), (gstevents_suite):
21416           Should fix build on 64-bit arch's
21417
21418 2005-08-18  Andy Wingo  <wingo@pobox.com>
21419
21420         Make sure that when a pipeline goes to PLAYING, that data has
21421         actually hit the sink.
21422
21423         * check/states/sinks.c (test_sink): A sink that doesn't get any
21424         data shouldn't return SUCCESS for going to either PLAYING or
21425         PAUSED. Test also the return values on the way back down.
21426
21427         * gst/gstelement.c (gst_element_set_state): When changing the
21428         state of an element currently changing state asynchronously, go to
21429         lost-state after commiting the pending state. Makes future calls
21430         to get_state continue to return ASYNC.
21431
21432         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21433         ASYNC when going to PLAYING if we still don't have preroll, as can
21434         happen with live sources.
21435
21436 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21437
21438         * docs/pwg/advanced-types.xml:
21439           Hack long paragraph into 2 chunks as a workaround for buggy
21440           jadetex version in sid and breezy that loops infinitely and
21441           eats all RAM.
21442
21443 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21444
21445         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21446         (test_event), (timediff), (gstevents_suite):
21447           Provide more error margin in clock measurements to allow for 
21448           g_get_current_time inaccuracies.
21449
21450 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21451
21452         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21453         (test_event), (timediff), (gstevents_suite):
21454            Fix error message output so I might be able to tell why the
21455            test works here but fails on the build farm.
21456
21457 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21458
21459         * check/Makefile.am:
21460         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21461         (test_event), (timediff), (gstevents_suite), (main):
21462           I wrote a test!
21463
21464         * docs/design/part-seeking.txt:
21465           Spelling correction
21466
21467         * docs/gst/tmpl/gstevent.sgml:
21468         * docs/gst/tmpl/gstfakesrc.sgml:
21469           Docs updates.
21470
21471         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21472           Treat a buffer-without-newsegment the same as a receiving 
21473           a newsegment not in time format, and disable syncing to the clock
21474           with a warning.
21475
21476         * gst/gstbus.c: (gst_bus_set_sync_handler):
21477           Assert if anyone tries to replace the existing sync_handler for bus, 
21478           as only the owner should be setting it.
21479
21480         * gst/gstevent.h:
21481           Have a fixed set of custom event enums with events identified by
21482           their structure name (as in 0.8), rather than a free-for-all
21483           allowing collisions between enum values from different plugins.
21484
21485         * gst/gstpad.c: (gst_pad_class_init):
21486           Docs change.
21487           
21488         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21489           Handle out-of-band downstream events from the sending thread.
21490
21491 2005-08-17  Andy Wingo  <wingo@pobox.com>
21492
21493         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21494         play-timeout==0 to mean no timeout at all. In that case, don't
21495         bother with a get_state or a warning, just return directly, even
21496         if it's ASYNC.
21497
21498         * gst/base/gstbasetransform.c: Debug changes.
21499
21500         * gst/gstutils.h:
21501         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21502         ensure bins post state change messages. A bit of a hack but I can't
21503         think of a way to avoid it.
21504
21505         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21506
21507 2005-08-16  Andy Wingo  <wingo@pobox.com>
21508
21509         * gst/base/gstadapter.h:
21510         * gst/base/gstadapter.c (gst_adapter_take): New function, like
21511         peek() but you own the data. Not terribly efficient atm.
21512
21513 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21514
21515         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21516         (gst_element_found_tags):
21517         * gst/gstutils.h:
21518           Add two utility functions for tag handling.
21519
21520 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21521
21522         * docs/manual/advanced-dataaccess.xml:
21523         * docs/manual/basics-helloworld.xml:
21524           Fix docs to use _bin_add() before _link(), which fixes the examples
21525           with recent core versions (reported by Madhan Raj M
21526           <raj_madan@rediffmail.com>, #313199).
21527
21528 2005-08-16  Wim Taymans  <wim@fluendo.com>
21529
21530         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21531         Added subtract checks.
21532
21533         * docs/design/part-events.txt:
21534         Some more docs about newsegment
21535
21536         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21537         Fix FIXME
21538
21539         * gst/gstcaps.c: (gst_caps_to_string):
21540         Add comments, cleanups.
21541         
21542         * gst/gstelement.c: (gst_element_save_thyself):
21543         cleanups
21544         
21545         * gst/gstvalue.c: (gst_value_collect_int_range),
21546         (gst_string_unwrap), (gst_value_union_int_int_range),
21547         (gst_value_union_int_range_int_range),
21548         (gst_value_intersect_int_int_range),
21549         (gst_value_intersect_int_range_int_range),
21550         (gst_value_intersect_double_double_range),
21551         (gst_value_intersect_double_range_double_range),
21552         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21553         (gst_value_subtract_int_range_int),
21554         (gst_value_subtract_double_range_double),
21555         (gst_value_subtract_double_range_double_range),
21556         (gst_value_subtract_from_list), (gst_value_subtract_list),
21557         (gst_value_can_compare), (gst_value_compare_fraction):
21558         Cleanups, add comments, remove unneeded asserts.
21559
21560 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21561
21562         * tools/gst-launch.c: (event_loop):
21563           don't convert NULL structures to strings
21564
21565 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
21566
21567         * docs/gst/gstreamer-sections.txt:
21568           made some defines private
21569         * docs/gst/tmpl/gstconfig.sgml:
21570         * docs/gst/tmpl/gstqueue.sgml:
21571         * docs/gst/tmpl/gsttaglist.sgml:
21572         * docs/gst/tmpl/gsttypes.sgml:
21573         * docs/gst/tmpl/gstutils.sgml:
21574         * docs/pwg/appendix-porting.xml:
21575         * gst/base/gstbasesink.h:
21576         * gst/base/gstbasesrc.c:
21577         * gst/base/gstbasesrc.h:
21578         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21579         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21580         * gst/gstelement.c: (gst_element_class_init):
21581         * gst/gstpad.c: (gst_pad_class_init):
21582         * gst/gstqueue.c: (gst_queue_class_init):
21583         * gst/gstxml.c: (gst_xml_class_init):
21584           documented all undocumented signal inline
21585         * libs/gst/controller/gst-controller.h:
21586           added padding
21587
21588 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21589
21590         * docs/pwg/appendix-porting.xml:
21591           Document _set_link_function -> _set_setcaps_function.
21592
21593 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21594
21595         * check/Makefile.am:
21596           add a .check target for running the check
21597         * check/gst-libs/controller.c: (GST_START_TEST):
21598           cosmetic fixups
21599         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21600           complete checks for gstbuffer; would be nice if I could get the
21601           gcov stuff to work so I can see if I actually completed gstbuffer.c
21602         * check/gstcheck.h:
21603           add ASSERT_BUFFER_REFCOUNT
21604
21605 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
21606
21607         * docs/gst/gstreamer-sections.txt:
21608         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21609         * gst/gsttag.h:
21610           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21611           spew out a warning if a tag that is already registered
21612           is re-registered, unless it is re-registered with a 
21613           different type (#308438).
21614
21615 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
21616
21617         * docs/pwg/appendix-porting.xml:
21618         * docs/pwg/building-state.xml:
21619           Add some paragraphs about state changes in 0.9 to the PWG
21620           and the porting guide, in particular about the new meaning
21621           of GST_STATE_PAUSED and how to write state change functions
21622           with concurrent access by multiple threads in mind.
21623
21624 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21625
21626         * docs/gst/gstreamer-docs.sgml:
21627         * docs/libs/gstreamer-libs-docs.sgml:
21628           added deprecation and since indexes
21629         * libs/gst/controller/gst-controller.c:
21630         * libs/gst/controller/gst-helper.c:
21631           added since tags
21632
21633
21634 2005-08-11  Wim Taymans  <wim@fluendo.com>
21635
21636         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21637         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21638         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21639         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21640         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21641         (gst_ghost_pad_set_target):
21642         Actually implement (re)setting the target on a ghostpad
21643         as described in the docs.
21644
21645 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21646
21647         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21648           Check whether GST_DEBUG_NO_COLOR environment variable is
21649           set and disable coloured debug output if that is the case.
21650
21651 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21652
21653         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21654         (gst_type_find_helper):
21655           The memory returned by gst_type_find_peek() needs to
21656           stay valid until the end of a typefind function, and
21657           typefind functions may keep results from different 
21658           offsets around, so we can't just unref the buffer from
21659           the previous _peek(), but have to save all buffers 
21660           returned by _peek() until typefinding is done and only
21661           free them then.
21662
21663 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
21664
21665         * docs/gst/gstreamer-sections.txt:
21666         * gst/gstutils.h:
21667           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21668
21669 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21670
21671         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21672           Fix a pretty good memleak.
21673
21674 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21675
21676         * gst/gstiterator.h:
21677           Fix wrong include and 'make distcheck'.
21678
21679 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21680
21681         * gst/gstbin.c: (bin_bus_handler):
21682           Use gst_element_post_message() instead.
21683
21684 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21685
21686         * gst/base/gstadapter.h:
21687         * gst/base/gstbasesink.h:
21688         * gst/base/gstbasesrc.h:
21689         * gst/base/gstbasetransform.h:
21690         * gst/base/gstcollectpads.h:
21691         * gst/base/gstpushsrc.h:
21692         * gst/gstiterator.h:
21693           Add padding to our base elements' class and instance structs and
21694           to GstIterator (you will need to rebuild all plugins and apps!)
21695
21696 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21697
21698         * gst/gstbin.c: (bin_bus_handler):
21699           Make default message forwarding from child->bus to bin->bus
21700           threadsafe and make it not emit warnings if the parent has no bus.
21701
21702 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21703
21704         * gst/gstelement.c: (activate_pads):
21705           On paused->ready, set pad->caps to NULL, as is the documented
21706           behaviour in this state change. Fixes playback of series of
21707           media files when visualization is enabled in Totem.
21708
21709 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21710
21711         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21712           Allow NULL as filter-caps (which means "any").
21713
21714 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21715
21716         * docs/libs/gstreamer-libs-sections.txt:
21717         * libs/gst/controller/gst-controller.c:
21718         * libs/gst/controller/gst-controller.h:
21719         * libs/gst/controller/gst-helper.c:
21720           adding more entries to the docs and fix small doc-bugs
21721
21722 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21723
21724         * docs/gst/gstreamer-docs.sgml:
21725         * docs/gst/gstreamer-sections.txt:
21726         * docs/gst/gstreamer.types:
21727         * docs/gst/tmpl/gstbasesink.sgml:
21728         * docs/gst/tmpl/gstbasesrc.sgml:
21729         * docs/gst/tmpl/gstbasetransform.sgml:
21730         * docs/gst/tmpl/gstfakesrc.sgml:
21731         * gst/base/gstcollectpads.c:
21732         * gst/base/gstcollectpads.h:
21733         * libs/gst/controller/gst-controller.c:
21734         * libs/gst/controller/gst-controller.h:
21735         * libs/gst/controller/gst-helper.c:
21736         * libs/gst/controller/gst-interpolation.c:
21737         * libs/gst/controller/lib.c:
21738           added long/short desc for controller docs
21739           added collectpads base class docs
21740           added correct includes to base-class docs
21741
21742 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21743
21744         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21745         (gst_test_mono_source_set_property),
21746         (gst_test_mono_source_class_init), (GST_START_TEST),
21747         (gst_controller_suite):
21748         * docs/gst/gstreamer-docs.sgml:
21749         * docs/gst/gstreamer-sections.txt:
21750         * docs/gst/gstreamer.types:
21751         * docs/libs/gstreamer-libs-docs.sgml:
21752         * docs/libs/gstreamer-libs-sections.txt:
21753         * gst/base/gstadapter.c:
21754         * libs/gst/controller/gst-controller.c:
21755         (gst_controlled_property_new), (gst_controlled_property_free),
21756         (gst_controller_new_valist),
21757         (gst_controller_remove_properties_valist),
21758         (gst_controller_sink_values), (_gst_controller_finalize):
21759         * libs/gst/controller/gst-controller.h:
21760         * libs/gst/controller/gst-helper.c:
21761         (gst_object_control_properties), (gst_object_uncontrol_properties),
21762         (gst_object_get_controller), (gst_object_set_controller),
21763         (gst_object_sink_values), (gst_object_get_value_arrays),
21764         (gst_object_get_value_array):
21765           more tests (and fixes) for the controller
21766           more docs for the controller
21767           integrated companies docs for the adapter 
21768
21769 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21770
21771         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21772         (GST_START_TEST), (fakesrc_suite):
21773           add tests for sizetype
21774
21775 2005-08-04  Andy Wingo  <wingo@pobox.com>
21776
21777         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21778         fixes buffer_alloc proxying among other things.
21779
21780         * gst/base/gstbasetransform.c:
21781         * gst/base/gstbasetransform.h:
21782         Revert patch to gstbasetransform from 7-28 removing
21783         delay_configure.
21784
21785         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21786         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21787         Semantics changed, should return not the size of the output buffer
21788         but the byte size of a buffer with a given caps.
21789
21790         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21791         debug object.
21792         (gst_base_transform_configure_caps): Don't set out_size here: (in,
21793         out) are not the pad caps until setcaps finishes.
21794         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21795         not-in-place case as well. Deal with changing from in-place to
21796         not-in-place within calling pad_alloc_buffer. Still a bit
21797         concerned about the overhead here...
21798
21799 2005-08-03  Andy Wingo  <wingo@pobox.com>
21800
21801         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21802         fixating is an error.
21803
21804 2005-08-04  Edward Hervey  <edward@fluendo.com>
21805
21806         * gst/base/gstadapter.h: 
21807         Added gst_adapter_get_type() to the header
21808
21809 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21810
21811         * check/Makefile.am:
21812         * check/gst-libs/controller.c:
21813         * libs/gst/controller/gst-controller.c:
21814         (gst_controller_new_valist):
21815           added check test suite for the controller
21816         * gst/base/gstpushsrc.c:
21817           fixed a doc typo
21818
21819 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21820
21821         * docs/gst/Makefile.am:
21822         * docs/gst/gstreamer-docs.sgml:
21823         * docs/gst/gstreamer-sections.txt:
21824         * docs/gst/gstreamer.types:
21825         * docs/gst/tmpl/gstfakesrc.sgml:
21826         * gst/base/README:
21827         * gst/base/gstbasesink.c:
21828         * gst/base/gstbasesink.h:
21829         * gst/base/gstbasesrc.c:
21830         * gst/base/gstbasesrc.h:
21831         * gst/base/gstbasetransform.c:
21832         * gst/base/gstpushsrc.c:
21833         * gst/base/gstpushsrc.h:
21834           add short/long description docs to base classes
21835           add pushsrc to the docs
21836           remove consolidated doc fragments
21837
21838 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21839
21840         * configure.ac:
21841         * docs/libs/Makefile.am:
21842         * docs/libs/gstreamer-libs-docs.sgml:
21843         * docs/libs/gstreamer-libs-sections.txt:
21844         * docs/libs/gstreamer-libs.types:
21845         * examples/Makefile.am:
21846         * examples/controller/.cvsignore:
21847         * examples/controller/Makefile.am:
21848         * examples/controller/audio-example.c: (main):
21849         * libs/gst/Makefile.am:
21850         * libs/gst/controller/.cvsignore:
21851         * libs/gst/controller/Makefile.am:
21852         * libs/gst/controller/gst-controller.c:
21853         (on_object_controlled_property_changed), (gst_timed_value_compare),
21854         (gst_timed_value_find),
21855         (gst_controlled_property_set_interpolation_mode),
21856         (gst_controlled_property_new), (gst_controlled_property_free),
21857         (gst_controller_find_controlled_property),
21858         (gst_controller_new_valist), (gst_controller_new),
21859         (gst_controller_remove_properties_valist),
21860         (gst_controller_remove_properties), (gst_controller_set),
21861         (gst_controller_set_from_list), (gst_controller_unset),
21862         (gst_controller_get), (gst_controller_get_all),
21863         (gst_controller_sink_values), (gst_controller_get_value_arrays),
21864         (gst_controller_get_value_array),
21865         (gst_controller_set_interpolation_mode),
21866         (_gst_controller_finalize), (_gst_controller_init),
21867         (_gst_controller_class_init), (gst_controller_get_type):
21868         * libs/gst/controller/gst-controller.h:
21869         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21870         (g_object_uncontrol_properties), (g_object_get_controller),
21871         (g_object_set_controller), (g_object_sink_values),
21872         (g_object_get_value_arrays), (g_object_get_value_array):
21873         * libs/gst/controller/gst-interpolation.c:
21874         (gst_controlled_property_find_timed_value_node),
21875         (interpolate_none_get), (interpolate_trigger_get),
21876         (interpolate_trigger_get_value_array):
21877         * libs/gst/controller/lib.c: (gst_controller_init):
21878         * pkgconfig/Makefile.am:
21879         * pkgconfig/gstreamer-control-uninstalled.pc.in:
21880         * pkgconfig/gstreamer-control.pc.in:
21881         * testsuite/Makefile.am:
21882         * testsuite/controller/.cvsignore:
21883         * testsuite/controller/Makefile.am:
21884         * testsuite/controller/interpolator.c: (main):
21885           added controller code
21886           removed dparam pc files
21887
21888 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21889         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21890         (gst_collectpads_stop):
21891           Broadcast the condition when shutting down, to make sure we wake all
21892           threads up. Shut down pads on finalize, for safety.
21893
21894 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21895         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21896         (gst_base_transform_handle_buffer),
21897         (gst_base_transform_change_state):
21898           Handle PAUSED->READY->PAUSED transition after negotiation
21899           occurred already.
21900         * gst/gstmessage.c: (gst_message_init):
21901           Extra piece of debug for new messages.
21902
21903 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
21904
21905         * configure.ac:
21906         * docs/gst/tmpl/gstbasesrc.sgml:
21907         * docs/gst/tmpl/gstelement.sgml:
21908         * docs/gst/tmpl/gstevent.sgml:
21909         * docs/gst/tmpl/gstfakesrc.sgml:
21910         * docs/gst/tmpl/gstformat.sgml:
21911         * docs/gst/tmpl/gstghostpad.sgml:
21912         * docs/gst/tmpl/gstpad.sgml:
21913         * docs/gst/tmpl/gstquery.sgml:
21914         * docs/gst/tmpl/gststructure.sgml:
21915         * docs/gst/tmpl/gsttaglist.sgml:
21916         * docs/gst/tmpl/gstvalue.sgml:
21917         * docs/libs/gstreamer-libs-docs.sgml:
21918         * docs/libs/gstreamer-libs-sections.txt:
21919         * docs/libs/gstreamer-libs.types:
21920         * libs/gst/Makefile.am:
21921         * libs/gst/control/.cvsignore:
21922         * libs/gst/control/Makefile.am:
21923         * libs/gst/control/control.c:
21924         * libs/gst/control/control.h:
21925         * libs/gst/control/dparam.c:
21926         * libs/gst/control/dparam.h:
21927         * libs/gst/control/dparam_smooth.c:
21928         * libs/gst/control/dparam_smooth.h:
21929         * libs/gst/control/dparamcommon.h:
21930         * libs/gst/control/dparammanager.c:
21931         * libs/gst/control/dparammanager.h:
21932         * libs/gst/control/dplinearinterp.c:
21933         * libs/gst/control/dplinearinterp.h:
21934         * libs/gst/control/unitconvert.c:
21935         * libs/gst/control/unitconvert.h:
21936         * testsuite/Makefile.am:
21937         * testsuite/dynparams/.cvsignore:
21938         * testsuite/dynparams/Makefile.am:
21939         * testsuite/dynparams/dparamstest.c:
21940         * tools/Makefile.am:
21941         * tools/gst-inspect.c: (print_element_info), (main):
21942         * tools/gst-xmlinspect.c: (print_element_info), (main):
21943           deactivate and remove dparams (libgstcontrol)
21944
21945 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21946
21947         * gst/elements/gsttypefindelement.c:
21948         (gst_type_find_element_have_type), (gst_type_find_element_init),
21949         (stop_typefinding), (gst_type_find_element_handle_event),
21950         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21951         * gst/elements/gsttypefindelement.h:
21952           Set caps on all outgoing buffers, not just the first one.
21953
21954 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21955
21956         * gst/elements/gsttypefindelement.c:
21957         (gst_type_find_element_have_type),
21958         (gst_type_find_element_check_set_buffer_caps),
21959         (gst_type_find_element_init), (stop_typefinding),
21960         (gst_type_find_element_handle_event),
21961         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21962         * gst/elements/gsttypefindelement.h:
21963           Set caps on first outgoing buffer when we've found the type.
21964
21965 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21966
21967         * docs/gst/gstreamer-docs.sgml:
21968         * docs/gst/gstreamer-sections.txt:
21969         * docs/gst/tmpl/gstscheduler.sgml:
21970         * docs/gst/tmpl/gstschedulerfactory.sgml:
21971           Remove some old cruft from docs.
21972
21973 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
21974
21975         * gst/gstpad.h:
21976           Fix inline docs for GstPadLinkReturn.
21977           
21978         * gst/gststructure.c: (gst_structure_has_name):
21979         * gst/gststructure.h:
21980         * docs/gst/gstreamer-sections.txt:
21981           New API: gst_structure_has_name().
21982
21983 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
21984
21985         * configure.ac:
21986           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21987           and _LARGEFILE_SOURCE in config.h as required. Do not 
21988           export those flags in our .pc files any longer (#142209).
21989
21990           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21991
21992         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21993         (gst_file_sink_do_seek), (gst_file_sink_event),
21994         (gst_file_sink_get_current_offset), (gst_file_sink_render):
21995           Redo seek/tell calls with large file support in mind; add some
21996           debugging messages; add log message that tells us when large
21997           file support is unavailable or not enabled for some reason.
21998
21999         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
22000           Add log message that tells us when large file support 
22001           is unavailable or not enabled for some reason.
22002
22003 2005-07-29  Wim Taymans  <wim@fluendo.com>
22004
22005         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
22006         Added test for removing an element with ghostpad from a bin.
22007         Fixed test as current implementation does the right thing.
22008
22009         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
22010         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
22011         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
22012         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
22013         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
22014         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
22015         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
22016         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22017         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
22018         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
22019         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
22020         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
22021         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
22022         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
22023         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
22024         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
22025         * gst/gstghostpad.h:
22026         Clean up ghostpads, remove properties for internal stuff.
22027         Make threadsafe.
22028         Fix refcounting.
22029         Prepare for switching targets, not all use cases work yet.
22030
22031 2005-07-29  Wim Taymans  <wim@fluendo.com>
22032
22033         * docs/design/part-gstghostpad.txt:
22034         Small update.
22035
22036         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
22037         (gst_bin_remove_func):
22038         Unlinking pads while holding the bin LOCK is not a good
22039         idea.
22040
22041         * gst/gstpad.c: (gst_pad_class_init),
22042         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
22043         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
22044         No prob setting template after creating the pad.
22045
22046 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
22047
22048         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
22049         (gst_bus_peek), (gst_bus_source_dispatch),
22050         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
22051         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
22052           gst_bus_poll may be called from other threads. Handle
22053           this nicely by not making poll_data disappear off the
22054           stack once gst_bus_poll returns.
22055           gst_bus_peek now increments the refcount on the returned
22056           message.
22057
22058 2005-07-29  Wim Taymans  <wim@fluendo.com>
22059
22060         * docs/design/part-gstghostpad.txt:
22061         Overview of current GhostPad datastructures and use
22062         cases for changing the target.
22063
22064 2005-07-28  Wim Taymans  <wim@fluendo.com>
22065
22066         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22067         Added checks for hierarchy consistency whan adding linked
22068         elements to bins.
22069
22070         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22071         Added check to test element scheduling without bin/pipeline.
22072
22073         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22074         First add elements to bin, then link.
22075         
22076         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
22077         (gst_bin_remove_func):
22078         Unlink pads from elements added/removed from bin to maintain
22079         hierarchy consistency.
22080
22081 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22082
22083         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22084         (gst_base_transform_handle_buffer):
22085         * gst/base/gstbasetransform.h:
22086           Remove broken delay_configure (fixes renegotiation of software
22087           scaling pipelines); remove some leftover printf()s.
22088
22089 2005-07-28  Wim Taymans  <wim@fluendo.com>
22090
22091         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
22092         Added some more tests for wrong hierarchy
22093
22094         * docs/design/part-overview.txt:
22095         Some updates.
22096
22097         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
22098         Cleanups.
22099
22100         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
22101         (gst_element_dispose):
22102         Some more cleanups.
22103
22104         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22105         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
22106         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22107         (gst_pad_set_caps), (gst_pad_send_event):
22108         Check for correct hierarchy when linking pads. Moving to
22109         strict requirement for ghostpads when linking elements in
22110         different bins.
22111
22112         * gst/gstpad.h:
22113         Clean ups. Added WRONG_HIERARCHY return value.
22114
22115 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22116
22117         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22118           Better debug if no transform is possible.
22119
22120 2005-07-27  Wim Taymans  <wim@fluendo.com>
22121
22122         * docs/random/wtay/network-transp:
22123         Some old doc I had.
22124
22125 2005-07-27  Wim Taymans  <wim@fluendo.com>
22126
22127         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22128         (gst_dp_event_from_packet):
22129         Fix serialization of seek events.
22130
22131 2005-07-27  Wim Taymans  <wim@fluendo.com>
22132
22133         * check/gst-libs/gdp.c: (GST_START_TEST):
22134         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22135         Fix compilation and fix event serialization.
22136
22137 2005-07-27  Wim Taymans  <wim@fluendo.com>
22138
22139         * CHANGES-0.9:
22140         * docs/design/part-TODO.txt:
22141         * docs/design/part-events.txt:
22142         Some docs updates
22143
22144         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22145         (gst_base_sink_event), (gst_base_sink_do_sync),
22146         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22147         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22148         (gst_base_src_do_seek), (gst_base_src_event_handler),
22149         (gst_base_src_loop):
22150         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22151         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22152         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22153         (gst_base_transform_event), (gst_base_transform_handle_buffer),
22154         (gst_base_transform_set_passthrough),
22155         (gst_base_transform_is_passthrough):
22156         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22157         * gst/elements/gstfilesink.c: (gst_file_sink_event):
22158         Event updates.
22159
22160         * gst/gstbuffer.h:
22161         Use faster casts.
22162
22163         * gst/gstelement.c: (gst_element_seek):
22164         * gst/gstelement.h:
22165         Update gst_element_seek.
22166
22167         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
22168         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
22169         (gst_event_new_flush_start), (gst_event_new_flush_stop),
22170         (gst_event_new_eos), (gst_event_new_newsegment),
22171         (gst_event_parse_newsegment), (gst_event_new_tag),
22172         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
22173         (gst_event_parse_qos), (gst_event_new_seek),
22174         (gst_event_parse_seek), (gst_event_new_navigation):
22175         * gst/gstevent.h:
22176         Make GstEvent use GstStructure. Add parsing code, make sure the
22177         API is sufficiently generic.
22178         Mark possible directions of events and serialization.
22179
22180         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
22181         (_gst_message_copy), (gst_message_new_segment_start),
22182         (gst_message_new_segment_done), (gst_message_new_custom),
22183         (gst_message_parse_segment_start),
22184         (gst_message_parse_segment_done):
22185         Small cleanups.
22186
22187         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22188         (gst_pad_set_caps), (gst_pad_send_event):
22189         Update for new events. 
22190         Catch events sent in wrong directions.
22191
22192         * gst/gstqueue.c: (gst_queue_link_src),
22193         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22194         (gst_queue_handle_src_query):
22195         Event updates.
22196
22197         * gst/gsttag.c:
22198         * gst/gsttag.h:
22199         Remove event code from this file.
22200
22201         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22202         (gst_dp_event_from_packet):
22203         Event updates.
22204
22205 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22206
22207         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
22208         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22209         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
22210           Make debugging actually useful.
22211
22212 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22213
22214         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
22215         (gst_pad_fixate_caps):
22216           Implement default fixation once again, so that gst_pad_fixate()
22217           actually does anything at all. This probably needs to be some
22218           sort of a last resort, and use profile-based fixation first, but
22219           since that doesn't exist yet, this is the best we have. Fixes
22220           visualization in Totem.
22221
22222 2005-07-22  Wim Taymans  <wim@fluendo.com>
22223
22224         * docs/design/part-events.txt:
22225         Small update.
22226
22227         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22228         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
22229         (gst_base_sink_activate_pull):
22230         Some more comments.
22231
22232         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22233         (gst_fake_src_create):
22234         Fix handoff marshall.
22235
22236         * gst/elements/gstidentity.c: (gst_identity_class_init),
22237         (gst_identity_transform_ip):
22238         We're a real inplace element.
22239
22240         * gst/gstbus.c: (gst_bus_post):
22241         Added some comments.
22242
22243         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22244         * tests/muxing/case1.c: (main):
22245         * tests/sched/dynamic-pipeline.c: (main):
22246         * tests/sched/interrupt1.c: (main):
22247         * tests/sched/interrupt2.c: (main):
22248         * tests/sched/interrupt3.c: (main):
22249         * tests/sched/runxml.c: (main):
22250         * tests/sched/sched-stress.c: (main):
22251         * tests/seeking/seeking1.c: (event_received), (main):
22252         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22253         (main):
22254         * tests/threadstate/threadstate3.c: (main):
22255         * tests/threadstate/threadstate4.c: (main):
22256         * tests/threadstate/threadstate5.c: (main):
22257         Fix the tests.
22258
22259 2005-07-21  Wim Taymans  <wim@fluendo.com>
22260
22261         * docs/design/part-seeking.txt:
22262         Some small additions.
22263
22264         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22265         (gst_base_sink_get_times), (gst_base_sink_do_sync),
22266         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22267         * gst/base/gstbasesink.h:
22268         discont values are gint64, handle the math correctly.
22269
22270         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22271         Make the basesrc report error if the source pad is not linked.
22272
22273         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22274         (gst_queue_loop), (gst_queue_handle_src_query),
22275         (gst_queue_src_activate_push):
22276         Make queue collect data even if the srcpad is not linked.
22277         Start pushing out data as soon as it is linked.
22278
22279         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22280         * gst/gstutils.h:
22281         Added gst_flow_get_name() to ease error reporting.
22282
22283 2005-07-20  Wim Taymans  <wim@fluendo.com>
22284
22285         * gst/gstmessage.c: (gst_message_new_segment_start),
22286         (gst_message_new_segment_done), (gst_message_parse_segment_start),
22287         (gst_message_parse_segment_done):
22288         * gst/gstmessage.h:
22289         Added a bunch of messages for advanced seeking.
22290
22291         * gst/parse/grammar.y:
22292         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22293         (gst_dpman_state_changed):
22294         Fix some new-pad -> pad-added signals
22295
22296 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22297
22298         * docs/manual/appendix-porting.xml:
22299         * docs/pwg/appendix-porting.xml:
22300           Document new-pad/state-change signal renames and the FixedList
22301           type rename.
22302
22303 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22304
22305         * docs/manual/advanced-autoplugging.xml:
22306         * docs/manual/basics-helloworld.xml:
22307         * docs/manual/basics-pads.xml:
22308         * docs/random/ds/0.9-suggested-changes:
22309         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22310         * gst/gstelement.h:
22311         * gst/gstevent.h:
22312         * gst/gstformat.h:
22313         * gst/gstquery.h:
22314         * gst/gststructure.c: (gst_structure_value_get_generic_type),
22315         (gst_structure_parse_array), (gst_structure_parse_value):
22316         * gst/gstvalue.c: (gst_type_is_fixed),
22317         (gst_value_list_prepend_value), (gst_value_list_append_value),
22318         (gst_value_list_get_size), (gst_value_list_get_value),
22319         (gst_value_transform_array_string), (gst_value_serialize_array),
22320         (gst_value_deserialize_array), (gst_value_intersect_array),
22321         (gst_value_is_fixed), (_gst_value_initialize):
22322         * gst/gstvalue.h:
22323           GstElement::new-pad -> pad-added, GstElement::state-change ->
22324           state-changed, GstValueFixedList -> GstValueArray, add format and
22325           flags as their own arguments in gst_element_seek() (should improve
22326           "bindeability"), remove function generators since they don't work
22327           under a whole bunch of compilers (they were deprecated already
22328           anyway).
22329
22330 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22331
22332         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22333         (_gst_debug_register_funcptr):
22334         * gst/gstinfo.h:
22335           Fix illegal cast on some platforms (#309253).
22336
22337 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22338
22339         * gst/gstmessage.c: (gst_message_new_custom):
22340         * gst/gstmessage.h:
22341           Add _new_custom, make _new_application a macro to _new_custom.
22342
22343 2005-07-20  Wim Taymans  <wim@fluendo.com>
22344
22345         * gst/base/gstbasesrc.c: (gst_base_src_init),
22346         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22347         * gst/base/gstbasesrc.h:
22348         Add a gboolean to decide when to push out a discont.
22349
22350         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22351         (gst_queue_loop), (gst_queue_handle_src_query),
22352         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22353         (gst_queue_set_property), (gst_queue_get_property):
22354         Some cleanups.
22355
22356         * tests/threadstate/threadstate1.c: (main):
22357         Make a thread test compile and run... very silly..
22358
22359
22360 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22361
22362         * docs/manual/appendix-porting.xml:
22363           Mention removal of libgstgconf-0.9.la and existence of gconf
22364           elements.
22365
22366 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22367
22368         * docs/pwg/advanced-clock.xml:
22369         * docs/pwg/appendix-porting.xml:
22370         * docs/pwg/intro-preface.xml:
22371         * docs/pwg/other-base.xml:
22372         * docs/pwg/other-manager.xml:
22373         * docs/pwg/other-nton.xml:
22374         * docs/pwg/other-ntoone.xml:
22375         * docs/pwg/other-oneton.xml:
22376         * docs/pwg/pwg.xml:
22377           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22378           demuxer), remove n-to-n (was never written), fix some code examples
22379           and links and update the porting section to include all this.
22380
22381 2005-07-19  Wim Taymans  <wim@fluendo.com>
22382
22383         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22384         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22385         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22386         (gst_queue_src_activate_push), (gst_queue_change_state),
22387         (gst_queue_get_property):
22388         * gst/gstqueue.h:
22389         Propagate GstFlowReturn more intelligently upstream and output
22390         an ERROR/EOS when streaming stopped due to fatal error.
22391
22392 2005-07-19  Wim Taymans  <wim@fluendo.com>
22393
22394         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22395         Don't block forever for the state change to complete, the
22396         pipeline already did with a sensible timeout.
22397
22398 2005-07-19  Wim Taymans  <wim@fluendo.com>
22399
22400         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22401         Make sure we never call the create function is we
22402         got deactivated.
22403
22404 2005-07-19  Andy Wingo  <wingo@pobox.com>
22405
22406         * gst/parse/parse.l: Attempt to solve bug #172815.
22407
22408 2005-07-19  Wim Taymans  <wim@fluendo.com>
22409
22410         * docs/design/part-clocks.txt:
22411         * docs/design/part-events.txt:
22412         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22413         Small docs updates.
22414         Only update the seeking values when we are not
22415         busy streaming.
22416
22417 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22418
22419         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22420           Oops, ignore the result of gst_pad_push_event here.
22421
22422 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22423
22424         * gst/base/gstbasesrc.c: (gst_base_src_loop),
22425         (gst_base_src_activate_push):
22426           Send discont event from the loop function, as pads
22427           aren't activated yet in the activate_push handler.
22428
22429         * gst/gstbin.c: (bin_bus_handler):
22430           Don't leak element name.
22431
22432 2005-07-18  Andy Wingo  <wingo@pobox.com>
22433
22434         * configure.ac: Use AS_LIBTOOL_TAGS.
22435
22436 2005-07-18  Wim Taymans  <wim@fluendo.com>
22437
22438         * docs/gst/gstreamer.types:
22439         Remove deleted types.
22440
22441 2005-07-18  Wim Taymans  <wim@fluendo.com>
22442
22443         * check/elements/gstfakesrc.c: (GST_START_TEST):
22444         * configure.ac:
22445         * gst/Makefile.am:
22446         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22447         (init_popt_callback):
22448         * gst/gst.h:
22449         * gst/gst_private.h:
22450         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22451         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22452         * gst/gstbin.h:
22453         * gst/gstbus.h:
22454         * gst/gstconfig.h.in:
22455         * gst/gstelement.c: (gst_element_class_init),
22456         (gst_element_set_base_time), (gst_element_get_base_time),
22457         (iterator_fold_with_resync), (gst_element_change_state),
22458         (gst_element_dispose), (gst_element_get_bus):
22459         * gst/gstelement.h:
22460         * gst/gstelementfactory.h:
22461         * gst/gsterror.c: (_gst_core_errors_init):
22462         * gst/gsterror.h:
22463         * gst/gstevent.h:
22464         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22465         * gst/gstindex.c:
22466         * gst/gstinfo.c: (_gst_debug_init):
22467         * gst/gstmessage.c: (_gst_message_copy):
22468         * gst/gstmessage.h:
22469         * gst/gstminiobject.h:
22470         * gst/gstobject.c:
22471         * gst/gstobject.h:
22472         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22473         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22474         * gst/gstpad.h:
22475         * gst/gstparse.h:
22476         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22477         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22478         (gst_pipeline_get_last_stream_time):
22479         * gst/gstpipeline.h:
22480         * gst/gstpluginfeature.h:
22481         * gst/gstquery.h:
22482         * gst/gstscheduler.c:
22483         * gst/gstscheduler.h:
22484         * gst/gststructure.h:
22485         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22486         (gst_task_finalize), (gst_task_func), (gst_task_create),
22487         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22488         (gst_task_stop), (gst_task_pause):
22489         * gst/gsttask.h:
22490         * gst/gsttypefind.h:
22491         * gst/gsttypes.h:
22492         * gst/registries/gstlibxmlregistry.c: (load_feature),
22493         (gst_xml_registry_load), (gst_xml_registry_save_feature):
22494         * gst/registries/gstxmlregistry.c:
22495         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22496         * gst/schedulers/threadscheduler.c:
22497         * libs/gst/control/dparammanager.h:
22498         * tools/gst-inspect.c: (print_element_list),
22499         (print_plugin_features), (print_element_features):
22500         * tools/gst-xmlinspect.c: (print_element_list),
22501         (print_plugin_info), (main):
22502         Removed plugable schedulers.
22503         Removed Scheduler/Manager from elements.
22504         Removed gsttypes.h, rearranged includes.
22505         Removed dependency pad<->element, element<>pipeline, and
22506         various others,  fix includes.
22507         implement gst_pad_get_parent() with gst_object_get_parent()
22508         Make GstTask sefcontained.
22509         Fix _get_state() on GstBin, it did not return ASYNC with a 0
22510         timeout.
22511         Fix endless loop in iterator_fold_with_resync.
22512
22513
22514 2005-07-18  Wim Taymans  <wim@fluendo.com>
22515
22516         * gst/Makefile.am:
22517         * gst/gstarch.h:
22518         Remove old file.
22519
22520 2005-07-18  Wim Taymans  <wim@fluendo.com>
22521
22522         * gst/Makefile.am:
22523         No more cothreads.h
22524
22525 2005-07-18  Wim Taymans  <wim@fluendo.com>
22526
22527         * gst/cothreads.c:
22528         * gst/cothreads.h:
22529         Let's remove these.
22530
22531 2005-07-18  Wim Taymans  <wim@fluendo.com>
22532
22533         * docs/design/part-dynamic.txt:
22534         * docs/design/part-events.txt:
22535         * docs/design/part-seeking.txt:
22536         Some more docs in the works.
22537
22538         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22539         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22540         (gst_base_transform_setcaps), (gst_base_transform_get_size),
22541         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22542         (gst_base_transform_handle_buffer),
22543         (gst_base_transform_sink_activate_push),
22544         (gst_base_transform_src_activate_pull),
22545         (gst_base_transform_set_passthrough),
22546         (gst_base_transform_is_passthrough):
22547         Refcounting fixes.
22548
22549         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22550         Cleanups.
22551
22552         * gst/gstevent.c: (gst_event_finalize):
22553         Set SRC to NULL.
22554
22555         * gst/gstutils.c: (gst_element_unlink),
22556         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22557         (gst_pad_proxy_setcaps):
22558         * gst/gstutils.h:
22559         Add _get_parent_element() to get a pads parent as an element.
22560
22561 2005-07-18  Wim Taymans  <wim@fluendo.com>
22562
22563         * check/gst/gstbin.c: (GST_START_TEST):
22564         Remove bogus test.
22565
22566 2005-07-18  Wim Taymans  <wim@fluendo.com>
22567
22568         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22569         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22570         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22571         (gst_base_sink_event), (gst_base_sink_do_sync),
22572         (gst_base_sink_chain), (gst_base_sink_loop),
22573         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22574         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22575         Refcounting fixes.
22576         Fix logic for returning ASYNC when not prerolled.
22577
22578 2005-07-18  Wim Taymans  <wim@fluendo.com>
22579
22580         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22581         Fix nasty refcount bug.
22582
22583 2005-07-16 Philippe Khalaf <burger@speedy.org>
22584
22585         * gst/elements/gstfdsrc.c:
22586         * gst/elements/gstfdsrc.h:
22587         * gst/elements/gstelements.c:
22588         * gst/elements/Makefile.am:
22589         Ported fdsrc to 0.9.
22590
22591 2005-07-16  Wim Taymans  <wim@fluendo.com>
22592
22593         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22594         (gst_base_sink_do_sync):
22595         Fix compile error.
22596
22597 2005-07-16  Wim Taymans  <wim@fluendo.com>
22598
22599         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22600         (gst_base_sink_event), (gst_base_sink_get_times),
22601         (gst_base_sink_do_sync), (gst_base_sink_change_state):
22602         * gst/base/gstbasesink.h:
22603         Store and use discont values when syncing buffers as described
22604         in design docs.
22605         
22606         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22607         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22608         (gst_base_src_activate_push):
22609         Push discont event when starting.
22610
22611         * gst/elements/gstidentity.c: (gst_identity_transform):
22612         Small cleanups.
22613
22614         * gst/gstbin.c: (gst_bin_change_state):
22615         Small cleanups in base_time  distribution.
22616
22617         * gst/gstelement.c: (gst_element_set_base_time),
22618         (gst_element_get_base_time), (gst_element_change_state):
22619         * gst/gstelement.h:
22620         Added methods for the base_time of the element.
22621         Some MT fixes.
22622
22623         * gst/gstpipeline.c: (gst_pipeline_send_event),
22624         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22625         (gst_pipeline_get_last_stream_time):
22626         * gst/gstpipeline.h:
22627         MT fixes.
22628         Handle seeking as described in design doc, remove stream_time
22629         hack.
22630         Cleanups clock and stream_time selection code. Added accessors
22631         for the stream_time.
22632         
22633
22634 2005-07-16  Andy Wingo  <wingo@pobox.com>
22635
22636         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22637         (#305291).
22638
22639 2005-07-16  Wim Taymans  <wim@fluendo.com>
22640
22641         * check/gst/gstbin.c: (GST_START_TEST):
22642         Make elements silent as the deep_notify refs the
22643         parent, which might make the test fail.
22644
22645         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22646         Don't hold the lock for too long.
22647
22648 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
22649
22650         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22651           Don't unref the caps we passed to gst_caps_make_writable() after
22652           passing them. gst_caps_make_writable() will do that for us.
22653
22654 2005-07-15  Andy Wingo  <wingo@pobox.com>
22655
22656         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22657         (#157311).
22658
22659         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22660         own marshalling function for the handoff signal. Properly type the
22661         buffer as a buffer. Fixes some warnings. Should do a more general
22662         solution.
22663         (gst_identity_class_init): Plug into the right marshaller.
22664
22665 2005-07-15  Wim Taymans  <wim@fluendo.com>
22666
22667         * docs/design/part-TODO.txt:
22668         * docs/design/part-clocks.txt:
22669         * docs/design/part-element-sink.txt:
22670         * docs/design/part-events.txt:
22671         * docs/design/part-gstpipeline.txt:
22672         Updated docs, mostly DISCONT related.
22673
22674 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
22675
22676         * docs/pwg/building-pads.xml:
22677           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22678
22679 2005-07-15  Andy Wingo  <wingo@pobox.com>
22680
22681         * tools/gst-typefind.c: Update, add copyright block.
22682
22683         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22684         Normalize and truncate caps before fixation.
22685
22686         * gst/gstcaps.h:
22687         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22688         discards all but the first structure from its argument.
22689
22690 2005-07-15  Wim Taymans  <wim@fluendo.com>
22691
22692         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22693         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22694         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22695         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22696         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22697         (gst_base_transform_chain), (gst_base_transform_change_state),
22698         (gst_base_transform_set_passthrough),
22699         (gst_base_transform_is_passthrough):
22700         * gst/base/gstbasetransform.h:
22701         Make passthrough work using the bufferpools.
22702         Changed API a bit, subclasses have to write into a buffer
22703         provided by the base class.
22704         More debug info in nego functions.
22705         
22706         * gst/elements/gstidentity.c: (gst_identity_init),
22707         (gst_identity_transform):
22708         Port to new base class.
22709
22710 2005-07-15  Wim Taymans  <wim@fluendo.com>
22711
22712         * gst/gstmessage.c: (gst_message_new_state_changed):
22713         * tools/gst-launch.c: (event_loop), (main):
22714         Totally dump messages in -launch with the -m option.
22715         Fix message name for State messages,
22716
22717 2005-07-14  Wim Taymans  <wim@fluendo.com>
22718
22719         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22720         Post error messages on errors.
22721
22722 2005-07-14  Wim Taymans  <wim@fluendo.com>
22723
22724         * gst/gstcaps.c: (gst_caps_do_simplify):
22725         Remove debug info.
22726
22727         * gst/gsterror.h:
22728         Define error for stream stopped.
22729
22730         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22731         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22732         Do proper return values.
22733
22734         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22735         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22736         (gst_pad_get_range):
22737         Better return values.
22738
22739         * gst/gstpad.h:
22740         Reorganise return values, add macro to check for fatal errors.
22741
22742         * gst/gstqueue.c: (gst_queue_chain):
22743         Return proper GstFlowReturn values,
22744
22745 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
22746
22747         * docs/gst/gstreamer-sections.txt:
22748         * docs/gst/gstreamer.types:
22749         * docs/gst/tmpl/gst.sgml:
22750         * docs/gst/tmpl/gstbasesink.sgml:
22751         * docs/gst/tmpl/gstbasesrc.sgml:
22752         * docs/gst/tmpl/gstbasetransform.sgml:
22753         * docs/gst/tmpl/gstbin.sgml:
22754         * docs/gst/tmpl/gstbuffer.sgml:
22755         * docs/gst/tmpl/gstcaps.sgml:
22756         * docs/gst/tmpl/gstclock.sgml:
22757         * docs/gst/tmpl/gstcompat.sgml:
22758         * docs/gst/tmpl/gstconfig.sgml:
22759         * docs/gst/tmpl/gstelement.sgml:
22760         * docs/gst/tmpl/gstelementdetails.sgml:
22761         * docs/gst/tmpl/gstelementfactory.sgml:
22762         * docs/gst/tmpl/gstenumtypes.sgml:
22763         * docs/gst/tmpl/gsterror.sgml:
22764         * docs/gst/tmpl/gstevent.sgml:
22765         * docs/gst/tmpl/gstfakesink.sgml:
22766         * docs/gst/tmpl/gstfakesrc.sgml:
22767         * docs/gst/tmpl/gstfilesink.sgml:
22768         * docs/gst/tmpl/gstfilesrc.sgml:
22769         * docs/gst/tmpl/gstfilter.sgml:
22770         * docs/gst/tmpl/gstformat.sgml:
22771         * docs/gst/tmpl/gstghostpad.sgml:
22772         * docs/gst/tmpl/gstimplementsinterface.sgml:
22773         * docs/gst/tmpl/gstindex.sgml:
22774         * docs/gst/tmpl/gstindexfactory.sgml:
22775         * docs/gst/tmpl/gstinfo.sgml:
22776         * docs/gst/tmpl/gstiterator.sgml:
22777         * docs/gst/tmpl/gstmacros.sgml:
22778         * docs/gst/tmpl/gstmemchunk.sgml:
22779         * docs/gst/tmpl/gstminiobject.sgml:
22780         * docs/gst/tmpl/gstobject.sgml:
22781         * docs/gst/tmpl/gstpad.sgml:
22782         * docs/gst/tmpl/gstpadtemplate.sgml:
22783         * docs/gst/tmpl/gstparse.sgml:
22784         * docs/gst/tmpl/gstpipeline.sgml:
22785         * docs/gst/tmpl/gstplugin.sgml:
22786         * docs/gst/tmpl/gstpluginfeature.sgml:
22787         * docs/gst/tmpl/gstquery.sgml:
22788         * docs/gst/tmpl/gstqueue.sgml:
22789         * docs/gst/tmpl/gstregistry.sgml:
22790         * docs/gst/tmpl/gstregistrypool.sgml:
22791         * docs/gst/tmpl/gstscheduler.sgml:
22792         * docs/gst/tmpl/gstschedulerfactory.sgml:
22793         * docs/gst/tmpl/gststructure.sgml:
22794         * docs/gst/tmpl/gstsystemclock.sgml:
22795         * docs/gst/tmpl/gsttaglist.sgml:
22796         * docs/gst/tmpl/gsttagsetter.sgml:
22797         * docs/gst/tmpl/gsttrace.sgml:
22798         * docs/gst/tmpl/gsttrashstack.sgml:
22799         * docs/gst/tmpl/gsttypefind.sgml:
22800         * docs/gst/tmpl/gsttypefindfactory.sgml:
22801         * docs/gst/tmpl/gsttypes.sgml:
22802         * docs/gst/tmpl/gsturihandler.sgml:
22803         * docs/gst/tmpl/gsturitype.sgml:
22804         * docs/gst/tmpl/gstutils.sgml:
22805         * docs/gst/tmpl/gstvalue.sgml:
22806         * docs/gst/tmpl/gstversion.sgml:
22807         * docs/gst/tmpl/gstxml.sgml:
22808         * docs/libs/tmpl/gstcontrol.sgml:
22809         * docs/libs/tmpl/gstdataprotocol.sgml:
22810         * docs/libs/tmpl/gstdparam.sgml:
22811         * docs/libs/tmpl/gstdplinint.sgml:
22812         * docs/libs/tmpl/gstdpman.sgml:
22813         * docs/libs/tmpl/gstdpsmooth.sgml:
22814         * docs/libs/tmpl/gstgetbits.sgml:
22815         * docs/libs/tmpl/gstunitconvert.sgml:
22816         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22817         (gst_push_src_base_init), (gst_push_src_class_init),
22818         (gst_push_src_init), (gst_push_src_create):
22819         * gst/base/gstpushsrc.h:
22820         * gst/elements/gstelements.c:
22821         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22822         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22823         (gst_fake_sink_init), (gst_fake_sink_set_property),
22824         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22825         (gst_fake_sink_event), (gst_fake_sink_preroll),
22826         (gst_fake_sink_render), (gst_fake_sink_change_state):
22827         * gst/elements/gstfakesink.h:
22828         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22829         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22830         (gst_fake_src_base_init), (gst_fake_src_class_init),
22831         (gst_fake_src_init), (gst_fake_src_event_handler),
22832         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22833         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22834         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22835         (gst_fake_src_create_buffer), (gst_fake_src_create),
22836         (gst_fake_src_start), (gst_fake_src_stop):
22837         * gst/elements/gstfakesrc.h:
22838         * gst/elements/gstfilesink.c: (_do_init),
22839         (gst_file_sink_base_init), (gst_file_sink_class_init),
22840         (gst_file_sink_init), (gst_file_sink_dispose),
22841         (gst_file_sink_set_location), (gst_file_sink_set_property),
22842         (gst_file_sink_get_property), (gst_file_sink_open_file),
22843         (gst_file_sink_close_file), (gst_file_sink_query),
22844         (gst_file_sink_event), (gst_file_sink_render),
22845         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22846         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22847         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22848         * gst/elements/gstfilesink.h:
22849         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22850         (gst_file_src_class_init), (gst_file_src_init),
22851         (gst_file_src_finalize), (gst_file_src_set_location),
22852         (gst_file_src_set_property), (gst_file_src_get_property),
22853         (gst_file_src_map_region), (gst_file_src_map_small_region),
22854         (gst_file_src_create_mmap), (gst_file_src_create_read),
22855         (gst_file_src_create), (gst_file_src_is_seekable),
22856         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22857         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22858         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22859         (gst_file_src_uri_handler_init):
22860         * gst/elements/gstfilesrc.h:
22861           more autistic cleanliness in functions/names/defines
22862
22863 2005-07-13  Andy Wingo  <wingo@pobox.com>
22864
22865         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22866         source couldn't negotiate.
22867
22868         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22869         connections again.
22870
22871         * gst/gstutils.h:
22872         * gst/gstutils.c (gst_element_link_pads_filtered): New old
22873         function. I am channeling Hades. Put your boots on suckers!!!
22874
22875 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22876
22877         * testsuite/caps/Makefile.am:
22878         * testsuite/caps/value_compare.c:
22879         * testsuite/caps/value_intersect.c:
22880         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22881           move two testsuite apps over to the check dir
22882
22883 2005-07-12  Wim Taymans  <wim@fluendo.com>
22884
22885         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22886         Added more debug info in the negotiate process.
22887
22888         * gst/gstmessage.h:
22889         Prepare for segment playback.
22890
22891         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22892         Better debugging.
22893
22894         * gst/gstutils.c:
22895         Some more docs.
22896
22897         * tools/gst-launch.c: (main):
22898         NULL pipeline on errors.
22899
22900 2005-07-12  Andy Wingo  <wingo@pobox.com>
22901
22902         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22903         not it comes from a malloc region. Make sure our copy gets freed.
22904
22905 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22906
22907         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22908         * check/gst/gstmessage.c: (GST_START_TEST):
22909         * check/gst/gststructure.c: (GST_START_TEST),
22910         (gst_structure_suite), (main):
22911           more testing
22912         * gst/gstelement.c: (gst_element_message_full):
22913           clean up GError and debug string now that they get copied
22914         * gst/gstmessage.c: (gst_message_new_error),
22915         (gst_message_new_warning), (gst_message_parse_error),
22916         (gst_message_parse_warning):
22917           use GST_TYPE_G_ERROR for structure_new, and take copies of
22918           arguments, so that we don't mess up refcounting
22919
22920 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22921
22922         * check/Makefile.am:
22923           add per-test valgrind targets
22924         * check/gst-libs/gdp.c: (GST_START_TEST),
22925         (gst_data_protocol_suite), (main):
22926           clean up
22927
22928 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22929
22930         * check/Makefile.am:
22931           instate more valgrindable tests
22932         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22933         (GST_START_TEST), (fakesrc_suite):
22934         * check/gst/gstpad.c: (GST_START_TEST):
22935         * check/gst/gststructure.c: (GST_START_TEST):
22936           fix test leaks
22937         * docs/gst/tmpl/gstminiobject.sgml:
22938         * gst/gstpad.c: (gst_pad_finalize):
22939           fix the static mutex leak
22940
22941 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22942
22943         * check/Makefile.am:
22944           add two more tests for valgrinding
22945         * check/gst/gstvalue.c: (GST_START_TEST):
22946           test refcount of deserialized buffer, found a leak
22947         * docs/gst/gstreamer-docs.sgml:
22948         * docs/gst/gstreamer-sections.txt:
22949         * docs/gst/gstreamer.types:
22950         * docs/gst/tmpl/gstminiobject.sgml:
22951           add miniobject to docs
22952         * gst/gstminiobject.c:
22953           add some docs
22954         * gst/gstvalue.c: (gst_value_deserialize_buffer),
22955         (gst_string_unwrap):
22956           fix a hard-to-find invalid write for one of the tests
22957           fix a leak for deserialized buffers
22958
22959 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22960
22961         * docs/pwg/advanced-events.xml:
22962         * docs/pwg/advanced-request.xml:
22963         * docs/pwg/advanced-scheduling.xml:
22964         * docs/pwg/appendix-porting.xml:
22965         * docs/pwg/building-boiler.xml:
22966         * docs/pwg/intro-preface.xml:
22967         * docs/pwg/other-ntoone.xml:
22968           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22969           of example code and explanation for pad activation, loop() and
22970           getrange() functions and a bit more. Remove old comments pointing
22971           to loop-functions.
22972         * examples/pwg/Makefile.am:
22973           Add loop/getrange examples.
22974
22975 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22976
22977         * configure.ac:
22978           check for valgrind binary + some fixes
22979         * check/gst.supp:
22980           valgrind suppressions for the tests
22981         * check/Makefile.am:
22982           add a valgrind: target that valgrinds the unit tests
22983         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22984         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22985         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22986         * check/gst/gstghostpad.c:
22987           added some cleanup
22988         * check/gst/gstdata.c:
22989           removed
22990         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22991         (thread_unref), (gst_mini_object_suite), (main):
22992           added
22993         * gst/gst.c: (gst_deinit):
22994         * gst/gst.h:
22995           add a method to clean up.
22996         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22997         (gst_system_clock_obtain):
22998           allow for disposing the system clock.
22999         * tools/gst-launch.c: (main):
23000           deinit
23001
23002 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23003
23004         * docs/gst/tmpl/gstbasesrc.sgml:
23005         * docs/gst/tmpl/gstfakesrc.sgml:
23006         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23007         (gst_base_src_init), (gst_base_src_set_property),
23008         (gst_base_src_get_property), (gst_base_src_get_range),
23009         (gst_base_src_start):
23010         * gst/base/gstbasesrc.h:
23011           add num-buffers property
23012         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23013         (gst_fakesrc_init), (gst_fakesrc_set_property),
23014         (gst_fakesrc_get_property), (gst_fakesrc_create),
23015         (gst_fakesrc_start):
23016           remove num-buffers property
23017
23018 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23019
23020         * docs/gst/gstreamer-sections.txt:
23021         * docs/gst/tmpl/gstbasesink.sgml:
23022         * docs/gst/tmpl/gstbasesrc.sgml:
23023         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
23024         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
23025         (gst_base_sink_finalize), (gst_base_sink_set_clock),
23026         (gst_base_sink_set_property), (gst_base_sink_get_property),
23027         (gst_base_sink_handle_object), (gst_base_sink_event),
23028         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
23029         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
23030         (gst_base_sink_loop), (gst_base_sink_deactivate),
23031         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
23032         (gst_base_sink_change_state):
23033         * gst/base/gstbasesink.h:
23034         * gst/base/gstbasesrc.h:
23035         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
23036         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23037         (gst_filesink_init):
23038           more macro splitting
23039
23040 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23041
23042         * gst/gstelement.c: (gst_element_get_bus):
23043           add debug
23044         * tools/gst-launch.c: (check_intr), (event_loop):
23045           fix bus leaks
23046
23047 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23048
23049         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
23050           fix a caps leak
23051
23052 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23053
23054         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23055         (gst_base_src_finalize):
23056           add finalize method and clean up properly
23057         * gst/gstpipeline.c: (gst_pipeline_dispose):
23058           add debug
23059
23060 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23061
23062         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
23063         (gst_bin_suite):
23064           add more things to check
23065         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
23066         * gst/gstelement.c:
23067           more debug
23068
23069 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23070
23071         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23072         (GST_START_TEST), (fakesrc_suite):
23073         * check/gst-libs/gdp.c: (GST_START_TEST):
23074         * check/gst/gst.c: (GST_START_TEST):
23075         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23076         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23077         * check/gst/gstbus.c: (GST_START_TEST):
23078         * check/gst/gstcaps.c: (GST_START_TEST):
23079         * check/gst/gstdata.c: (GST_START_TEST):
23080         * check/gst/gstelement.c: (GST_START_TEST):
23081         * check/gst/gstghostpad.c: (GST_START_TEST):
23082         * check/gst/gstiterator.c: (GST_START_TEST):
23083         * check/gst/gstmessage.c: (GST_START_TEST):
23084         * check/gst/gstobject.c: (GST_START_TEST):
23085         * check/gst/gstpad.c: (GST_START_TEST):
23086         * check/gst/gststructure.c: (GST_START_TEST):
23087         * check/gst/gstsystemclock.c: (GST_START_TEST),
23088         (gst_systemclock_suite):
23089         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
23090         * check/gst/gstvalue.c: (GST_START_TEST):
23091         * check/pipelines/cleanup.c: (GST_START_TEST):
23092         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23093         * check/states/sinks.c: (GST_START_TEST):
23094         * check/gstcheck.c: (gst_check_init):
23095         * check/gstcheck.h:
23096           add debugging category
23097           use GST_START_TEST now, so we add a debug line
23098
23099 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23100
23101         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
23102           add test for state change message on a bin
23103         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
23104           add another test
23105         * gst/gstbin.c: (gst_bin_init):
23106         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
23107         * gst/gstelement.c: (gst_element_post_message),
23108         (gst_element_set_state):
23109         * gst/gstelementfactory.c: (gst_element_factory_create):
23110         * gst/gstmessage.c: (gst_message_new):
23111         * gst/gstscheduler.c:
23112           various debugging additions and cleanups
23113
23114 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23115
23116         * check/Makefile.am:
23117         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
23118         (main):
23119           adding tests for elements
23120         * gst/gstelement.c: (gst_element_dispose):
23121
23122 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23123
23124         * gst/registries/gstlibxmlregistry.c: (load_feature):
23125           plug more leaks.  A simple gst_init() now is leakfree, yay.
23126
23127 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23128
23129         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
23130         (gst_xml_registry_load):
23131           plug another memleak
23132
23133 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23134
23135         * configure.ac:
23136           use GST_SET_ERROR_CFLAGS
23137         * docs/faq/cvs.xml:
23138           change to ERROR_CFLAGS
23139
23140 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23141
23142         * configure.ac:
23143           make GST_ERROR_CFLAGS overridable and re-enable Werror
23144         * docs/faq/cvs.xml:
23145           add a note about error CFLAGS
23146         * docs/gst/tmpl/gstfakesrc.sgml:
23147         * gst/elements/gstfakesrc.c:
23148           comment out some unused code
23149         * gst/gst.c: (split_and_iterate):
23150         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
23151         (load_feature):
23152           plug some memleaks
23153
23154 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23155
23156         * common/Makefile.am:
23157         * common/gtk-doc.mak:
23158         * docs/gst/Makefile.am:
23159           factor out gtk-doc.mak
23160
23161 2005-07-07  Wim Taymans  <wim@fluendo.com>
23162
23163         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
23164         (gst_thread_scheduler_dispose):
23165         Unlock the STREAM_LOCK completely.
23166
23167 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23168
23169         * check/Makefile.am:
23170         * check/elements/.cvsignore:
23171         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23172         (START_TEST), (fakesrc_suite), (main):
23173         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23174         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23175         (gst_fakesrc_create), (gst_fakesrc_start):
23176         * gst/elements/gstfakesrc.h:
23177           adding a first element test
23178
23179 2005-07-07  Andy Wingo  <wingo@pobox.com>
23180
23181         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
23182         debug message.
23183
23184 2005-07-07  Wim Taymans  <wim@fluendo.com>
23185
23186         * gst/gstquery.c:
23187         * gst/gstquery.h:
23188         Remove old types
23189
23190 2005-07-07  Wim Taymans  <wim@fluendo.com>
23191
23192         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23193         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
23194         Allow subclasses to implement their own negotiation.
23195
23196 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23197
23198         * docs/design/part-gstbin.txt:
23199         * docs/design/part-gstpipeline.txt:
23200           Update design notes to reflect the movement of
23201           responsibility for bus handling from GstPipeline to
23202           GstBin
23203
23204 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23205
23206         * configure.ac:
23207           Remove unnecessary queue2/3/4 examples.
23208
23209 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23210
23211         * examples/Makefile.am:
23212         * examples/helloworld/helloworld.c: (event_loop), (main):
23213         * examples/queue/queue.c: (event_loop), (main):
23214         * examples/queue2/queue2.c: (main):
23215           Update a couple of the examples to work again.
23216
23217         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23218         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
23219          Spelling corrections and extra debug.
23220         
23221         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
23222         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
23223         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
23224         * gst/gstbin.h:
23225         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23226         (gst_pipeline_change_state):
23227         * gst/gstpipeline.h:
23228           Move the bus handler for children to the GstBin, and create a
23229           separate bus for receiving messages from children to the one the
23230           bus sends 'upwards' on.
23231
23232 2005-07-06  Wim Taymans  <wim@fluendo.com>
23233
23234         * gst/base/README:
23235         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23236         (gst_base_sink_handle_object), (gst_base_sink_loop),
23237         (gst_base_sink_change_state):
23238         * gst/base/gstbasesink.h:
23239         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23240         (gst_base_src_init), (gst_base_src_setcaps),
23241         (gst_base_src_getcaps), (gst_base_src_loop),
23242         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23243         (gst_base_src_start), (gst_base_src_change_state):
23244         * gst/base/gstbasesrc.h:
23245         Make basesrc negotiate.
23246         Handle the case where preroll fails in basesink.
23247         Update README.
23248
23249 2005-07-06  Wim Taymans  <wim@fluendo.com>
23250
23251         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23252         Implement the fixate function.
23253         Clean up acceptcaps.
23254
23255 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23256
23257         * docs/pwg/building-filterfactory.xml:
23258         * docs/pwg/pwg.xml:
23259           Remove never-written filter-factory chapter; I'll add the various
23260           base classes to part 4 ("other element types") later on.
23261
23262 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23263
23264         * docs/pwg/advanced-negotiation.xml:
23265         * docs/pwg/building-boiler.xml:
23266         * docs/pwg/building-pads.xml:
23267         * docs/pwg/pwg.xml:
23268         * examples/pwg/Makefile.am:
23269           Add a chapter on caps negotiation, simplify the original code
23270           samples a bit w.r.t. caps negotiation, add link to the advanced
23271           section. Add a bunch of examples showing different use cases of
23272           different types of caps negotiation. Upstream renegotiation isn't
23273           fully documented yet since nobody knows how that works.
23274
23275 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23276
23277         * check/gst/gstpad.c:
23278         * check/gstcheck.c:
23279         * gst/gstpad.c: (gst_pad_get_internal_links_default):
23280           if pad has no parent, return NULL as list of internal links
23281
23282 2005-07-05  Andy Wingo  <wingo@pobox.com>
23283
23284         * gst/elements/gstfilesrc.c:
23285         * gst/elements/gstfakesrc.c: 
23286         * gst/base/gstpushsrc.c:
23287         * gst/base/gstbasesrc.h: 
23288         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23289         
23290 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
23291
23292         * Makefile.am:
23293           better report generation target (lcov needs a patch)
23294
23295 2005-07-05  Andy Wingo  <wingo@pobox.com>
23296
23297         * gst/elements, testsuite: Null if we got it...
23298
23299 2005-07-05  Wim Taymans  <wim@fluendo.com>
23300
23301         * configure.ac:
23302         * libs/gst/dataprotocol/Makefile.am:
23303         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23304         * libs/gst/dataprotocol/dataprotocol.h:
23305         * pkgconfig/Makefile.am:
23306         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23307         * pkgconfig/gstreamer-dataprotocol.pc.in:
23308         Ported dataprotol to 0.9. 
23309         Added pkgconfig files.
23310
23311 2005-07-05  Andy Wingo  <wingo@pobox.com>
23312
23313         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23314         Default to returning TRUE for the case when tranform_caps returns
23315         a fixed caps, like for identity or volume.
23316
23317         * check/gst/gstbus.c (pound_bus_with_messages): 
23318         * check/gst/gstmessage.c (START_TEST): 
23319         * check/pipelines/simple_launch_lines.c (got_handoff): Application
23320         message API change.
23321
23322         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23323         logic weaks here: always run transform_caps, trying passthrough
23324         operation only if the original caps intersects with the transform.
23325
23326         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23327         source and sink caps.
23328
23329         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23330         Intersect the peer caps with the pad template before going into
23331         transform_caps.
23332         (gst_base_transform_transform_caps): More debugging.
23333
23334         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23335         src argument.
23336
23337 2005-07-04  Edward Hervey  <edward@fluendo.com>
23338
23339         * gst/gstutils.c:
23340         * gst/gstutils.h:
23341         (gst_pad_add_*_probe): now returns the signal id for better wrapping
23342         in bindings.
23343
23344 2005-07-04  Andy Wingo  <wingo@pobox.com>
23345
23346         * check/gst/gstpad.c: Only set explicit caps on pads.
23347
23348 2005-07-01  Andy Wingo  <wingo@pobox.com>
23349
23350         * tests/network-clock.scm: Commentary update.
23351
23352         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23353         Didn't really make sense, not implementable with basetransform,
23354         etc.
23355         (gst_identity_transform): Unref inbuf via make_writable. Feeble
23356         attempt at implementing the sync property, needs an unlock method.
23357
23358         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23359         New func, by default returns the same caps (the identity
23360         transformation).
23361         (gst_base_transform_getcaps): Uses transform_caps to return
23362         something sensible.
23363         (gst_base_transform_setcaps): Complicated logic to get caps on
23364         both pads, even if they are different, and to call set_caps once
23365         for every time both pads get their caps set.
23366         (gst_base_transform_handle_buffer): Give the ref to the transform
23367         function. Allows in-place modification of the buffer.
23368
23369         * gst/base/gstbasetransform.h (transform_caps): New class method.
23370         Given caps on one side, what can I do on the other.
23371         (set_caps): Take two caps, one for each side of the element.
23372
23373         * gst/gstpad.h:
23374         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23375         caps in place. This is safe because we can check the mutability of
23376         the caps, and a good idea because fixate functions are just called
23377         as a matter of last resort. (Not actually implemented.)
23378         (gst_pad_set_caps): If the caps we're setting is actually the same
23379         as the existing pad caps, just update the pointer without calling
23380         setcaps. Assert that caps is either NULL or fixed, as per the
23381         docs.
23382
23383         * gst/gstghostpad.c: Update for fixate changes.
23384
23385 2005-07-02  Andy Wingo  <wingo@pobox.com>
23386
23387         * gst/gstcaps.c:
23388         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23389         two refcounts makes it immutable, which is enough. Doc more.
23390
23391 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
23392
23393         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23394           Put the mini_object into GValue as a mini_object,
23395           not a gpointer, since that's how we declared
23396           the signal.
23397
23398 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23399
23400         * examples/pwg/Makefile.am:
23401           Fix buildbot again.
23402
23403 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23404
23405         * docs/pwg/building-testapp.xml:
23406           Add extra check.
23407         * examples/pwg/Makefile.am:
23408           Fix buildbot.
23409
23410 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23411
23412         * configure.ac:
23413         * examples/Makefile.am:
23414         * examples/pwg/Makefile.am:
23415         * examples/pwg/extract.pl:
23416           Enable building the PWG examples.
23417         * docs/pwg/advanced-interfaces.xml:
23418           Add URI interface stub.
23419         * docs/pwg/advanced-types.xml:
23420         * docs/pwg/other-autoplugger.xml:
23421         * docs/pwg/appendix-porting.xml:
23422         * docs/pwg/pwg.xml:
23423           Add porting guide (mostly stubs), remove autoplugging (see ADM).
23424         * docs/pwg/building-boiler.xml:
23425         * docs/pwg/building-chainfn.xml:
23426         * docs/pwg/building-pads.xml:
23427         * docs/pwg/building-props.xml:
23428         * docs/pwg/building-state.xml:
23429         * docs/pwg/building-testapp.xml:
23430           Update the building-*.xml parts for 0.9 changes. All examples
23431           code blocks compile in examples/pwg/*.
23432
23433 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23434
23435         * docs/manual/advanced-autoplugging.xml:
23436         * docs/manual/appendix-checklist.xml:
23437         * docs/manual/appendix-integration.xml:
23438         * docs/manual/highlevel-components.xml:
23439           Fix playbin/decodebin examples, update docs a bit, mention bus
23440           instead of signals in various places, mention kmplayer and
23441           kaffeine since they have a working GStreamer backend in the KDE
23442           section.
23443
23444 2005-06-30  Wim Taymans  <wim@fluendo.com>
23445
23446         * CHANGES-0.9:
23447         * docs/design/draft-ghostpads.txt:
23448         * docs/design/draft-push-pull.txt:
23449         * docs/design/draft-query.txt:
23450         * docs/design/part-TODO.txt:
23451         * docs/design/part-query.txt:
23452         Added CHANGES-0.9 doc, updated status of other docs.
23453         
23454         * gst/gstquery.h:
23455         Remove "hmm" macro
23456
23457 2005-06-30  Wim Taymans  <wim@fluendo.com>
23458
23459         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23460         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23461         (gst_base_sink_change_state):
23462         * gst/base/gstbasesink.h:
23463         Some tweaks, only EOS and a buffer complete a preroll.
23464
23465 2005-06-30  Andy Wingo  <wingo@pobox.com>
23466
23467         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23468         activate_push down to the internal pad as well.
23469
23470 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
23471
23472         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23473
23474         * gst/gsttaginterface.c:
23475           Some documentation fixes (#307394 and #307397).
23476
23477 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
23478
23479         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23480
23481         * gst/gstvalue.c: (gst_value_intersect_list):
23482           Fix memleak (#309125).
23483
23484 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23485
23486         * docs/manual/advanced-dataaccess.xml:
23487           Fix fakesrc example to compile; doesn't work, bug somewhere...?
23488         * docs/manual/basics-pads.xml:
23489           Add reference for filtered caps to above chapter.
23490
23491 2005-06-30  Wim Taymans  <wim@fluendo.com>
23492
23493         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23494         (gst_bin_change_state):
23495         Probes are gone.
23496         Lame attempt at making the state change function a bit
23497         more readable.
23498
23499 2005-06-30  Wim Taymans  <wim@fluendo.com>
23500
23501         * docs/design/part-clocks.txt:
23502         * docs/design/part-element-sink.txt:
23503         * docs/design/part-events.txt:
23504         * docs/design/part-preroll.txt:
23505         * docs/design/part-states.txt:
23506         Some more tweeks and additions to the docs.
23507
23508 2005-06-30  Wim Taymans  <wim@fluendo.com>
23509
23510         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23511         (default_have_data), (gst_pad_class_init), (gst_pad_init),
23512         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23513         (gst_pad_check_pull_range), (gst_pad_get_range),
23514         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23515         * gst/gstpad.h:
23516         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23517         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23518         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23519         (gst_pad_remove_buffer_probe):
23520         Removed atomic operations, use existing LOCK.
23521         Move exception handling out of main code path.
23522
23523 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23524
23525         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23526         (silly_return_true_function), (gst_pad_class_init),
23527         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23528         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23529         (gst_pad_send_event):
23530           Fix accumulator, add default value by using _emitv() instead
23531           of _emit() for signal emission.
23532
23533 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23534
23535         * docs/manual/advanced-dataaccess.xml:
23536         * examples/manual/Makefile.am:
23537           Add probe example.
23538         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23539           Make work (??).
23540
23541 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
23542
23543         * gst/elements/gstfilesink.c: (gst_filesink_render):
23544           Simplify code so that we don't have to handle short
23545           writes and return GST_FLOW_ERROR if an error occured.
23546
23547 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23548
23549         * docs/gst/gstreamer-docs.sgml:
23550           Remove probes more.
23551
23552 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23553
23554         * docs/gst/gstreamer-sections.txt:
23555         * docs/gst/tmpl/gstpad.sgml:
23556         * docs/gst/tmpl/gstprobe.sgml:
23557         * gst/Makefile.am:
23558         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23559         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23560         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23561         (gst_pad_push_event), (gst_pad_send_event):
23562         * gst/gstpad.h:
23563         * gst/gstutils.c: (gst_pad_add_data_probe),
23564         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23565         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23566         (gst_pad_remove_buffer_probe):
23567         * gst/gstutils.h:
23568           Remove old probes, add new g-signal-based probes and some utility
23569           functions.
23570
23571 2005-06-29  Edward Hervey  <edward@fluendo.com>
23572
23573         * gst/gstelementfactory.c:
23574         * gst/gstutils.h:
23575         * gst/gstutils.c:
23576         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23577         the definition to the header file.
23578
23579 2005-06-29  Andy Wingo  <wingo@pobox.com>
23580
23581         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23582         plugins from the source directory.
23583
23584 2005-06-29  Wim Taymans  <wim@fluendo.com>
23585
23586         * docs/gst/tmpl/gstbuffer.sgml:
23587         * docs/gst/tmpl/gstclock.sgml:
23588         Some fixings for blantently wrong text.
23589
23590 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23591
23592         * check/Makefile.am:
23593         * gst/gst.c: (add_path_func), (init_pre):
23594         * gst/gstregistry.c: (gst_registry_add_path):
23595           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23596           only scan the GST_PLUGIN_PATH locations, and not add
23597           system locations
23598
23599 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23600
23601         * docs/gst/gstreamer-sections.txt:
23602         * docs/gst/tmpl/gstbasesrc.sgml:
23603         * gst/gstelement.c:
23604         * gst/gstelement.h:
23605         * gst/gstevent.c:
23606         * gst/gstutils.c:
23607           doc fixes
23608
23609 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23610
23611         * docs/manual/advanced-autoplugging.xml:
23612           Fix autoplugging example.
23613
23614 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23615
23616         * docs/manual/advanced-autoplugging.xml:
23617         * docs/manual/mime-world.fig:
23618           Try to get autoplugging working, fix type detection. Fix text
23619           in hello-world image.
23620
23621 2005-06-29  Wim Taymans  <wim@fluendo.com>
23622
23623         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23624         (gst_base_sink_change_state):
23625         Small debug line.
23626
23627         * gst/gstclock.h:
23628         map SIGNAL and BROADCAST to the right function.
23629
23630         * gst/gstobject.h:
23631         Remove redundant braces.
23632
23633         * gst/gstpad.c: (gst_pad_set_caps):
23634         Don't call setcaps function when reseting caps to NULL.
23635
23636         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23637         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23638         (gst_system_clock_id_unschedule):
23639         Use BROADCAST as this is what we do.
23640
23641 2005-06-29  Wim Taymans  <wim@fluendo.com>
23642
23643         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23644         We are actually prerolling before commiting the state
23645         change. 
23646
23647 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23648
23649         * docs/manual/advanced-clocks.xml:
23650         * docs/manual/advanced-interfaces.xml:
23651         * docs/manual/advanced-metadata.xml:
23652         * docs/manual/advanced-position.xml:
23653         * docs/manual/advanced-schedulers.xml:
23654         * docs/manual/advanced-threads.xml:
23655         * docs/manual/appendix-porting.xml:
23656         * docs/manual/basics-bins.xml:
23657         * docs/manual/basics-bus.xml:
23658         * docs/manual/basics-elements.xml:
23659         * docs/manual/basics-helloworld.xml:
23660         * docs/manual/basics-pads.xml:
23661         * docs/manual/highlevel-components.xml:
23662         * docs/manual/manual.xml:
23663         * docs/manual/thread.fig:
23664           Update (until threads/scheduling) Application Development Manual;
23665           remove GstThread, add GstBus, add simple porting checklist, add
23666           documentation for tag writing, clocks, make all examples until this
23667           part compile and run.
23668         * examples/manual/Makefile.am:
23669           Update from changes to Application Development Manual; add bus
23670           example, remove thread example.
23671
23672 2005-06-28  Wim Taymans  <wim@fluendo.com>
23673
23674         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23675         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23676         (gst_bus_source_dispatch):
23677         Add debugging messages.
23678         Make internal methods static.
23679         Handle the case where the bus is flushed in the handler.
23680         
23681         * gst/gstelement.c: (gst_element_get_bus):
23682         Fix refcount in _get_bus();
23683
23684         * gst/gstpipeline.c: (gst_pipeline_change_state),
23685         (gst_pipeline_get_clock_func):
23686         Clock refcounting fixes.
23687         Handle the case where preroll timed out more gracefully.
23688         
23689         * gst/gstsystemclock.c: (gst_system_clock_dispose):
23690         Clean up the internal thread in dispose. This is needed
23691         for subclasses that actually get disposed.
23692         
23693         * gst/schedulers/threadscheduler.c:
23694         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23695         (gst_thread_scheduler_dispose):
23696         Free thread pool in dispose.
23697
23698 2005-06-28  Andy Wingo  <wingo@pobox.com>
23699
23700         * tests/network-clock-utils.scm (debug, print-event): New utils.
23701
23702         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23703         (*packet-loss*): Unified loss probability.
23704         (network-time): Report out-of-band events.
23705
23706         * tests/plot-data: Add support for out-of-band events. Hack it
23707         into this script instead of passing it down the pipe; should fix
23708         this later.
23709
23710 2005-06-28  Wim Taymans  <wim@fluendo.com>
23711
23712         * docs/gst/gstreamer.types:
23713         * docs/gst/tmpl/gstbasesrc.sgml:
23714         * docs/gst/tmpl/gstpad.sgml:
23715         Docs fixes.
23716
23717 2005-06-28  Wim Taymans  <wim@fluendo.com>
23718
23719         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23720         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23721         (gst_proxy_pad_do_fixatecaps):
23722         Correctly proxy the check_pull_range function.
23723
23724 2005-06-28  Andy Wingo  <wingo@pobox.com>
23725
23726         * tests/network-clock.scm: Removed need for slib.
23727         
23728 2005-06-28  Wim Taymans  <wim@fluendo.com>
23729
23730         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23731         (gst_basesink_preroll_queue_flush):
23732         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23733         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23734         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23735         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23736         (gst_proxy_pad_set_property):
23737         * gst/gstpad.c:
23738         * gst/gstpad.h:
23739         * gst/gstqueue.c: (gst_queue_init):
23740         The deprecated pad loop function is removed now.
23741
23742 2005-06-28  Andy Wingo  <wingo@pobox.com>
23743
23744         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23745         New parameters, simulate network packet loss.
23746
23747         * tests/network-clock-utils.scm: Initialize the RNG.
23748
23749 2005-06-28  Wim Taymans  <wim@fluendo.com>
23750
23751         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23752         (gst_basesink_event), (gst_basesink_deactivate):
23753         Flushing the preroll queue always needs to unlock the waiters.
23754
23755 2005-06-28  Edward Hervey  <edward@fluendo.com>
23756
23757         * gst/gstpipeline.c: (gst_pipeline_send_event): 
23758         Wheen a seek was successful on a pipeline, set the stream_time to the
23759         seek offset in order to have a synchronized stream_time.
23760
23761 2005-06-28  Wim Taymans  <wim@fluendo.com>
23762
23763         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23764         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23765         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23766         (gst_proxy_pad_do_fixatecaps):
23767         Call wrapper function instead of just calling the function
23768         pointers. This takes care of any locking and whatmore.
23769
23770 2005-06-28  Wim Taymans  <wim@fluendo.com>
23771
23772         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23773         (gst_pad_pull_range):
23774         * gst/gstpad.h:
23775         CONNECTED -> LINKED.
23776
23777 2005-06-28  Andy Wingo  <wingo@pobox.com>
23778
23779         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23780         source-munging commit!!!
23781
23782         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
23783         (gst_object_sink): Take gpointer arguments, not GstObject --
23784         avoids casts. Like GLib.
23785
23786         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23787         activate.
23788
23789 2005-06-27  Andy Wingo  <wingo@pobox.com>
23790
23791         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23792         remaining buffer.
23793
23794         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23795         returns a sorted copy of the trace list.
23796         (gst_alloc_trace_print_live): New API, only prints traces with
23797         live objects. Sort the list.
23798         (gst_alloc_trace_print_all): Sort the list.
23799         (gst_alloc_trace_print): Align columns.
23800
23801         * gst/elements/gstttypefindelement.c:
23802         * gst/elements/gsttee.c:
23803         * gst/base/gstbasesrc.c:
23804         * gst/base/gstbasesink.c:
23805         * gst/base/gstbasetransform.c:
23806         * gst/gstqueue.c: Adapt for pad activation changes.
23807
23808         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23809         sched.
23810         (gst_pipeline_dispose): Drop ref on sched.
23811
23812         * gst/gstpad.c (gst_pad_init): Set the default activate func.
23813         (gst_pad_activate_default): Push mode by default.
23814         (pre_activate_switch, post_activate_switch): New stubs, things to
23815         do before and after switching activation modes on pads.
23816         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23817         the pad's activate function to choose which mode to activate.
23818         Shortcut on deactivation and call the right function directly.
23819         (gst_pad_activate_pull): New API, (de)activates a pad in pull
23820         mode.
23821         (gst_pad_activate_push): New API, same for push mode.
23822         (gst_pad_set_activate_function) 
23823         (gst_pad_set_activatepull_function) 
23824         (gst_pad_set_activatepush_function): Setters for new API.
23825
23826         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23827         Trace all miniobjects.
23828         (gst_mini_object_make_writable): Unref the arg if we copy, like
23829         gst_caps_make_writable.
23830
23831         * gst/gstmessage.c (_gst_message_initialize): No trace init.
23832
23833         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
23834         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23835         Adapt for new pad API.
23836
23837         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23838
23839         * gst/gstelement.h:
23840         * gst/gstelement.c (gst_element_iterate_src_pads) 
23841         (gst_element_iterate_sink_pads): New API functions.
23842         
23843         * gst/gstelement.c (iterator_fold_with_resync): New utility,
23844         should fold into gstiterator.c in some form.
23845         (gst_element_pads_activate): Simplified via use of fold and
23846         delegation of decisions to gstpad->activate.
23847
23848         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23849         help in debugging.
23850
23851         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23852         class once in init, like gstmessage. Didn't run into this issue
23853         but it seems correct. Don't initialize a trace, gstminiobject does
23854         that.
23855
23856         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23857         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23858         to the bus.
23859         (assert_live_count): New util function, uses alloc traces to check
23860         cleanup.
23861
23862         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23863         To be modified when unlink drops the internal pad.
23864
23865 2005-06-27  Wim Taymans  <wim@fluendo.com>
23866
23867         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23868         (gst_bin_change_state):
23869         Cleanup the get_state() function a little, make sure it
23870         iterates the same set of elements.
23871         Added stub iterate_state_order().
23872
23873 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
23874
23875         * docs/gst/gstreamer-docs.sgml:
23876         * docs/gst/gstreamer-sections.txt:
23877         * docs/gst/gstreamer.types:
23878         * docs/gst/tmpl/gstbasesink.sgml:
23879         * docs/gst/tmpl/gstbasesrc.sgml:
23880         * docs/gst/tmpl/gstbasetransform.sgml:
23881         * docs/gst/tmpl/gstelement.sgml:
23882         * docs/gst/tmpl/gstiterator.sgml:
23883         * gst/base/gstbasesrc.c:
23884         * gst/base/gstbasesrc.h:
23885         * gst/base/gstbasetransform.h:
23886         * gst/gstelement.c:
23887         * gst/gstiterator.h:
23888           adding basetransform and iterator docs
23889
23890 2005-06-27  Andy Wingo  <wingo@pobox.com>
23891
23892         * docs/design/part-activation.txt: Notes on how activation should
23893         work -- not quite implemented yet.
23894
23895 2005-06-25  Wim Taymans  <wim@fluendo.com>
23896
23897         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23898         At least get the chain function correct, needs more
23899         fixing.
23900
23901 2005-06-25  Wim Taymans  <wim@fluendo.com>
23902
23903         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23904         (gst_basesink_handle_object), (gst_basesink_event),
23905         (gst_basesink_do_sync), (gst_basesink_handle_event),
23906         (gst_basesink_change_state):
23907         * gst/gsttask.h:
23908         Right, two problems here: ghostpads don't take locks and
23909         glib _rec_mutex_lock_full() with depth==0 still locks.
23910         Catch illegal locking and g_warn them.
23911
23912 2005-06-25  Wim Taymans  <wim@fluendo.com>
23913
23914         * check/states/sinks.c: (START_TEST), (gst_object_suite):
23915         Have to check for completion now...
23916
23917 2005-06-25  Wim Taymans  <wim@fluendo.com>
23918
23919         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23920         (gst_basesink_handle_object), (gst_basesink_event),
23921         (gst_basesink_do_sync), (gst_basesink_handle_event),
23922         (gst_basesink_change_state):
23923         * gst/gstpad.h:
23924         Unlock STREAM_LOCK whatever the recursion was.
23925
23926 2005-06-25  Wim Taymans  <wim@fluendo.com>
23927
23928         * gst/base/gstbasesink.c: (gst_basesink_set_property),
23929         (gst_basesink_preroll_queue_empty),
23930         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23931         (gst_basesink_event), (gst_basesink_do_sync),
23932         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23933         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23934         (gst_basesink_change_state):
23935         Reworked the base sink, handle event and buffer serialisation
23936         correctly and removed possible deadlock.
23937         Handle EOS correctly.
23938
23939 2005-06-25  Wim Taymans  <wim@fluendo.com>
23940
23941         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23942         (gst_pipeline_change_state):
23943         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23944         Allow elements to post EOS in the state change function.
23945         Fix up -launch, make it exit the poll loop when the
23946         pipeline actually changed state.
23947         Fix up warning parsing in -launch.
23948
23949 2005-06-25  Wim Taymans  <wim@fluendo.com>
23950
23951         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23952         (gst_tee_sink_activate):
23953         Core takes STREAM_LOCK for us now.
23954
23955 2005-06-25  Wim Taymans  <wim@fluendo.com>
23956
23957         * gst/gstelement.c: (gst_element_get_state_func),
23958         (gst_element_set_state):
23959         * gst/gstelement.h:
23960         * gst/gstmessage.c: (gst_message_parse_error),
23961         (gst_message_parse_warning):
23962         Keep track of current target state while performing a state
23963         change so that subclasses can do something interesting.
23964         Fix parsing of warning/error messages when GError is NULL.
23965
23966 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23967
23968         * docs/gst/Makefile.am:
23969         * docs/gst/gstreamer-docs.sgml:
23970         * docs/gst/gstreamer-sections.txt:
23971         * docs/gst/gstreamer.types:
23972         * docs/gst/tmpl/gstbasesink.sgml:
23973         * docs/gst/tmpl/gstbasesrc.sgml:
23974         * docs/gst/tmpl/gstbin.sgml:
23975         * docs/gst/tmpl/gstcompat.sgml:
23976         * docs/gst/tmpl/gstfakesink.sgml:
23977         * docs/gst/tmpl/gstfakesrc.sgml:
23978         * docs/gst/tmpl/gstfilesink.sgml:
23979         * docs/gst/tmpl/gstfilesrc.sgml:
23980         * docs/gst/tmpl/gstindex.sgml:
23981         * docs/manual/appendix-quotes.xml:
23982         * gst/base/gstbasesrc.h:
23983         * gst/elements/gstfakesrc.h:
23984         * gst/gstmessage.h:
23985           start pulling in base classes and elements in our docs
23986
23987 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
23988
23989         * docs/gst/Makefile.am:
23990         * docs/libs/Makefile.am:
23991           fixed make distcheck with gtk-doc 1.3
23992
23993 2005-06-23  Wim Taymans  <wim@fluendo.com>
23994
23995         * gst/gstelement.c: (gst_element_get_state_func),
23996         (gst_element_set_state), (gst_element_change_state):
23997         When the state did not change, also report NO_PREROLL
23998         when it matters.
23999
24000 2005-06-23  Wim Taymans  <wim@fluendo.com>
24001
24002         * gst/gstpad.c: (gst_pad_event_default):
24003         * gst/gstqueue.c: (gst_queue_loop):
24004         No unsafe task pausing please.
24005
24006 2005-06-23  Wim Taymans  <wim@fluendo.com>
24007
24008         * gst/schedulers/threadscheduler.c:
24009         (gst_thread_scheduler_task_start),
24010         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
24011         Ref the task before pushing it on the threadpool. This
24012         makes sure that we have a ref when the threadfunction is
24013         actually called.
24014
24015 2005-06-23  Andy Wingo  <wingo@pobox.com>
24016
24017         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
24018         offset is greater than the file's size.
24019
24020         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
24021         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
24022         * gst/gstobject.c (gst_object_class_init): Make the class lock
24023         recursive. Wim won't let me drop deep_notify. Decodebin works
24024         again, whoopdy doo.
24025
24026         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
24027         internal pad, and hacks accordingly. Doesn't do it on the target
24028         pad because we change its caps. Probably catches all cases of
24029         interest tho.
24030         (gst_ghost_pad_set_property): Connect to notify::caps as
24031         appropritate.
24032
24033         * tests/network-clock.scm (plot-simulation): Pipe data to the
24034         elite python skript.
24035
24036         * tests/network-clock-utils.scm (define-parameter): New macro,
24037         defines a parameter that can be set via the command line.
24038         (set-parameter!, parse-parameter-arguments): Command line args
24039         parser.
24040
24041         * tests/plot-data: Simple matplotlib-based plotter, takes input on
24042         stdin.
24043
24044 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
24045
24046         * gst/elements/gsttypefindelement.c:
24047         (gst_type_find_element_handle_event):
24048           Don't restart typefinding on a discont.
24049         * gst/gstelement.c: (gst_element_set_state):
24050           Debug spelling fix.
24051         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
24052           Allow changing mode of an active pad.
24053           Debug output fixes.
24054         * gst/registries/gstlibxmlregistry.c: (load_feature):
24055           Don't cast a static pad template to a normal pad template.
24056
24057 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24058
24059         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24060         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
24061           remove gst_strtoll completely, since it didn't actually do
24062           anything more than what g_ascii_strtoull already does.
24063           check for range errors when deserializing
24064           do a cast for the unsigned cases; but further fixing needs
24065           a decision on what the interpretation of "(int)" and
24066           deserialization should be for values that fall outside the
24067           type's boundaries (ie, refuse, or interpret as casting)
24068
24069 2005-06-23  Wim Taymans  <wim@fluendo.com>
24070
24071         * check/Makefile.am:
24072         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
24073         * docs/design/part-live-source.txt:
24074         * docs/design/part-states.txt:
24075         * gst/base/gstbasesrc.c: (gst_basesrc_init),
24076         (gst_basesrc_set_live), (gst_basesrc_is_live),
24077         (gst_basesrc_get_range), (gst_basesrc_activate),
24078         (gst_basesrc_change_state):
24079         * gst/base/gstbasesrc.h:
24080         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24081         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24082         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
24083         * gst/gstelement.c: (gst_element_get_state_func),
24084         (gst_element_set_state):
24085         * gst/gstelement.h:
24086         * gst/gsttypes.h:
24087         * tools/gst-launch.c: (event_loop), (main):
24088         Added support for live sources and other elements that
24089         cannot do preroll.
24090         Updated design docs, added live-source design doc.
24091         Implemented live source functionality in basesrc
24092         Fix error condition in _bin_get_state()
24093         Implement live source handling in -launch.
24094         Added check for live sources.
24095         Fixed case in GstBin where elements were changed state
24096         multiple times.
24097
24098
24099 2005-06-23  Andy Wingo  <wingo@pobox.com>
24100
24101         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
24102         borken refcounting.
24103
24104         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
24105         gst_caps_replace takes care of this for us.
24106
24107         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
24108         gst_pad_set_caps on the target, not just its setcaps() function.
24109
24110         * tests/network-clock.scm: 
24111         * tests/network-clock-utils.scm: A network clock simulator.
24112         Something of an algorithmic testbed before doing something in C.
24113
24114 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24115
24116         * check/Makefile.am:
24117         * check/gst/capslist.h:
24118           copy over from 0.8, and add two with bitmasks specified with
24119           (int) 0xFF...
24120         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24121           add test to parse everything from capslist.h
24122         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
24123         (main):
24124           add test for structure deserialization
24125         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24126           add tests for deserialization of strings to int types
24127         * gst/gststructure.c: (gst_structure_nth_field_name):
24128         * gst/gststructure.h:
24129           add a way to get the name of a field referenced by index
24130         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
24131           instead of checking if the resulting long long lies between
24132           min and max, we check if the long long would fit into
24133           a number of bytes for the final type.
24134           This fixes cases where a string represents 2^32 - 1, which
24135           when cast to int would be the (valid) -1, but is bigger than
24136           G_MAXINT
24137
24138 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24139
24140         * gst/parse/grammar.y:
24141           add a log line for type deserialization
24142
24143 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24144
24145         * check/gst/gstvalue.c: (START_TEST):
24146         * gst/gstvalue.c: (gst_value_deserialize):
24147           return long long, not int, so gint64 deserialization actually
24148           works.  Is there any flag that makes the compiler check this ?
24149           Fixes #308559
24150
24151 2005-06-22  Wim Taymans  <wim@fluendo.com>
24152
24153         * gst/gstbuffer.h:
24154         Added convenience macros for setting buffers in GValue.
24155
24156 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24157
24158         * check/gst/.cvsignore:
24159         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24160           add a test deserializing int64, and comment part out because
24161           it fails, yay !
24162
24163 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24164
24165         * check/Makefile.am:
24166         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
24167         * testsuite/Makefile.am:
24168         * testsuite/caps/Makefile.am:
24169         * testsuite/caps/value_serialize.c:
24170         * testsuite/test_gst_init.c:
24171           move a value_serialize test over
24172
24173 2005-06-20  Wim Taymans  <wim@fluendo.com>
24174
24175         * gst/gstpad.c:
24176         Small doc updates.
24177         
24178         * gst/gstvalue.c: (gst_value_compare_buffer),
24179         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
24180         (gst_value_compare_flags), (gst_value_serialize_flags),
24181         (gst_value_deserialize_flags), (_gst_value_initialize):
24182         Fix serialisation of buffers, they are not boxed types anymore
24183
24184 2005-06-20  Wim Taymans  <wim@fluendo.com>
24185
24186         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24187         Testcase to show error in buffer-on-caps serialisation.
24188
24189 2005-06-20  Andy Wingo  <wingo@pobox.com>
24190
24191         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
24192         will be adding to later.
24193
24194         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
24195         if its socks fill with rocks.
24196         (gst_system_clock_obtain): Set the name on object construction.
24197         Avoid double-checked locking.
24198
24199 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
24200
24201         * gst/gsturi.c: (gst_element_make_from_uri):
24202           Fix potential endless loop.
24203
24204 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24205
24206         * check/Makefile.am:
24207           add gsttag
24208         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
24209         (main):
24210           move over from testsuite dir and clean up
24211         * configure.ac:
24212         * gst/gsttag.c:
24213         * testsuite/Makefile.am:
24214         * testsuite/tags/.cvsignore:
24215         * testsuite/tags/Makefile.am:
24216         * testsuite/tags/merge.c:
24217           remove testsuite/tags
24218
24219 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24220
24221         * docs/gst/gstreamer-sections.txt:
24222         * docs/gst/tmpl/gstenumtypes.sgml:
24223         * win32/gstenumtypes.c:
24224           clean up documentation build a little
24225
24226 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24227
24228         * check/gstcheck.h:
24229           add macros for checking refcounts on objects and caps
24230         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24231           add some more unit tests
24232         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24233         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24234           fix leaked refcounts (I hope :)) so unittest works
24235         * gst/gstpad.h:
24236           whitespace removal
24237
24238 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24239
24240         * configure.ac: back to HEAD
24241
24242 === release 0.9.1 ===
24243
24244 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24245
24246         * NEWS:
24247         * RELEASE:
24248           updated
24249
24250 2005-06-17  Andy Wingo  <wingo@pobox.com>
24251
24252         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24253         assert; it's always possible that the pad gets deactivated in
24254         between the checks in gstpad.c and the implementation. Rely on
24255         finish_preroll() to return a FLUSHING or similar instead of on the
24256         assert.
24257         
24258         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24259         clock and post an EOS message if we come out of finish_preroll in
24260         the playing state.
24261
24262 2005-06-16  David Schleef  <ds@schleef.org>
24263
24264         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24265         (gst_capsfilter_set_property): Allow NULL as possible value
24266         for filter_caps property, indicating GST_CAPS_ANY.
24267
24268 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24269
24270         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24271           fix debug output
24272         * gst/schedulers/Makefile.am:
24273           use libgst prefix
24274         * gstreamer.spec.in:
24275           fix spec for it
24276
24277 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24278
24279         * gstreamer.spec.in:
24280           clean up
24281
24282 2005-06-08  Andy Wingo  <wingo@pobox.com>
24283
24284         * gst/gstutils.c: RPAD fixes all around.
24285         (gst_element_link_pads): Refcounting fixes.
24286
24287         * tools/gst-inspect.c:
24288         * tools/gst-xmlinspect.c:
24289         * parse/grammar.y:
24290         * gst/base/gsttypefindhelper.c:
24291         * gst/base/gstbasesink.c:
24292         * gst/gstqueue.c: RPAD fixes.
24293
24294         * gst/gstghostpad.h:
24295         * gst/gstghostpad.c: New ghost pad implementation as full proxy
24296         pads. The tricky thing is they provide both source and sink
24297         interfaces, since they proxy the internal pad for the external
24298         pad, and vice versa. Implement with lower-level ProxyPad objects,
24299         with the interior proxy pad as a child of the exterior ghost pad.
24300         Should write a doc on this.
24301         
24302         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24303         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24304         gst_object API.
24305         
24306         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24307         pads are real pads. No ghost pads in this file. Not documenting
24308         the myriad s/RPAD/PAD/ and REALIZE fixes.
24309         (gst_pad_class_init): Add properties for "direction" and
24310         "template". Both are construct-only, so they can't change during
24311         the life of the pad. Fixes properly deriving from GstPad.
24312         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24313         derived objects, just set properties when creating the objects via
24314         g_object_new.
24315         (gst_pad_get_parent): Implement as a function, return NULL if the
24316         parent is not an element.
24317         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24318         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24319         
24320         * gst/gstobject.c (gst_object_class_init): Make name a construct
24321         property. Don't set it in the object init.
24322
24323         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24324         with UNKNOWN direction.
24325         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24326         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24327         (gst_element_remove_pad): Remove ghost-pad special cases.
24328         (gst_element_pads_activate): Remove rpad cruft.
24329
24330         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24331         catch the pad's-parent-not-an-element case.
24332
24333         * gst/gst.h: Include gstghostpad.h.
24334
24335         * gst/gst.c (init_post): No more real, ghost pads.
24336
24337         * gst/Makefile.am: Add gstghostpad.[ch].
24338
24339         * check/Makefile.am:
24340         * check/gst/gstbin.c:
24341         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24342         into a bin creates ghost pads, and that the refcounts are right.
24343         Partly moved from gstbin.c.
24344
24345 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24346
24347         * check/gst-libs/.cvsignore:
24348         * check/gst/.cvsignore:
24349         * check/pipelines/.cvsignore:
24350           ignore more
24351         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24352         (START_TEST), (cleanup_suite), (main):
24353           add some tests related to cleanup after running pipelines
24354
24355 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24356
24357         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24358           add a testsuite for GstBuffer
24359
24360 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24361
24362         * gst/gstminiobject.h:
24363           add defines for accessing the refcount
24364
24365 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
24366
24367         * Makefile.am: added support for html unit test coverage reports
24368
24369 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
24370
24371         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24372           Free existing caps if the capsfilter changes. Add a FIXME about
24373           setting those caps on the pads.
24374
24375         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24376           Before adding a ghost pad to a parent bin, check that there isn't
24377           already one for the element on the bin. Prevents infinite recursion
24378           when using decodebin in parse pipelines. Andy says he'll rewrite the
24379           way this works anyway, so ignore the hack.
24380
24381 2005-06-02  Andy Wingo  <wingo@pobox.com>
24382
24383         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24384         file size, pass it on to the type find helper.
24385
24386         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24387         segment_start and segment_end properly according to the seek
24388         method. Segment_end is still a bit flaky because offset can be
24389         negative for CUR and END cases, but it takes -1 as an "unset"
24390         value.
24391
24392 2005-06-02  Wim Taymans  <wim@fluendo.com>
24393
24394         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24395         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24396         (gst_basesink_activate):
24397         * gst/base/gstbasesink.h:
24398         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24399         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24400         (gst_pad_query), (gst_pad_start_task):
24401         * gst/gstpad.h:
24402         * gst/gstqueue.c: (gst_queue_bufferalloc),
24403         (gst_queue_handle_sink_event), (gst_queue_chain):
24404         Bufferalloc: return GstFlowReturn to more accuratly report
24405         why allocation failed.
24406
24407 2005-06-02  Wim Taymans  <wim@fluendo.com>
24408
24409         * gst/gstpipeline.c: (gst_pipeline_send_event):
24410         Take snapshot of state without blocking.
24411
24412 2005-06-02  Wim Taymans  <wim@fluendo.com>
24413
24414         * docs/design/part-TODO.txt:
24415         * docs/design/part-caps.txt:
24416         * docs/design/part-clocks.txt:
24417         * docs/design/part-negotiation.txt:
24418         * docs/design/part-preroll.txt:
24419         Small doc updates 
24420
24421 2005-05-30  Wim Taymans  <wim@fluendo.com>
24422
24423         * gst/elements/gstidentity.c: (gst_identity_event),
24424         (gst_identity_transform), (gst_identity_get_property):
24425         Protect last_message property as it is accessed from
24426         multiple threads.
24427
24428 2005-05-30  Wim Taymans  <wim@fluendo.com>
24429
24430         * gst/gstelement.c: (gst_element_init),
24431         (gst_element_pads_activate), (gst_element_change_state):
24432         Slicker pad activation code.
24433
24434 2005-05-30  Wim Taymans  <wim@fluendo.com>
24435
24436         * gst/Makefile.am:
24437         * gst/gstelement.h:
24438         * gst/gstelementfactory.h:
24439         * gst/gsttypes.h:
24440         Move elementfactory methods to separate .h file.
24441
24442 2005-05-30  Wim Taymans  <wim@fluendo.com>
24443
24444         * docs/design/part-overview.txt:
24445         * gst/gstsystemclock.h:
24446         Small typo fixes, doc updates.
24447
24448 2005-05-30  Wim Taymans  <wim@fluendo.com>
24449
24450         * gst/gst.c: (gst_init_get_popt_table), (init_post),
24451         (init_popt_callback):
24452         Remove cpu-opt flag.
24453
24454 2005-05-30  Wim Taymans  <wim@fluendo.com>
24455
24456         * gst/gstbuffer.c: (gst_subbuffer_finalize),
24457         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24458         * gst/gstbuffer.h:
24459         Avoid typechecking in places where not needed.
24460         Added accessor for malloc_data.
24461
24462 2005-05-30  Wim Taymans  <wim@fluendo.com>
24463
24464         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24465         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24466         (gst_pad_configure_sink), (gst_pad_configure_src),
24467         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24468         (gst_pad_start_task):
24469         Propagate errors from _set_caps() in configure_src/sink
24470         functions instead of returning TRUE.
24471         FLUSH events can travel up and downstream
24472
24473
24474 2005-05-30  Wim Taymans  <wim@fluendo.com>
24475
24476         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24477         (gst_basesink_activate):
24478         Handle EOS in preroll.
24479
24480 2005-05-30  Wim Taymans  <wim@fluendo.com>
24481
24482         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24483         (gst_queue_loop), (gst_queue_handle_src_event):
24484         Remove old pieces of code
24485         Flushing the queue in an upstream event is a very bad idea.
24486
24487 2005-05-26  Andy Wingo  <wingo@pobox.com>
24488
24489         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24490         gst_value_set_mini_object so as to add a ref on the object (which
24491         will be removed when the value is unset).
24492
24493         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24494         arg type in ::handoff.
24495
24496         * gst/gstelement.c (gst_element_change_state): Also deactivate
24497         pads in READY->NULL, just in case the element didn't make it to
24498         PAUSED. Wingo tested, Wim approved.
24499
24500 2005-05-26  Wim Taymans  <wim@fluendo.com>
24501
24502         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24503         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24504         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24505         A flushing pad cannot be used to alloc_buffer from.
24506
24507 2005-05-26  Wim Taymans  <wim@fluendo.com>
24508
24509         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24510         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24511         (gst_bus_source_dispatch), (gst_bus_source_finalize),
24512         (gst_bus_create_watch), (gst_bus_add_watch_full):
24513         * gst/gstbus.h:
24514         Implement a real GSource and use g_main_context_wakeup() to
24515         signal new messages instead of the socketpair.
24516
24517 2005-05-25  Wim Taymans  <wim@fluendo.com>
24518
24519         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24520         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24521         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24522         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24523         (gst_pad_send_event), (gst_pad_start_task):
24524         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24525         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24526         (gst_queue_sink_activate), (gst_queue_src_activate),
24527         (gst_queue_change_state):
24528         * gst/gstqueue.h:
24529         Fix state changes for non sinks. We now change sinks, then elements
24530         with unconnected srcpads, then the rest.
24531         More efficient queue unlocking in flush and state changes.
24532         Set the pad activate mode even if it does not have an activate
24533         function.
24534
24535 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24536
24537         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24538           Don't go in pull mode for non-seekable sources.
24539         * gst/elements/gsttypefindelement.h:
24540         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24541         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24542         (free_entry), (stop_typefinding),
24543         (gst_type_find_element_handle_event), (find_peek),
24544         (gst_type_find_element_chain), (do_pull_typefind),
24545         (gst_type_find_element_change_state):
24546           Allow typefinding (w/o seeking) in push-mode, simplified version
24547           of what was in 0.8.
24548         * gst/gstutils.c: (gst_buffer_join):
24549         * gst/gstutils.h:
24550           gst_buffer_join() from 0.8.
24551
24552 2005-05-25  Wim Taymans  <wim@fluendo.com>
24553
24554         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24555         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24556         (gst_pad_send_event), (gst_pad_start_task):
24557         Disable attempt at mode switching until it is figured out.
24558
24559 2005-05-25  Wim Taymans  <wim@fluendo.com>
24560
24561         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24562         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24563         (gst_basesink_finish_preroll), (gst_basesink_chain),
24564         (gst_basesink_loop), (gst_basesink_activate),
24565         (gst_basesink_change_state):
24566         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24567         (gst_basesrc_get_range), (gst_basesrc_loop),
24568         (gst_basesrc_activate):
24569         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24570         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24571         (gst_real_pad_init), (gst_real_pad_set_property),
24572         (gst_real_pad_get_property), (gst_pad_set_active),
24573         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24574         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24575         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24576         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24577         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24578         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24579         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24580         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24581         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24582         (gst_pad_stop_task):
24583         * gst/gstpad.h:
24584         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24585         (gst_queue_loop), (gst_queue_src_activate):
24586         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24587         (gst_task_get_state):
24588         * gst/gsttask.h:
24589         * gst/schedulers/threadscheduler.c:
24590         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24591         Implement gst_pad_pause/start/stop_task(), take STREAM lock
24592         in task function.
24593         Remove ACTIVE pad flag, use FLUSHING everywhere
24594         Added _pad_chain(), _pad_get_range() to call chain/getrange 
24595         functions.
24596         Add locks around IS_FLUSHING when reading.
24597         Take STREAM lock in chain(), get_range() functions so plugins
24598         don't need to take it anymore.
24599         
24600
24601
24602 2005-05-25  Wim Taymans  <wim@fluendo.com>
24603
24604         * tools/gst-launch.c: (event_loop):
24605         Unref message after using its contents instead of
24606         before.
24607
24608 2005-05-24  Wim Taymans  <wim@fluendo.com>
24609
24610         * docs/design/draft-ghostpads.txt:
24611         * docs/design/draft-push-pull.txt:
24612         * docs/design/draft-query.txt:
24613         * docs/design/part-overview.txt:
24614         Docs updates, added general overview doc.
24615
24616 2005-05-21  David Schleef  <ds@schleef.org>
24617
24618         * docs/gst/tmpl/old/GstBin.sgml:
24619         * docs/gst/tmpl/old/GstBuffer.sgml:
24620         * docs/gst/tmpl/old/GstCaps.sgml:
24621         * docs/gst/tmpl/old/GstClock.sgml:
24622         * docs/gst/tmpl/old/GstCompat.sgml:
24623         * docs/gst/tmpl/old/GstData.sgml:
24624         * docs/gst/tmpl/old/GstElement.sgml:
24625         * docs/gst/tmpl/old/GstEvent.sgml:
24626         * docs/gst/tmpl/old/GstIndex.sgml:
24627         * docs/gst/tmpl/old/GstStructure.sgml:
24628         * docs/gst/tmpl/old/GstTag.sgml:
24629         * docs/gst/tmpl/old/cothreads.sgml:
24630         * docs/gst/tmpl/old/cothreads_compat.sgml:
24631         * docs/gst/tmpl/old/gettext.sgml:
24632         * docs/gst/tmpl/old/gobject2gtk.sgml:
24633         * docs/gst/tmpl/old/grammar.tab.sgml:
24634         * docs/gst/tmpl/old/gst-i18n-app.sgml:
24635         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24636         * docs/gst/tmpl/old/gst_private.sgml:
24637         * docs/gst/tmpl/old/gstaggregator.sgml:
24638         * docs/gst/tmpl/old/gstarch.sgml:
24639         * docs/gst/tmpl/old/gstatomic_impl.sgml:
24640         * docs/gst/tmpl/old/gstbufferstore.sgml:
24641         * docs/gst/tmpl/old/gstdata_private.sgml:
24642         * docs/gst/tmpl/old/gstdisksink.sgml:
24643         * docs/gst/tmpl/old/gstdisksrc.sgml:
24644         * docs/gst/tmpl/old/gstelementfactory.sgml:
24645         * docs/gst/tmpl/old/gstextratypes.sgml:
24646         * docs/gst/tmpl/old/gstfakesink.sgml:
24647         * docs/gst/tmpl/old/gstfakesrc.sgml:
24648         * docs/gst/tmpl/old/gstfdsink.sgml:
24649         * docs/gst/tmpl/old/gstfdsrc.sgml:
24650         * docs/gst/tmpl/old/gstfilesink.sgml:
24651         * docs/gst/tmpl/old/gstfilesrc.sgml:
24652         * docs/gst/tmpl/old/gsthttpsrc.sgml:
24653         * docs/gst/tmpl/old/gstidentity.sgml:
24654         * docs/gst/tmpl/old/gstindexfactory.sgml:
24655         * docs/gst/tmpl/old/gstmarshal.sgml:
24656         * docs/gst/tmpl/old/gstmd5sink.sgml:
24657         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24658         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24659         * docs/gst/tmpl/old/gstpadtemplate.sgml:
24660         * docs/gst/tmpl/old/gstpipefilter.sgml:
24661         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24662         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24663         * docs/gst/tmpl/old/gstshaper.sgml:
24664         * docs/gst/tmpl/old/gstspider.sgml:
24665         * docs/gst/tmpl/old/gstspideridentity.sgml:
24666         * docs/gst/tmpl/old/gststatistics.sgml:
24667         * docs/gst/tmpl/old/gsttee.sgml:
24668         * docs/gst/tmpl/old/gsttimecache.sgml:
24669         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24670         * docs/gst/tmpl/old/gstxmlregistry.sgml:
24671         * docs/gst/tmpl/old/gthread-cothreads.sgml:
24672         * docs/gst/tmpl/old/types.sgml:
24673           I didn't intend to add these or check them in.
24674
24675 2005-05-19  David Schleef  <ds@schleef.org>
24676
24677         * configure.ac: Use -no-common everywhere.  In a sane world, it
24678           would be the default in libtool, because without it, you can't
24679           build DLLs on Windows.
24680         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24681         * docs/gst/gstreamer-sections.txt:
24682         * docs/gst/tmpl/gstcpu.sgml:
24683         * docs/gst/tmpl/gstdata.sgml:
24684         * docs/gst/tmpl/gstthread.sgml:
24685
24686 2005-05-19  David Schleef  <ds@schleef.org>
24687
24688         * gst/gstminiobject.c: (gst_value_set_mini_object),
24689         (gst_value_take_mini_object), (gst_value_get_mini_object):
24690         * gst/gstminiobject.h: Add GValue set/get functions.
24691
24692 2005-05-19  Wim Taymans  <wim@fluendo.com>
24693
24694         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24695         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24696         (gst_subbuffer_init), (gst_buffer_is_span_fast):
24697         * gst/gstbuffer.h:
24698         * gst/gstbus.c: (gst_bus_post):
24699         * gst/gstelement.c: (gst_element_get_random_pad):
24700         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24701         Make subbufer unref the parent in finalize.
24702         some more debugging info.
24703
24704
24705 2005-05-19  Wim Taymans  <wim@fluendo.com>
24706
24707         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24708         (gst_basesink_init), (gst_basesink_finalize),
24709         (gst_basesink_activate), (gst_basesink_change_state):
24710         Don't free preroll queue too early.
24711
24712 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24713
24714         * gst/Makefile.am:
24715         * gst/ROADMAP:
24716           Hi, I'm outdated. Please shoot me.
24717
24718 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24719
24720         * gst/gstpipeline.c: (gst_pipeline_send_event):
24721           Do not access variables after they have been deleted.
24722
24723 2005-05-19  Wim Taymans  <wim@fluendo.com>
24724
24725         * tools/gst-inspect.c: (print_plugin_features):
24726         A plugin feature does unfortunatly not use the
24727         object name yet...
24728
24729 2005-05-18  Wim Taymans  <wim@fluendo.com>
24730
24731         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24732         Port _span() functions to new subbuffers.
24733
24734 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24735
24736         * gst/gstbin.c: (gst_bin_add_func):
24737           Fix clock settery in bins when adding kids after the clock has
24738           been selected.
24739
24740 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24741
24742         * gst/elements/gstidentity.c: (gst_identity_class_init):
24743           Workaround until signals support GstMiniObject.
24744
24745 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
24746
24747         * gst/gstbuffer.c:
24748         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24749
24750 2005-05-18  Wim Taymans  <wim@fluendo.com>
24751
24752         * gst/base/Makefile.am:
24753         * gst/base/gstadapter.c: (gst_adapter_base_init),
24754         (gst_adapter_class_init), (gst_adapter_init),
24755         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24756         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24757         (gst_adapter_flush), (gst_adapter_available),
24758         (gst_adapter_available_fast):
24759         * gst/base/gstadapter.h:
24760         Ported and added adapter to the base classes.
24761
24762 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24763
24764         * gst/gst.c:
24765         * gst/gstmessage.c:
24766           Make sure the class is reffed/unreffed once before threads can be
24767           used.  Fixes #304551.
24768
24769 2005-05-17  Wim Taymans  <wim@fluendo.com>
24770
24771         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24772         (gst_basesink_chain_unlocked), (gst_basesink_activate):
24773         * gst/gstminiobject.c: (gst_mini_object_get_type),
24774         (gst_mini_object_free):
24775         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24776         (gst_pad_push), (gst_pad_push_event):
24777         * gst/gstqueue.c: (gst_queue_change_state):
24778         Don't queue buffers in basesink when we are flushing.
24779         Unref buffer when flushing in basesink.
24780         Flush queue when going to READY
24781         Unref buffer when _push() returns an error.
24782         Don't free MiniObject instance when refcount is incremented
24783         in _finalize() so that we can recover objects.
24784
24785 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24786
24787         * docs/manual/advanced-schedulers.xml:
24788         * docs/manual/appendix-checklist.xml:
24789         * docs/pwg/advanced-clock.xml:
24790         * docs/pwg/advanced-interfaces.xml:
24791         * docs/pwg/advanced-request.xml:
24792         * docs/pwg/advanced-types.xml:
24793         * docs/pwg/intro-preface.xml:
24794         * examples/plugins/example.c: (gst_example_get_type),
24795         (gst_example_class_init), (gst_example_chain),
24796         (gst_example_set_property), (gst_example_get_property),
24797         (gst_example_change_state), (plugin_init):
24798         * examples/plugins/example.h:
24799           small doc fixes
24800
24801 2005-05-17  Wim Taymans  <wim@fluendo.com>
24802
24803         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24804         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24805         * gst/gstqueue.c: (gst_queue_change_state):
24806         Clear queue when going to READY.
24807         Remove IN_SETCAPS flag too.
24808
24809 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
24810
24811         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24812           Remove implicit cast from gboolean to GstElementStateReturn;
24813           make sure we still return failure in paused => ready case if
24814           the parent class fails to change state and our own stop 
24815           vfunc succeeds.
24816
24817 2005-05-17  Wim Taymans  <wim@fluendo.com>
24818
24819         * tools/gst-launch.c: (event_loop):
24820         Message was unreffed too soon.
24821
24822 2005-05-16  Andy Wingo  <wingo@pobox.com>
24823
24824         * gst/gstbin.c (sink_iterator_filter): Err... um...
24825
24826         * check/gst/gstbin.c (test_ghost_pads): New test for the
24827         ghosting-if-elements-not-in-same-bin behavior.
24828
24829 2005-05-16  David Schleef  <ds@schleef.org>
24830
24831         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24832         accessing refcount directly.
24833
24834 2005-05-15  David Schleef  <ds@schleef.org>
24835
24836         * check/Makefile.am: remove GstData checks
24837         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24838         * gst/Makefile.am: add miniobject, remove data
24839         * gst/gst.h: add miniobject, remove data
24840         * gst/gstdata.c: remove
24841         * gst/gstdata.h: remove
24842         * gst/gstdata_private.h: remove
24843         * gst/gsttypes.h: remove GstEvent and GstMessage
24844         * gst/gstelement.c: (gst_element_post_message): fix for API changes
24845         * gst/gstmarshal.list: change BOXED -> OBJECT
24846
24847         Implement GstMiniObject.
24848         * gst/gstminiobject.c:
24849         * gst/gstminiobject.h:
24850
24851         Modify to be subclasses of GstMiniObject.
24852         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24853         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24854         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24855         (gst_subbuffer_get_type), (gst_subbuffer_init),
24856         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24857         (gst_buffer_span):
24858         * gst/gstbuffer.h:
24859         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24860         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24861         (_gst_event_copy), (gst_event_new):
24862         * gst/gstevent.h:
24863         * gst/gstmessage.c: (_gst_message_initialize),
24864         (gst_message_get_type), (gst_message_class_init),
24865         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24866         (gst_message_new), (gst_message_new_error),
24867         (gst_message_new_warning), (gst_message_new_tag),
24868         (gst_message_new_state_changed), (gst_message_new_application):
24869         * gst/gstmessage.h:
24870         * gst/gstprobe.c: (gst_probe_perform),
24871         (gst_probe_dispatcher_dispatch):
24872         * gst/gstprobe.h:
24873         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24874         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24875         (_gst_query_copy), (gst_query_new):
24876
24877         Update elements for GstData -> GstMiniObject changes
24878         * gst/gstquery.h:
24879         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24880         (gst_queue_chain), (gst_queue_loop):
24881         * gst/elements/gstbufferstore.c:
24882         (gst_buffer_store_add_buffer_func),
24883         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24884         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24885         (gst_fakesink_render):
24886         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24887         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24888         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24889         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24890         (gst_filesrc_create_read):
24891         * gst/elements/gstidentity.c: (gst_identity_class_init):
24892         * gst/elements/gsttypefindelement.c:
24893         (gst_type_find_element_src_event), (free_entry_buffers),
24894         (gst_type_find_element_handle_event):
24895         * libs/gst/dataprotocol/dataprotocol.c:
24896         (gst_dp_header_from_buffer):
24897         * libs/gst/dataprotocol/dataprotocol.h:
24898         * libs/gst/dataprotocol/dp-private.h:
24899
24900 2005-05-15  David Schleef  <ds@schleef.org>
24901
24902         * gst/elements/gstelements.c: Don't include headers that were
24903         just removed.
24904
24905 2005-05-15  David Schleef  <ds@schleef.org>
24906
24907         * gst/elements/Makefile.am: Remove some elements that don't
24908         need to be in the core (or even exist at all).
24909         * gst/elements/gstaggregator.c:
24910         * gst/elements/gstaggregator.h:
24911         * gst/elements/gstmd5sink.c:
24912         * gst/elements/gstmd5sink.h:
24913         * gst/elements/gstmultifilesrc.c:
24914         * gst/elements/gstmultifilesrc.h:
24915         * gst/elements/gstpipefilter.c:
24916         * gst/elements/gstpipefilter.h:
24917         * gst/elements/gstshaper.c:
24918         * gst/elements/gstshaper.h:
24919         * gst/elements/gststatistics.c:
24920         * gst/elements/gststatistics.h:
24921         * po/POTFILES.in: Remove above files.
24922
24923 2005-05-14  Andy Wingo  <wingo@pobox.com>
24924
24925         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24926         so as to get the refs right.
24927         (sink_iterator_filter): New function, wraps bin_element_is_sink,
24928         unreffing objects that don't pass the filter.
24929
24930         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24931         gst_element_set_bus.
24932         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24933         normal cases, this will destroy the bus.
24934
24935         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24936         object.
24937
24938         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24939         has no sinks.
24940
24941 2005-05-13  Andy Wingo  <wingo@pobox.com>
24942
24943         * gst/gstutils.c (gst_element_link_pads): Instead of calling
24944         gst_pad_link, call pad_link_maybe_ghosting,
24945         (pad_link_maybe_ghosting): Links pads, making sure that the
24946         elements being linked are in the same bin.
24947         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24948         Helpers for pad_link_maybe_ghosting.
24949
24950 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24951
24952         * configure.ac:
24953           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24954
24955 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24956
24957         * docs/design/part-element-source.txt:
24958           Mention GstPushSrc
24959
24960 2005-05-12  Wim Taymans  <wim@fluendo.com>
24961
24962         * gst/base/gstbasesink.c: (gst_basesink_init),
24963         (gst_basesink_activate):
24964         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24965         (gst_basesrc_is_seekable):
24966         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24967         (bin_element_is_sink), (gst_bin_change_state):
24968         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24969         * gst/gstelement.h:
24970         Identify sinks by their flag to avoid overly complicated
24971         checks (fow now).
24972         Do state changes even for elements not reachable from the
24973         sinks.
24974         BaseSink is a sink now :)
24975         Some more debugging info in the basesrc.
24976
24977
24978 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24979
24980         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24981           Implement _query on a bin, similar to _send_event.
24982
24983 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
24984
24985         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24986           Discont event offset format should be GST_FORMAT_BYTES,
24987           not GST_FORMAT_TIME.
24988
24989 2005-05-12  Wim Taymans  <wim@fluendo.com>
24990
24991         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24992         Same fix as Ronald's but without the signal. 
24993
24994 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24995
24996         * gst/gstutils.c: (gst_element_query_position):
24997           No, an element is not a pad.
24998
24999 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25000
25001         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
25002         (gst_bin_get_state):
25003           If a child is removed from a bin while we remove the child from
25004           the bin and while we're retrieving its state, signal this to the
25005           get_state function so we abort the wait (instead of waiting for
25006           a timeout) and can immediately re-iterate over all other elements.
25007
25008 2005-05-12  Wim Taymans  <wim@fluendo.com>
25009
25010         * gst/base/Makefile.am:
25011         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
25012         (gst_basesrc_start):
25013         * gst/base/gstbasesrc.h:
25014         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
25015         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
25016         (gst_pushsrc_init), (gst_pushsrc_create):
25017         * gst/base/gstpushsrc.h:
25018         Added is_seekable to BaseSrc
25019         Added simple PushSrc.
25020
25021 2005-05-11  Wim Taymans  <wim@fluendo.com>
25022
25023         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
25024         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25025         (gst_element_link_pads), (gst_element_query_position),
25026         (gst_element_query_convert), (intersect_caps_func),
25027         (gst_pad_query_position), (gst_pad_query_convert):
25028         Fix refcounting in utils function.
25029         No point in trying to activate a pad when it's added, it could
25030         be added from the state change function and then we deadlock, the
25031         element has to decide what to do.
25032
25033 2005-05-10  Andy Wingo  <wingo@pobox.com>
25034
25035         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
25036         *all* the arguments.
25037
25038         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
25039         stream lock if it's a FLUSH_DONE; normal flushes don't get the
25040         lock (according to the docs -- if this is wrong change the docs).
25041
25042         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
25043         flush messages in the NULL state.
25044
25045         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
25046         message immediately and return.
25047         (gst_bus_set_flushing): New function. If a bus is flushing, it
25048         flushes out any queued messages and immediately unrefs new
25049         messages. This is so when an element goes to NULL, all of the
25050         unhandled messages coming from it can be freed, and their
25051         references to the element dropped. In other words: message source
25052         ref considered harmful :P
25053
25054         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
25055         we're finished with it.
25056
25057         * gst/gstmessage.c (gst_message_new_state_changed): 
25058
25059 2005-05-10  Wim Taymans  <wim@fluendo.com>
25060
25061         * gst/gstvalue.c: (gst_value_compare_flags),
25062         (gst_value_serialize_flags), (gst_value_deserialize_flags),
25063         (_gst_value_initialize):
25064         Added flags serialize/deserialize/compare code.
25065
25066 2005-05-09  Andy Wingo  <wingo@pobox.com>
25067
25068         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
25069         Intersect the peer's caps with our caps.
25070
25071 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25072
25073         * gst/base/gsttypefindhelper.c: (helper_find_peek):
25074         * gst/elements/gsttypefindelement.c: (find_peek):
25075           Handle negative offsets better. Fixes decodebin.
25076
25077 2005-05-09  Wim Taymans  <wim@fluendo.com>
25078
25079         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
25080         (gst_base_transform_event):
25081         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
25082         Implement accept_caps.
25083         Fix silly lock/unlock mismatch in base class.
25084
25085 2005-05-09  Wim Taymans  <wim@fluendo.com>
25086
25087         * docs/design/draft-push-pull.txt:
25088         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
25089         * gst/elements/gstfilesink.c: (gst_filesink_init),
25090         (gst_filesink_query):
25091         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
25092         (gst_type_find_handle_src_query), (find_element_get_length):
25093         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
25094         * gst/gstelement.h:
25095         * gst/gstmessage.c:
25096         * gst/gstmessage.h:
25097         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
25098         (gst_real_pad_get_caps_unlocked),
25099         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
25100         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25101         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
25102         (gst_real_pad_dispose), (gst_real_pad_finalize),
25103         (gst_pad_load_and_link), (gst_pad_save_thyself),
25104         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
25105         (gst_pad_check_pull_range), (gst_pad_pull_range),
25106         (gst_pad_template_get_type), (gst_pad_template_class_init),
25107         (gst_pad_template_init), (gst_pad_template_dispose),
25108         (name_is_valid), (gst_static_pad_template_get),
25109         (gst_pad_template_new), (gst_static_pad_template_get_caps),
25110         (gst_pad_template_get_caps), (gst_pad_set_element_private),
25111         (gst_pad_get_element_private), (gst_pad_start_task),
25112         (gst_pad_pause_task), (gst_pad_stop_task),
25113         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
25114         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
25115         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
25116         (gst_ghost_pad_new):
25117         * gst/gstpad.h:
25118         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
25119         (gst_query_new_position), (gst_query_set_position),
25120         (gst_query_parse_position), (gst_query_new_convert),
25121         (gst_query_set_convert), (gst_query_parse_convert):
25122         * gst/gstquery.h:
25123         * gst/gstqueryutils.c:
25124         * gst/gstqueryutils.h:
25125         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25126         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25127         (gst_queue_handle_src_query):
25128         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25129         (gst_element_query_position), (gst_element_query_convert),
25130         (intersect_caps_func), (gst_pad_query_position),
25131         (gst_pad_query_convert):
25132         * gst/gstutils.h:
25133         * tools/gst-inspect.c: (print_pad_info):
25134         * tools/gst-xmlinspect.c: (print_element_info):
25135         Remove old query functions. Ported old code.
25136         Added position/convert helper functions to gstutils.
25137         Reordered gstpad.c code, grouping relevant things.
25138         Remove gst_message_new(), always need to speficy a specific
25139         message.
25140
25141
25142 2005-05-09  Andy Wingo  <wingo@pobox.com>
25143
25144         * gst/gstiterator.h: Add some includes.
25145
25146         * gst/gstqueryutils.h: Include more headers.
25147
25148         * gst/gstpad.h:
25149         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
25150         some uses of gst_pad_query.
25151
25152         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
25153         NULL out parameters.
25154         (gst_query_new_position): New proc, allocates a new position
25155         query.
25156
25157         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
25158         gstqueryutils.c to the build.
25159
25160         * gst/gststructure.c (gst_structure_set_valist): Implement with
25161         the generic G_VALUE_COLLECT.
25162         
25163 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
25164
25165         * gst/Makefile.am: (gst_headers):
25166         Added gstqueryutils.h to the list of headers to install, that was
25167         a 'nachty' move wingo :)
25168
25169 2005-05-06  Andy Wingo  <wingo@pobox.com>
25170
25171         * gst/gstquery.h
25172         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
25173         GstData, init a memchunk.
25174         (standard_definitions): Add a few query types, deprecate a few.
25175         (gst_query_get_type): New proc.
25176         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
25177         implementation.
25178         (gst_query_new_application, gst_query_get_structure): New public
25179         procs.
25180
25181         * docs/design/draft-query.txt: Removed LINKS from the query types,
25182         because all the rest can be dispatched to other pads -- seemed
25183         ugly to have a query that couldn't be dispatched. internal_links
25184         is fine as a pad method.
25185
25186         * gst/gstpad.h: Add query2 as a pad method, add the new functions
25187         in gstpad.c, but maintain binary compatibility for the moment.
25188         Will fix before 0.9 is out.
25189
25190         * gst/gstqueryutils.c: 
25191         * gst/gstqueryutils.h: New files, implement 3 methods for each
25192         query type: parse_query, parse_response, and set. Probably need an
25193         allocator as well.
25194
25195         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
25196
25197         * gst/elements/gstfilesink.c (gst_filesink_query2):
25198         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
25199         query_types, and formats methods.
25200
25201         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
25202         (gst_pad_set_query2_function): New functions.
25203         (gst_real_pad_init): Set query2_default as the default query2
25204         function. Basically just dispatches to internally linked pads.
25205
25206         Needs review!
25207         
25208         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
25209         without using the atomic operations. Only one thread can possibly
25210         be accessing the data at this point. Changed so as to avoid
25211         gst_atomic operations.
25212
25213 2005-05-06  Wim Taymans  <wim@fluendo.com>
25214
25215         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
25216         Also set caps if we use the fallback buffer alloc.
25217
25218 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
25219
25220         * docs/gst/Makefile.am:
25221         * docs/gst/gstreamer-docs.sgml:
25222         * docs/gst/gstreamer-sections.txt:
25223         * docs/gst/tmpl/gstatomic.sgml:
25224         * docs/gst/tmpl/gstmemchunk.sgml:
25225         * testsuite/elements/struct_i386.h:
25226         * win32/GStreamer.vcproj:
25227         * win32/Makefile:
25228           Purge GstAtomic stuff from docs and win32 makefiles as well
25229
25230 2005-05-06  Wim Taymans  <wim@fluendo.com>
25231
25232         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25233         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25234         * gst/gstpad.c: (gst_pad_peer_get_caps):
25235         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25236         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25237         (gst_queue_src_activate), (gst_queue_change_state):
25238         * gst/gstqueue.h:
25239         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25240         (intersect_caps_func):
25241         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25242         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25243         Some fixes for the peer_get_caps() change.
25244
25245 2005-05-06  Wim Taymans  <wim@fluendo.com>
25246
25247         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25248         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25249         (gst_basesink_activate):
25250         Actually do something with error codes returned from the push
25251         functions.
25252
25253 2005-05-06  Wim Taymans  <wim@fluendo.com>
25254
25255         * docs/design/part-element-sink.txt:
25256         * docs/design/part-element-source.txt:
25257         * gst/base/gstbasesink.c: (gst_basesink_class_init),
25258         (gst_basesink_event), (gst_basesink_activate):
25259         * gst/base/gstbasesink.h:
25260         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25261         (gst_basesrc_activate):
25262         * gst/base/gstbasesrc.h:
25263         * gst/gstelement.c: (gst_element_pads_activate):
25264         Some more documentation.
25265         Fixed scheduling decision in _pads_activate().
25266
25267 2005-05-05  Andy Wingo  <wingo@pobox.com>
25268
25269         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25270         the test suite.
25271
25272 2005-05-05  Wim Taymans  <wim@fluendo.com>
25273
25274         * gst/base/Makefile.am:
25275         * gst/base/gstbasesink.h:
25276         * gst/base/gstbasesrc.c: (gst_basesrc_init),
25277         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25278         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25279         (gst_collectpads_class_init), (gst_collectpads_init),
25280         (gst_collectpads_finalize), (gst_collectpads_new),
25281         (gst_collectpads_set_function), (gst_collectpads_add_pad),
25282         (find_pad), (gst_collectpads_remove_pad),
25283         (gst_collectpads_is_active), (gst_collectpads_collect),
25284         (gst_collectpads_collect_range), (gst_collectpads_start),
25285         (gst_collectpads_stop), (gst_collectpads_peek),
25286         (gst_collectpads_pop), (gst_collectpads_available),
25287         (gst_collectpads_read), (gst_collectpads_flush),
25288         (gst_collectpads_chain):
25289         * gst/base/gstcollectpads.h:
25290         * gst/elements/Makefile.am:
25291         * gst/elements/gstelements.c:
25292         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25293         (gst_fakesink_get_times), (gst_fakesink_event),
25294         (gst_fakesink_preroll), (gst_fakesink_render):
25295         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25296         (gst_filesink_init), (gst_filesink_set_location),
25297         (gst_filesink_open_file), (gst_filesink_close_file),
25298         (gst_filesink_pad_query), (gst_filesink_event),
25299         (gst_filesink_render), (gst_filesink_change_state):
25300         * gst/elements/gstfilesink.h:
25301         Added object to help in making collect pad based elements.
25302         Ported filesink.
25303         Make event function in sink baseclass return gboolean.
25304
25305 2005-05-05  Wim Taymans  <wim@fluendo.com>
25306
25307         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25308         (gst_bin_get_by_name):
25309         * gst/gstbuffer.h:
25310         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25311         (gst_clock_finalize):
25312         * gst/gstdata.c: (gst_data_replace):
25313         * gst/gstdata.h:
25314         * gst/gstelement.c: (gst_element_request_pad),
25315         (gst_element_pads_activate):
25316         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25317         (gst_object_unref):
25318         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25319         (gst_pad_set_checkgetrange_function),
25320         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25321         (gst_pad_check_pull_range), (gst_pad_pull_range),
25322         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25323         (gst_pad_pause_task), (gst_pad_stop_task):
25324         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25325         (gst_element_request_pad), (gst_pad_proxy_getcaps):
25326         Fix name lookup in GstBin.
25327         Added _data_replace() function and _buffer_replace()
25328         Use finalize method to clean up clock.
25329         Fix refcounting on request pads.
25330         Fix pad schedule mode error.
25331         Some more object refcounting debug info,
25332
25333
25334 2005-05-04  Andy Wingo <wingo@pobox.com>
25335
25336         * check/Makefile.am:
25337         * docs/gst/tmpl/gstatomic.sgml:
25338         * docs/gst/tmpl/gstplugin.sgml:
25339         * gst/base/gstbasesink.c: (gst_basesink_activate):
25340         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25341         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25342         (gst_basesrc_query), (gst_basesrc_set_property),
25343         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25344         (gst_basesrc_activate):
25345         * gst/base/gstbasesrc.h:
25346         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25347         (gst_base_transform_src_activate):
25348         * gst/elements/gstelements.c:
25349         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25350         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25351         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25352         * gst/elements/gsttypefindelement.c: (find_element_get_length),
25353         (gst_type_find_element_checkgetrange),
25354         (gst_type_find_element_activate):
25355         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25356         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25357         (gst_caps_load_thyself):
25358         * gst/gstelement.c: (gst_element_pads_activate),
25359         (gst_element_save_thyself), (gst_element_restore_thyself):
25360         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25361         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25362         * gst/gstpad.h:
25363         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25364         (gst_xml_parse_file), (gst_xml_parse_memory),
25365         (gst_xml_get_element), (gst_xml_make_element):
25366         * gst/indexers/gstfileindex.c: (gst_file_index_load),
25367         (_file_index_id_save_xml), (gst_file_index_commit):
25368         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25369         (read_enum), (load_pad_template), (load_feature), (load_plugin),
25370         (load_paths):
25371         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25372         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25373         * tools/gst-complete.c: (main):
25374         * tools/gst-compprep.c: (main):
25375         * tools/gst-inspect.c: (print_element_properties_info):
25376         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25377         * tools/gst-xmlinspect.c: (print_element_properties):
25378         GCC 4 fixen.
25379         
25380 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25381
25382         * gst/gstplugin.c: (gst_plugin_check_module),
25383         (gst_plugin_check_file), (gst_plugin_load_file):
25384             apply patch from #172526 to make register work on MacOSX
25385
25386 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25387
25388         * docs/gst/tmpl/gstconfig.sgml:
25389         * gst/gstconfig.h.in:
25390           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
25391         * testsuite/debug/printf_extension.c: (main):
25392           Do not use GST_PTR_FORMAT on pointers to types with
25393           sizeof < sizeof(gpointer).  Fixes test on 64-bit
25394         * testsuite/elements/property.h:
25395           use correct printf format
25396
25397 2005-05-02  Wim Taymans  <wim@fluendo.com>
25398
25399         * docs/design/draft-push-pull.txt:
25400         * docs/design/draft-query.txt:
25401         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25402         (gst_basesrc_start):
25403         Added draft for new query API.
25404         Added draft for better selecting scheduling methods.
25405         Make basesrc ignore length if the subclass does not support
25406         it.
25407
25408 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25409
25410         * gst/Makefile.am:
25411           possible fixes for automake-1.5 - _LIBADD is reserved
25412
25413 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25414
25415         * docs/faq/Makefile.am:
25416         * docs/manual/Makefile.am:
25417         * docs/manuals.mak:
25418         * docs/pwg/Makefile.am:
25419         * gst/Makefile.am:
25420           possible fixes for automake-1.5
25421
25422 2005-04-28  Wim Taymans  <wim@fluendo.com>
25423
25424         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25425         (gst_basesink_pad_getcaps), (gst_basesink_init),
25426         (gst_basesink_do_sync):
25427         * gst/gstclock.c: (gst_clock_entry_new):
25428         * gst/gstevent.c: (gst_event_discont_get_value):
25429         * gst/gstpipeline.c: (pipeline_bus_handler),
25430         (gst_pipeline_change_state):
25431         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25432         Better debugging of clocking info.
25433         Allow NULL values when getting discont values.
25434
25435 2005-04-27  Wim Taymans  <wim@fluendo.com>
25436
25437         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25438         * check/gst/gstpad.c: (gst_pad_suite):
25439         Increase timeout for checks.
25440
25441 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25442
25443         * check/Makefile.am:
25444           fix the broken rule for cleanup.  Apparently this rule is
25445           only needed on FC2, so maybe this warrants further autotool
25446           inspection.
25447
25448 2005-04-26  Wim Taymans  <wim@fluendo.com>
25449
25450         * gst/gsttrashstack.h:
25451         Ooohh. a nasty one! After having a failed pop() from the stack,
25452         it's possible that the stack is empty. In that case, don't
25453         follow the NULL pointer.
25454
25455 2005-04-25  Wim Taymans  <wim@fluendo.com>
25456
25457         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25458         (gst_pad_set_checkgetrange_function),
25459         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25460         (gst_pad_check_pull_range), (gst_pad_pull_range),
25461         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25462         (gst_pad_pause_task), (gst_pad_stop_task):
25463         * gst/gstplugin.c: (gst_plugin_load):
25464         * gst/gstplugin.h:
25465         Remove gst_library_load as it does more harm than good with
25466         the new g_module flags.
25467         Revert bogus caps template check in pad linking, pad caps
25468         are important when linking not the template, which is more
25469         general than the current caps.
25470
25471 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25472
25473         * gst/autoplug/.cvsignore:
25474         * gst/autoplug/Makefile.am:
25475         * gst/autoplug/gstsearchfuncs.c:
25476         * gst/autoplug/gstsearchfuncs.h:
25477         * gst/autoplug/gstspider.c:
25478         * gst/autoplug/gstspider.h:
25479         * gst/autoplug/gstspideridentity.c:
25480         * gst/autoplug/gstspideridentity.h:
25481         * gst/autoplug/spidertest.c:
25482           Die, spider, die.
25483
25484 2005-04-25  Wim Taymans  <wim@fluendo.com>
25485
25486         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25487         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25488         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25489         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25490         * gst/gstpad.h:
25491         Added stubs for unimplemented functions. 
25492
25493 2005-04-24  David Schleef  <ds@schleef.org>
25494
25495         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
25496         please fix.
25497
25498 2005-04-24  David Schleef  <ds@schleef.org>
25499
25500         Convert everything from GstAtomicInt to g_atomic_int_*, and
25501         remove gstatomic.
25502         * gst/Makefile.am:
25503         * gst/gstatomic.c:
25504         * gst/gstatomic.h:
25505         * gst/gstatomic_impl.h:
25506         * gst/gstbuffer.c:
25507         * gst/gstcaps.c:
25508         * gst/gstcaps.h:
25509         * gst/gstclock.c:
25510         * gst/gstclock.h:
25511         * gst/gstdata.c:
25512         * gst/gstdata.h:
25513         * gst/gstdata_private.h:
25514         * gst/gstevent.c:
25515         * gst/gstinfo.c:
25516         * gst/gstinfo.h:
25517         * gst/gstmessage.c:
25518         * gst/gstobject.c:
25519         * gst/gstobject.h:
25520         * gst/gststructure.c:
25521         * gst/gststructure.h:
25522         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25523         * gst/gstutils.h:
25524
25525 2005-04-24  David Schleef  <ds@schleef.org>
25526
25527         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25528         make the regressions tests work.  Remove some code that is no
25529         longer true.
25530         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25531         Disable warning for pads without templates.
25532
25533 2005-04-24  David Schleef  <ds@schleef.org>
25534
25535         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
25536         functions that handle filtered links.
25537         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25538         removed functions.
25539         * gst/gstutils.c: Fix/remove utility functions that handle
25540         filtered caps.
25541         * gst/gstutils.h:
25542         * gst/gstvalue.c: Add serialization/deserialization of caps
25543         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
25544         requires fixing so that the filter caps notation creates
25545         a capsfilter element and sets the filter_caps property.  I
25546         think everyone probably wants to keep the shorthand notation.
25547         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25548         * docs/gst/tmpl/gstpad.sgml:
25549
25550         * gst/elements/gstelements.c: Register capsfilter element.
25551         * gst/Makefile.am: fix spacing
25552         * docs/random/ds/0.9-suggested-changes: random
25553
25554 2005-04-23  David Schleef  <ds@schleef.org>
25555
25556         * gst/elements/Makefile.am:
25557         * gst/elements/gstcapsfilter.c: New element that acts like an
25558         identity, but filters caps.  Will eventually replace filtered
25559         caps in pad linking.
25560         * gst/gstutils.c: (gst_element_create_all_pads): New function
25561         to create all the ALWAYS pads that are registered with an
25562         element class.  This functionality should eventually be
25563         merged in with GstElement initialization.
25564         * gst/gstutils.h:
25565         * testsuite/trigger/README: part of trigger test code that should
25566         have been checked in a long time ago.
25567
25568 2005-04-23  David Schleef  <ds@schleef.org>
25569
25570         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
25571         needed with new versions of libtool (nobody will confirm this),
25572         and hard to carry around.
25573         * gst/autoplug/Makefile.am:
25574         * gst/base/Makefile.am:
25575         * gst/elements/Makefile.am:
25576         * gst/indexers/Makefile.am:
25577         * gst/schedulers/Makefile.am:
25578         * libs/gst/bytestream/Makefile.am:
25579         * libs/gst/control/Makefile.am:
25580         * libs/gst/dataprotocol/Makefile.am:
25581         * libs/gst/getbits/Makefile.am:
25582
25583 2005-04-21  Wim Taymans  <wim@fluendo.com>
25584
25585         * docs/design/draft-push-pull.txt:
25586         * docs/design/part-MT-refcounting.txt:
25587         * docs/design/part-TODO.txt:
25588         * docs/design/part-caps.txt:
25589         * docs/design/part-events.txt:
25590         * docs/design/part-gstbus.txt:
25591         * docs/design/part-gstpipeline.txt:
25592         * docs/design/part-messages.txt:
25593         * docs/design/part-push-pull.txt:
25594         * docs/design/part-query.txt:
25595         Some more docs.
25596
25597 2005-04-21  Wim Taymans  <wim@fluendo.com>
25598
25599         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25600         (gst_message_new), (gst_message_new_error),
25601         (gst_message_new_warning), (gst_message_new_tag),
25602         (gst_message_new_state_changed), (gst_message_new_application),
25603         (gst_message_get_structure):
25604         * gst/gstmessage.h:
25605         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25606         (gst_structure_copy_conditional):
25607         Use parent refcount in GstMessage to ensure GstStructure
25608         consistency.
25609         Cleaned up headers a bit.
25610         
25611
25612 2005-04-20  Wim Taymans  <wim@fluendo.com>
25613
25614         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25615         (gst_basesink_pad_getcaps), (gst_basesink_init),
25616         (gst_basesink_chain_unlocked):
25617         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25618         (gst_type_find_helper):
25619         * gst/elements/gsttypefindelement.c:
25620         (gst_type_find_element_have_type), (gst_type_find_element_init),
25621         (stop_typefinding), (gst_type_find_element_handle_event),
25622         (find_suggest), (gst_type_find_element_chain),
25623         (gst_type_find_element_checkgetrange),
25624         (gst_type_find_element_getrange), (do_typefind),
25625         (gst_type_find_element_activate):
25626         * gst/gstbuffer.c: (_gst_buffer_sub_free),
25627         (gst_buffer_default_free), (gst_buffer_default_copy),
25628         (gst_buffer_set_caps):
25629         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25630         (gst_caps_replace):
25631         * gst/gstmessage.c: (gst_message_new),
25632         (gst_message_new_state_changed):
25633         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25634         (gst_pad_set_checkgetrange_function),
25635         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25636         (gst_pad_set_caps), (gst_pad_check_pull_range),
25637         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25638         * gst/gstpad.h:
25639         * gst/gsttypefind.c: (gst_type_find_register):
25640         Make gst_caps_replace() work like other _replace() functions.
25641         Use _caps_replace() where possible.
25642         Make sure _message_new() initialises its field.
25643         Add gst_static_pad_template_get_caps()
25644
25645
25646 2005-04-18  Andy Wingo  <wingo@pobox.com>
25647
25648         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25649         on the peer, not the pad. I think that was a typo. Pass an extra
25650         arg to see if random access is possible. Activate the pads as
25651         PULL_RANGE if possible.
25652
25653         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25654
25655         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
25656         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25657         to PROP_....
25658
25659 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25660
25661         * docs/faq/using.xml:
25662           Add note on gstreamer-properties (#154996).
25663
25664 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25665
25666         * docs/random/bbb/optional-properties:
25667           Some analysis on optional properties.
25668
25669 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25670
25671         * docs/gst/tmpl/gstelementfactory.sgml:
25672         * gst/gstelement.h:
25673         * gst/gstelementfactory.c: (gst_element_factory_init),
25674         (gst_element_factory_cleanup), (gst_element_register),
25675         (__gst_element_factory_add_static_pad_template),
25676         (gst_element_factory_get_static_pad_templates),
25677         (gst_element_factory_can_src_caps),
25678         (gst_element_factory_can_sink_caps):
25679         * gst/registries/Makefile.am:
25680         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25681         (gst_xml_registry_class_init), (gst_xml_registry_init),
25682         (gst_xml_registry_new), (gst_xml_registry_set_property),
25683         (gst_xml_registry_get_property), (get_time), (make_dir),
25684         (gst_xml_registry_get_perms_func),
25685         (plugin_times_older_than_recurse), (plugin_times_older_than),
25686         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25687         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25688         (add_to_char_array), (read_string), (read_uint), (read_enum),
25689         (load_pad_template), (load_feature), (load_plugin), (load_paths),
25690         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25691         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25692         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25693         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25694         (gst_xml_registry_rebuild):
25695         * gst/registries/gstlibxmlregistry.h:
25696         * tools/gst-compprep.c: (main):
25697         * tools/gst-inspect.c: (print_pad_templates_info):
25698         * tools/gst-xmlinspect.c: (print_element_info):
25699           Use libxml2 for registry parsing, use staticpadtemplates in
25700           elementfactories. Makes gst_init() +/- 10x faster.
25701
25702 2005-04-12  Wim Taymans  <wim@fluendo.com>
25703
25704         * gst/base/Makefile.am:
25705         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25706         (gst_basesink_pad_getcaps), (gst_basesink_init),
25707         (gst_basesink_event), (gst_basesink_change_state):
25708         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25709         (gst_basesrc_init), (gst_basesrc_query),
25710         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25711         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25712         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25713         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25714         (gst_basesrc_stop), (gst_basesrc_activate),
25715         (gst_basesrc_change_state):
25716         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25717         (helper_find_suggest), (gst_type_find_helper):
25718         * gst/base/gsttypefindhelper.h:
25719         * gst/elements/Makefile.am:
25720         * gst/elements/gstelements.c:
25721         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25722         (gst_fakesink_get_times), (gst_fakesink_event),
25723         (gst_fakesink_preroll), (gst_fakesink_render):
25724         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25725         (gst_fakesrc_init), (gst_fakesrc_event_handler),
25726         (gst_fakesrc_get_property), (gst_fakesrc_create),
25727         (gst_fakesrc_start), (gst_fakesrc_stop):
25728         * gst/elements/gstfakesrc.h:
25729         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25730         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25731         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25732         (gst_filesrc_create_read), (gst_filesrc_create),
25733         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25734         (gst_filesrc_start):
25735         * gst/elements/gsttypefindelement.c:
25736         (gst_type_find_element_have_type), (gst_type_find_element_init),
25737         (start_typefinding), (stop_typefinding), (push_buffer_store),
25738         (gst_type_find_element_handle_event),
25739         (gst_type_find_element_chain),
25740         (gst_type_find_element_checkgetrange),
25741         (gst_type_find_element_getrange), (do_typefind),
25742         (gst_type_find_element_activate),
25743         (gst_type_find_element_change_state):
25744         * gst/elements/gsttypefindelement.h:
25745         * gst/gstpipeline.c: (pipeline_bus_handler):
25746         Added typefind helper.
25747         Small preroll fix in the base sink.
25748         Disable typefind code in basesrc.
25749         Crude port of typefindelement.
25750         Fakesrc cleanups.
25751
25752
25753 2005-04-11  Wim Taymans  <wim@fluendo.com>
25754
25755         * check/gst/gstbus.c: (gstbus_suite):
25756         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25757         * check/gstcheck.h:
25758           Fix up the timeout so that the test does not fail.
25759
25760 2005-04-06  Wim Taymans  <wim@fluendo.com>
25761
25762         * gst/base/README:
25763         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25764         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25765         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25766         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25767         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25768         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25769         (gst_basesrc_stop), (gst_basesrc_activate),
25770         (gst_basesrc_change_state), (basesrc_find_peek),
25771         (basesrc_find_suggest), (gst_basesrc_type_find):
25772         * gst/base/gstbasesrc.h:
25773         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25774         (gst_filesrc_class_init), (gst_filesrc_init),
25775         (gst_filesrc_finalize), (gst_filesrc_set_location),
25776         (gst_filesrc_set_property), (gst_filesrc_get_property),
25777         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25778         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25779         (gst_filesrc_create_read), (gst_filesrc_create),
25780         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25781         * gst/elements/gstfilesrc.h:
25782         * gst/gstelement.c: (gst_element_get_state_func),
25783         (gst_element_lost_state), (gst_element_pads_activate):
25784         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25785         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25786         (gst_pad_pull_range):
25787         * gst/gstpad.h:
25788         More work on the generic source base class, implement seeking,
25789         query.
25790         Make filesrc extend the base source class.
25791         Added gst_pad_set_checkgetrange_function to GstPad.
25792
25793 2005-04-06  Andy Wingo  <wingo@pobox.com>
25794
25795         * pkgconfig/gstreamer-base.pc.in:
25796         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25797
25798         * pkgconfig/Makefile.am:
25799         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25800
25801 2005-04-04  Wim Taymans  <wim@fluendo.com>
25802
25803         * gst/base/Makefile.am:
25804         * gst/base/README:
25805         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25806         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25807         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25808         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25809         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25810         (gst_basesrc_base_init), (gst_basesrc_class_init),
25811         (gst_basesrc_init), (gst_basesrc_get_formats),
25812         (gst_basesrc_get_query_types), (gst_basesrc_query),
25813         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25814         (gst_basesrc_set_property), (gst_basesrc_get_property),
25815         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25816         (gst_basesrc_loop), (gst_basesrc_activate),
25817         (gst_basesrc_change_state):
25818         * gst/base/gstbasesrc.h:
25819         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25820         (gst_fakesrc_class_init), (gst_fakesrc_init),
25821         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25822         (gst_fakesrc_get_property), (gst_fakesrc_create):
25823         * gst/elements/gstfakesrc.h:
25824         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25825         (gst_filesrc_open_file), (gst_filesrc_loop),
25826         (gst_filesrc_activate), (filesrc_find_peek),
25827         (gst_filesrc_type_find):
25828         Made base source class, make fakesrc extend it.
25829         Add comments to basesink class.
25830         Some filesrc cleanup.
25831
25832 2005-03-31  David Schleef  <ds@schleef.org>
25833
25834         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25835         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25836         expected to link against libgstreamer.
25837         * gst/base/Makefile.am: link against libgstreamer
25838         * gst/elements/Makefile.am: same
25839
25840 2005-03-31  Andy Wingo  <wingo@pobox.com>
25841
25842         * tests/instantiate/Makefile.am:
25843         * tests/instantiate/caps.c: Add test to test speed of caps copy
25844         and free.
25845
25846         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25847         GMemChunk to be fair.
25848
25849         * gst/gsttrashstack.h: Remove warning about using the fallback
25850         trash stack implementation, it's still faster than malloc.
25851
25852 2005-03-30  Andy Wingo  <wingo@pobox.com>
25853
25854         * tests/complexity.c: Add a copyright.
25855
25856 2005-03-31  Wim Taymans  <wim@fluendo.com>
25857
25858         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25859         (gst_base_transform_class_init), (gst_base_transform_init),
25860         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25861         (gst_base_transform_get_property),
25862         (gst_base_transform_sink_activate),
25863         (gst_base_transform_src_activate),
25864         (gst_base_transform_change_state):
25865         * gst/base/gstbasetransform.h:
25866         * gst/elements/gstidentity.c: (gst_identity_class_init),
25867         (gst_identity_event), (gst_identity_check_perfect),
25868         (gst_identity_transform), (gst_identity_start),
25869         (gst_identity_stop):
25870         Added start/stop methods to transform base class so subclasses 
25871         don't need to deal with state changes even.
25872
25873 2005-03-31  Wim Taymans  <wim@fluendo.com>
25874
25875         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25876         (gst_event_new_discontinuous), (gst_event_discont_get_value):
25877         * gst/gstevent.h:
25878         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25879         (gst_pad_pull_range):
25880         Added rate to the discont event to prepare for variable speed
25881         and reverse playback.
25882
25883 2005-03-29  David Schleef  <ds@schleef.org>
25884
25885         * configure.ac:
25886         * testsuite/trigger/Makefile.am:
25887         * testsuite/trigger/trigger.c: A little example program to show
25888         how trigger-based elements can work.
25889
25890 2005-03-29  Wim Taymans  <wim@fluendo.com>
25891
25892         * gst/base/Makefile.am:
25893         * gst/base/README:
25894         * gst/base/gstbasesink.c: (gst_basesink_get_type),
25895         (gst_basesink_base_init), (gst_basesink_class_init),
25896         (gst_basesink_pad_getcaps), (gst_basesink_init),
25897         (gst_basesink_activate), (gst_basesink_change_state):
25898         * gst/base/gstbasesink.h:
25899         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25900         (gst_base_transform_base_init), (gst_base_transform_finalize),
25901         (gst_base_transform_class_init), (gst_base_transform_init),
25902         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25903         (gst_base_transform_event), (gst_base_transform_getrange),
25904         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25905         (gst_base_transform_set_property),
25906         (gst_base_transform_get_property),
25907         (gst_base_transform_sink_activate),
25908         (gst_base_transform_src_activate),
25909         (gst_base_transform_change_state):
25910         * gst/base/gstbasetransform.h:
25911         * gst/elements/gstidentity.c: (gst_identity_finalize),
25912         (gst_identity_class_init), (gst_identity_init),
25913         (gst_identity_event), (gst_identity_check_perfect),
25914         (gst_identity_transform), (gst_identity_set_property),
25915         (gst_identity_get_property), (gst_identity_change_state):
25916         * gst/elements/gstidentity.h:
25917         * gst/gstelement.c: (gst_element_get_state_func),
25918         (gst_element_lost_state), (gst_element_pads_activate):
25919         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25920         (gst_pad_check_pull_range), (gst_pad_pull_range):
25921         * gst/gstpad.h:
25922         Simplify pad activation.
25923         Added function to check if pull_range can be performed.
25924         Error out when pulling inactive or flushing pads.
25925         Removed const from refcounted types as it does not make sense.
25926         Simplify pad templates in basesink
25927         Added base class for simple 1-to-1 transforms.
25928         Make identity subclass the base transform.
25929
25930 2005-03-29  Andy Wingo  <wingo@pobox.com>
25931
25932         * docs/libs/gstreamer-libs-overrides.txt: 
25933         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25934         really don't understand what's going on, but like whatever. I want
25935         green buildbot!
25936
25937         * docs/gst/Makefile.am:
25938         * docs/libs/Makefile.am: Dist the overrides files.
25939
25940         * check/Makefile.am (clean-local): Remove .libs directories.
25941
25942         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25943         elements to EXTRA_DIST, so po/ files are happy.
25944
25945         * po/POTFILES.in: Er, remove it here.
25946
25947         * po/POTFILES: Remove gstspider.c.
25948
25949         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25950
25951         * docs/libs/gstreamer-libs-docs.sgml: 
25952         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25953         bytestream.
25954
25955         * tests/complexity.c (main): Set the length of the preroll queue
25956         on the sinks to prevent a lockup.
25957
25958         * libs/gst/dataprotocol/Makefile.am: 
25959         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25960         the same as the one in check/gst-libs/gdp.c.
25961
25962         * po/, docs/gst/: Commit automatic changes to docs and po files.
25963
25964         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25965         the versioned libgstbase.
25966
25967         * check/Makefile.am: Depend on an unversioned gst-register, seems
25968         to make autoconf happier.
25969
25970         * gst/base/Makefile.am: Make libgstbase a versioned lib.
25971
25972 2005-03-28  Wim Taymans  <wim@fluendo.com>
25973
25974         * configure.ac:
25975         * docs/design/part-gstelement.txt:
25976         * docs/design/part-negotiation.txt:
25977         * docs/design/part-preroll.txt:
25978         * docs/design/part-scheduling.txt:
25979         * docs/design/part-states.txt:
25980         * gst/Makefile.am:
25981         * gst/base/Makefile.am:
25982         * gst/base/README:
25983         * gst/base/gstbasesink.c: (gst_basesink_get_template),
25984         (gst_basesink_base_init), (gst_basesink_class_init),
25985         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25986         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25987         (gst_basesink_set_pad_functions),
25988         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25989         (gst_basesink_set_property), (gst_basesink_get_property),
25990         (gst_base_sink_get_template), (gst_base_sink_get_caps),
25991         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25992         (gst_basesink_preroll_queue_push),
25993         (gst_basesink_preroll_queue_empty),
25994         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25995         (gst_basesink_event), (gst_basesink_get_times),
25996         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25997         (gst_basesink_chain_unlocked), (gst_basesink_chain),
25998         (gst_basesink_loop), (gst_basesink_activate),
25999         (gst_basesink_change_state):
26000         * gst/base/gstbasesink.h:
26001         * gst/elements/Makefile.am:
26002         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
26003         (gst_fakesink_class_init), (gst_fakesink_init),
26004         (gst_fakesink_set_property), (gst_fakesink_get_property),
26005         (gst_fakesink_get_times), (gst_fakesink_event),
26006         (gst_fakesink_preroll), (gst_fakesink_render),
26007         (gst_fakesink_change_state):
26008         * gst/elements/gstfakesink.h:
26009         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
26010         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
26011         * gst/gstelement.c: (gst_element_add_pad),
26012         (gst_element_get_state_func), (gst_element_abort_state),
26013         (gst_element_commit_state), (gst_element_lost_state),
26014         (gst_element_set_state), (gst_element_pads_activate):
26015         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
26016         * gst/gstpipeline.c: (gst_pipeline_send_event),
26017         (gst_pipeline_change_state):
26018         Added state change code.
26019         Added/updated docs.
26020         Added sink base class, make fakesink extend the base class.
26021         Small cleanups in GstPipeline.
26022
26023 2005-03-26  David Schleef  <ds@schleef.org>
26024
26025         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
26026         is broken and should be implemented in a different library.
26027         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
26028         * gst/gst.h: remove gstcpu.h
26029         * gst/gstcpu.c: remove
26030         * gst/gstcpu.h: remove
26031         * gst/Makefile.am.future: Remove this file.  It's ancient.
26032
26033 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26034
26035         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
26036         (gst_bin_send_event):
26037           Add default event/set_manager handlers. The set_manager handler
26038           takes care that the manager is distributed over kids that were
26039           already in the bin before the manager was set. The event handler
26040           is a utility virtual function that sends the event over all sinks,
26041           so that gst_element_send_event (bin, event); has the expected
26042           behaviour.
26043         * gst/gstpad.c: (gst_pad_event_default):
26044           Re-install default event handling for discontinuities, so that
26045           seeking works without requiring hacks in applications or extra
26046           code in sinks.
26047         * gst/gstpipeline.c: (gst_pipeline_class_init),
26048         (gst_pipeline_send_event):
26049           Half hack, half utility: set a pipeline to PAUSED for seek events,
26050           since that is the only way we can guarantee a/v sync. Means that
26051           you can do gst_element_seek (pipeline, method, pos); on a pipeline
26052           and it "just works".
26053
26054 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26055
26056         * gst/gstpipeline.c: (gst_pipeline_use_clock):
26057           Lock/unlock mismatch.
26058
26059 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26060
26061         * docs/faq/gst-uninstalled:
26062           add gst-plugins-base
26063         * docs/gst/Makefile.am:
26064           don't error out until docs are fixed
26065         * docs/gst/gstreamer.types:
26066           remove thread
26067
26068 2005-03-22  Wim Taymans  <wim@fluendo.com>
26069
26070         * check/Makefile.am:
26071         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
26072         * gst/gststructure.c: (gst_structure_set_valist),
26073         (gst_structure_copy_conditional):
26074         Activated more tests.
26075         Added message test.
26076         Added G_TYPE_POINTER to GstStructure.
26077         
26078
26079 2005-03-22  Wim Taymans  <wim@fluendo.com>
26080
26081         * docs/design/part-TODO.txt:
26082         * docs/design/part-events.txt:
26083         * docs/design/part-gstbin.txt:
26084         * docs/design/part-gstbus.txt:
26085         * docs/design/part-gstpipeline.txt:
26086         * docs/design/part-messages.txt:
26087         * gst/gstbus.c:
26088         * gst/gstmessage.c:
26089         Docs updates
26090
26091 2005-03-21  Wim Taymans  <wim@fluendo.com>
26092
26093         * gst/gstbus.c: (gst_bus_post):
26094         Fix copy-and-paste error.
26095
26096 2005-03-21  Wim Taymans  <wim@fluendo.com>
26097
26098         * check/Makefile.am:
26099         * gst/Makefile.am:
26100         * gst/elements/Makefile.am:
26101         * gst/elements/gstelements.c:
26102         * gst/elements/gstfakesink.c: (gst_fakesink_init),
26103         (gst_fakesink_event), (gst_fakesink_chain):
26104         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26105         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
26106         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
26107         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
26108         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26109         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
26110         (gst_fakesrc_loop), (gst_fakesrc_activate),
26111         (gst_fakesrc_change_state):
26112         * gst/elements/gstfakesrc.h:
26113         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
26114         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
26115         (gst_filesrc_open_file), (gst_filesrc_loop),
26116         (gst_filesrc_activate), (gst_filesrc_change_state),
26117         (filesrc_find_peek), (filesrc_find_suggest),
26118         (gst_filesrc_type_find):
26119         * gst/elements/gstidentity.c: (gst_identity_finalize),
26120         (gst_identity_class_init), (gst_identity_init),
26121         (gst_identity_proxy_getcaps), (identity_queue_push),
26122         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
26123         (gst_identity_getrange), (gst_identity_chain),
26124         (gst_identity_sink_loop), (gst_identity_src_loop),
26125         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
26126         (gst_identity_set_property), (gst_identity_get_property),
26127         (gst_identity_change_state):
26128         * gst/elements/gstidentity.h:
26129         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
26130         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
26131         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
26132         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
26133         (gst_tee_sink_activate):
26134         * gst/elements/gsttee.h:
26135         * gst/gst.c: (gst_register_core_elements), (init_post):
26136         * gst/gst.h:
26137         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
26138         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
26139         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
26140         (gst_bin_change_state):
26141         * gst/gstbin.h:
26142         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
26143         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
26144         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
26145         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
26146         (gst_bus_set_sync_handler), (gst_bus_create_watch),
26147         (bus_watch_callback), (bus_watch_destroy),
26148         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
26149         (poll_timeout), (gst_bus_poll):
26150         * gst/gstbus.h:
26151         * gst/gstcaps.h:
26152         * gst/gstdata.h:
26153         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26154         (gst_element_post_message), (gst_element_message_full),
26155         (gst_element_get_state_func), (gst_element_get_state),
26156         (gst_element_abort_state), (gst_element_commit_state),
26157         (gst_element_lost_state), (gst_element_set_state),
26158         (gst_element_pads_activate), (gst_element_change_state),
26159         (gst_element_dispose), (gst_element_set_manager_func),
26160         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
26161         (gst_element_set_manager), (gst_element_get_manager),
26162         (gst_element_set_bus), (gst_element_get_bus),
26163         (gst_element_set_scheduler), (gst_element_get_scheduler):
26164         * gst/gstelement.h:
26165         * gst/gstevent.c: (gst_event_new_segment_seek),
26166         (gst_event_new_flush):
26167         * gst/gstevent.h:
26168         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
26169         (_gst_message_free), (gst_message_get_type), (gst_message_new),
26170         (gst_message_new_eos), (gst_message_new_error),
26171         (gst_message_new_warning), (gst_message_new_tag),
26172         (gst_message_new_state_changed), (gst_message_new_application),
26173         (gst_message_get_structure), (gst_message_parse_tag),
26174         (gst_message_parse_state_changed), (gst_message_parse_error),
26175         (gst_message_parse_warning):
26176         * gst/gstmessage.h:
26177         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
26178         (gst_real_pad_set_property), (gst_pad_set_active),
26179         (gst_pad_is_active), (gst_pad_set_blocked_async),
26180         (gst_pad_set_blocked), (gst_pad_is_blocked),
26181         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
26182         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
26183         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
26184         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
26185         (gst_pad_link_filtered), (gst_pad_relink_filtered),
26186         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
26187         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
26188         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
26189         (gst_pad_set_caps), (gst_pad_configure_sink),
26190         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
26191         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
26192         (gst_real_pad_dispose), (gst_real_pad_finalize),
26193         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
26194         (gst_pad_event_default_dispatch), (gst_pad_event_default),
26195         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
26196         * gst/gstpad.h:
26197         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
26198         (pipeline_bus_handler), (gst_pipeline_change_state),
26199         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
26200         * gst/gstpipeline.h:
26201         * gst/gstprobe.h:
26202         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
26203         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
26204         (gst_queue_link_src), (gst_queue_bufferalloc),
26205         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
26206         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
26207         (gst_queue_loop), (gst_queue_handle_src_event),
26208         (gst_queue_handle_src_query), (gst_queue_src_activate),
26209         (gst_queue_change_state):
26210         * gst/gstqueue.h:
26211         * gst/gstscheduler.c: (gst_scheduler_init),
26212         (gst_scheduler_dispose), (gst_scheduler_create_task),
26213         (gst_scheduler_factory_create):
26214         * gst/gstscheduler.h:
26215         * gst/gststructure.c: (gst_structure_get_type),
26216         (gst_structure_copy_conditional):
26217         * gst/gststructure.h:
26218         * gst/gsttaginterface.h:
26219         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26220         (gst_task_init), (gst_task_dispose), (gst_task_create),
26221         (gst_task_get_state), (gst_task_start), (gst_task_stop),
26222         (gst_task_pause):
26223         * gst/gsttask.h:
26224         * gst/gstthread.c:
26225         * gst/gstthread.h:
26226         * gst/gsttypes.h:
26227         * gst/schedulers/Makefile.am:
26228         * gst/schedulers/cothreads_compat.h:
26229         * gst/schedulers/entryscheduler.c:
26230         * gst/schedulers/faircothreads.c:
26231         * gst/schedulers/faircothreads.h:
26232         * gst/schedulers/fairscheduler.c:
26233         * gst/schedulers/gstbasicscheduler.c:
26234         * gst/schedulers/gstoptimalscheduler.c:
26235         * gst/schedulers/gthread-cothreads.h:
26236         * gst/schedulers/threadscheduler.c:
26237         (gst_thread_scheduler_task_get_type),
26238         (gst_thread_scheduler_task_class_init),
26239         (gst_thread_scheduler_task_init),
26240         (gst_thread_scheduler_task_start),
26241         (gst_thread_scheduler_task_stop),
26242         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26243         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26244         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26245         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26246         (plugin_init):
26247         * libs/gst/Makefile.am:
26248         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26249         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26250         (gst_file_pad_parent_set):
26251         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26252         (gst_dp_event_from_packet):
26253         * tests/complexity.c: (main):
26254         * tests/mass_elements.c: (main):
26255         * testsuite/states/locked.c: (message_received), (main):
26256         * testsuite/states/parent.c: (main):
26257         * tools/gst-inspect.c: (print_element_flag_info),
26258         (print_implementation_info), (print_pad_info):
26259         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26260         (main):
26261         * tools/gst-md5sum.c: (event_loop), (main):
26262         * tools/gst-typefind.c: (main):
26263         * tools/gst-xmlinspect.c: (print_element_info):
26264         Next big merge.
26265         Added GstBus for mainloop integration.
26266         Added GstMessage for sending notifications on the bus.
26267         Added GstTask as an abstraction for pipeline entry points.
26268         Removed GstThread.
26269         Removed Schedulers.
26270         Simplified GstQueue for multithreaded core.
26271         Made _link threadsafe, removed old capsnego.
26272         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26273         Added pad blocking functions.
26274         Reworked scheduling functions in GstPad to prepare for
26275         scheduling updates soon.
26276         Moved events out of data stream.
26277         Simplified GstEvent types.
26278         Added return values to push/pull.
26279         Removed clocking from GstElement.
26280         Added prototypes for state change function for next merge.
26281         Removed iterate from bins and state change management.
26282         Fixed some elements, disabled others for now.
26283         Fixed -inspect and -launch.
26284         Added check for GstBus.
26285
26286 2005-03-10  Wim Taymans  <wim@fluendo.com>
26287
26288         * docs/design/part-MT-refcounting.txt:
26289         * docs/design/part-clocks.txt:
26290         * docs/design/part-gstelement.txt:
26291         * docs/design/part-gstobject.txt:
26292         * docs/design/part-standards.txt:
26293         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26294         (gst_bin_remove_func), (gst_bin_remove):
26295         * gst/gstbin.h:
26296         * gst/gstbuffer.c:
26297         * gst/gstcaps.h:
26298         * testsuite/clock/clock1.c: (main):
26299         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26300         (main):
26301         * testsuite/dlopen/loadgst.c: (do_test):
26302         * testsuite/refcounting/bin.c: (add_remove_test1),
26303         (add_remove_test2), (main):
26304         * testsuite/refcounting/element.c: (main):
26305         * testsuite/refcounting/element_pad.c: (main):
26306         * testsuite/refcounting/pad.c: (main):
26307         * tools/gst-launch.c: (sigint_handler_sighandler):
26308         * tools/gst-typefind.c: (main):
26309         Doc updates.
26310         Added doc about clock.
26311         removed gst_bin_iterate_recurse_up(), marked methods
26312         for removal.
26313         Fix more testsuites.
26314
26315 2005-03-09  Wim Taymans  <wim@fluendo.com>
26316
26317         * gst/gstpad.c: (gst_pad_get_direction),
26318         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26319         (gst_pad_collect_valist):
26320         * testsuite/bins/interface.c: (main):
26321         * testsuite/caps/audioscale.c: (test_caps):
26322         * testsuite/caps/caps.c: (test1), (test2), (test3):
26323         * testsuite/caps/deserialize.c: (main):
26324         * testsuite/caps/enumcaps.c: (main):
26325         * testsuite/caps/filtercaps.c: (main):
26326         * testsuite/caps/intersect2.c: (main):
26327         * testsuite/caps/random.c: (main):
26328         * testsuite/caps/renegotiate.c: (my_fixate), (main):
26329         * testsuite/caps/sets.c: (check_caps):
26330         * testsuite/caps/simplify.c: (check_caps), (main):
26331         * testsuite/caps/subtract.c: (check_caps):
26332         Fix _pad_get_direction wrt ghostpads.
26333         Fix caps testsuite.
26334
26335 2005-03-09  Wim Taymans  <wim@fluendo.com>
26336
26337         * check/Makefile.am:
26338         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26339         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26340         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26341         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26342         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26343         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26344         (gst_bin_remove), (gst_bin_iterate_recurse_up),
26345         (bin_element_is_sink), (gst_bin_iterate_sinks),
26346         (gst_bin_iterate_all_by_interface):
26347         * gst/gstbin.h:
26348         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26349         (gst_element_change_state), (gst_element_dispose),
26350         (gst_element_finalize), (gst_element_set_loop_function):
26351         * gst/gstelement.h:
26352         * gst/gstiterator.c: (find_custom_fold_func):
26353         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26354         (gst_pad_collectv), (gst_pad_collect_valist),
26355         (gst_pad_template_new):
26356         * gst/gstpipeline.c: (gst_pipeline_class_init),
26357         (gst_pipeline_dispose), (gst_pipeline_set_property),
26358         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26359         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26360         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26361         * gst/gstutils.h:
26362         * gst/schedulers/entryscheduler.c:
26363         * gst/schedulers/gstbasicscheduler.c:
26364         (gst_basic_scheduler_cothreaded_chain),
26365         (gst_basic_scheduler_chain_add_element):
26366         * testsuite/bins/interface.c: (main):
26367         Added GstBin test.
26368         Added GstSystemClock test.
26369         Implemented clock distribution code in GstBin.
26370         Implemented iterate sinks method for future use.
26371         Rearranged gstelement.h
26372         Fix GstIterator comparison bug.
26373         Moved some code to GstPipeline, mostly clocking related.
26374
26375 2005-03-09  Wim Taymans  <wim@fluendo.com>
26376
26377         * configure.ac:
26378         * gst/gst_private.h:
26379         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26380         (gst_bin_remove_func), (gst_bin_remove),
26381         (gst_bin_get_by_name_recurse_up):
26382         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26383         (gst_clock_id_compare_func), (gst_clock_id_wait),
26384         (gst_clock_id_wait_async), (gst_clock_init),
26385         (gst_clock_adjust_unlocked), (gst_clock_get_time):
26386         * gst/gstelement.h:
26387         * gst/gstinfo.c: (_gst_debug_init):
26388         * gst/gstobject.h:
26389         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26390         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26391         * gst/gstpad.h:
26392         Bump version number, we're now 0.9.0
26393         Add future debugging category.
26394         Fix NULL _unref() in _get_by_name_recurse_up
26395         Rearrange gstpad.h.
26396         Update some docs.
26397
26398 2005-03-08  Wim Taymans  <wim@fluendo.com>
26399
26400         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26401         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26402         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26403         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26404         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26405         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26406         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26407         * gst/elements/gstidentity.c: (gst_identity_class_init):
26408         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26409         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26410         * gst/elements/gstshaper.c: (gst_shaper_class_init):
26411         * gst/elements/gststatistics.c: (gst_statistics_class_init):
26412         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26413         (gst_tee_link):
26414         * gst/gstelement.c: (gst_element_class_init),
26415         (gst_element_base_class_init), (gst_element_init),
26416         (gst_element_get_random_pad), (gst_element_wait_state_change),
26417         (gst_element_change_state), (gst_element_dispose),
26418         (gst_element_finalize), (gst_element_set_loop_function):
26419         * gst/gstelement.h:
26420         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26421         * gst/gstthread.c: (gst_thread_class_init),
26422         (gst_thread_release_children_locks), (gst_thread_change_state):
26423         * gst/schedulers/gstbasicscheduler.c:
26424         (gst_basic_scheduler_loopfunc_wrapper),
26425         (gst_basic_scheduler_chain_wrapper),
26426         (gst_basic_scheduler_src_wrapper),
26427         (gst_basic_scheduler_remove_element):
26428         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26429         Remove threadsafe properties. Fix elements because GObject
26430         complains when installing a property before declaring a
26431         set/get_property handler.
26432         Rearrange gstelement.h file, use STATE macros for state locks.
26433         Free mutexes in the finalize method instead of dispose.
26434
26435 2005-03-08  Wim Taymans  <wim@fluendo.com>
26436
26437         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26438         * gst/gstthread.c: (gst_thread_release_children_locks):
26439         Added parentage check.
26440         Fix build og GstThread again.
26441
26442 2005-03-08  Wim Taymans  <wim@fluendo.com>
26443
26444         * docs/design/part-MT-refcounting.txt:
26445         * docs/design/part-conventions.txt:
26446         * docs/design/part-gstobject.txt:
26447         * docs/design/part-relations.txt:
26448         * docs/design/part-standards.txt:
26449         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26450         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26451         (gst_bin_get_by_name), (gst_bin_get_by_interface),
26452         (gst_bin_iterate_all_by_interface):
26453         * gst/gstbuffer.h:
26454         * gst/gstclock.h:
26455         * gst/gstelement.c: (gst_element_class_init),
26456         (gst_element_change_state), (gst_element_set_loop_function):
26457         * gst/gstelement.h:
26458         * gst/gstiterator.c:
26459         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26460         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26461         (gst_object_dispatch_properties_changed), (gst_object_set_name),
26462         (gst_object_set_parent), (gst_object_unparent),
26463         (gst_object_check_uniqueness):
26464         * gst/gstobject.h:
26465         Docs updates, clean up some headers.
26466
26467 2005-03-07  Wim Taymans  <wim@fluendo.com>
26468
26469         * check/.cvsignore:
26470         * check/Makefile.am:
26471         * check/gst-libs/.cvsignore:
26472         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26473         * check/gst/.cvsignore:
26474         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26475         (START_TEST), (gstbus_suite), (main):
26476         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26477         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26478         (gst_data_suite), (main):
26479         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26480         (add_fold_func), (gstiterator_suite), (main):
26481         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26482         (thread_name_object), (thread_name_object_default),
26483         (gst_object_name_compare), (gst_object_suite), (main):
26484         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26485         (gst_pad_suite), (main):
26486         * check/gstcheck.c: (gst_check_log_message_func),
26487         (gst_check_log_critical_func), (gst_check_init):
26488         * check/gstcheck.h:
26489         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26490         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26491         Added checks.
26492
26493 2005-03-07  Wim Taymans  <wim@fluendo.com>
26494
26495         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26496         (gst_list_iterator_next), (gst_list_iterator_resync),
26497         (gst_list_iterator_free), (gst_iterator_new_list),
26498         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26499         (gst_iterator_free), (gst_iterator_push), (filter_next),
26500         (filter_resync), (filter_uninit), (filter_free),
26501         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26502         (gst_iterator_foreach), (find_custom_fold_func),
26503         (gst_iterator_find_custom):
26504         * gst/gstiterator.h:
26505         Added missing files.
26506
26507 2005-03-07  Wim Taymans  <wim@fluendo.com>
26508
26509         * Makefile.am:
26510         * configure.ac:
26511         * docs/design/part-MT-refcounting.txt:
26512         * docs/design/part-conventions.txt:
26513         * docs/design/part-gstobject.txt:
26514         * docs/design/part-relations.txt:
26515         * examples/mixer/mixer.c: (main):
26516         * examples/thread/thread.c: (eos), (main):
26517         * gst/Makefile.am:
26518         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26519         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26520         (gst_spider_plug_from_srcpad):
26521         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26522         (gst_spider_identity_change_state),
26523         (gst_spider_identity_sink_loop_type_finding):
26524         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26525         * gst/elements/gstidentity.c: (gst_identity_init):
26526         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26527         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26528         * gst/elements/gsttypefindelement.c: (free_entry):
26529         * gst/gst.c:
26530         * gst/gst.h:
26531         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26532         (gst_bin_set_clock_func), (gst_bin_auto_clock),
26533         (gst_bin_set_index), (gst_bin_set_element_sched),
26534         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26535         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26536         (gst_bin_iterate_elements), (iterate_child_recurse),
26537         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26538         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26539         (compare_interface), (gst_bin_get_by_interface),
26540         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26541         * gst/gstbin.h:
26542         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26543         (gst_buffer_default_free), (gst_buffer_default_copy),
26544         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26545         (gst_buffer_create_sub):
26546         * gst/gstbuffer.h:
26547         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26548         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26549         (gst_caps_unref), (gst_static_caps_get),
26550         (gst_caps_remove_and_get_structure), (gst_caps_append),
26551         (gst_caps_append_structure), (gst_caps_remove_structure),
26552         (gst_caps_copy_nth), (gst_caps_set_simple),
26553         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26554         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26555         (gst_caps_structure_intersect_field), (gst_caps_intersect),
26556         (gst_caps_structure_subtract_field), (gst_caps_subtract),
26557         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26558         (gst_caps_structure_figure_out_union),
26559         (gst_caps_switch_structures), (gst_caps_do_simplify),
26560         (gst_caps_replace), (gst_caps_from_string),
26561         (gst_caps_copy_conditional):
26562         * gst/gstcaps.h:
26563         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26564         (_gst_clock_id_free), (gst_clock_id_unref),
26565         (gst_clock_id_compare_func), (gst_clock_id_wait),
26566         (gst_clock_id_wait_async), (gst_clock_class_init),
26567         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26568         (gst_clock_get_time), (gst_clock_set_time_adjust),
26569         (gst_clock_set_property), (gst_clock_get_property):
26570         * gst/gstclock.h:
26571         * gst/gstcompat.h:
26572         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26573         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26574         * gst/gstdata.h:
26575         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26576         (gst_element_requires_clock), (gst_element_provides_clock),
26577         (gst_element_set_clock), (gst_element_clock_wait),
26578         (gst_element_wait), (gst_element_set_time_delay),
26579         (gst_element_is_indexable), (gst_element_add_pad),
26580         (gst_element_add_ghost_pad), (gst_element_remove_pad),
26581         (pad_compare_name), (gst_element_get_static_pad),
26582         (gst_element_request_pad), (gst_element_get_request_pad),
26583         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26584         (gst_element_class_get_pad_template_list),
26585         (gst_element_class_get_pad_template), (gst_element_error_func),
26586         (gst_element_get_random_pad), (gst_element_get_event_masks),
26587         (gst_element_send_event), (gst_element_seek),
26588         (gst_element_get_query_types), (gst_element_query),
26589         (gst_element_get_formats), (gst_element_convert),
26590         (gst_element_is_locked_state), (gst_element_set_locked_state),
26591         (gst_element_sync_state_with_parent), (gst_element_change_state),
26592         (gst_element_finalize), (gst_element_yield),
26593         (gst_element_interrupt), (gst_element_set_scheduler),
26594         (gst_element_get_scheduler), (gst_element_set_loop_function):
26595         * gst/gstelement.h:
26596         * gst/gstevent.h:
26597         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26598         (gst_format_get_by_nick), (gst_format_get_details),
26599         (gst_format_iterate_definitions):
26600         * gst/gstformat.h:
26601         * gst/gstindex.c: (gst_index_gtype_resolver):
26602         * gst/gstinfo.c:
26603         * gst/gstinfo.h:
26604         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26605         (gst_mem_chunk_free):
26606         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26607         (gst_object_ref), (gst_object_unref), (gst_object_sink),
26608         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26609         (gst_object_dispatch_properties_changed),
26610         (gst_object_set_name_default), (gst_object_set_name),
26611         (gst_object_get_name), (gst_object_set_name_prefix),
26612         (gst_object_get_name_prefix), (gst_object_set_parent),
26613         (gst_object_get_parent), (gst_object_unparent),
26614         (gst_object_check_uniqueness), (gst_object_save_thyself),
26615         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26616         (gst_object_set_property), (gst_object_get_property),
26617         (gst_object_get_path_string):
26618         * gst/gstobject.h:
26619         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26620         (gst_real_pad_init), (gst_real_pad_get_property),
26621         (gst_pad_custom_new), (gst_pad_get_direction),
26622         (gst_pad_set_active), (gst_pad_is_active),
26623         (gst_pad_set_event_function), (gst_pad_is_linked),
26624         (gst_pad_link_free), (gst_pad_link_intersect),
26625         (gst_pad_link_fixate), (gst_pad_set_caps),
26626         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26627         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26628         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26629         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26630         (gst_pad_get_caps), (gst_pad_peer_get_caps),
26631         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26632         (gst_pad_realize), (gst_pad_get_allowed_caps),
26633         (gst_real_pad_dispose), (gst_real_pad_finalize),
26634         (gst_pad_collectv), (gst_pad_collect_valist),
26635         (gst_pad_template_dispose), (gst_pad_template_new),
26636         (gst_pad_get_internal_links):
26637         * gst/gstpad.h:
26638         * gst/gstpipeline.c: (gst_pipeline_dispose),
26639         (gst_pipeline_change_state):
26640         * gst/gstpipeline.h:
26641         * gst/gstplugin.c:
26642         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26643         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26644         * gst/gstpluginfeature.h:
26645         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26646         * gst/gstquery.c: (_gst_query_type_initialize),
26647         (gst_query_type_register), (gst_query_type_get_by_nick),
26648         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26649         * gst/gstquery.h:
26650         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26651         * gst/gstscheduler.c: (gst_scheduler_add_element),
26652         (gst_scheduler_factory_create):
26653         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26654         (gst_structure_free), (gst_structure_set_name),
26655         (gst_structure_id_set_value), (gst_structure_set_value),
26656         (gst_structure_set_valist), (gst_structure_remove_field),
26657         (gst_structure_remove_fields),
26658         (gst_structure_remove_fields_valist),
26659         (gst_structure_remove_all_fields), (gst_structure_foreach),
26660         (gst_structure_map_in_place),
26661         (gst_caps_structure_fixate_field_nearest_int),
26662         (gst_caps_structure_fixate_field_nearest_double):
26663         * gst/gststructure.h:
26664         * gst/gstsystemclock.c: (gst_system_clock_class_init),
26665         (gst_system_clock_init), (gst_system_clock_dispose),
26666         (gst_system_clock_async_thread),
26667         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26668         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26669         * gst/gstsystemclock.h:
26670         * gst/gsttag.c: (gst_tag_list_add_value_internal),
26671         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26672         * gst/gsttaginterface.c:
26673         * gst/gstthread.c: (gst_thread_dispose),
26674         (gst_thread_release_children_locks), (gst_thread_change_state),
26675         (gst_thread_main_loop):
26676         * gst/gsttrashstack.h:
26677         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26678         * gst/gsttypes.h:
26679         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26680         (gst_element_request_pad), (gst_element_get_pad_from_template),
26681         (gst_element_request_compatible_pad),
26682         (gst_element_get_compatible_pad_filtered),
26683         (gst_element_get_compatible_pad), (gst_element_state_get_name),
26684         (gst_element_link_pads_filtered), (gst_element_link_filtered),
26685         (gst_element_link_many), (gst_element_link),
26686         (gst_element_link_pads), (gst_element_unlink_pads),
26687         (gst_element_unlink_many), (gst_element_unlink),
26688         (gst_pad_can_link_filtered), (gst_pad_can_link),
26689         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26690         (gst_object_default_error), (gst_bin_add_many),
26691         (gst_bin_remove_many), (gst_element_populate_std_props),
26692         (gst_element_class_install_std_props), (gst_buffer_merge),
26693         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26694         (link_fold_func), (gst_pad_proxy_setcaps):
26695         * gst/gstutils.h:
26696         * gst/gstvalue.c: (gst_value_deserialize_string):
26697         * gst/parse/grammar.y:
26698         * gst/schedulers/gstbasicscheduler.c:
26699         (gst_basic_scheduler_cothreaded_chain),
26700         (gst_basic_scheduler_chain_recursive_add),
26701         (gst_basic_scheduler_pad_link):
26702         * gst/schedulers/gstoptimalscheduler.c:
26703         (get_group_schedule_function),
26704         (gst_opt_scheduler_state_transition),
26705         (gst_opt_scheduler_add_element), (element_get_reachables_func):
26706         * libs/gst/bytestream/bytestream.c:
26707         * libs/gst/dataprotocol/dataprotocol.c:
26708         (gst_dp_header_from_buffer):
26709         * po/nb.po:
26710         * po/ru.po:
26711         * tests/threadstate/threadstate2.c: (eos):
26712         * tools/gst-compprep.c: (main):
26713         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26714         (print_pad_info), (print_children_info):
26715         * tools/gst-launch.c: (idle_func), (main):
26716         * tools/gst-md5sum.c: (idle_func), (main):
26717         * tools/gst-xmlinspect.c: (print_element_info):
26718         First THREADED backport attempt, focusing on adding locks and
26719         making sure the API is threadsafe. Needs more work. More docs
26720         follow this week.
26721
26722 2005-02-24  Andy Wingo  <wingo@pobox.com>
26723
26724         * tests/bench-complexity.scm:
26725         * tests/complexity.gnuplot: New files, good for running complexity
26726         benchmarks.
26727
26728         * tests/Makefile.am:
26729         * tests/complexity.c: New test, sets up N elements, at each level
26730         teeing into M streams per element. Eeeenteresting.
26731
26732         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26733         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26734         running bench-mass_elements.scm.
26735
26736         * tests/bench-mass_elements.scm: New script, runs mass_elements
26737         for various numbers of identities, outputting the results to a
26738         file. Requires guile 1.6. Just for testing.
26739
26740 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26741
26742         * gst/schedulers/fairscheduler.c:
26743           compile with debug disabled
26744
26745 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26746
26747         * configure.ac:
26748           hunting season on 0.9 is now OPEN