tests/check/generic/sinks.c: Put back the tcase_set_timeout(), apparently it's needed...
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * tests/check/generic/sinks.c: (gst_sinks_suite):
4           Put back the tcase_set_timeout(), apparently it's needed after
5           all; fix it up in a way that makes things work with valgrind too.
6
7 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
8
9         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
10         * gst/gstcaps.c: (gst_caps_to_string):
11         * gst/gststructure.c: (GST_ASCII_IS_STRING),
12           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
13
14 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
15
16         * gst/gstdebugutils.c:
17           Add warning when failed to open file for writing.
18
19 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
20
21         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
22
23         * gst/gstvalue.c: (gst_value_is_fixed):
24           Optimisation: bail out of the loop as early as possible (#500143).
25
26 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
27
28         * gst/gstcaps.c: (gst_caps_to_string):
29         * gst/gstinfo.c: (gst_debug_construct_term_color):
30         * gst/gstparse.c: (gst_parse_launchv):
31         * gst/gstutils.c: (gst_util_dump_mem):
32         * gst/gstvalue.c: (gst_value_serialize_any_list),
33           (gst_value_transform_any_list_string):
34           Bunch of gratuitous nano-optimisations.
35
36 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
37
38         * tests/check/generic/sinks.c: (async_done_func),
39           (async_done_eos_func):
40           Fix leak in unit test (bus sync handler must unref the message
41           if it returns GST_BUS_DROP). Don't fiddle with the default test
42           timeout, this is smaller than the current preconfigured value
43           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
44           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
45
46 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
47
48         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
49
50         * configure.ac:
51         Check for stdio_ext.h for the filesink changes.
52
53         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
54         (gst_file_sink_class_init), (gst_file_sink_init),
55         (gst_file_sink_dispose), (gst_file_sink_set_property),
56         (gst_file_sink_get_property), (gst_file_sink_open_file),
57         (gst_file_sink_close_file):
58         * plugins/elements/gstfilesink.h:
59         Add two properties to control the buffering mode and size.
60         API: GstFileSink::buffer-mode
61         API: GstFileSink::buffer-size
62         Fixes #500150.
63
64 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
65
66         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
67         Add some more docs to explain why a FIXME was wrongly added. 
68
69 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
70
71         * gst/gstobject.c:
72           Fix typo in the gst_object_{ref,unref} documentation.
73
74 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
75
76         * tests/check/libs/controller.c:
77         * tests/check/libs/typefindhelper.c:
78         * tests/check/pipelines/parse-launch.c:
79           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
80           going to be deprecated (see #498924).
81
82 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
83
84         * gst/gsttypefind.c: (gst_type_find_register):
85           Make gst_type_find_register work for static typefind functions,
86           ie. allow passing plugin == NULL (prerequisite for #498924).
87
88         * gst/gstelementfactory.c: (gst_element_register):
89           Small docs addition.
90
91 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
92
93         * gst/gstpad.c: (gst_pad_dispose):
94         Really unlink the peer pad instead of setting the peer pointer to NULL
95         when we dispose the pad.
96         This correctly calls the unlink functions and makes sure that the peer
97         does not have a handle to invalid memory. See #504671.
98
99         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
100         Add testsuite for above case.
101
102 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
103
104         Patch by: Peter Kjellerstedt <pkj axis com>
105
106         * libs/gst/check/gstcheck.h:
107           Fix detection of the check version we're compiling against (would
108           otherwise break if check goes v0.10.0); correctly report the
109           name of the failed test again in case of failure, instead of
110           just 'tf' (fixes #504499).
111
112 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
113
114         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
115         (gst_base_src_get_range), (gst_base_src_pad_get_range),
116         (gst_base_src_loop), (gst_base_src_set_flushing),
117         (gst_base_src_change_state):
118         Allow sending EOS to the source to make it send out an EOS event from
119         the streaming thread.
120         Update docs and deprecate the old NULL/READY shutdown method.
121
122         * tests/check/libs/basesrc.c: (GST_START_TEST),
123         (gst_basesrc_suite):
124         Add unit test for controlled shutdown.
125
126 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
127
128         * docs/design/part-synchronisation.txt:
129         Small updates.
130
131         * gst/gstsegment.c: (gst_segment_set_seek),
132         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
133         (gst_segment_to_running_time):
134         The seek format can be different from the segment format when the start
135         and stop values are not to be updated, when we only do a rate change for
136         example.
137
138         * tests/check/gst/gstsegment.c: (GST_START_TEST),
139         (gst_segment_suite):
140         Add a testcase for the rate-only seeks, checking that the format is
141         correctly ignored when start and stop are not updated.
142
143 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
144
145         Patch by: Matthias Bolte <photon at mail dot upb dot de>
146
147         * win32/vs8/grammar.vcproj:
148         * win32/vs8/libgstcontroller.vcproj:
149         * win32/vs8/libgstreamer.vcproj:
150         Fix compilation with VS8 and include some missing files.
151
152 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
153
154         * gst/gsttaglist.c:
155           Small docs addition: mention that the strings returned by
156           gst_tag_list_get_string*() are in UTF-8 encoding.
157
158 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
159
160         * Makefile.am:
161           The check-exports stuff moved to common/win32.mak, so include that.
162
163 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
164
165         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
166         (gst_base_src_perform_seek), (gst_base_src_get_range),
167         (gst_base_src_set_playing), (gst_base_src_change_state):
168         Make _wait_playing() not check any variables so that we can call this
169         function from subclasses. Move the checks elsewhere similar to
170         _wait_preroll() in basesink.
171         Add some debugging.
172         Only signal the LIVE cond when we are going back to PLAYING.
173
174 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
175
176         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
177           Use g_remove() and g_rename(). Check result of g_rename(), and
178           don't leak the open file descriptor if we error out when writing.
179
180         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
181           Must check the return value of close() after writing out the new
182           registry file.  Sometimes write problems such as out-of-diskspace
183           are only reported when the file is closed and not already during
184           the write.  This may have caused partial/broken registry files in
185           some rare circumstances. Should fix #503675.
186
187 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
188
189         * docs/gst/.cvsignore:
190         * docs/libs/.cvsignore:
191         * docs/plugins/.cvsignore:
192         Ignore files generated by new common/* modifications
193
194 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
195
196         * win32/common/libgstbase.def:
197           Yes, you can also have a <TAB> if you want.
198
199 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
200
201         * win32/common/libgstbase.def:
202           Add new basetransform API to win export file.
203
204 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
205
206         * tests/check/gst/gstbin.c:
207           Adjust the test to the refcount change two days ago.
208
209 2007-12-14  David Schleef  <ds@schleef.org>
210
211         * docs/faq/getting.xml: Fix typo.
212
213 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
214
215         * docs/libs/gstreamer-libs-sections.txt:
216         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
217           (gst_base_transform_prepare_output_buffer),
218           (gst_base_transform_set_gap_aware):
219         * libs/gst/base/gstbasetransform.h:
220           API: Add gst_base_transform_set_gap_aware() to control whether
221           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
222           get buffers with this flag at all. Fixes #503231.
223
224 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
225
226         * libs/gst/base/gstbasesink.c:
227         * libs/gst/base/gstbasesrc.c:
228         * libs/gst/base/gstbasetransform.c:
229           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
230           thread. Correct log message in gstbasesrc.c.
231
232 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
233
234         * gst/gstutils.c: (element_find_unconnected_pad):
235           Fix possible compiler warning (#503417).
236
237 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
238
239         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
240           Don't use GST_CAT_EVENT here for logging, it makes no sense.
241
242 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
243
244         * tools/gst-inspect.c: (print_element_properties_info):
245           Add support for GstFraction properties.
246
247 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
248
249         * Makefile.am:
250           Add check-exports target and run it as part of 'make check'
251           (see #499140 and #493983).
252
253         * gst/gst_private.h:
254         * gst/gstelementfactory.h:
255         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
256         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
257           (_priv_gst_in_valgrind):
258         * gst/gstinfo.h: (GstLogFunction):
259         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
260           (gst_type_find_register):
261         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
262           (gst_type_find_factory_get_type):
263         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
264           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
265           (gst_controller_new_valist), (gst_controller_new_list),
266           (_gst_controller_dispose), (_gst_controller_class_init):
267         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
268         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
269           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
270           (gst_object_get_controller), (gst_object_set_controller),
271           (gst_object_suggest_next_sync), (gst_object_sync_values),
272           (gst_object_set_control_source), (gst_object_get_control_source),
273           (gst_object_get_value_arrays), (gst_object_get_value_array),
274           (gst_object_get_control_rate), (gst_object_set_control_rate):
275         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
276         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
277           Make some functions that should be static static; rename some
278           private symbols so that they don't get exported; add some FIXME
279           comments so we can move accidentally exported functions into
280           our private section in 0.11.
281
282         * win32/common/libgstreamer.def:
283           Add gst_utils_get_timestamp().
284
285 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
286
287         * gst/gstvalue.c:
288         * gst/gstvalue.h:
289           Add more missing "Since:" tags to docs.
290
291 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
292
293         * gst/gstutils.c:
294           Add mising "Since:" to docs.
295
296 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
297
298         * gst/gstplugin.c:
299           Include "glib-compat-private.h" to fix the build on system with
300           glib < 2.10. Fixes #503131.
301
302 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
303
304         * gst/gstutils.c:
305         * gst/gstutils.h:
306           Actually its not PURE as it gets the time from elsewhere.
307
308 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
309
310         * docs/gst/gstreamer-sections.txt:
311         * gst/gstclock.h:
312         * gst/gstdebugutils.c:
313         * gst/gstinfo.c:
314         * gst/gstutils.c:
315         * gst/gstutils.h:
316         * libs/gst/base/gstbasesink.c:
317         * tools/gst-launch.c:
318           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
319           uses as we don't have HAVE_POSIX_TIMERS in public headers.
320           Thanks Tim for spotting.
321
322 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
323
324         * configure.ac:
325           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
326
327 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
328
329         * gst/gststructure.c: (gst_structure_validate_name),
330           (gst_structure_new_valist), (gst_structure_parse_value),
331           (gst_structure_from_string):
332           Don't crash in _from_string() if the structure name is not valid
333           (fixes #501560).  Allow structure names to start with a number
334           again (this apparently broke the ubuntu codec installer).
335
336         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
337           (GST_START_TEST):
338           Add unit test for the crash; update unit tests for new behaviour.
339
340 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
341
342         * gst/gstutils.c:
343         Clarify gst_element_get_compatible_pad() documentation.
344         Fixes #500919.
345
346 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
347
348         * tests/check/Makefile.am:
349           Don't forget to dist {gst,libs}/struct_hppa.h.
350
351 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
352
353         * libs/gst/base/gstbasesink.c:
354           Use new API to get elapsed time.
355
356 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
357
358         * gst/gstdebugutils.c:
359         * gst/gstinfo.c:
360           Fix wrong order of args in GST_CLOCK_DIFF() usage.
361
362         * tools/gst-launch.c:
363           Use new API to get elapsed time.
364
365 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
366
367         * docs/gst/gstreamer-sections.txt:
368         * gst/gstclock.h:
369         * gst/gstdebugutils.c:
370         * gst/gstinfo.c:
371           Rename new API + ChangeLog surgery to remove old name from last entry..
372           API: GST_GET_TIMESTAMP
373
374 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
375
376         * docs/gst/gstreamer-sections.txt:
377         * gst/gstclock.h:
378         * gst/gstdebugutils.c:
379         * gst/gstinfo.c:
380           Now hide the different clock stuff behind a macro.
381
382 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
383
384         * configure.ac:
385         * gst/gstdebugutils.c:
386         * gst/gstinfo.c:
387           Apply the posix-timer check from #361155. Conditionally use the posix
388           timer for logging. This gives better timestamp precission, less
389           overhead and no ntp jitter.
390
391 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
392
393         * gst/gstminiobject.c: (gst_mini_object_get_type),
394         (gst_mini_object_class_init), (gst_mini_object_copy_default),
395         (gst_mini_object_finalize), (gst_mini_object_copy),
396         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
397         (gst_mini_object_replace), (param_mini_object_validate),
398         (gst_param_spec_mini_object_get_type):
399         Some cleanup and checking against invalid function parameters.
400
401 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
402
403         * docs/gst/gstreamer-sections.txt:
404         * gst/gstclock.h:
405         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
406         (gst_systemclock_suite):
407         Start merging in the easy bits of #361155, the monotonic clock patch.
408         This one adds a few handy macros with docs and a testsuite.
409
410 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
411
412         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
413         Be a bit smarter when seeking, like, don't try to do a seek when it's
414         not needed. This avoids errors when the file is not seekable.
415         Fixes #499771.
416
417 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
418
419         * docs/gst/gstreamer-docs.sgml:
420         * docs/gst/gstreamer-sections.txt:
421         * docs/gst/gstreamer.types.in:
422         * gst/Makefile.am:
423         * gst/gst.h:
424         * gst/gstpreset.c:
425         * gst/gstpreset.h:
426         * plugins/elements/gstqueue.c:
427           Due to popular request remove preset interface again. :-(.
428
429 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
430
431         * tools/gst-inspect.c:
432           Print 'default value' for enums and flags too.
433
434 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
435
436         * docs/random/ensonic/profiling.txt:
437           More ideas.
438
439         * gst/gstbin.c:
440           Fix typo and give better log output.
441
442         * gst/gstdebugutils.c:
443         * gst/gstdebugutils.h:
444           More ideas, make graphs a bit smaller and fix param name in macro.
445
446 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
447
448         * gst/gstpreset.c:
449           Try harder to use the return value from fgets().
450
451 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
452
453         * gst/gstpreset.c:
454           For theses two fgets we handle the error below.
455
456 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
457
458         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
459         Only send upstream events upstream. Fixes #498746.
460
461 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
462
463         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
464
465         * plugins/elements/gstidentity.c: (gst_identity_class_init),
466         (gst_identity_init), (gst_identity_transform_ip),
467         (gst_identity_set_property), (gst_identity_get_property):
468         * plugins/elements/gstidentity.h:
469         Add property to disable handoff signal emission. Fixes #498694.
470         API: GstIdentity::signal-handoffs
471
472 2007-11-21  Julien Moutte  <julien@fluendo.com>
473
474         * docs/faq/gst-uninstalled: Yet another missing library for the
475         uninstalled script (fft)
476
477 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
478
479         * docs/faq/developing.xml:
480         Add a question about how to submit new translations.
481
482         * docs/random/release:
483         Update the contact email address for the Translation Project
484
485         * plugins/elements/gstfdsrc.c:
486         The parent_class for fdsrc is pushsrc, not GstElement.
487
488 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
489
490         * gst/gstpreset.c:
491           Plug a leak and fix saving.
492
493 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
494
495         * docs/gst/gstreamer-sections.txt:
496         Add new gst_preset__get_property_names() function to the docs
497         to fix the build.
498
499 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
500
501         * gst/gstpreset.c:
502         * gst/gstpreset.h:
503           Change _get_preset_names API to return a strv with copies. Add
504           _get_property_names to allow implementations to filter and provide
505           good default implementation.
506
507 2007-11-20  Julien MOUTTE  <julien@moutte.net>
508
509         * docs/faq/gst-uninstalled: Add another library to the uninstalled
510         script (sdp).
511
512 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
513
514         * gst/gstpreset.c:
515           More cleanups, docs, and TODOs from comments that now slowly come in.
516
517 2007-11-19  Julien MOUTTE  <julien@moutte.net>
518
519         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
520         search path.
521
522 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
523
524         * gst/gstpreset.c:
525           Fix bogus warning and make the property type specific code more
526           similar.
527
528 2007-11-19  Julien MOUTTE  <julien@moutte.net>
529
530         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
531         it build on OS X.
532
533 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
534
535         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
536         (gst_bin_add_func), (gst_bin_remove_func),
537         (gst_bin_change_state_func), (gst_bin_continue_func):
538         Change email, cleanups add some more debug and comments.
539         Also set bus and clock on new elements when the pipeline was in error.
540
541 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
542
543         * gst/gstbin.c:
544         * gst/gstdebugutils.c:
545           Fix build with --disable-gst-debug. Fixes #497859.
546           Spotted by Sameer Naik.
547
548 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
549
550         * gst/gstevent.c:
551           Little documentation improvment.
552
553         * gst/gstpreset.c:
554           More TODO cleanups. Remove c++ comments.
555
556         * libs/gst/controller/gstcontroller.c:
557           Add TODO and use quark from static string.
558
559         * tests/check/gst/gstmessage.c:
560         * tests/check/gst/gststructure.c:
561           Use quark from static string.
562
563 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
564
565         * gst/gstpreset.c:
566           Add some comments and TODOs.
567
568         * gst/gstpreset.h:
569           Add padding for future changes.
570
571         * plugins/elements/gstqueue.c:
572           Implement the iface.    
573
574 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
575
576         * docs/gst/gstreamer-docs.sgml:
577         * docs/gst/gstreamer-sections.txt:
578         * docs/gst/gstreamer.types.in:
579         * gst/Makefile.am:
580         * gst/gst.h:
581         * gst/gstpreset.c:
582         * gst/gstpreset.h:
583           Add the preset interface (Fixes #396779). Do some doc cleanups along.
584
585 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
586
587         * configure.ac:
588
589         Back to CVS
590
591 === release 0.10.15 ===
592
593 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
594
595         * configure.ac:
596           releasing 0.10.15, "October"
597
598 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
599
600         * win32/vs6/libgstreamer.dsp:
601         Convert line endings back to DOS.
602
603 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
604
605         * docs/design/draft-tagreading.txt:
606         * docs/random/ensonic/profiling.txt:
607         Update fast tagreading draft and performance profiling ideas.
608
609 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
610
611         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
612         Don't hold the object lock when unreffing a buffer because it could
613         cause a deadlock when the finalize function wants to grab the object
614         lock too. Fixes #495133.
615
616 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
617
618         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
619         (gst_segment_to_stream_time), (gst_segment_to_running_time):
620         Also accumulate time correctly when doing reverse playback. Fixes
621         #488201,
622         When converting to running and stream time, use default values for
623         start/stop/time/accum when comparing different formats. Fixes #494245.
624
625         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
626         Do running/stream time in TIME format.
627
628         * tests/check/gst/gstsegment.c: (GST_START_TEST),
629         (gst_segment_suite):
630         2 new unit tests for segment accumulation.
631
632 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
633
634         * gst/gst.c: (init_pre):
635         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
636           (_gst_debug_bin_to_dot_file):
637           Move getenv() back into gst_init, so everyone can live happily
638           ever after. Make sure the symbol isn't exported though.
639
640 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
641
642         Patch by: Sebastien Moutte  <sebastien moutte net>
643
644         * win32/common/gstenumtypes.c:
645         * win32/common/gstenumtypes.h:
646           Update enum types.
647
648         * win32/vs6/libgstreamer.dsp:
649           Update vs6 project files (#494343).
650
651 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
652
653         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
654         (gst_base_src_perform_seek), (gst_base_src_default_event),
655         (gst_base_src_set_flushing), (gst_base_src_activate_push),
656         (gst_base_src_activate_pull):
657         Unify flushing code, remove some old unlock code that is no longer used.
658         Take the streaming lock when seeking to avoid races. Fixes #492729.
659         Added some more comments.
660
661 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
662
663         * gst/gst.c: (_gst_disable_segtrap):
664           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
665           we can use gst_segtrap_is_enabled() there now that we have that API.
666           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
667           to do the getenv here (and export the variable).
668
669         * gst/gstdebugutils.c: (debug_dump_element),
670           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
671           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
672
673         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
674           (gst_debug_log_default):
675           Rename _gst_info_start_time to priv_gst_info_start_time so it
676           doesn't get exported (was never in any header).
677
678         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
679           (gst_plugin_loading_mutex):
680           Make static mutex gst_plugin_loading_mutex really static (was never
681           in any header), and use gst_segtrap_is_enabled() instead of
682           _gst_disable_segtrap.
683
684         * gst/gsttrace.c: (_gst_trace_default):
685           Make local _gst_trace_default static (was never in any header).
686
687 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
688
689         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
690
691         * win32/common/libgstbase.def:
692         * win32/common/libgstcontroller.def:
693         * win32/common/libgstdataprotocol.def:
694         * win32/common/libgstnet.def:
695         * win32/common/libgstreamer.def:
696           Add more missing symbols, remove some duplicates, and sort
697           as the 'sort' command sorts it (partially fixes #493983).
698
699 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
700
701         * gst/gstelement.c: (gst_element_set_state_func):
702         Only change the state cookie if a different state was set on the
703         element. See #492729.
704
705 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
706
707         * gst/gstvalue.c:
708           Remove unused and uninitialised type variables that were still
709           exported for some reason (they were never in any header files
710           though).
711
712 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
713
714         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
715         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
716         (gst_base_sink_event), (gst_base_sink_get_position_last),
717         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
718         (gst_base_sink_change_state):
719         Don't try to report a 0 position when we don't know, return -1 and FALSE
720         instead. This mostly happens when we are prerolling.
721         Make sure we can report the right position before we post the ASYNC_DONE
722         message so that a message handler can query position without races.
723
724         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
725         (async_done_handoff), (async_done_func), (send_buffer),
726         (async_done_eos_func), (gst_sinks_suite):
727         Add two tests for the above.
728
729 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
730
731         * MAINTAINERS:
732         Update with new email address.
733
734         * docs/design/part-TODO.txt:
735         Add some more info about future pad-block and negotiation changes.
736
737         * docs/design/part-buffering.txt:
738         Add some ideas about buffering reporting.
739
740 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
741
742         * tests/check/gst/gstobject.c:
743         Disable silly racy test that always fails on this combination of CPU
744         and kernel.
745
746 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
747
748         Patch by: Murray Cumming  <murrayc@murrayc.com>
749
750         * gst/gstobject.c:
751           Corrected the registration of the parent-set and parent-unset
752           signals: The parameter is a GstObject, not a GObject (#493134).
753
754 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
755
756         * gst/gst_private.h:
757         * gst/gstbuffer.h:
758         * gst/gstevent.h:
759         * gst/gstformat.h:
760         * gst/gstmessage.h:
761         * gst/gstplugin.h:
762         * gst/gstquery.h:
763         * gst/gsttaglist.h:
764         * gst/gstvalue.h:
765           Move declaration of private _gst_foo_initialize() functions into
766           our private header file where they should have been all along.
767
768 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
769
770         * docs/plugins/gstreamer-plugins-sections.txt:
771         * gst/gstdebugutils.h:
772         * gst/gstxml.h:
773         * plugins/elements/gstqueue.c:
774           gtk-doc fixes; trailing-comma-in-enum fix.
775
776 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
777
778         * gst/gst.c: (gst_deinit):
779           Clean up on deinit (not the external ones though, doesn't seem to be
780           needed for some reason).
781
782 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
783
784         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
785           Remove __declspec(dllimport) for MSVC that was copied over into core
786           from a plugin, obviously without ever having been tested (note the
787           single underscore in _declspec in the initial commit), and that doesn't
788           really make sense.  See #492077.
789
790 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
791
792         * gst/gst.c: (init_post):
793         * gst/gstevent.c: (_gst_event_initialize):
794         * gst/gstquery.c: (_gst_query_initialize):
795         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
796           g_type_class_ref() other types as well, see #349410 and #64764.
797
798         * gst/gstbuffer.c: (_gst_buffer_initialize):
799         * gst/gstmessage.c: (_gst_message_initialize):
800           Simplify existing g_type_class_ref().
801
802 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
803
804         * gst/gstformat.c: (_gst_format_initialize):
805           g_type_class_ref() our GstFormat type to make sure we avoid the
806           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
807           bug #64764. Should fix intermittent tee unit test failures (#474823).
808
809 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
810
811         * tests/check/elements/tee.c: (test_num_buffers):
812           Simplify, simplify, simplify - or not.  Rewrite unit test
813           not to use gst_parse_launch(); allow N sub-streams. Increasing
814           the number of sub-streams seems to reproduce #474823 more easily.
815
816 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
817
818         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
819
820         * gst/gsttrace.c:
821         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
822         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
823         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
824           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
825           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
826           so use _pipe() directly (#492077).
827
828         * win32/common/dirent.c: (_treaddir):
829           Add a couple of casts to make it build without warnings with MSVC.
830
831         * win32/common/libgstreamer.def:
832           Add some more symbols that need to be exported.
833
834 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
835
836         * tests/examples/metadata/read-metadata.c: (message_loop):
837           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
838           arriving in a second or third tag message are added to
839           the tag list as well.
840
841 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
842
843         * libs/gst/base/gstbasesrc.c:
844           Its "Since:" and not "@Since:". And remove an superflous cast.
845
846 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
847
848         * docs/libs/gstreamer-libs-sections.txt:
849         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
850         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
851         (gst_base_sink_get_property), (gst_base_sink_render_object),
852         (gst_base_sink_preroll_object),
853         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
854         (gst_base_sink_change_state):
855         * libs/gst/base/gstbasesink.h:
856         Add a new last-buffer property that contains the last buffer used in
857         basesink for preroll or rendering. useful for making snapshots.
858         API: gst_base_sink_get_last_buffer()
859         API: GstBaseSink::last-buffer
860
861 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
862
863         * docs/gst/running.xml:
864         * gst/gst.c:
865         * gst/gstdebugutils.c:
866         * gst/gstdebugutils.h:
867         * tools/gst-launch.c:
868           Improve bin graph dumping, by using the envvar to specify a path.
869           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
870
871 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
872
873         * plugins/elements/gsttypefindelement.c:
874           (gst_type_find_element_handle_event),
875           (gst_type_find_element_activate):
876           Post special error message if we can't determine the type of a stream
877           because it's empty.
878
879 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
880
881         * docs/gst/running.xml:
882         * gst/gstdebugutils.c:
883           Document new env-var. Add one log-line after dumpng a graph.
884
885 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
886
887         * configure.ac:
888           Ugly hack to put the (recently removed and non-portable, apparently)
889           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
890           GNU ld, because without that 'make check' fails miserably on my debian
891           stable box.  Someone with more knowledge of linker intricacies and
892           portability issues than me fix this properly please.
893
894 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
895
896         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
897         Reset last seen position after flushing so that we don't report the old
898         position anymore.
899
900 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
901
902         * gst/gstelementfactory.c: (gst_element_register):
903         * gst/gsturi.h:
904         Patch from Alessandro Decina adding get_type_full and
905         get_protocols_full private vfuncs to the URIHandler interface
906         to allow bindings to support creating URI handlers. 
907         Partially fixes: #339279
908         API: GstURIHandlerInterface::get_type_full
909         API: GstURIHandlerInterface::get_protocols_full
910
911 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
912
913         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
914         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
915         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
916         Make it so that pads are considered linked until a buffer is pushed
917         and discovered otherwise. This avoids problems with decodebin2 hanging
918         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
919         case.
920
921         Make sure we lock the multiqueue when updating the max-size properties.
922         
923         Fix a crash on Solaris in a debug statement in get_request_pad that
924         passes a NULL string to GST_DEBUG. 
925
926         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
927         (run_output_order_test):
928         Fix the test to allow the first buffer on not-linked pads to come out
929         of sequence while multiqueue discovers that they are not-linked.
930
931 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
932
933         * configure.ac:
934         * libs/gst/check/Makefile.am:
935         Use a custom export symbol regex for libgstcheck, as it needs
936         to export symbols that don't match the standard GStreamer gst_*
937         pattern, and  --export-dynamic is not portable (only works on 
938         GNU ld)
939
940         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
941         (gst_check_setup_sink_pad):
942         Make sure to pass a message parameter to the fail_* macros.
943
944         * tests/check/gst/gstinfo.c: (GST_START_TEST):
945         Fix some compiler warnings.
946
947 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
948
949         * tests/check/gst/gststructure.c: (test_to_string):
950           Disable test that checks that white spaces are not allowed
951           in structure names or field names, since we need to
952           support that for now for backwards compatibility reasons.
953
954 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
955
956         * docs/gst/gstreamer-sections.txt:
957         * gst/gsttaglist.c:
958         * gst/gsttaglist.h:
959           API: add GST_TAG_ARTIST_SORTNAME
960           API: add GST_TAG_ALBUM_SORTNAME
961           API: add GST_TAG_TITLE_SORTNAME
962           Add tag variants for sorting (#414539).
963
964 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
965
966         * gst/gststructure.c:
967           Also allow white space for names so we don't break
968           backwards compatibility.
969
970 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
971
972         * docs/design/part-TODO.txt:
973         * docs/design/part-segments.txt:
974         * docs/design/part-streams.txt:
975         Small updates.
976
977 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
978
979         * docs/gst/gstreamer-sections.txt:
980          Fixed documentation from my previous commit (added new API add
981          gst_value_set_structure(), add gst_value_get_structure() and
982          GST_VALUE_HOLDS_STRUCTURE).
983
984 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
985
986         * gst/gstdebugutils.c:
987           Reflow code to fix uninitialized variable warning.
988
989 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
990
991         * gst/gstcaps.c: (gst_caps_to_string),
992         (gst_caps_from_string_inplace):
993         * gst/gststructure.c: (gst_structure_get_abbrs),
994         (gst_structure_to_string), (gst_structure_from_string):
995         * gst/gstvalue.c: (gst_value_set_structure),
996         (gst_value_get_structure), (gst_value_serialize_structure),
997         (gst_value_deserialize_structure), (_gst_value_initialize):
998         * gst/gstvalue.h:
999         * tests/check/gst/gststructure.c: (GST_START_TEST),
1000         (gst_structure_suite):
1001         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1002          Added GstStructure to gst_value_table and its related functions.
1003          Changed gst_structure_to_string to print ';' in the end.
1004          Changed gst_caps_to_string to not print ';' beteween its
1005          fields (structures) anymore and remove the lastes ';' from latest
1006          structure. Now it is possible to have nested structures.
1007          In addition, backward compatibilty is assured by accepting '\0' as
1008          end delimiter. Fixes: #487969.
1009          API: add gst_value_set_structure()
1010          API: add gst_value_get_structure()
1011          API: add GST_VALUE_HOLDS_STRUCTURE
1012
1013 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
1014
1015         * gst/gstbus.c:
1016           When no GSource callback has been set up, tell developer
1017           to use a function that actually exists.
1018
1019 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
1020
1021         * docs/gst/gstreamer-sections.txt:
1022         * gst/Makefile.am:
1023         * gst/gst.c:
1024         * gst/gst.h:
1025         * gst/gstdebugutils.c:
1026         * gst/gstdebugutils.h:
1027         * gst/gstinfo.c:
1028         * gst/gstinfo.h:
1029         * tools/gst-launch.c:
1030           Allow dumping pipelines as dot graphs. Fixes #456573.
1031
1032 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1033
1034         * gst/gststructure.c:
1035           Allow '+' as well, it can be part of media or mime types
1036           such as image/svg+xml.
1037
1038 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1039
1040         * docs/gst/gstreamer-sections.txt:
1041         * gst/gstbus.c:
1042         * gst/gstbus.h:
1043           API: add gst_bus_pop_filtered
1044           API: add gst_bus_timed_pop_filtered
1045           Two new functions for waiting for specific message types on the
1046           bus for a specified amount of time without iterating any main
1047           loops or main contexts.
1048
1049         * tests/check/gst/gstbus.c:
1050           Some tests for the new functions.
1051
1052 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1053
1054         * docs/libs/gstreamer-libs-sections.txt:
1055           Make gtk-doc ignore stuff it should ignore.
1056
1057 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1058
1059         * libs/gst/check/gstcheck.c:
1060         * libs/gst/check/gstcheck.h:
1061           Allow runtime selection of unit tests to run via the GST_CHECKS
1062           environment variable (test case function names, comma-separated).
1063
1064 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
1065
1066         * gst/gststructure.c:
1067         * tests/check/gst/gststructure.c:
1068           Revert serialisation change and constrain structure-names after
1069           consensus on irc. Update api documentation to reflect the change.
1070
1071 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
1072
1073         * gst/gststructure.c:
1074           Improve serialization and fix tests.
1075
1076         * tests/check/gst/gststructure.c:
1077           Add another test that covers why I actually did the previous structure
1078           change.
1079
1080 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
1081
1082         * tools/gst-inspect.c: (print_element_info):
1083         Don't crash when inspecting an element.
1084
1085 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
1086
1087         * tests/check/gst/gststructure.c:
1088           Add unit test for escaping of structure name when serialising
1089           and deserialising to/from strings.
1090
1091 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
1092
1093         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1094         (gst_single_queue_new):
1095         * plugins/elements/gstqueue.c: (gst_queue_init),
1096         (gst_queue_push_one):
1097         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
1098         upstream is tricked into thinking it can suggest a format downstream
1099         while downstream does not support that format. The real problem is that
1100         core calls acceptcaps when pushing a buffer with new caps, for which we
1101         do a little workaround by setting the caps on the srcpad ourselves
1102         before pushing the buffer (until this is figured out). Fixes #486758.
1103
1104 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1105
1106         * gst/gststructure.c:
1107         * gst/gstvalue.c:
1108           Add some more comments and debug output. Quote structure name to fix
1109           deserialisation of some strings.
1110
1111 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1112
1113         * gst/gstbuffer.h:
1114           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
1115           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
1116
1117 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1118
1119         * tools/gst-inspect.c:
1120           Save approx. 400 1 byte allocs when printing. Use API to acces element
1121           details.
1122
1123         * tools/gst-run.c:
1124           Avoid a strdup.
1125
1126         * tools/gst-xmlinspect.c:
1127           Use API to acces element details.
1128
1129 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1130
1131         * gst/gstinfo.c:
1132           Fix some spelling errors.
1133
1134 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
1135
1136         * gst/gstbin.c: (bin_handle_async_done):
1137         Correctly set the next state if all of our async children commited their
1138         state. This makes sure we can actually cancel the state change in
1139         progress. Fixes a regression in Rhythmbox when seeking.
1140
1141 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
1142
1143         * gst/gstbin.c:
1144           Don't shadow local variable.
1145
1146         * gst/gstinfo.c:
1147           Don't shadow global function name.
1148
1149 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
1150
1151         * gst/gstelementfactory.c:
1152         * gst/gstpluginfeature.c:
1153         * gst/gstpluginfeature.h:
1154         * gst/gstregistrybinary.c:
1155         * gst/gstregistryxml.c:
1156         * gst/gsttypefind.c:
1157           Use already-interned string for the private GstPluginFeature
1158           plugin_name field.
1159
1160 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
1161
1162         * docs/libs/gstreamer-libs-sections.txt:
1163           Add new API to docs; fixes the build.
1164
1165 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
1166         
1167         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
1168
1169         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
1170         (gst_base_sink_event):
1171         * libs/gst/base/gstbasesink.h:
1172         Add function to wait for EOS, subclasses can use this to correctly wait
1173         for devices to drain before performing the EOS logic. Fixes #485343.
1174         API: gst_base_sink_wait_eos()
1175
1176 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
1177
1178         * gst/gstplugin.h:
1179           Cast description string constants in GST_PLUGIN_DEFINE macros
1180           to a (gchar*) to make C++ code using these macros compile
1181           without warning with g++-4.2 (see #462737).  Even if slightly
1182           ugly, this seems preferable to putting the description strings
1183           into the GLib quark table or making the structure member a
1184           const gchar * and doing casts in core code that allocs and
1185           frees these strings, or requiring a cast in the C++ code.
1186
1187 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
1188
1189         * gst/gstinfo.h:
1190           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
1191           to print the entire class/function signature into the log
1192           file for C++ code.  This only affects C++ code, for C code
1193           everything remains the same.
1194
1195 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
1196
1197         * gst/gstbin.c: (remove_from_queue):
1198         Work around a problem with pipelines containing (semi)loops until a
1199         proper, more complicated solution is ready. See #475455.
1200
1201 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
1202
1203         * gst/gstplugin.c:
1204         * gst/gstplugin.h:
1205         * gst/gstregistrybinary.c:
1206         * gst/gstregistryxml.c:
1207           Put more strings into the GLib quark table. No need to keep
1208           a hundred-something copies of identical version strings,
1209           license strings, package name strings and package origin
1210           strings around. 
1211
1212 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
1213
1214         * docs/manual/advanced-dataaccess.xml:
1215           Don't imply that it's okay to unconditionally change
1216           buffer data or buffer metadata in a pad probe callback,
1217           and a bunch of other comments. Fixes #430031.
1218
1219 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1220
1221         * win32/common/gstenumtypes.c:
1222         * win32/common/gstenumtypes.h:
1223         * win32/common/gstversion.h:
1224           Update generated files.
1225
1226 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1227
1228         * docs/manual/advanced-autoplugging.xml:
1229           Prefix section with broken code with a warning (see #342432).
1230
1231 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1232
1233         * docs/manual/appendix-integration.xml:
1234         * docs/manual/basics-init.xml:
1235           Call g_thread_init() before g_option_context_new() to
1236           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
1237
1238 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1239
1240         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1241         (gst_base_sink_queue_object_unlocked),
1242         (gst_base_sink_queue_object), (gst_base_sink_event),
1243         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
1244         When we received EOS and are waiting for when to post the EOS message,
1245         our state is prerolled and we should not return ASYNC.
1246         Reorganize some code paths to implement this behavior.
1247
1248         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1249         (gst_sinks_suite):
1250         Add unit test to verify above EOS fix.
1251
1252 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1253
1254         * plugins/elements/gsttypefindelement.c:
1255         (gst_type_find_element_have_type), (gst_type_find_element_init),
1256         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
1257         Move detecting the input caps of the sinkpad to the setcaps function.
1258         This allows us to update the output caps when we receive new input caps
1259         instead of always using the first detected caps.
1260
1261 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1262
1263         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1264         (gst_base_sink_get_position):
1265         Don't try to preroll non-async elements after a flush.
1266         Subtract latency form clock times when reporting position.
1267
1268 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1269
1270         * gst/gstpad.c: (gst_pad_pause_task):
1271         * gst/gstutils.c:
1272         Small comment and documentation update.
1273
1274 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1275
1276         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1277         (gst_base_src_set_live), (gst_base_src_is_live),
1278         (gst_base_src_query_latency), (gst_base_src_perform_seek),
1279         (gst_base_src_default_event), (gst_base_src_wait),
1280         (gst_base_src_do_sync), (gst_base_src_get_range),
1281         (gst_base_src_pad_get_range), (gst_base_src_loop),
1282         (gst_base_src_unlock), (gst_base_src_unlock_stop),
1283         (gst_base_src_set_flushing), (gst_base_src_set_playing),
1284         (gst_base_src_activate_push), (gst_base_src_activate_pull),
1285         (gst_base_src_change_state):
1286         Rework the locking of basesrc in a similar fashion to basesink. We
1287         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
1288         us to handle live sources and semi live ones much better.
1289         Simplify flushing.
1290         Fix unlocking when seeking, shutting down and pausing in live sources.
1291
1292 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1293
1294         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
1295         Fix compilation again.
1296
1297 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1298
1299         * gst/gstelement.c:
1300           Use meaningful categories for the logs to clean the default one.
1301
1302 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1303
1304         * tests/check/pipelines/cleanup.c:
1305           Print message name and not just number.
1306
1307 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1308
1309         * docs/design/draft-tagreading.txt:
1310           Add some more thoughts.
1311
1312 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1313
1314         * tests/check/pipelines/simple-launch-lines.c:
1315           Print message name and not just number.
1316
1317 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1318
1319         * libs/gst/base/gsttypefindhelper.c:
1320           Speedup typefinding. This is work in progress (see #459862).
1321
1322 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1323
1324         * gst/gstplugin.c:
1325           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1326           Spotted by Josep Torra Valles <josep@fluendo.com>.
1327
1328 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
1329
1330         * gst/gstclock.h:
1331           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1332           field has moved to GstObject.
1333
1334 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
1335
1336         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1337         (gst_base_src_get_range), (gst_base_src_change_state):
1338         Call unlock for live sources so that they can't get stuck in _create and
1339         produce a buffer before they are set back to PLAYING.
1340
1341 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
1342
1343         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1344         (gst_queue_locked_dequeue):
1345         Comment the segment-related code... in the PROPER function.
1346         See #482147 and my commit from yesterday.
1347
1348 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
1349
1350         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1351         Also initialize the counter that calculates the first timestamp on a
1352         buffer correctly for non-live sources.
1353
1354 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
1355
1356         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1357         Disable code that's breaking the current-time-level reporting.
1358         See #482147
1359
1360 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
1361
1362         * docs/gst/gstreamer-sections.txt:
1363         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1364         as they shouldn't show up. Fixes the docs build.
1365
1366 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
1367         
1368         * gst/gstinfo.h:
1369         Add an explicit variable importation needed on VS6 (only for MSC_VER)
1370         Define M_PI which is used in files which are including gstinfo.h. 
1371         VS6 includes doesn't define it.
1372         * win32/common/libgstbase.def:
1373         * win32/common/libgstcontroller.def:
1374         * win32/common/libgstreamer.def:
1375         Add new exported functions and variables.
1376         * win32/vs6/libgstcontroller.dsp:
1377         * win32/vs6/libgstreamer.dsp:
1378         Update the list of files to build.
1379         
1380 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1381
1382         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1383
1384         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1385         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1386         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1387         Improve debugging. Fixes #480858.
1388
1389 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1390
1391         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1392
1393         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1394         First patch of code cleanups, use the macros and right arguments in the
1395         macros to signal and lock the queue. See #480858.
1396
1397 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
1398
1399         * gst/gstbus.c: (poll_func):
1400         Improve debugging when dealing with _poll().
1401
1402 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
1403
1404         * gst/gstregistryxml.c:
1405           Fix memory leak I introduced a few days ago.
1406
1407 2007-09-26  Michael Smith <msmith@fluendo.com>
1408
1409         * gst/gstbuffer.c: (gst_buffer_finalize):
1410           Make it once again possible to free GstBuffers in the default
1411           build.
1412           The poisoning scribbles on parts of the miniobject we need in
1413           order to free it.
1414           Fixes #480341
1415
1416 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
1417
1418         * docs/gst/gstreamer-sections.txt:
1419         * gst/gsttaglist.c:
1420         * gst/gsttaglist.h:
1421         API: add GST_TAG_COMPOSER, fixes #459809.
1422
1423 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
1424
1425         * gst/gstplugin.c:
1426         * gst/gstplugin.h:
1427         Add the 3-clause BSD license and the MIT/X11 license to the license
1428         list. Fixes #479784.
1429
1430 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
1431
1432         * docs/faq/getting.xml:
1433           Add Q+A about different GStreamer versions (#364056).
1434
1435 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1436
1437         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1438         (gst_base_sink_event), (gst_base_sink_change_state):
1439         Return correct gboolean from query function.
1440
1441 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1442
1443         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1444         (gst_base_sink_event), (gst_base_sink_query),
1445         (gst_base_sink_change_state):
1446         Simplify latency query.
1447         When not synchronizing, we can report latency without querying the peer
1448         element.
1449
1450 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1451
1452         * gst/gstobject.h:
1453         * gst/gstvalue.c:
1454         Fix small typos in the docs.
1455
1456 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1457
1458         * docs/design/draft-latency.txt:
1459         * docs/design/draft-push-pull.txt:
1460         * docs/design/draft-tagreading.txt:
1461         * docs/design/part-MT-refcounting.txt:
1462         * docs/design/part-activation.txt:
1463         * docs/design/part-block.txt:
1464         * docs/design/part-element-source.txt:
1465         * docs/design/part-events.txt:
1466         * docs/design/part-gstbin.txt:
1467         * docs/design/part-gstelement.txt:
1468         * docs/design/part-gstobject.txt:
1469         * docs/design/part-gstpipeline.txt:
1470         * docs/design/part-messages.txt:
1471         * docs/design/part-preroll.txt:
1472         * docs/design/part-push-pull.txt:
1473         * docs/design/part-qos.txt:
1474         * docs/design/part-query.txt:
1475         * docs/design/part-scheduling.txt:
1476         * docs/design/part-seeking.txt:
1477         * docs/design/part-segments.txt:
1478         * docs/design/part-states.txt:
1479         Documentation updates and typo fixes.
1480
1481 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
1482
1483         * plugins/elements/gstfakesink.c:
1484           Add some debug text to error message to indicate that
1485           we errored out on request.
1486
1487         * tools/gst-launch.c:
1488           When the state change to PLAYING fails, check for an
1489           error message on the bus and print it.
1490
1491 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1492
1493         translated by: Jorge González González <aloriel@gmail.com>
1494
1495         * po/LINGUAS:
1496         * po/es.po:
1497           Added Spanish translation.
1498
1499 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
1500
1501         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1502         Fix printf arguments.
1503
1504 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1505
1506         * tests/check/generic/states.c:
1507           Improved state change unit test.
1508
1509 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1510
1511         * gst/gstbin.h:
1512           Move priv to the right place.
1513
1514         * gst/gstsystemclock.c:
1515           Add FIXME: and improve log.
1516
1517         * tests/check/Makefile.am:
1518         * tests/examples/manual/Makefile.am:
1519           Work with all types of registries.
1520
1521 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
1522
1523         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1524         Don't unref the event after pushing it. Fixes #478401.
1525
1526 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1527
1528         * .cvsignore:
1529         * tests/examples/manual/.cvsignore:
1530           Ignore registries in any format.
1531
1532 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
1533
1534         * gst/glib-compat-private.h:
1535           Add compatibility macro for g_intern_string() for
1536           GLib-2.8 (any reason we can't just bump the
1537           requirement to at least 2.10?)
1538
1539         * gst/gstpadtemplate.h:
1540         * gst/gstelementfactory.c:
1541         * gst/gstregistryxml.c:
1542         * gst/gstregistrybinary.c:
1543           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1544           up the internal code accordingly.  This shouldn't be a problem, since
1545           there is no reason external code could ever assume the string in such
1546           a structure is dynamically allocated unless it did that itself;  the
1547           use of g_strdup() is private to element factories.  The new code also
1548           saves some memory by putting pad template name strings into the GLib
1549           quark table instead of allocating them dynamically.
1550           Declaring this field constant fixes warnings with g++-4.2 when using
1551           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1552
1553 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1554
1555         * gst/gstelementfactory.c:
1556           Release static caps. Fixes #475723.
1557
1558 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
1559
1560         * gst/gstinfo.c:
1561         * gst/gstinfo.h:
1562           Make some internal API take const gchar * instead of just
1563           gchar * to avoid compiler warnings with g++-4.2.2 when
1564           passing string constants (partially fixes #478092).
1565
1566 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1567
1568         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1569         A latency query fails when one of the sinks fail.
1570
1571         * gst/gstelement.c: (gst_element_set_base_time):
1572         Improve debugging.
1573
1574 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1575
1576         * gst/gstbin.c: (gst_bin_continue_func):
1577         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1578         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1579         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1580
1581         Fix minor compilation warnings shown with Forte.
1582
1583 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1584
1585         * plugins/elements/gstqueue.c: (apply_buffer),
1586         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1587         Measure queue level based on the diff between head and tail timestamps
1588         even when pushing the first buffer.
1589
1590 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1591
1592         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1593         (gst_base_sink_event), (gst_base_sink_change_state):
1594         Sinks that don't preroll can always be queried for the latency.
1595         Don't post ASYNC start when we are not async.
1596
1597 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1598
1599         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1600         (gst_queue_handle_sink_event), (gst_queue_chain),
1601         (gst_queue_push_one), (gst_queue_handle_src_query),
1602         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1603         * plugins/elements/gstqueue.h:
1604         When downstream returns UNEXPECTED from pushing a buffer, don't try to
1605         push more buffers but allow pushing of EOS and NEWSEGMENT.
1606         Add some more debug info here and there. Fixes #476514.
1607
1608 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1609
1610         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1611         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1612         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1613         (gst_base_sink_set_flushing), (gst_base_sink_query),
1614         (gst_base_sink_change_state):
1615         Latency query is allowed after we are prerolled. Introduce a new flag
1616         for this and stop abusing other variables.
1617
1618 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1619
1620         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1621         Push OOB events downstream when we get them in send_event. This allows
1622         the application to insert events in the pipeline.
1623         Add some more comments.
1624
1625 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1626
1627         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1628         (do_bin_latency), (gst_bin_change_state_func):
1629         * gst/gstpipeline.c: (gst_pipeline_change_state):
1630         Move latency query from GstPipeline to GstBin so that we can also
1631         use it when async-handling is enabled on bins.
1632
1633 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1634
1635         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1636         (gst_base_src_do_sync), (gst_base_src_change_state):
1637         Update docs.
1638         Clean up the timestamping and syncing code for pseudo live sources.
1639
1640 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
1641
1642         Patch by: Steve Fink  <sphink gmail com>
1643
1644         * docs/manual/appendix-checklist.xml:
1645           Mention less -R switch in the section about debug output (#474055).
1646
1647 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1648
1649         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1650         Queue can latency to the pipeline up to the configured max size in time.
1651         Report this fact in the latency query.
1652
1653 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1654
1655         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1656
1657         * libs/gst/controller/gstinterpolation.c:
1658         * libs/gst/controller/gstlfocontrolsource.c:
1659         Use gst_guint64_to_gdouble() when converting from a uint64 or
1660         GstClockTime to double to fix the build on win32. Fixes #474371.
1661
1662 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1663
1664         * gst/gstbuffer.c: (gst_buffer_finalize):
1665         Implement poisoning for GstBuffer if --enable-poisoning is specified.
1666         When finalizing a buffer the complete struct is filled with 0xff,
1667         thus making a use of the buffer after the final unref impossible.
1668
1669 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1670
1671         * tests/check/libs/controller.c: (GST_START_TEST):
1672         Use fail_unless_equals_int(a, b) instead of
1673         fail_unless_equals (a == b) to get better output on failures.
1674
1675 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1676
1677         * tests/check/gst/gsturi.c:
1678           Also check for the other file URI variant on win32.
1679
1680 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1681
1682         * gst/gsturi.c: (gst_uri_get_location):
1683           If there's no hostname, we want to return 'c:/foo/bar.txt'
1684           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1685
1686         * tests/check/gst/gsturi.c:
1687           Unit test for the above and a few more things.
1688
1689 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1690
1691         * docs/design/part-live-source.txt:
1692         Add docs on how live sources should timestamp.
1693
1694         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1695         Add some more debug info.
1696         For subclasses that are live and like to sync, add aditional startup
1697         latency to sync time and timestamps so that we timstamp according to the
1698         design doc.
1699
1700 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1701
1702         * gst/gstbuffer.c:
1703           Also do a g_type_class_ref() for the subbuffer type in
1704           the init function.
1705
1706 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1707
1708         * docs/gst/gstreamer-sections.txt:
1709         * gst/gstpad.c: (gst_pad_peer_query):
1710         * gst/gstpad.h:
1711         Add function to perform a query on the peer of a pad.
1712         API: gst_pad_peer_query()
1713
1714 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1715
1716         * tests/check/gst/gstsystemclock.c:
1717           Cleanup the test a little (use gst-logging and not g_message). Improve
1718           test to check if a wait reached the target.
1719
1720 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1721
1722         * docs/libs/gstreamer-libs-sections.txt:
1723           Add new API to docs and fix the build.
1724
1725 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
1726
1727         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1728         (gst_base_src_init), (gst_base_src_set_do_timestamp),
1729         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1730         (gst_base_src_get_property), (gst_base_src_do_sync):
1731         * libs/gst/base/gstbasesrc.h:
1732         Add property to make the basesrc timestamp buffers based on the current
1733         running time.
1734         API: GstBaseSrc::do-timestamp
1735         API: gst_base_src_set_do_timestamp()
1736         API: gst_base_src_get_do_timestamp()
1737
1738 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
1739
1740         * docs/random/release:
1741           Really make sure translations are up-to-date before
1742           a release (#465010).
1743
1744 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
1745
1746         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1747         Always destroy the timer, also in error cases.
1748
1749 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1750
1751         * docs/manual/highlevel-xml.xml:
1752         Fix XML example code. Fixes #472714.
1753
1754 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1755
1756         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1757         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1758         (gst_base_sink_query):
1759         Protect eos and have_preroll with the OBJECT lock so we don't need to
1760         take the PREROLL lock when querying the latency. Fixes #473846.
1761
1762 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
1763
1764         * gst/gstelement.c:
1765           Give some log-messages a category.
1766
1767 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
1768
1769         * gst/gststructure.c:
1770         (gst_structure_fixate_field_nearest_fraction):
1771         Fix fraction list fixation code. Take the fraction with the smallest
1772         difference with the target instead of the first one in the list.
1773
1774         * tests/check/gst/gststructure.c: (GST_START_TEST),
1775         (gst_structure_suite):
1776         Added test to verify correct fraction list fixation behaviour.
1777
1778 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
1779
1780         * win32/common/libgstreamer.def:
1781           Export gst_bus_add_signal_watch too.
1782
1783 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
1784
1785         * docs/libs/gstreamer-libs-sections.txt:
1786         Add new methods to docs.
1787
1788         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1789         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1790         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1791         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1792         * libs/gst/base/gstbasesink.h:
1793         Add ts-offset property to fine-tune the synchronisation.
1794         API: GstBaseSink::ts-offset property
1795         API: gst_base_sink_set_ts_offset()
1796         API: gst_base_sink_get_ts_offset()
1797
1798 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
1799
1800         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1801         (gst_base_sink_init), (gst_base_sink_set_sync),
1802         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1803         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1804         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1805         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1806         (gst_base_sink_get_property), (gst_base_sink_change_state):
1807         * libs/gst/base/gstbasesink.h:
1808         Add async property to instruct the sink never to inform the parent about
1809         ASYNC state changes, update docs.
1810         Check argument with g_return_* for the public functions.
1811         API: GstBaseSink::async property
1812         API: gst_base_sink_set_async_enabled()
1813         API: gst_base_sink_is_async_enabled()
1814
1815 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
1816
1817         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1818         Improve debugging.
1819
1820         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1821         (gst_base_src_default_query), (gst_base_src_wait),
1822         (gst_base_src_do_sync), (gst_base_src_change_state):
1823         Rearrange some code so that we can add support for measuring the 
1824         startup latency.
1825
1826 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
1827
1828         * docs/random/ensonic/dynlink.txt:
1829           More thoughs on this.
1830
1831         * plugins/elements/gstcapsfilter.c:
1832           Add bugzilla ticket number to FIXME comment.
1833
1834 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
1835
1836         * docs/design/part-TODO.txt:
1837         * docs/design/part-block.txt:
1838         Update some docs.
1839
1840 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1841
1842         * gst/Makefile.am:
1843           Revert patch which uses $(gst_headers) instead of $^ because it
1844           breaks make dist.
1845
1846 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1847
1848         * tests/check/gst/gstbin.c: (GST_START_TEST):
1849           Fix leaks in the new unit test.
1850
1851 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
1852
1853         * gst/gst.c:
1854           Don't use GST_INFO before the debug system is actually initialised
1855           (shouldn't do any harm, but won't print anything either, so we can
1856           just as well remove it).
1857
1858         * gst/gstinfo.h:
1859           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1860           compilers that don't support variadic macros (such as MSVC), should
1861           check for debug_level <= __gst_debug_min as well, since that's the
1862           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1863           inline helper functions. Should improve performance a bit, but also
1864           makes sure uses of GST_INFO et.al are ignored if the debugging
1865           system isn't initialised yet (instead of printing an assertion
1866           failure).
1867
1868 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
1869
1870         patch by: David Nečas <yeti@physics.muni.cz>
1871
1872         * gst/Makefile.am:
1873           Replace some non portable makefile constructs.
1874
1875 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
1876
1877         * common/gtk-doc-plugins.mak:
1878           Grrrrr. Don't remove the types file on make clean.
1879
1880 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
1881
1882         * tools/gst-launch.1.in:
1883         Add colorspace to example pipeline. Fixes #458274.
1884
1885 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
1886
1887         * docs/random/release:
1888           The release manager should run 'make download-po' before making a
1889           release to make sure translations are up-to-date.
1890
1891         * po/LINGUAS:
1892         * po/be.po:
1893         * po/pl.po:
1894         * po/rw.po:
1895           Add some new translations.
1896
1897 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
1898
1899         * tools/gst-launch.c: (event_loop), (main):
1900         Don´t try to do any state management when a live pipeline posts
1901         buffering messages.
1902         Also make the buffering string translatable.
1903
1904 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1905
1906         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1907         (bin_handle_async_start), (gst_bin_handle_message_func):
1908         Improve debugging.
1909         When adding elements, insert messages into the bus of the newly added
1910         element and make sure the element is the source of the message. This
1911         allows the parent bin to intercept the message and do the
1912         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1913         messages to the app (which is not allowed).
1914         Update some docs.
1915
1916         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1917         Fix testsuite so that is does not work around messages that should not
1918         have been posted in the first place.
1919
1920 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1921
1922         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1923         (update_degree), (gst_bin_sort_iterator_next):
1924         Fix annoying bug in the sorted iterator where a sink that is not really
1925         a sink (when it has downstream links) screwed up the iterator.
1926
1927         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1928         Unit test to verify the fix.
1929
1930 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1931
1932         * gst/gstmessage.h:
1933         Add some more docs for the messages.
1934
1935         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1936         (gst_base_sink_query):
1937         Add some more debugging.
1938
1939         * tools/gst-launch.c: (event_loop):
1940         When interrupting, don't try to set pipeline to PAUSED twice.
1941
1942 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1943
1944         
1945         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1946         (bin_handle_async_start), (gst_bin_handle_message_func):
1947         Move ASYNC_START message posting to where it belongs, similar to
1948         async_done. 
1949         Don't post ASYNC_START when we are in error. 
1950         Post ASYNC_START when we added an async element to a bin.
1951
1952 2007-08-14  Julien MOUTTE  <julien@moutte.net>
1953
1954         * gst/gstindex.c: (gst_index_add_association): Fix index entry
1955         generation from vargs. Fixes #466595.
1956
1957 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1958
1959         * gst/gstbin.c: (gst_bin_element_set_state):
1960         Always change the state of a NO_PREROLL element even if it has ASYNC
1961         elements inside (in case of a bin).
1962
1963         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1964         Unit test for this case.
1965
1966 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
1967
1968         * libs/gst/check/gstbufferstraw.c:
1969         * libs/gst/check/gstcheck.h:
1970         * libs/gst/controller/gstcontroller.c:
1971         * libs/gst/controller/gstcontrolsource.h:
1972         * libs/gst/controller/gstlfocontrolsource.h:
1973         * plugins/elements/gstcapsfilter.h:
1974         * plugins/elements/gstfdsink.h:
1975         * plugins/elements/gstfdsrc.h:
1976           Add more missing docs.
1977
1978 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1979
1980         * gst/gststructure.c:
1981         Add Since tag to docs.
1982
1983 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1984
1985         * docs/gst/gstreamer-sections.txt:
1986         * gst/gststructure.c: (gst_structure_get_uint):
1987         * gst/gststructure.h:
1988         Add function to get uint from a structure.
1989         API: gst_structure_get_uint()
1990
1991 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1992
1993         * gst/gstcaps.c: (gst_caps_set_simple_valist),
1994         (gst_caps_intersect):
1995         Fix proper check for simple caps.
1996
1997 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
1998
1999         * docs/gst/Makefile.am:
2000         * docs/libs/Makefile.am:
2001           Remove cruft and do some cleanups.
2002
2003         * docs/gst/gstreamer-docs.sgml:
2004         * docs/libs/gstreamer-libs-docs.sgml:
2005           Prepare for comming gtkdoc features (rebase against online docs).
2006
2007 2007-08-10  Michael Smith <msmith@fluendo.com>
2008
2009         * docs/gst/gstreamer-sections.txt:
2010           Add gst_registry_add_path to docs.
2011
2012 2007-08-10  Michael Smith <msmith@fluendo.com>
2013
2014         * gst/gstregistry.h:
2015           Add gst_registry_add_path, which was missing from this header.
2016
2017 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
2018
2019         * libs/gst/controller/gstlfocontrolsource.c:
2020           Printf format fix.
2021
2022 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
2023
2024         * libs/gst/base/gstbasesink.c:
2025           Don't send an async_start message during downwards state change if 
2026           target state is less than READY
2027
2028 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2029
2030         translated by: Gabor Kelemen <kelemeng@gnome.hu>
2031
2032         * po/LINGUAS:
2033         * po/hu.po:
2034           Added Hungarian translation.
2035
2036 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2037
2038         * po/fi.po:
2039         * po/it.po:
2040         * po/nl.po:
2041         * po/sv.po:
2042         * po/uk.po:
2043           Updated translations.
2044
2045 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
2046
2047         * libs/gst/controller/Makefile.am:
2048         Dist gstlfocontrolsourceprivate.h
2049
2050 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
2051
2052         * docs/libs/gstreamer-libs.types:
2053         Don't register the enum type gst_lfo_waveform_get_type() in the
2054         .types file - only GObject derived types belong.
2055
2056 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
2057
2058         Patch by: <arenevier at fdn dot fr>
2059
2060         * gst/gstbuffer.h:
2061         Remove comma from last element in enum to avoid compile errors when
2062         using -pendantic. Fixes #464366.
2063
2064 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
2065
2066         * docs/design/part-TODO.txt:
2067         Add some more TODO items
2068
2069         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
2070         Improve debugging.
2071
2072         * gst/gstcaps.c: (gst_caps_intersect):
2073         Optimize trivial intersection case between identical caps pointers.
2074
2075         * gst/gstelement.c: (gst_element_continue_state),
2076         (gst_element_set_state_func):
2077         * gst/gstpad.c:
2078         Fix spelling and grammar mistakes.
2079
2080 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
2081
2082         * po/POTFILES.in:
2083         * po/POTFILES.skip:
2084           Update POTFILES. Fixes #461599.
2085
2086 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
2087
2088         * gst/gst.c:
2089         Fix confusing typo in debug output.
2090
2091 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
2092
2093         reviewed by: Stefan Kost <ensonic@users.sf.net>
2094
2095         * libs/gst/controller/Makefile.am:
2096         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
2097         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
2098         (gst_lfo_control_source_new),
2099         (gst_lfo_control_source_set_waveform),
2100         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
2101         (gst_lfo_control_source_finalize),
2102         (gst_lfo_control_source_dispose),
2103         (gst_lfo_control_source_set_property),
2104         (gst_lfo_control_source_get_property),
2105         (gst_lfo_control_source_class_init):
2106         * libs/gst/controller/gstlfocontrolsource.h:
2107         * libs/gst/controller/gstlfocontrolsourceprivate.h:
2108         API: Add GstLFOControlSource, a control source that gives values
2109         for specific timestamps based on several periodic waveforms.
2110         Fixes #459717.
2111
2112         * tests/check/libs/controller.c: (GST_START_TEST),
2113         (gst_controller_suite):
2114         * docs/libs/gstreamer-libs-docs.sgml:
2115         * docs/libs/gstreamer-libs-sections.txt:
2116         * docs/libs/gstreamer-libs.types:
2117         Add documentation and unit tests for GstLFOControlSource.
2118
2119 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
2120
2121         * configure.ac:
2122         Back to CVS
2123
2124 === release 0.10.14 ===
2125
2126 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
2127
2128         * configure.ac:
2129           releasing 0.10.14, "Breathing Vacuum"
2130
2131 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
2132
2133         * gst/gstelement.c: (gst_element_class_set_details_simple):
2134         * gst/gstelement.h:
2135           Make strings passed to gst_element_class_set_details_simple()
2136           constant, as they should be (#462752).
2137
2138 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
2139
2140         * gst/gstbin.c: (gst_bin_change_state_func),
2141         (bin_handle_async_done), (gst_bin_handle_message_func):
2142         Don't forget about the fact that some element went ASYNC even after a
2143         resync. This makes us post the ASYNC_DONE message correctly.
2144         Fixes #462558.
2145
2146 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
2147
2148         * gst/gstregistry.c: (gst_registry_add_feature):
2149         When replacing an existing feature in the registry, make sure to
2150         continue holding a reference until we've replaced the name string
2151         within our feature hash table. Make sure to use g_hash_table_replace
2152         instead of g_hash_table_insert to ensure the new name string is used
2153         as a key instead of the old one that we're about to free.
2154         Fixes: #462085
2155
2156 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
2157
2158         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2159         (gst_plugin_feature_set_name):
2160         Revert patch from #459466 until after the release and we can work
2161         out exactly what the problem is (if any).
2162
2163 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
2164
2165         * docs/gst/gstreamer-sections.txt:
2166         * gst/gsttaglist.c:
2167         * gst/gsttaglist.h:
2168           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
2169
2170 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
2171
2172         * docs/libs/Makefile.am:
2173         Include our build-prefix libs and includes before the generic ones to
2174         avoid linking against the installed libs when we want the build-tree
2175         ones.
2176
2177 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
2178
2179         Patch by: Steve Fink  <sphink gmail com>
2180
2181         * docs/pwg/building-testapp.xml:
2182           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
2183           if people try to build or install the example from the plugin
2184           template against a GStreamer from package using the configure
2185           defaults.
2186
2187 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
2188
2189         Patch by: Steve Fink  <sphink gmail com>
2190
2191         * tools/gst-inspect.1.in:
2192           Document --print-all and --print-plugin-auto-install-info command
2193           line options in man page.
2194
2195 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
2196
2197         * docs/gst/gstreamer-sections.txt:
2198         Add docs for new api function.
2199
2200 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
2201
2202         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
2203         * gst/gstelementfactory.h:
2204         API: gst_element_factory_has_interface()
2205         Added method to check if an element factory implements a named
2206         interface.
2207
2208 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
2209
2210         * configure.ac:
2211         * docs/gst/gstreamer.types.in:
2212           Another conditional doc check.
2213
2214         * gst/gstmessage.c:
2215         * gst/gstparamspecs.h:
2216         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2217         * gst/gstvalue.c:
2218         * gst/gstxml.h:
2219           API-doc fixes.
2220
2221 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2222
2223         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
2224         (gst_registry_binary_load_feature),
2225         (gst_registry_binary_load_plugin),
2226         (gst_registry_binary_read_cache):
2227           Print error just once and with additional info.
2228
2229 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2230
2231         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2232         (helper_find_suggest), (helper_find_get_length),
2233         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
2234         (gst_type_find_helper_for_buffer):
2235           Cleanup the typefindhelper code and add private doc comments.
2236
2237 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
2238
2239         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2240         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
2241         Fix capsfilter for cases where the caps set on capsfilter will provide
2242         additional information.
2243         Fixes #449197
2244
2245 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2246
2247         * gst/gsttypefindfactory.c:
2248           Fix docs that recommened wrong function to use.
2249
2250 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2251
2252         * tools/gst-inspect.c: (print_plugin_features):
2253           Also give media-type for typefinders in element output.
2254
2255 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2256
2257         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
2258         (gst_registry_remove_features_for_plugin_unlocked),
2259         (gst_registry_add_feature), (gst_registry_remove_feature),
2260         (gst_registry_lookup_feature_locked):
2261         * gst/gstregistry.h:
2262           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
2263           Fixes #459501.
2264
2265 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2266
2267         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2268         (gst_plugin_feature_set_name):
2269           Avoid double memory usage for pluginfeature names. Fixes #459466.
2270
2271 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
2272
2273         * gst/gstpad.h:
2274           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
2275           driving the pipeline may need to explicitly check for NOT_LINKED as
2276           well, since IS_FATAL doesn't cover that.
2277
2278 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
2279
2280         * docs/pwg/advanced-types.xml:
2281           Fix typo and duplicate entry in video formats list.
2282
2283 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
2284
2285         * libs/gst/controller/gstinterpolation.c:
2286         Also round to the nearest int when using cubic interpolation.
2287
2288 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
2289
2290         * libs/gst/controller/gstinterpolation.c:
2291         When linearly interpolating integer types, round to the nearest int
2292         by adding 0.5. Don't do it for float/double types.
2293         Fixes the failing controller test on my machine, which is somehow
2294         rounding differently than on the buildbots.
2295
2296 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2297
2298         * tools/gst-plot-timeline.py:
2299           Better log parsing (categories can have -). Adjust text vs. lines, so
2300           that they span the same y-range.        
2301
2302 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2303
2304         * docs/random/ensonic/audiobaseclasses.txt:
2305         * docs/random/ensonic/dynlink.txt:
2306         * docs/random/ensonic/profiling.txt:
2307           Save my thoughts.
2308
2309         * docs/random/moving-plugins:
2310           Add note to use g_assert type macros.
2311
2312 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2313
2314         * configure.ac:
2315         * libs/gst/check/Makefile.am:
2316           Add libm check as we use in for plugins.
2317
2318 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
2319
2320         * gst/gstbin.c: (gst_bin_continue_func):
2321         Check that the state_cookie hasn't changed since the continue_func
2322         was scheduled. Avoids problems where the state changes back to
2323         something it shouldn't be because it was changed in the meantime.
2324
2325 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
2326
2327         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2328         (gst_registry_binary_save_string),
2329         (gst_registry_binary_save_pad_template),
2330         (gst_registry_binary_save_feature),
2331         (gst_registry_binary_save_plugin),
2332         (gst_registry_binary_load_feature),
2333         (gst_registry_binary_load_plugin),
2334         (gst_registry_binary_read_cache):
2335           Fix memory leak. Be less verbose in the log.
2336
2337 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2338
2339         * tests/check/elements/.cvsignore:
2340         Add file to cvsignore as commanded.
2341
2342 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2343
2344         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2345         (mq_dummypad_event), (run_output_order_test):
2346         Use a GStaticMutex to protect all cases where libcheck
2347         fail_if/fail_unless macros might be called from multiple threads
2348         simultaneously to avoid errors like:
2349           "check_pack.c:107: :-1081725400:Bad message type arg"
2350
2351 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2352
2353         * tests/check/pipelines/stress.c: (GST_START_TEST):
2354         Make sure we set the pipeline back to the NULL state before
2355         dropping our final reference.
2356
2357 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2358
2359         * tests/check/elements/tee.c: (GST_START_TEST):
2360         Make the tee stress-test a little less stressful so it doesn't just
2361         time out on slow-machines, and remove a small race when it's starting 
2362         up by adding a get_state() call.
2363
2364 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
2365
2366         * gst/gst.c:
2367           Avoid reading registry twice on startup. Fixes #457322.
2368
2369 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2370
2371         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2372         * pkgconfig/gstreamer-check.pc.in:
2373         Substitute the CFLAGS for libcheck into our .pc file too so that
2374         dependent modules will pick it up properly if libcheck is installed
2375         into some other prefix.
2376
2377 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2378
2379         * configure.ac:
2380         Revert the pkg-config check for libcheck, since it pulls in the
2381         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2382         a proper solution, either from the check project, or something else.
2383
2384 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
2385
2386         * configure.ac:
2387           Use pkg-config to locate check.
2388
2389 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
2390
2391         * gst/gsttaglist.c:
2392           Fix doc syntax.
2393
2394         * gst/gstutils.c:
2395         * gst/gstutils.h:
2396           Add deprecation guards.
2397
2398         * libs/gst/base/gstcollectpads.h:
2399           Don't document object (this is implicitly private).
2400
2401 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
2402
2403         * gst/gststructure.c: (gst_structure_parse_value):
2404           When deserialising foo=bar without a type cast, check if it's a
2405           boolean before falling back to a string type, otherwise things like
2406           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2407           because the filtercaps end up having a signed=(string)true field,
2408           which causes problems later when intersection caps.
2409
2410         * tests/check/gst/gststructure.c: (GST_START_TEST):
2411           Add a unit test for this.
2412
2413 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
2414
2415         Reviewed by: Stefan Kost <ensonic@users.sf.net>
2416
2417         * libs/gst/controller/Makefile.am:
2418         * libs/gst/controller/gstcontroller.c:
2419         (gst_controlled_property_add_interpolation_control_source),
2420         (gst_controlled_property_new), (gst_controlled_property_free),
2421         (gst_controller_find_controlled_property),
2422         (gst_controller_new_valist), (gst_controller_new_list),
2423         (gst_controller_new), (gst_controller_remove_properties_valist),
2424         (gst_controller_remove_properties_list),
2425         (gst_controller_remove_properties),
2426         (gst_controller_set_property_disabled),
2427         (gst_controller_set_disabled), (gst_controller_set_control_source),
2428         (gst_controller_get_control_source), (gst_controller_get),
2429         (gst_controller_sync_values), (gst_controller_get_value_array),
2430         (_gst_controller_dispose), (gst_controller_get_type),
2431         (gst_controlled_property_set_interpolation_mode),
2432         (gst_controller_set), (gst_controller_set_from_list),
2433         (gst_controller_unset), (gst_controller_unset_all),
2434         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2435         * libs/gst/controller/gstcontroller.h:
2436         * libs/gst/controller/gstcontrollerprivate.h:
2437         * libs/gst/controller/gstcontrolsource.c:
2438         (gst_control_source_class_init), (gst_control_source_init),
2439         (gst_control_source_get_value),
2440         (gst_control_source_get_value_array), (gst_control_source_bind):
2441         * libs/gst/controller/gstcontrolsource.h:
2442         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2443         (gst_object_get_control_source):
2444         * libs/gst/controller/gstinterpolation.c:
2445         (gst_interpolation_control_source_find_control_point_node),
2446         (gst_interpolation_control_source_get_first_value),
2447         (_interpolate_none_get), (interpolate_none_get),
2448         (interpolate_none_get_boolean_value_array),
2449         (interpolate_none_get_enum_value_array),
2450         (interpolate_none_get_string_value_array),
2451         (_interpolate_trigger_get), (interpolate_trigger_get),
2452         (interpolate_trigger_get_boolean_value_array),
2453         (interpolate_trigger_get_enum_value_array),
2454         (interpolate_trigger_get_string_value_array):
2455         * libs/gst/controller/gstinterpolationcontrolsource.c:
2456         (gst_control_point_free), (gst_interpolation_control_source_reset),
2457         (gst_interpolation_control_source_new),
2458         (gst_interpolation_control_source_set_interpolation_mode),
2459         (gst_interpolation_control_source_bind),
2460         (gst_control_point_compare), (gst_control_point_find),
2461         (gst_interpolation_control_source_set_internal),
2462         (gst_interpolation_control_source_set),
2463         (gst_interpolation_control_source_set_from_list),
2464         (gst_interpolation_control_source_unset),
2465         (gst_interpolation_control_source_unset_all),
2466         (gst_interpolation_control_source_get_all),
2467         (gst_interpolation_control_source_get_count),
2468         (gst_interpolation_control_source_init),
2469         (gst_interpolation_control_source_finalize),
2470         (gst_interpolation_control_source_dispose),
2471         (gst_interpolation_control_source_class_init):
2472         * libs/gst/controller/gstinterpolationcontrolsource.h:
2473         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2474         API: Refactor GstController into the core controller which can take
2475         a GstControlSource for providing actual values for timestamps.
2476         Implement a interpolation control source and use this for backward
2477         compatibility, deprecate a bunch of functions that are now handled
2478         by GstControlSource or GstInterpolationControlSource.
2479         Make it possible to disable the controller completely or only for
2480         specific properties. Fixes #450711.
2481         * docs/libs/gstreamer-libs-docs.sgml:
2482         * docs/libs/gstreamer-libs-sections.txt:
2483         * docs/libs/gstreamer-libs.types:
2484         Add new functions and classes to the docs.
2485         * tests/check/libs/controller.c: (GST_START_TEST),
2486         (gst_controller_suite):
2487         * tests/examples/controller/audio-example.c: (main):
2488         Port unit test and example to the new API and add some new
2489         unit tests.
2490
2491 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
2492
2493         Patch by: Mark Nauwelaerts <manauw at skynet be>
2494
2495         * plugins/elements/gstmultiqueue.c:
2496         (gst_multi_queue_get_internal_links), (apply_buffer),
2497         (single_queue_overrun_cb), (gst_single_queue_new):
2498         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2499         the pipeline layout can be tracked correctly. Fixes #453732.
2500
2501 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
2502
2503         * docs/gst/Makefile.am:
2504         * docs/libs/Makefile.am:
2505         * docs/plugins/Makefile.am:
2506           Simplify --extra-dir as gtkdoc scans recursively.
2507
2508 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2509
2510         * tools/gst-launch.c: (main):
2511         When we got an error, there is no point in waiting for preroll when
2512         shutting down.
2513
2514 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2515
2516         * plugins/elements/gsttee.c: (gst_tee_base_init),
2517         (gst_tee_request_new_pad), (gst_tee_release_pad),
2518         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2519         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2520         (gst_tee_chain):
2521         Be a lot smarter when deciding what srcpad to use for proxying
2522         the buffer_alloc. Also handle pad added/removed when doing so.
2523         Fixes #357959.
2524         Keep track of what pads we already pushed on in case we have pads
2525         added/removed while pushing. Fixes #374639 
2526
2527         * tests/check/Makefile.am:
2528         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2529         (tee_suite):
2530         Added unit test for pad resync.
2531
2532 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2533
2534         * po/nl.po:
2535         * po/sv.po:
2536           Updated translations.
2537
2538 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2539
2540         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2541
2542         * po/LINGUAS:
2543         * po/fi.po:
2544           Added new Finnish translation.
2545
2546 2007-06-28  Wim Taymans  <wim@fluendo.com>
2547
2548         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2549         (single_queue_overrun_cb):
2550         When figuring out when a queue is filled, use our internal time estimate
2551         based on segments, just like check_full does.
2552
2553 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2554
2555         * gst/gstminiobject.c: (gst_mini_object_get_type):
2556           Remove 3 do-nothing methods.
2557
2558 2007-06-27  Wim Taymans  <wim@fluendo.com>
2559
2560         Patch by: Tim Angus <tim at ngus dot net>
2561
2562         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2563         (gst_capsfilter_set_property):
2564         Take a reference instead of a copy when setting "caps".
2565         Fix documentation to clarify this behaviour. Fixes #449414.
2566
2567 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2568
2569         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2570         * gst/gstplugin.c: (gst_plugin_init):
2571         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2572         * gst/gstquery.c: (gst_query_get_type):
2573         * gst/gstregistry.c: (gst_registry_init):
2574         * gst/gsturi.c: (gst_uri_handler_base_init):
2575           Remove empty instance_init() functions to save relocs and lessen the
2576           noise. Remove some of the function prototypes that are doubled by
2577           G_DEFINE_TYPE.
2578           
2579 2007-06-27  Wim Taymans  <wim@fluendo.com>
2580
2581         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2582
2583         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2584         Add peer and direction in the XML serialisation of ghostpads.
2585         Fixes #449226.
2586
2587 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2588
2589         * configure.ac:
2590           Preserve useful information, thanks Tim.
2591
2592 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
2593
2594         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2595         (gst_single_queue_flush), (apply_segment), (apply_buffer),
2596         (gst_single_queue_push_one), (gst_multi_queue_loop),
2597         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2598         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2599         (compute_high_id), (gst_single_queue_new):
2600         * plugins/elements/gstmultiqueue.h:
2601         Take the multiqueue lock when updating the fill level so we don't get
2602         confused. 
2603
2604         After applying a buffer or event on the src pad segment, make sure to
2605         call gst_data_queue_limits_changed() to get the data queue to unblock
2606         and check the filled state again.
2607         
2608         Rework the not-linked pad handling so the logic is that not-linked 
2609         pads can push as fast as they like, but only so they never get 
2610         ahead of any linked pads.
2611
2612         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2613         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2614         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2615
2616         Add a test to check that not-linked pads always stay behind
2617         linked pads.
2618
2619         Fixes: #430682
2620
2621 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
2622
2623         * docs/random/release:
2624           Some updates to the release procedure.
2625
2626 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2627
2628         * gst/gstelementfactory.c: (__gst_element_details_clear):
2629           Microoptimization that saves stunning 80 bytes.
2630
2631 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
2632
2633         * docs/plugins/gstreamer-plugins.args:
2634         * docs/plugins/inspect/plugin-coreelements.xml:
2635         * docs/plugins/inspect/plugin-coreindexers.xml:
2636           Update docs with caps info.
2637
2638 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2639
2640         * po/it.po:
2641           Updated Italian translation.
2642
2643 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2644
2645         * ChangeLog:
2646         * po/vi.po:
2647           Update Vietnamese translations.
2648
2649 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2650
2651         * libs/gst/base/gstbasesink.c:
2652           Remove unused signal enum.
2653
2654 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2655
2656         * docs/gst/gstreamer-sections.txt:
2657         * gst/gstelement.c:
2658         * gst/gstutils.c: (gst_type_register_static_full):
2659         Beef up and include the docs for gst_type_register_static_full and
2660         gst_element_class_set_details_simple and add the API keyword
2661         in the ChangeLog.
2662
2663 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2664
2665         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2666         (update_time_level), (gst_single_queue_push_one),
2667         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2668         (single_queue_overrun_cb), (single_queue_underrun_cb),
2669         (single_queue_check_full):
2670         Fix setting max-* properties after adding queues.
2671         Use IS_FILLED for checking visible items.
2672         Signal overrun if multiple queues overrun.
2673         Add extra debug output.
2674         Patch by: Wim Taymans <wim@fluendo.com>
2675
2676 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
2677
2678         * gst/gstelement.c: (gst_element_class_set_details_simple):
2679         * gst/gstelement.h:
2680         * gst/gstutils.c: (gst_type_register_static_full):
2681         * gst/gstutils.h:
2682         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2683         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2684         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2685         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2686         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2687         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2688         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2689         * plugins/elements/gstidentity.c: (gst_identity_base_init):
2690         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2691         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2692         (apply_buffer), (gst_queue_chain):
2693         * plugins/elements/gsttee.c: (gst_tee_base_init):
2694         * plugins/elements/gsttypefindelement.c:
2695         (gst_type_find_element_base_init),
2696         (gst_type_find_element_class_init):
2697           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2698           API: add gst_type_register_static_full
2699           API: add gst_element_class_set_details_simple
2700
2701 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2702
2703         * docs/pwg/advanced-types.xml:
2704           Fix typo in iana.org URI.
2705
2706 2007-06-19  Andy Wingo  <wingo@pobox.com>
2707
2708         * tests/check/pipelines/simple-launch-lines.c
2709         (test_state_change_returns): Enable pull-mode tests now that
2710         basesink has been fixed.
2711
2712         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2713         Changed from gst_base_sink_is_prerolled, reversing the sense of
2714         the return value. Returns FALSE also if the sink is in pull mode,
2715         in which case it needs no preroll.
2716         (gst_base_sink_query, gst_base_sink_change_state): Update for
2717         needs_preroll change.
2718         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2719         chaining up, in which we return SUCCESS directly if we activated
2720         in pull mode instead of ASYNC. Involves countering an async_start
2721         message sent before chaining up; not sure if this is correct, in
2722         an ideal world we only send async-start when activating in push
2723         mode.
2724
2725         * tests/check/pipelines/simple-launch-lines.c
2726         (test_state_change_returns): New test, partially disabled until
2727         basesink is fixed.
2728
2729 2007-06-19  Wim Taymans  <wim@fluendo.com>
2730
2731         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2732         (gst_multi_queue_sink_event):
2733         Fix event leak.
2734
2735 2007-06-19  Wim Taymans  <wim@fluendo.com>
2736
2737         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2738         (gst_bin_change_state_func), (bin_push_state_continue),
2739         (bin_handle_async_start), (bin_handle_async_done),
2740         (gst_bin_handle_message_func):
2741         Move the common code for posting state-change messages into
2742         one function.
2743         Broadcast the state signal after we posted the messages.
2744         Mark the bin as busy when it's doing a state-change.
2745         Make sure async-start/done messages don't interfere with the bin's
2746         state when it's busy.
2747         After the state change, let the bin check which elements completed the
2748         state change while it was busy so that it can update its state.
2749
2750 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
2751
2752         * docs/random/release:
2753         Add a note about updating the doap file to the release checklist
2754
2755 2007-06-18  Wim Taymans  <wim@fluendo.com>
2756
2757         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2758         (gst_single_queue_push_one), (gst_multi_queue_chain),
2759         (gst_multi_queue_sink_event):
2760         Make sure we don't reference the buffer/event after we have given away
2761         ownership in the queue.
2762
2763 2007-06-18  Wim Taymans  <wim@fluendo.com>
2764
2765         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2766         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2767         Update queue state _after_ adding the item in the queue because else we
2768         could end up being full without the element added yet.
2769
2770 2007-06-18  Wim Taymans  <wim@fluendo.com>
2771
2772         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2773         (gst_bin_remove_func), (gst_bin_get_state_func),
2774         (gst_bin_element_set_state), (gst_bin_continue_func),
2775         (bin_push_state_continue), (bin_handle_async_start),
2776         (bin_handle_async_done), (gst_bin_handle_message_func):
2777         * gst/gstbin.h:
2778         Immediatly commit the toplevel bin state when receiving an async-done
2779         message. This enables us to avoid spawning a thread to commit the state
2780         in some common cases and it also avoids some races.
2781         Avoid spawning a state thread when adding/removing async elements to a
2782         toplevel bin. Instead we immediatly update the bin state.
2783         Get rid of iterating all the children when getting the state in the bin
2784         because it is now always up-to-date.
2785         Fix bug where locked elements would always return _SUCCESS even it they
2786         returned NO_PREROLL before being locked.
2787         Fix the order of the state_change, async-start/done messages that was
2788         sometimes incorrect.
2789         Mark the state_dirty field as deprecated, we don't need it anymore as we
2790         are always up-to-date.
2791
2792         * gst/gstelement.c: (gst_element_get_state_func),
2793         (gst_element_continue_state):
2794         Small debug inprovements.
2795         Return the previous element state return when nothing is pending instead
2796         of blindly returning SUCCESS.
2797
2798         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2799         (gst_sinks_suite):
2800         Add a whole bunch of new testcases.
2801
2802 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2803
2804         * po/uk.po:
2805         * po/vi.po:
2806           Update translations.
2807
2808 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
2809
2810         * gst/gstpad.c:
2811         Fix typo in the docs.
2812
2813 2007-06-15  Wim Taymans  <wim@fluendo.com>
2814
2815         * docs/libs/gstreamer-libs-sections.txt:
2816         Add docs for new methods.
2817
2818 2007-06-15  Wim Taymans  <wim@fluendo.com>
2819
2820         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2821         (gst_multi_queue_item_new):
2822         Don't use GSlice because we don't depend on >= 2.10 yet.
2823
2824 2007-06-15  Wim Taymans  <wim@fluendo.com>
2825
2826         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2827         (update_time_level), (apply_segment), (apply_buffer),
2828         (gst_single_queue_push_one), (gst_multi_queue_item_new),
2829         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2830         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2831         (single_queue_underrun_cb), (single_queue_check_full):
2832         Remove debug printf.
2833
2834 2007-06-15  Wim Taymans  <wim@fluendo.com>
2835
2836         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2837         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2838         (gst_data_queue_set_flushing), (gst_data_queue_push),
2839         (gst_data_queue_pop), (gst_data_queue_drop_head),
2840         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2841         * libs/gst/base/gstdataqueue.h:
2842         Various cleanups.
2843         Added methods to get the current levels and to inform the queue that the
2844         'full' limits changed.
2845
2846         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2847         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2848         (gst_single_queue_flush), (update_time_level), (apply_segment),
2849         (apply_buffer), (gst_single_queue_push_one),
2850         (gst_multi_queue_item_steal_object),
2851         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2852         (gst_multi_queue_loop), (gst_multi_queue_chain),
2853         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2854         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2855         (gst_multi_queue_src_query), (single_queue_overrun_cb),
2856         (single_queue_underrun_cb), (single_queue_check_full),
2857         (gst_single_queue_new):
2858         Keep track of time in the queue by measuring the difference between
2859         running_time on input and output. This gives more accurate results and
2860         can compensate for segments correctly.
2861         Make a queue by default only 5 buffers deep. We will now increase the
2862         buffer size depending on the filledness of the other queues.
2863         Factor out commong flush code.
2864         Make sure we don't add additional refcounts to buffers when we can avoid
2865         it.
2866         Propagate GstFlowReturn differently.
2867         Use GSlice for intermediate GstMultiQueueItems.
2868         Keep track of EOS.
2869         Resize queues on over and underruns based on filled level of other
2870         queues.
2871         When checking if the queue is filled, prefer to measure in time if we
2872         can and fall back to bytes when no time is known.
2873
2874         * plugins/elements/gstqueue.c:
2875         Fix return value.
2876
2877 2007-06-15  Wim Taymans  <wim@fluendo.com>
2878
2879         * libs/gst/base/gstbasetransform.c:
2880         (gst_base_transform_sink_event):
2881         Work around the brokenness of the event vmethod in basetransform. Prefer
2882         to return TRUE when the subclass returned FALSE (meaning don't forward
2883         the event). 
2884
2885         * libs/gst/base/gstbasetransform.h:
2886         Clarify the docs.
2887
2888 2007-06-15  Wim Taymans  <wim@fluendo.com>
2889
2890         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2891         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2892         (gst_base_src_default_query), (gst_base_src_get_range),
2893         (gst_base_src_start):
2894         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2895         Improve debugging.
2896
2897 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2898
2899         * docs/pwg/advanced-types.xml:
2900           Added more formats to caps table.
2901
2902 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2903
2904         * tools/gst-launch.c: (main):
2905           Remove crufy code. GOption does not need this workaround.
2906
2907 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2908
2909         * libs/gst/controller/gstcontroller.c:
2910         (gst_controlled_property_set_interpolation_mode):
2911           Fix wrong getter for enums in controller.
2912
2913 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2914
2915         * libs/gst/check/gstcheck.c: (gst_check_init):
2916           Intercept criticals and warnings in the Gst-Phonon log domain, so
2917           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2918           well.
2919         
2920 2007-06-14  Edward Hervey  <edward@fluendo.com>
2921
2922         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2923         Since this file doesn't include "gst.h" it will not go through the
2924         macros that disable GST_LOG if debugging was disabled.
2925
2926 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2927
2928         * libs/gst/check/Makefile.am:
2929         * libs/gst/check/gstcheck.h:
2930         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2931         * pkgconfig/gstreamer-check.pc.in:
2932           Ugly 'fix' for the controller unit test on the p5 bot: in
2933           fail_unless_equals_float() check whether the values are 'almost
2934           equal' by allowing a small absolute error, which should be good
2935           enough for our use cases (normal numbers and values close to 0).
2936           Proper fixage left to floating point arithmetic aficionados.
2937
2938 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2939
2940         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2941         (gst_base_sink_render_object), (gst_base_sink_get_position):
2942           Add two breaks thats where missing.
2943
2944 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2945
2946         * docs/libs/gstreamer-libs-sections.txt:
2947         * libs/gst/check/gstcheck.h:
2948           API: add fail_unless_equals_float() and assert_equals_float().
2949           Add documentation for some of the macros.
2950
2951         * tests/check/libs/controller.c: (GST_START_TEST):
2952           Use newly-added asserts.
2953
2954 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2955
2956         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2957           Show the caps change in the log to help spotting the case of not
2958           exactly matching caps.
2959
2960 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2961
2962         * docs/pwg/building-boiler.xml:
2963           Fix typos, spotted by Thijs Vermeir (#447190).
2964
2965 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2966
2967         * docs/plugins/tmpl/.cvsignore:
2968         Ignore file to keep the buildbots happy
2969
2970 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2971
2972         * docs/plugins/Makefile.am:
2973         * docs/plugins/gstreamer-plugins-docs.sgml:
2974         * docs/plugins/gstreamer-plugins-sections.txt:
2975         Pull fdsink into the docs too.
2976
2977 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
2978
2979         * libs/gst/controller/gstinterpolation.c:
2980         Actually use the new functions with min/max checks for the trigger and
2981         none interpolation modes for get() and get_value_array() instead of
2982         just the latter.
2983
2984 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
2985
2986         * libs/gst/controller/gstcontroller.c:
2987         (gst_controlled_property_free):
2988         Unset the minimum and maximum GValues when freeing the corresponding
2989         GstControllerProperty struct.
2990
2991 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
2992
2993         * libs/gst/controller/gstcontroller.c:
2994         (gst_controlled_property_new):
2995         * libs/gst/controller/gstcontrollerprivate.h:
2996         * libs/gst/controller/gstinterpolation.c:
2997         (gst_controlled_property_find_control_point_node),
2998         (interpolate_none_get), (interpolate_none_get_enum_value_array),
2999         (interpolate_none_get_string_value_array),
3000         (interpolate_trigger_get),
3001         (interpolate_trigger_get_enum_value_array),
3002         (interpolate_trigger_get_string_value_array):
3003         Protect against values larger or smaller than the minimum or maximum
3004         allowed value for the property when using values that can be compared.
3005
3006         Optimize trigger interpolator a bit by taking the last requested value
3007         into account instead of always looping through the complete list.
3008
3009         Fix coding style a bit, everywhere else we use "return foo" instead
3010         of "return (foo)".
3011         
3012         * tests/check/libs/controller.c: (GST_START_TEST),
3013         (gst_controller_suite):
3014         Add unit test for the protection against too large or too small
3015         values.
3016
3017 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
3018
3019         * docs/random/slomo/controller.txt:
3020         Add some thoughts about the future of the controller.
3021
3022 2007-06-08  Wim Taymans  <wim@fluendo.com>
3023
3024         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3025         Don't overflow in retimestamping code.
3026
3027 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
3028
3029         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
3030         Use gst_util_guint64_to_gdouble for conversions.
3031         * win32/common/libgstreamer.def:
3032         Add new exported functions.
3033
3034 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
3035
3036         * gst/gstutils.c:
3037           Small docs addition.
3038
3039 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3040
3041         * README:
3042           Remove that test line again.
3043
3044 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3045
3046         * README:
3047           Test commit mail sending.
3048
3049 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3050
3051         * configure.ac:
3052           Fix typo and test commit mail sending.
3053
3054 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3055
3056         * tests/examples/controller/audio-example.c:
3057           Improve comment and test commit mail sending.
3058
3059 2007-06-07  Wim Taymans  <wim@fluendo.com>
3060
3061         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
3062         (gst_bin_remove_func), (gst_bin_element_set_state),
3063         (bin_handle_async_start), (bin_handle_async_done),
3064         (gst_bin_handle_message_func):
3065         Add helper function to find messages.
3066         Generate the async-done messages together with the state change
3067         messages.
3068         Small cleanups in handling toplevel bins.
3069
3070 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
3071
3072         * libs/gst/base/gstdataqueue.c:
3073         * libs/gst/base/gstdataqueue.h:
3074         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
3075         (gst_multi_queue_item_new), (gst_multi_queue_chain),
3076         (gst_multi_queue_sink_event):
3077         * tests/check/elements/multiqueue.c: (multiqueue_suite):
3078           Fix multiqueue leaking buffers and events when downstream or the
3079           queue are flushing. Make refcounting assumptions explicit and
3080           document them (shouldn't break existing code that uses it other than
3081           maybe leak miniobjects, but that already happens anyway). Add unit
3082           test for the most common flushing case. Fixes #423700.
3083           
3084 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
3085
3086         * libs/gst/controller/gstcontroller.c:
3087         Clarify docs: The get_all, get_value_array(s) functions
3088         don't modify the GObject properties.
3089
3090 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
3091
3092         * libs/gst/controller/gstcontroller.c:
3093         (gst_controlled_property_set_interpolation_mode),
3094         (gst_controlled_property_prepend_default),
3095         (gst_controlled_property_new), (gst_controller_set_unlocked),
3096         (gst_controller_set), (gst_controller_set_from_list),
3097         (gst_controller_unset), (gst_controller_unset_all):
3098         * libs/gst/controller/gstcontrollerprivate.h:
3099         * libs/gst/controller/gstinterpolation.c:
3100         Factor out the 'set' logic into gst_controller_set_unlocked for the
3101         gst_controller_set and gst_controller_set_from_list functions.
3102
3103         To make life of the interpolators easier always add a control point
3104         at timestamp zero with the default value.
3105
3106         In the linear interpolator make things more obvious by better variable
3107         naming (slope).
3108
3109         Implement cubic interpolation mode (by using a natural cubic spline)
3110         and map the quadratic interpolation mode to this too (as quadratic
3111         doesn't make much sense, see discussion on the list).
3112
3113         * tests/check/libs/controller.c: (GST_START_TEST),
3114         (gst_controller_suite):
3115         Add unit test for the cubic interpolation mode and check everywhere
3116         if the interpolation mode could be set as expected.
3117
3118 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
3119
3120         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
3121           Don't use GLib-2.10 functions, we still depend on
3122           GLib-how-old-is-it-again-2.8.
3123
3124 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
3125
3126         * docs/gst/gstreamer-sections.txt:
3127         * gst/Makefile.am:
3128         * gst/gst.c:
3129         * gst/gst.h:
3130         * gst/gstparamspecs.c: (_gst_param_fraction_init),
3131         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
3132         (_gst_param_fraction_values_cmp),
3133         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
3134         * gst/gstparamspecs.h:
3135         * gst/gstvalue.c:
3136         * tests/check/Makefile.am:
3137         * tests/check/gst/.cvsignore:
3138         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
3139         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
3140         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
3141         (GST_START_TEST), (gst_param_spec_suite):
3142           API: add GstParamSpecFraction, so elements can have fraction
3143           properties without lots of painful string parsing (#444648).
3144
3145 2007-06-05  Wim Taymans  <wim@fluendo.com>
3146
3147         * gst/gstobject.c: (gst_object_class_init):
3148         Fix signal signature.
3149
3150         * gst/gstsegment.c:
3151         Add small clarification in the api docs.
3152
3153         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
3154         States are protected with object lock.
3155
3156 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
3157
3158         * AUTHORS:
3159         I should probably be listed as an author by now.
3160
3161         * docs/random/release:
3162         Update the release doc
3163
3164 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
3165
3166         * gst/gstvalue.c:
3167           Make docs for gst_value_compare() mention return enums that
3168           actually exist.
3169
3170 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
3171
3172         * configure.ac:
3173           Back to CVS
3174
3175 === release 0.10.13 ===
3176
3177 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
3178
3179         * configure.ac:
3180           releasing 0.10.13, "With or without you"
3181
3182 2007-05-25  Wim Taymans  <wim@fluendo.com>
3183
3184         * gst/gstbin.c: (bin_handle_async_done):
3185         Make sure that the child bin stops after completing the async state
3186         change so that the parent can continue the state change to PLAYING.
3187         Fixes #441159.
3188
3189 2007-05-25  Wim Taymans  <wim@fluendo.com>
3190
3191         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3192         (unref_data), (gst_collect_pads_remove_pad),
3193         (gst_collect_pads_check_pads):
3194         Use additional refcounting to avoid crashes when dynamically adding and
3195         removing pads. Fixes #420206.
3196
3197 2007-05-24  Wim Taymans  <wim@fluendo.com>
3198
3199         * tools/gst-launch.c: (event_loop):
3200         When buffering goes from a two digit to a single digit number, make sure
3201         to remove the old second digit by writing a blank over it.
3202
3203 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
3204
3205         * libs/gst/base/gstdataqueue.c:
3206           Eliminate tabs and trailing comma in enum list; fix some typos.
3207
3208 2007-05-24  Wim Taymans  <wim@fluendo.com>
3209
3210         * tests/check/gst/gstbin.c: (GST_START_TEST):
3211         Allow refcount of 3 and 4 because some state thread might still be busy
3212         with it.
3213
3214 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
3215
3216         * plugins/elements/Makefile.am:
3217         * plugins/elements/gstmultiqueue.h:
3218         * plugins/elements/gstqueue.h:
3219           These are not installed headers, no need for padding.
3220
3221 2007-05-24  Wim Taymans  <wim@fluendo.com>
3222
3223         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3224         (gst_bin_continue_func):
3225         Enable latency for next release.
3226         Restore STATE_LOCK around recalc_state that was left out during the
3227         rewrite and could result in racy behaviour when _get_state and
3228         recalc_state are run concurrently. See #440463.
3229
3230 2007-05-23  Wim Taymans  <wim@fluendo.com>
3231
3232         * tests/check/gst/gstsystemclock.c: (store_callback),
3233         (GST_START_TEST):
3234         Improve test_async_order to also work when both timers are already
3235         expired when we get scheduled to check it.
3236
3237 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3238
3239         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
3240         (gst_bin_set_property), (gst_bin_get_property),
3241         (gst_bin_remove_func), (gst_bin_handle_message_func):
3242         * gst/gstbin.h:
3243           'private' is a c++ keyword, let's not use that in header files,
3244           otherwise c++ compilers will throw a tantrum.
3245
3246 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3247
3248         * plugins/elements/gstelements.c:
3249         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
3250         (gst_file_sink_get_current_offset):
3251         * plugins/indexers/gstindexers.c: (plugin_init):
3252           Use #ifdef for HAVE_XYZ for consistency.
3253
3254         * tests/check/Makefile.am:
3255         * tests/check/elements/.cvsignore:
3256         * tests/check/elements/filesink.c: (setup_filesink),
3257         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
3258           Add some unit tests for filesink.
3259
3260 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3261
3262         Patch by: Mark Nauwelaerts <manauw at skynet be>
3263
3264         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3265         (gst_file_sink_query), (gst_file_sink_do_seek),
3266         (gst_file_sink_get_current_offset), (gst_file_sink_render):
3267         * plugins/elements/gstfilesink.h:
3268           Fix position reporting; rename data_written member to current_pos to
3269           reflect its real meaning (fixes #412648).
3270
3271 2007-05-22  Edward Hervey  <edward@fluendo.com>
3272
3273         * docs/gst/gstreamer-sections.txt:
3274         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3275         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
3276         (gst_bin_remove_func), (gst_bin_handle_message_func):
3277         * gst/gstbin.h:
3278         Add a property for bins that handle the state change of their childs.
3279         Fixes #435880
3280
3281 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
3282
3283         * libs/gst/controller/gstinterpolation.c:
3284         Use an array of the correct type when using _get_value_array with
3285         linear interpolation.
3286
3287 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
3288
3289         * gst/gstelement.c (gst_element_requires_clock,
3290           gst_element_provides_clock, gst_element_request_pad,
3291           gst_element_class_set_details, gst_element_class_set_details_simple,
3292           gst_element_default_send_event, gst_element_abort_state,
3293           gst_element_continue_state, gst_element_set_state,
3294           gst_element_set_state_func, iterator_activate_fold_with_resync):
3295         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
3296           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
3297           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
3298           gst_pad_get_range, gst_pad_pull_range):
3299         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
3300           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
3301           GstPadActivateModeFunction, GstPadChainFunction,
3302           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
3303           GstPadFixateCapsFunction, GstPadTemplate):
3304         * gst/gstpipeline.c (gst_pipeline_change_state,
3305           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
3306           gst_pipeline_set_clock, gst_pipeline_auto_clock,
3307           gst_pipeline_get_delay):
3308           Whitespace and docs fixes.
3309
3310 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3311
3312         * libs/gst/controller/gstinterpolation.c:
3313         (interpolate_trigger_get_enum_value_array),
3314         (interpolate_trigger_get_string_value_array):
3315         Add support for retrieving value arrays when using the trigger
3316         interpolation mode. 
3317
3318 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3319
3320         * libs/gst/controller/gstcontroller.c:
3321         (gst_controller_get_value_array):
3322         * libs/gst/controller/gstcontroller.h:
3323         Clarify the docs of gst_controller_get_value_array(): The array where
3324         the values should be written to must be allocated as there seems to be
3325         no way to get the size of a random GType. This doesn't change any
3326         behaviour. Also fix some typos all over the place and remove an unused,
3327         commented function that is not necessary as g_object_set() could be
3328         used instead.
3329         * tests/check/libs/controller.c: (GST_START_TEST),
3330         (gst_controller_suite):
3331         Add unit test for gst_controller_get_value_array().
3332
3333 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
3334
3335         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3336
3337         Disable part of the gst_buffer_try_new_and_alloc test, because
3338         it can happily succeed on 64-bit systems where there's more address
3339         space available.
3340
3341 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3342
3343         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3344         Add unit test for the improved caps checking from bug #421543.
3345
3346 2007-05-21  Wim Taymans  <wim@fluendo.com>
3347
3348         * docs/design/part-synchronisation.txt:
3349         Small addition.
3350
3351         * gst/gstbin.c: (gst_bin_query):
3352         * plugins/elements/gstqueue.c: (apply_segment):
3353         Improve debugging.
3354
3355         * gst/gstmessage.h:
3356         Improve docs.
3357
3358 2007-05-21  Wim Taymans  <wim@fluendo.com>
3359
3360         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3361         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3362         (gst_pad_configure_src):
3363         Added simple version of improved caps checking. It was previously
3364         assumed that a setcaps function would check the validity of the caps but
3365         people prefer us to check caps against the template automatically. 
3366         Fixes #421543.
3367
3368 2007-05-21  Wim Taymans  <wim@fluendo.com>
3369
3370         * libs/gst/base/gstbasetransform.h:
3371         Fix macro for locking/unlocking the transform lock.
3372
3373 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3374
3375         * docs/plugins/tmpl/.cvsignore:
3376           Ignore more.
3377
3378 2007-05-18  Edward Hervey  <edward@fluendo.com>
3379
3380         * plugins/elements/gstqueue.c: (gst_queue_loop):
3381         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3382         for the subtle art of warning a potentially blocking thread that it
3383         should check the source pad return value, and relay the information
3384         upstream.
3385
3386 2007-05-18  Edward Hervey  <edward@fluendo.com>
3387
3388         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3389         Release the queue lock !
3390
3391 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3392
3393         * docs/libs/gstreamer-libs-sections.txt:
3394         Add the two new controller functions to the appropiate places.
3395
3396 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3397
3398         reviewed by: Stefan Kost <ensonic@users.sf.net>
3399
3400         * libs/gst/controller/gstcontroller.c:
3401         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3402         (_gst_controller_get_property), (_gst_controller_set_property),
3403         (_gst_controller_init), (_gst_controller_class_init):
3404         * libs/gst/controller/gstcontroller.h:
3405         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3406         (gst_object_get_control_rate), (gst_object_set_control_rate):
3407         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3408         Add API that provides sync suggestion timestamps for elements that
3409         call gst_object_sync_values() from which those elements can subdivide
3410         their processing loop to get the best results for the controlled
3411         properties. For now it just suggests last_sync + control_rate as
3412         new timestamp but this will be improved in the future.
3413
3414         While doing that change the control-rate property to a GstClockTime
3415         from guint and change it's meaning from samples to nanoseconds as
3416         the GstController doesn't know anything about sampling rate. Strictly
3417         speaking this breaks ABI but as the control-rate property didn't do
3418         anything in the past and as such couldn't be used this should be no
3419         problem.        
3420
3421 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3422
3423         reviewed by: Stefan Kost <ensonic@users.sf.net>
3424
3425         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3426         (gst_controller_unset_all):
3427         * libs/gst/controller/gstcontrollerprivate.h:
3428         * libs/gst/controller/gstinterpolation.c:
3429         (gst_controlled_property_find_control_point_node):
3430         Save last synced value from the list to continue searching from there
3431         in future syncs. This speeds everything up a bit.
3432         
3433 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3434
3435         reviewed by: Stefan Kost <ensonic@users.sf.net>
3436
3437         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3438         (gst_control_point_find), (gst_controlled_property_new),
3439         (gst_control_point_free), (gst_controlled_property_free),
3440         (gst_controller_set), (gst_controller_set_from_list),
3441         (gst_controller_unset), (gst_controller_unset_all),
3442         (gst_controller_sync_values):
3443         * libs/gst/controller/gstcontroller.h:
3444         * libs/gst/controller/gstcontrollerprivate.h:
3445         * libs/gst/controller/gstinterpolation.c:
3446         (gst_controlled_property_find_control_point_node),
3447         (interpolate_none_get), (interpolate_trigger_get):
3448         Add a new private GstControlPoint struct which "inherits" from
3449         GstTimedValue to allow different interpolators to store internal
3450         values next to each control point. From the outside everything is
3451         still a GstControlPoint so we don't loose binary compatibility.
3452         Also fixup all the GValue handling to not leak GValues or list nodes.
3453         * tests/check/libs/controller.c: (GST_START_TEST):
3454         Free the list nodes and GValues in the controller_misc test.
3455
3456 2007-05-17  Edward Hervey  <edward@fluendo.com>
3457
3458         * gst/gstsegment.c:
3459         Small doc fix.
3460
3461 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3462
3463         * gst/gstplugin.c: (gst_plugin_load_file):
3464           If we fail to load a plugin because of unresolved symbols or missing
3465           libraries and spew a warning to stderr, we may just as well mention
3466           which plugin it was that failed to load.
3467
3468 2007-05-13  David Schleef  <ds@schleef.org>
3469
3470         * docs/Makefile.am: the gtk-doc makefile snippet correctly
3471           handles the case when ENABLE_GTK_DOC is false, and installs
3472           the prebuilt documentation.  So gtk-doc subdirs are 
3473           unconditionally enabled.  Fixes: #349099.
3474
3475 2007-05-13  David Schleef  <ds@schleef.org>
3476
3477         * gst/gstutils.h: Reword some documentation.
3478
3479 2007-05-12  David Schleef  <ds@schleef.org>
3480
3481         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3482           do anything with the passed "module" parameter, so remove it.
3483           Allows removal of additional vestigal code.
3484
3485 2007-05-12  David Schleef  <ds@schleef.org>
3486
3487         * gst/gstplugin.c:
3488           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3489           Switch to using g_stat() because it's more portable.
3490
3491 2007-05-12  David Schleef  <ds@schleef.org>
3492
3493         * gst/gst.c:
3494           Add GST_DISABLE_OPTION_PARSING, in order to disable option
3495           parsing for embedded systems.
3496         * gst/gstelementfactory.c:
3497           Allow gst_element_register() to be called with plugin==NULL.
3498           Did nobody notice that static elements were broken?
3499
3500 2007-05-12  Wim Taymans  <wim@fluendo.com>
3501
3502         * tools/gst-launch.c: (event_loop):
3503         Give more interesting info when buffering starts and stops.
3504         Fix case where buffering starts but we fail to update the buffering flag
3505         because the target state is not PLAYING.
3506
3507 2007-05-12  Wim Taymans  <wim@fluendo.com>
3508
3509         * plugins/elements/gstqueue.c: (gst_queue_init),
3510         (gst_queue_finalize), (update_time_level), (apply_segment),
3511         (apply_buffer), (gst_queue_locked_flush),
3512         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3513         (gst_queue_handle_sink_event), (gst_queue_chain),
3514         (gst_queue_push_one), (gst_queue_loop):
3515         * plugins/elements/gstqueue.h:
3516         Refactor an cleanup queue a bit.
3517         Do better time level calculations that also work when the srcpad is not
3518         yet running.
3519         Remove some unneeded debug lines.
3520
3521         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3522         Added testcase for time level measurement.
3523         Try to make some stuff more racefree.
3524
3525 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3526
3527         * gst/gsturi.c: (gst_element_make_from_uri):
3528           Don't leak plugin feature.
3529
3530         * tests/check/Makefile.am:
3531         * tests/check/gst/.cvsignore:
3532         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3533           Add brain-dead unit test.
3534
3535 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3536
3537         Patch by: Jeroen Wouters <woutersj at gmail com>
3538
3539         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3540           Treat protocol strings in a case-insensitive way (#437563).
3541
3542 2007-05-11  Michael Smith <msmith@fluendo.com>
3543
3544         * gst/gstplugin.c: (gst_plugin_load_file):
3545         * gst/gstregistry.c: (gst_registry_scan_path_level):
3546           Don't print a g_warning for any failure to load a shared object.
3547           Instead, push this down into gstplugin.c, and warn _only_ if we
3548           failed to open the module (i.e. failure to link).
3549           Avoids warnings on normal, working, non-plugin .so files.
3550
3551 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
3552
3553         * gst/gstplugin.c (gst_plugin_load_file):
3554         * gst/gstregistry.c (GST_CAT_DEFAULT,
3555           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3556           Print a g_warning if there was an error when loading a plugins during
3557           registry scan. The shuld help beginners starting with gst-plugin
3558           template.
3559
3560 2007-05-10  Wim Taymans  <wim@fluendo.com>
3561
3562         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3563         (update_time_level), (gst_queue_locked_flush),
3564         (gst_queue_handle_sink_event), (gst_queue_chain),
3565         (gst_queue_push_one), (gst_queue_loop):
3566         * plugins/elements/gstqueue.h:
3567         Be smarter when calculating the current amount of data in the queue by
3568         measuring the difference between start and end timestamps (in running
3569         time) inside the queue. Fixes #432876.
3570         API: GstQueue::pushing to notify elements that we are pushing data again
3571         since the running signal is rather broken for this purpose.
3572
3573 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
3574
3575         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3576           gst_queue_base_init, gst_queue_init):
3577           use GST_BOILERPLATE
3578
3579 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
3580
3581         * win32/common/libgstreamer.def:
3582         Add new exported functions.
3583         * win32/vs6/grammar.dsp:
3584         Use grammar pre-generated files.
3585
3586 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3587
3588         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
3589
3590         * gst/Makefile.am:
3591         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3592         * gst/gstparse.h:
3593         * gst/gstutils.c: (gst_parse_bin_from_description):
3594         * gst/gstutils.h:
3595           Maintain API and ABI when --disable-parse is used. Now that
3596           we have an appropriate error code, we can just return NULL and the
3597           appropriate error when gst_parse_launch() is used despite it having
3598           been disabled (#342564).
3599
3600         * tests/check/Makefile.am:
3601         * tests/check/pipelines/.cvsignore:
3602         * tests/check/pipelines/parse-disabled.c:
3603           Make sure these functions exist and return NULL plus a GError when
3604           --disable-parse is used.
3605
3606 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3607
3608         * tests/benchmarks/complexity.c: (main):
3609         * tests/benchmarks/mass-elements.c: (main):
3610           Set a good example and don't leak messages.
3611
3612 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
3613
3614         * docs/gst/Makefile.am:
3615         * docs/libs/Makefile.am:
3616           Correct fixxrefs options.
3617
3618         * docs/plugins/Makefile.am:
3619         * docs/plugins/gstreamer-plugins-docs.sgml:
3620         * docs/plugins/gstreamer-plugins-sections.txt:
3621         * plugins/elements/Makefile.am:
3622         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3623         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3624           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3625           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3626           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3627           _GstCapsFilterClass, trans_class):
3628         * plugins/elements/gstelements.c (name, rank, type, _elements):
3629         * plugins/elements/gstidentity.c
3630           (gst_identity_check_imperfect_timestamp,
3631           gst_identity_check_imperfect_offset):
3632           Document capsfilter and add doc-blurb to identity.
3633
3634 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3635
3636         * libs/gst/controller/gstcontroller.c:
3637         (gst_controlled_property_set_interpolation_mode):
3638         * libs/gst/controller/gstinterpolation.c:
3639           Don't crash if someone tries to set an interpolation mode that
3640           is invalid or that isn't supported yet. Fixes #422295.
3641
3642         * tests/check/libs/controller.c: (GST_START_TEST),
3643         (gst_controller_suite):
3644           Add a test case for the above.
3645
3646 2007-05-03  Edward Hervey  <edward@fluendo.com>
3647
3648         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3649         Properly set the last_stop position on GstSegment. This will only happen
3650         if there is a buffer to push out.
3651
3652 2007-05-03  Wim Taymans  <wim@fluendo.com>
3653
3654         * libs/gst/base/gstbasetransform.c:
3655         (gst_base_transform_buffer_alloc):
3656         always_in_place does not mean that the sink and source caps are the
3657         same! Make sure we don't blindly proxy the buffer_alloc in this case.
3658
3659 2007-05-03  Wim Taymans  <wim@fluendo.com>
3660
3661         * docs/libs/gstreamer-libs-sections.txt:
3662         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3663         (gst_base_src_default_query), (gst_base_src_get_range):
3664         * libs/gst/base/gstbasesrc.h:
3665         API: gst_base_src_query_latency(). Added method so that subclasses can
3666         easily get the latency values of the base source class.
3667
3668 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
3669
3670         * tools/gst-inspect.c (print_implementation_info):
3671         Remove 0.8 cruft.
3672
3673 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
3674
3675         * tools/Makefile.am:
3676         * tools/gst-launch.1.in:
3677           Don't create a customised man page based on the host architecture,
3678           describe the default registry path generically. That way the man
3679           page is the same for all architectures and packagers have one
3680           multilib issue less to deal with. Fixes #434926.
3681
3682 2007-05-02  Wim Taymans  <wim@fluendo.com>
3683
3684         * gst/gstpad.c:
3685         Fix documentation as spotted by rg on IRC. 
3686
3687 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
3688
3689         * gst/gstutils.c:
3690           Improve docs for gst_element_{link,unlink}.
3691
3692 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
3693
3694         * docs/design/part-events.txt:
3695         * docs/design/part-overview.txt:
3696         * gst/gstevent.c:
3697         * gst/gsturi.c:
3698         * gst/gsturi.h:
3699         * libs/gst/base/gstbasesink.c:
3700           Typo fixes; minor docs addition.
3701
3702 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3703
3704         * docs/gst/gstreamer-sections.txt:
3705         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3706         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3707         * gst/gsturi.h:
3708         API: Add gst_uri_protocol_is_supported(), which checks if a sink
3709         or src that supports a given URI protocol exists.
3710
3711 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3712
3713         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3714         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3715         Set the location to NULL if "file://" is set as URI. Otherwise
3716         some random previous URI would still be set if "file://" is
3717         set on an already used filesink/filesrc.
3718
3719 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3720
3721         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3722         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3723         Special case the "file://" URI as as this is used by some
3724         applications to test with gst_element_make_from_uri if there's
3725         an element that supports the URI protocol.
3726         Also move the g_path_is_absolute() check for the location part
3727         of the URI to also check this for "file://localhost/bla" URIs.
3728
3729 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
3730
3731         * docs/gst/gstreamer-sections.txt:
3732         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3733         * gst/gstbuffer.h:
3734         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3735         (gst_buffer_suite):
3736           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3737
3738 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
3739
3740         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3741         (gst_registry_binary_load_pad_template),
3742         (gst_registry_binary_load_plugin),
3743         (gst_registry_binary_read_cache):
3744         * gst/gstregistrybinary.h:
3745           Implement no-mmap alternative for registry reading. Do code cleanups.
3746           Add more comments about avoiding strdups for all text data. Comments
3747           welcome.
3748
3749 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3750
3751         * gst/gstregistrybinary.h (GstBinaryPluginElement,
3752           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3753           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3754           Comment structs and reformat to fix the build (that stuff should go
3755           into a priv. header).
3756
3757 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3758
3759         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3760         (gst_registry_binary_load_feature):
3761         * gst/gstregistrybinary.h:
3762           Refactor so that we can implement multiple features. Add support for
3763           TypeFindFactory features.
3764
3765 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
3766
3767         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3768
3769         * configure.ac:
3770           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3771
3772 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
3773
3774         * gst/gstbin.c: (gst_bin_element_set_state),
3775         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3776         (bin_handle_async_done), (gst_bin_handle_message_func):
3777           Fix build with --gst-disable-gst-debug
3778
3779 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3780
3781         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3782           Make sure streaming has finished before calling the ::stop() vfunc,
3783           since that vfunc might clear state which is being used in the
3784           streaming thread. This fixes a race that caused crashes in
3785           audioresample when shutting down a pipeline (#420106).
3786
3787 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3788
3789         * docs/gst/gstreamer-sections.txt:
3790           That was one byte missing.
3791
3792 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3793
3794         * configure.ac:
3795         * docs/gst/gstreamer-sections.txt:
3796         * gst/Makefile.am:
3797         * gst/gstconfig.h.in:
3798         * gst/gstobject.c: (gst_object_class_init),
3799         (gst_signal_object_class_init):
3800         * gst/gstobject.h:
3801           2nd attempt to have a xml-less build as a joined effort of #413123
3802           and #421480.
3803
3804 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3805
3806         * docs/design/draft-tagreading.txt:
3807           Added open issues/thoughts to draft.
3808
3809 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3810
3811         * gst/parse/grammar.tab.pre.c:
3812         * gst/parse/grammar.tab.pre.h:
3813         * gst/parse/lex._gst_parse_yy.pre.c:
3814         Update the prebuild parser sources.
3815
3816 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3817
3818         * gst/parse/Makefile.am:
3819         And now fix the building of the flex sources. Now everything should
3820         work as expected.
3821
3822 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3823
3824         * gst/parse/Makefile.am:
3825         Now hopefully fix the build failures by setting proper rule
3826         dependencies and moving instead of copying.
3827
3828 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3829
3830         * tests/benchmarks/complexity.gnuplot:
3831         * tests/benchmarks/complexity.scm:
3832         * tests/benchmarks/mass-elements.gnuplot:
3833         * tests/benchmarks/mass-elements.scm:
3834           Total licensification.
3835
3836 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3837
3838         * gst/parse/Makefile.am:
3839           Fix the build by correcting the rule that gave wrong files to flex.
3840
3841 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3842
3843         * tests/benchmarks/complexity.c:
3844         * tests/benchmarks/mass-elements.c:
3845           Change licence to LGPL as granted by Benjamin and Andy.
3846
3847 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3848
3849         * gst/parse/Makefile.am:
3850         Add correct grammar.tab.h dependency if compiling without new enough
3851         flex. Fixes #431150.
3852
3853 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3854
3855         * gst/parse/Makefile.am:
3856         Fix typo and use outdated sources if the flex/bison sources are newer
3857         than the pregenerated ones but flex is too old. Print a warning in
3858         that case. This should fix the build on the build bot.
3859
3860 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3861
3862         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3863         * gst/parse/Makefile.am:
3864         * gst/parse/grammar.y:
3865         * gst/parse/parse.l:
3866         Make the parser reentrant and recursively callable. This requires flex
3867         >= 2.5.31, for older versions pregenerated sources are used as we
3868         can't bump the build dependency. Finally fixes #349180.
3869
3870         * gst/gstparse.c: (gst_parse_launch):
3871         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3872         now anyway.
3873
3874         * docs/gst/Makefile.am:
3875         * docs/gst/Makefile.am:
3876         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3877         (__gst_parse_strfree), (__gst_parse_link_new),
3878         (__gst_parse_link_free), (__gst_parse_chain_new),
3879         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3880         (gst_parse_element_set), (gst_parse_free_link),
3881         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3882         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3883         (_gst_parse_launch):
3884         * gst/parse/grammar.tab.pre.h:
3885         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3886         (yy_get_previous_state), (yy_try_NUL_trans), (input),
3887         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3888         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3889         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3890         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3891         (_gst_parse_yypop_buffer_state),
3892         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3893         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3894         (yy_fatal_error), (_gst_parse_yyget_extra),
3895         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3896         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3897         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3898         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3899         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3900         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3901         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3902         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3903         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3904         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3905         (_gst_parse_yyfree):
3906         If the installed flex version is too old use pre-generated parser
3907         sources. These pre-generated parser sources are always updated when
3908         the actual flex/bison sources change but require everybody who wants
3909         to change something in the parser to have flex >= 2.5.31 installed.
3910
3911 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
3912
3913         * common/m4/gst-gettext.m4:
3914         * gst/gst-i18n-lib.h:
3915           Make --disable-nls to work
3916
3917 2007-04-17  Wim Taymans  <wim@fluendo.com>
3918
3919         * gst/gstconfig.h.in:
3920         Revert previous change that broke the build.
3921
3922 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
3923
3924         * configure.ac:
3925         * gst/Makefile.am:
3926         * gst/gstconfig.h.in:
3927           Drop libxml2 dependency when building with 
3928           --enable-binary-registry --disable-loadsave
3929
3930 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
3931
3932         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3933         (gst_registry_binary_read_cache):
3934         * gst/gstregistrybinary.h:
3935           Remove unnecessary <sys/mman.h> include which broke the win32 build
3936           with MingW; move includes from header file to .c file, even if the
3937           header file isn't installed; use g_strerror() where UTF-8 strings
3938           are expected, such as in GST_DEBUG messages.
3939
3940 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3941
3942         * docs/libs/gstreamer-libs-sections.txt:
3943         Remove bogus addition for API I didn't end up keeping.
3944
3945         * libs/gst/base/gstbasesrc.h:
3946         Mention Since: 0.10.13 in the documentation.
3947
3948         Add the API keyword to the previous ChangeLog entry.
3949
3950 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3951
3952         * docs/libs/gstreamer-libs-sections.txt:
3953         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3954         (gst_base_src_default_prepare_seek_segment),
3955         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3956         * libs/gst/base/gstbasesrc.h:
3957         Allow basesrc derived classes to execute seeks in other formats
3958         by providing a prepare_seek_segment vmethod. Sub-classes can choose
3959         to prepare the GstSegment in any format that their perform_seek method
3960         will be able to understand. The default implementation provides the
3961         old behaviour of attempting to convert the seek offsets to the 
3962         configured native format.
3963
3964         API: basesrc::prepare_seek_segment vmethod.
3965
3966 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3967
3968         * gst/gstelement.c: (gst_element_get_state_func):
3969         Don't output the same debug statement twice.
3970
3971         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3972         (gst_adapter_peek), (gst_adapter_take_buffer):
3973         Optimise the case where we have buffers at the head of the queue that
3974         can be joined quickly (because they're contiguous sub-buffers) by
3975         merging them together rather than copying data out into new memory.
3976
3977         * gst/parse/grammar.y:
3978         * tests/check/pipelines/parse-launch.c:
3979         Fix a leak in an error path for parse_launch, and add a check 
3980         for it to the testsuite.
3981
3982 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3983
3984         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3985           Don't deadlock when releasing a pad - gst_pad_set_active may try
3986           and take the multiqueue lock too.
3987
3988 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3989
3990         * gst/gsterror.c: (_gst_core_errors_init):
3991         * gst/gsterror.h:
3992           API: add GST_CORE_ERROR_DISABLED (#392804).
3993
3994 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3995
3996         * docs/faq/gst-uninstalled:
3997           don't get empty paths on the PATH variables
3998         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3999           Don't format for the uncommon terminal width of 84 characters.
4000
4001 2007-04-06  Wim Taymans  <wim@fluendo.com>
4002
4003         * gst/gstpipeline.c: (reset_stream_time),
4004         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
4005         Only try to select a different pipeline clock when we went back to
4006         PAUSED and not when we merely got flushed.
4007
4008 2007-04-05  Michael Smith  <msmith@fluendo.com>
4009
4010         * tools/gst-launch.1.in:
4011           fractions are better supported in gstreamer than ractions, so
4012           suggest using those.
4013
4014 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4015
4016         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
4017
4018         * po/LINGUAS:
4019         * po/da.po:
4020           Added Danish translation.
4021
4022 2007-04-05  Wim Taymans  <wim@fluendo.com>
4023
4024         * libs/gst/base/gstbasesink.c:
4025         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
4026         Fix leak caused when refusing newsegment after EOS.
4027
4028         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
4029         (gst_fake_sink_init), (gst_fake_sink_set_property),
4030         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
4031         (gst_fake_sink_render), (gst_fake_sink_change_state):
4032         * plugins/elements/gstfakesink.h:
4033         Add num-buffers property to make the element generate EOS after a
4034         configurable amount of buffers.
4035         API: fakesink::num-buffers property.
4036
4037         * tests/check/elements/fakesink.c: (GST_START_TEST),
4038         (fakesink_suite):
4039         Fix GstBus leak in test.
4040         Test for fakesink num-buffers.
4041
4042 2007-04-05  Wim Taymans  <wim@fluendo.com>
4043
4044         * libs/gst/base/gstbasesink.c:
4045         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4046         (gst_base_sink_change_state):
4047         Don't accept anything after an EOS, return UNEXPECTED instead.
4048
4049         * tests/check/elements/fakesink.c: (GST_START_TEST),
4050         (fakesink_suite):
4051         Unit test for new EOS behaviour.
4052
4053 2007-04-05  Wim Taymans  <wim@fluendo.com>
4054
4055         * gst/gstelement.c: (gst_element_get_request_pad):
4056         Make padtemplates also work when they don't contain %s or %d.
4057
4058 2007-04-05  Wim Taymans  <wim@fluendo.com>
4059
4060         * docs/gst/gstreamer-sections.txt:
4061         * gst/gstclock.c: (gst_clock_adjust_unlocked),
4062         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
4063         * gst/gstclock.h:
4064         Improve _adjust_unlocked() so that it overflows less.
4065         Add gst_clock_unadjust_unlocked to convert from external time to
4066         internal time based on calibration.
4067         Add some more debug.
4068         API: GstClock::gst_clock_unadjust_unlocked()
4069
4070 2007-04-03  Wim Taymans  <wim@fluendo.com>
4071
4072         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4073
4074         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
4075         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
4076         when releasing sink pad. Fixes #425400.
4077
4078 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
4079
4080         * docs/random/ensonic/dynlink.txt:
4081           More work on proposal for new core api.
4082
4083         * docs/libs/gstreamer-libs-sections.txt:
4084         * libs/gst/base/gstbasetransform.h:
4085           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
4086           
4087         * libs/gst/controller/gstcontroller.c:
4088         (on_object_controlled_property_changed),
4089         (gst_controller_sync_values),
4090         (gst_controller_set_interpolation_mode):
4091         * libs/gst/controller/gstcontroller.h:
4092           Less verbose logging add docs for unimplemented parts and correctly
4093           return when using unavailable parts.
4094
4095 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
4096
4097         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
4098         Move all the debug to the CLOCK category, and associate it with
4099         the clock object.
4100
4101 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
4102
4103         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
4104         Make take_buffer a bit quicker by removing redundant checks
4105         caused by calling gst_adapter_take.
4106
4107 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
4108
4109         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
4110           Don't leak GCond.
4111
4112         * tests/check/Makefile.am:
4113         * tests/check/elements/.cvsignore:
4114         * tests/check/elements/multiqueue.c: (setup_multiqueue),
4115         (GST_START_TEST), (multiqueue_suite):
4116           Add some dead simple unit tests for the 'multiqueue' element
4117           (some bits don't work yet and are disabled for now).
4118
4119 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
4120
4121         * gst/gstelement.c: (gst_element_get_request_pad),
4122         (gst_element_class_get_request_pad_template):
4123           Make gst_element_get_request_pad() create request pads only for
4124           request pad templates and not for, say, sometimes pad templates.
4125
4126 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
4127
4128         * docs/design/draft-klass.txt:
4129           Add example that needs more thinking.
4130         
4131         * docs/design/draft-missing-plugins.txt:
4132           More thoughts about wrapper plugins.
4133         
4134         * docs/random/ensonic/embedded.txt:
4135         * docs/random/ensonic/profiling.txt:
4136           More design work.
4137
4138 2007-03-25  Wim Taymans  <wim@fluendo.com>
4139
4140         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
4141         (gst_base_src_loop):
4142         Only push the segment events in the PLAYING state for live sources.
4143
4144 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
4145
4146         * gst/gstpipeline.c: (gst_pipeline_change_state):
4147         Modify the clock distribution path in PAUSED->PLAYING so that we 
4148         never attempt to choose a new clock unless we're actually leaving
4149         the PAUSED state for the first time. This prevents choosing a
4150         different clock when the state_change gets called for a 2nd time due
4151         to some element doing an async state change.
4152
4153 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4154
4155         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
4156         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
4157         (gst_pad_chain_unchecked), (gst_pad_push):
4158         Revert last commit. This needs some more thoughts.
4159
4160 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4161
4162         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
4163         (gst_pad_chain_unchecked), (gst_pad_push):
4164         Check in set_caps if the caps are compatible with the pad and remove
4165         two functions that are redundant now. Fixes #421543.
4166
4167 2007-03-22  Wim Taymans  <wim@fluendo.com>
4168
4169         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4170         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
4171         Unref some more to make valgrind happy.
4172
4173 2007-03-22  Wim Taymans  <wim@fluendo.com>
4174
4175         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
4176         (gst_system_clock_id_wait_jitter),
4177         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
4178         Fix anoying regression that survived a few releases. When adding an
4179         async entry while blocking on a sync entry, the sync entry will unblock
4180         but still be busy, so it should continue to wait instead of returning
4181         _BUSY to the app.
4182         Add some comments here and there.
4183
4184         * tests/check/gst/gstsystemclock.c: (mixed_thread),
4185         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
4186         Add testcase for this.
4187
4188 2007-03-22  Wim Taymans  <wim@fluendo.com>
4189
4190         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4191         Handle errors from the clock sync better, only UNSCHEDULED indicates a
4192         WRONG_STATE and can silently pause the task. All other cases should
4193         error out.
4194
4195 2007-03-22  Wim Taymans  <wim@fluendo.com>
4196
4197         Patch by: Ville Syrjala <syrjala at sci dot fi>
4198
4199         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
4200         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
4201         Improve debugging.
4202
4203 2007-03-21  Michael Smith  <msmith@fluendo.com>
4204
4205         * docs/pwg/advanced-types.xml:
4206           Fix some errors in the typefinding docs pointed out on irc.
4207
4208 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
4209
4210         * libs/gst/base/gstbasesrc.c:
4211         Clarify FIXME comment in the face of having added unlock_stop()
4212
4213 2007-03-21  Wim Taymans  <wim@fluendo.com>
4214
4215         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
4216         Prepare for release where we warn against possible app breakage in the
4217         case of live pipelines along with an env var to enable/disable live
4218         preroll mode (GST_COMPAT=[no-]live-preroll).
4219
4220 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4221
4222         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
4223         So we should use correct constants for checking for None offset.
4224
4225 2007-03-20  Wim Taymans  <wim@fluendo.com>
4226
4227         * docs/design/part-block.txt:
4228         Mention the fact that the newly switched element should be set to at
4229         least PAUSED.
4230
4231 2007-03-20  Wim Taymans  <wim@fluendo.com>
4232
4233         * gst/gst.c:
4234         Fix compilation with registry disabled as spotted by Saur.
4235
4236 2007-03-20  Wim Taymans  <wim@fluendo.com>
4237
4238         Patch by: Olivier Crete <tester at tester dot ca>
4239
4240         * gst/gstelement.c: (gst_element_sync_state_with_parent):
4241         Look at the pending state too when syncing the element state to the
4242         parent. Fixes #420133.
4243
4244 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
4245
4246         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
4247         (gst_base_sink_change_state):
4248         * libs/gst/base/gstbasesink.h:
4249         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4250         (gst_base_src_default_event), (gst_base_src_unlock_stop),
4251         (gst_base_src_deactivate):
4252         * libs/gst/base/gstbasesrc.h:
4253         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
4254         for sub-classes to correctly clear any state they set trying to
4255         unlock, such as clearing out unlock commands from a command fd.
4256         API: basesrc::unlock_stop
4257         API: basesink::unlock_stop
4258
4259         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
4260         (gst_fd_sink_render), (gst_fd_sink_unlock),
4261         (gst_fd_sink_unlock_stop):
4262         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
4263         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
4264         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
4265
4266         Implement unlock_stop in fdsrc and fdsink.
4267         Implement seeking in fdsrc when a seekable fd is passed, as in
4268         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
4269
4270 2007-03-19  Wim Taymans  <wim@fluendo.com>
4271
4272         Patch by: Evan Nemerson <evan at coeus dash group dot com>
4273
4274         * gst/gstelement.c: (gst_element_class_init):
4275         Fix pad-added and pad-removed signal signatures so that the pad type is
4276         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
4277
4278 2007-03-19  Wim Taymans  <wim@fluendo.com>
4279
4280         * docs/gst/gstreamer-sections.txt:
4281         Add new element field and method.
4282
4283         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4284         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
4285         (gst_bin_recalc_state), (gst_bin_get_state_func),
4286         (gst_bin_element_set_state), (gst_bin_change_state_func),
4287         (gst_bin_continue_func), (bin_bus_handler),
4288         (bin_push_state_continue), (bin_handle_async_start),
4289         (bin_handle_async_done), (gst_bin_handle_message_func):
4290         Make async state changes a bit smarter by using new ASYNC_START and
4291         ASYNC_DONE messages. This reduces the number of times we run the state
4292         recalculation thread.
4293         Don't change state of element with a pending ASYNC_START message.
4294         Deprecate STATE_DIRTY messages.
4295         
4296         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
4297         (gst_element_get_state_func), (gst_element_continue_state),
4298         (gst_element_lost_state), (gst_element_set_state_func),
4299         (gst_element_change_state):
4300         * gst/gstelement.h:
4301         Keep the state that was last set by the app in a new element field.
4302         Don't allow state changes when handling an element event.
4303         Post ASYNC_START and ASYNC_DONE messages.
4304         Change lost_state so that we go to PAUSED and wait for the parent to set
4305         us to PLAYING again (so latency calculation can be performed)
4306         Export gst_element_change_state() method so that subclasses can use it.
4307         API: gst_element_change_state()
4308         API: GST_STATE_TARGET
4309
4310         * gst/gstpipeline.c: (gst_pipeline_class_init),
4311         (reset_stream_time), (gst_pipeline_change_state),
4312         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
4313         Using the new ASYNC_START message we can reset the base_time when
4314         needed. This can then be used to implement base_time redistribution in
4315         flushing seeks so that we can remove the explicit seek handling.
4316         Perform latency query and configuration when going to PLAYING.
4317
4318         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4319         (gst_base_sink_query), (gst_base_sink_change_state):
4320         Post new ASYNC_START/ASYNC_DONE messages.
4321
4322         * tests/check/generic/sinks.c: (GST_START_TEST):
4323         Fix test because the bin will not set the async element to PLAYING right
4324         away.
4325
4326         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4327         Make the message check a little stronger.
4328         Handle ASYNC messages.
4329
4330         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4331         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4332         Expect ASYNC_DONE messages.
4333
4334 2007-03-19  Wim Taymans  <wim@fluendo.com>
4335
4336         * docs/gst/gstreamer-sections.txt:
4337         * gst/gstmessage.c: (gst_message_new_async_start),
4338         (gst_message_new_async_done), (gst_message_parse_info),
4339         (gst_message_parse_async_start):
4340         * gst/gstmessage.h:
4341         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4342         support.
4343
4344 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4345
4346         * tools/gst-inspect.c:
4347         (print_plugin_automatic_install_info_codecs):
4348           Now that we don't check for the 'Codec' keyword any longer in the
4349           klass, we shouldn't spew a warning if the klass isn't a decoder or
4350           encoder (since it might be a Source/Network, for example).
4351
4352 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4353
4354         * tools/gst-inspect.c:
4355         (print_plugin_automatic_install_info_codecs):
4356           Don't require decoder/demuxer/depayloader elements or
4357           encoder/muxer/paylader elements to have 'Codec' as part of their
4358           factory class string when introspecting a plugin's capabilities.
4359           draft-klass.txt mentions that it might be removed in future, and
4360           flump3dec doesn't have it as part of its class string, so chances
4361           are others might also not have it.
4362
4363 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4364
4365         * po/af.po:
4366         * po/az.po:
4367         * po/bg.po:
4368         * po/ca.po:
4369         * po/cs.po:
4370         * po/de.po:
4371         * po/en_GB.po:
4372         * po/fr.po:
4373         * po/it.po:
4374         * po/nb.po:
4375         * po/nl.po:
4376         * po/ru.po:
4377         * po/sq.po:
4378         * po/sr.po:
4379         * po/sv.po:
4380         * po/tr.po:
4381         * po/uk.po:
4382         * po/vi.po:
4383         * po/zh_CN.po:
4384         * po/zh_TW.po:
4385           Update translations from translation project
4386
4387 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
4388
4389         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4390         (gst_child_proxy_set_property):
4391           Invert precondition check to be alike the ones in the mimiced gobject
4392           api.
4393
4394 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
4395
4396         * docs/design/draft-tagreading.txt:
4397         * docs/random/ensonic/audiobaseclasses.txt:
4398           Do some Architect work.
4399
4400         * gst/gstobject.c: (gst_object_set_name):
4401           Add a WARNING.
4402
4403         * gst/gstpad.c:
4404           Add docs that point from gst_pad_get_range to gst_pad_pull_range
4405
4406 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
4407
4408         * gst/gstsystemclock.c: (gst_system_clock_init),
4409         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4410         Defer starting the async system clock thread until the first async
4411         wait is scheduled. Fixes #414986.
4412
4413 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4414
4415         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4416         (gst_single_queue_free):
4417           Fix small leak (free GstSingleQueue structure too, not only contents).
4418
4419 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
4420
4421         * gst/gstbin.c:(gst_bin_add):
4422         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4423         * win32/common/libgstbase.def:
4424         * win32/common/libgstreamer.def:
4425         Add new exported functions.
4426
4427 2007-03-09  Wim Taymans  <wim@fluendo.com>
4428
4429         * docs/plugins/gstreamer-plugins-sections.txt:
4430         Fix GstTee docs.
4431
4432 2007-03-09  Wim Taymans  <wim@fluendo.com>
4433
4434         * docs/gst/gstreamer-sections.txt:
4435         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4436         * gst/gstbuffer.h:
4437         Add metadata copy functions. Fixes #393099.
4438         API: gst_buffer_copy_metadata()
4439
4440         * gst/gstutils.c: (gst_buffer_stamp):
4441         * libs/gst/base/gstbasetransform.c:
4442         (gst_base_transform_prepare_output_buffer):
4443         Use new metadata copy functions.
4444
4445 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4446
4447         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4448         (gst_identity_init), (gst_identity_check_perfect),
4449         (gst_identity_check_imperfect_timestamp),
4450         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4451         (gst_identity_set_property), (gst_identity_get_property):
4452         * plugins/elements/gstidentity.h:
4453         Separate out check-imperfect-timestamp and check-imperfect-offset.
4454         Put back check-perfect as it was to keep compatibility.
4455
4456 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
4457
4458         * gst/gstelement.c: (gst_element_dispose):
4459         There's no need to warn if VOID_PENDING is not NONE here, as
4460         long as the state is NULL it's ok, and that's checked immediately
4461         above.
4462
4463 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4464
4465         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4466         Fix check for perfect stream to ignore buffers with -1 
4467         offsets/offset ends when checking data contiguity.
4468
4469 2007-03-08  Wim Taymans  <wim@fluendo.com>
4470
4471         * tools/gst-launch.c: (event_loop):
4472         Print INFO messages.
4473
4474 2007-03-08  Wim Taymans  <wim@fluendo.com>
4475
4476         * libs/gst/base/gstbasetransform.c:
4477         (gst_base_transform_sink_eventfunc),
4478         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4479         (gst_base_transform_activate):
4480         * libs/gst/base/gstbasetransform.h:
4481         Add support for dropping buffers with custom GstFlowReturn.
4482         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4483         buffers or dropped buffers.
4484
4485         * docs/libs/gstreamer-libs-sections.txt:
4486         docs for new custom return code.
4487
4488         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4489         Use drop support in base class to implement drop-probability.
4490
4491 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4492
4493         * gst/gst.c: (load_plugin_func):
4494         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4495         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4496         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4497           Remove newlines at end of debug log strings.
4498
4499 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4500
4501         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4502         Only post bus message at max, once per buffer received.
4503
4504 2007-03-07  Wim Taymans  <wim@fluendo.com>
4505
4506         * docs/design/Makefile.am:
4507         * docs/design/part-synchronisation.txt:
4508         Add doc about synchronisation
4509
4510         * docs/design/draft-latency.txt:
4511         * docs/design/part-TODO.txt:
4512         * docs/design/part-clocks.txt:
4513         * docs/design/part-events.txt:
4514         * docs/design/part-gstbus.txt:
4515         * docs/design/part-gstpipeline.txt:
4516         * docs/design/part-live-source.txt:
4517         * docs/design/part-messages.txt:
4518         * docs/design/part-overview.txt:
4519         * docs/design/part-streams.txt:
4520         * docs/design/part-trickmodes.txt:
4521         Documentation updates.
4522
4523 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4524
4525         * gstreamer.doap:
4526         Update the doap file.
4527
4528 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4529
4530         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4531         Rename non-perfect to imperfect for Mike and for the sanctity of the
4532         language.
4533         Also make sure bus message gets emitted for data-incontiguities.
4534
4535 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4536
4537         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4538         (gst_identity_start):
4539         * plugins/elements/gstidentity.h:
4540         Emit bus message if check-perfect is true and we encounter a
4541         non-perfect stream between 2 consecutive buffers.
4542         Fixes #415394.
4543
4544 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4545
4546         * configure.ac:
4547         Back to CVS
4548
4549 === release 0.10.12 ===
4550
4551 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
4552
4553         * configure.ac:
4554           releasing 0.10.12, "Inevitable Demise"
4555
4556 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
4557
4558         * configure.ac:
4559          Version 0.10.11.2 (0.10.12 pre-release)
4560          Bump libtool versioning.
4561
4562 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
4563
4564         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4565           Log flow-names and not numbers.
4566
4567 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4568
4569         * configure.ac:
4570           Convert to new AG_GST style.
4571
4572 2007-02-28  Wim Taymans  <wim@fluendo.com>
4573
4574         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4575         Don't unref query twice.
4576
4577 2007-02-28  Wim Taymans  <wim@fluendo.com>
4578
4579         * gst/gstvalue.c: (gst_value_transform_object_string),
4580         (_gst_value_initialize):
4581         Implement GstObject -> string transform so we print object names
4582         when serializing GValues containing GstObjects.
4583
4584 2007-02-28  Wim Taymans  <wim@fluendo.com>
4585
4586         * docs/gst/gstreamer-sections.txt:
4587         Add new stuff to docs.
4588
4589 2007-02-28  Wim Taymans  <wim@fluendo.com>
4590
4591         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4592         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4593         (gst_base_sink_change_state):
4594         Improve latency query code.
4595         Don't leak latency events.
4596
4597         * tests/check/gst/gstbin.c: (GST_START_TEST):
4598         Improve debugging.
4599
4600 2007-02-28  Wim Taymans  <wim@fluendo.com>
4601
4602         * gst/gstelement.c: (gst_element_message_full),
4603         (gst_element_get_state_func):
4604         * gst/gstelement.h:
4605         Improve docs a little. Added Since: for new macro.
4606
4607         * gst/gstobject.c: (gst_object_sink):
4608         * gst/gstpipeline.c: (gst_pipeline_change_state),
4609         (gst_pipeline_set_new_stream_time):
4610         * gst/gstpipeline.h:
4611         Improve debugging and docs.
4612
4613         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4614         Improve debugging.
4615
4616 2007-02-28  Wim Taymans  <wim@fluendo.com>
4617
4618         * gst/gstelement.c: (gst_element_message_full),
4619         (gst_element_set_locked_state), (gst_element_get_state_func),
4620         (gst_element_change_state):
4621         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4622         Documentation updates.
4623         Small code cleanups.
4624
4625         * gst/gstmessage.c: (gst_message_new_info),
4626         (gst_message_parse_info):
4627         * gst/gstmessage.h:
4628         API: gst_message_new_info()
4629         API: gst_message_parse_info()
4630         Add INFO message create and parse code.
4631
4632 2007-02-28  Wim Taymans  <wim@fluendo.com>
4633
4634         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4635         (bin_query_latency_done):
4636         Also report the live parameter of a latency query.
4637
4638 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4639
4640         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4641           Copy the current generic/states example from -base and adapt so
4642           we can use the exact same code everywhere.
4643           Check a STATES_IGNORE_ELEMENTS env var which can be used
4644           to ignore certain element factories for this test, which is
4645           what is being done in -base
4646         * tests/check/Makefile.am:
4647           Mention this environment variable.
4648
4649 2007-02-27  Wim Taymans  <wim@fluendo.com>
4650
4651         * docs/gst/gstreamer-sections.txt:
4652         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4653         (gst_bus_timed_pop), (gst_bus_pop):
4654         * gst/gstbus.h:
4655         API: gst_bus_timed_pop()
4656         Implement gst_bus_timed_pop() to do a blocking timed wait for a
4657         message to arrive on the bus.
4658
4659         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4660         (gst_bus_suite):
4661         Two unit tests for new _timed_pop() function.
4662
4663 2007-02-23  Wim Taymans  <wim@fluendo.com>
4664
4665         * gst/gstpipeline.c: (gst_pipeline_change_state),
4666         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4667         Don't ref a NULL clock in _provide_clock_func().
4668         Don't allow an INVALID delay.
4669         Don't try to calculate base_time with an invalid start_time.
4670         Also distribute and notify a NULL clock when it was selected.
4671
4672         * tools/gst-launch.c: (event_loop):
4673         Don't crash when a NULL clock was selected in the pipeline.
4674
4675 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4676
4677         * docs/design/Makefile.am:
4678         * docs/design/draft-missing-plugins.txt:
4679         * docs/random/draft-missing-plugins.txt:
4680           Some small updates: update plugin system identifier prefix
4681           ('gstreamer.net' to 'gstreamer'), mention our new install
4682           API in libgstbaseutils rather than libgimme-codec, add
4683           reference to the online docs.
4684
4685 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4686
4687         * win32/common/config.h:
4688           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
4689           use moap cl ci to only check in what is mentioned in the ChangeLog.
4690
4691 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4692
4693         * docs/gst/gstreamer-sections.txt:
4694         * gst/gstelement.h:
4695           Fix up documentation to link to the correct GstGError section.
4696           Add GST_ELEMENT_INFO macro since someone else added a Info message.
4697
4698 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4699
4700         * tools/gst-launch.c: (event_loop):
4701           Make sure that we actually show the important message part of a
4702           warning message.
4703           No need to check if the gerror is not NULL to free; first of all
4704           g_free accepts NULL; and second the default error handler would
4705           segfault if gerror was NULL.
4706
4707 2007-02-21  Wim Taymans  <wim@fluendo.com>
4708
4709         * docs/gst/gstreamer-sections.txt:
4710         Removed docs as well.
4711
4712 2007-02-21  Wim Taymans  <wim@fluendo.com>
4713
4714         * gst/gstmessage.c: (gst_message_parse_duration):
4715         * gst/gstmessage.h:
4716         Remove new messages for release.
4717
4718 2007-02-20  Wim Taymans  <wim@fluendo.com>
4719
4720         * docs/design/part-gstghostpad.txt:
4721         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4722         (gst_ghost_pad_new_full):
4723         Make the ghostpad a parent of the internal pad again for better backward
4724         compatibility. Don't write code that relies on this however.
4725
4726         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4727         (gst_pad_link_check_hierarchy):
4728         Require that parents should be GstElements in the hierarchy check.
4729
4730 2007-02-20  Wim Taymans  <wim@fluendo.com>
4731
4732         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4733         (gst_bin_change_state_func), (bin_query_min_max_init),
4734         (bin_query_latency_fold), (bin_query_latency_done),
4735         (gst_bin_query):
4736         Improve debug info.
4737         Implement latency query.
4738
4739 2007-02-20  Wim Taymans  <wim@fluendo.com>
4740
4741         * docs/design/part-gstghostpad.txt:
4742         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4743         (gst_ghost_pad_internal_do_activate_push),
4744         (gst_ghost_pad_internal_do_activate_pull),
4745         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4746         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4747         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4748         Do not set the internal pad as a parent anymore so we can avoid
4749         hierarchy linking errors when the ghostpad has no parent yet. This also
4750         fixes failed activation because of unlinked internal pads, which in
4751         turn fixes the impossible case where you have to activate a pad before
4752         you can add it to a running element.
4753         Also fix the docs.
4754
4755         * gst/gstpad.c: (pre_activate), (post_activate),
4756         (gst_pad_set_active), (gst_pad_activate_pull),
4757         (gst_pad_activate_push), (gst_pad_check_pull_range):
4758         Add some more debug info.
4759         Mark activation mode in pre_activate so that we don't try to activate in
4760         endless loops. Fixes #385084.
4761
4762 2007-02-19  Wim Taymans  <wim@fluendo.com>
4763
4764         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4765         (gst_base_transform_check_get_range):
4766         Implement a checkgetrange function instead of relying on the default
4767         core behaviour that assumes we can operate in pull mode if we have a
4768         getrange function. First step at fixing #385084.
4769
4770 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
4771
4772         * gst/gstchildproxy.h:
4773         * libs/gst/base/gstbasesink.h:
4774         * libs/gst/base/gstbasesrc.h:
4775         * libs/gst/base/gstbasetransform.h:
4776         More docs coverage and some ChangeLog surgery (add missing names)
4777
4778 2007-02-15  Wim Taymans  <wim@fluendo.com>
4779
4780         * docs/design/part-TODO.txt:
4781         * docs/design/part-activation.txt:
4782         * docs/design/part-block.txt:
4783         * docs/design/part-buffering.txt:
4784         * docs/design/part-clocks.txt:
4785         * docs/design/part-element-source.txt:
4786         * docs/design/part-events.txt:
4787         * docs/design/part-gstbin.txt:
4788         * docs/design/part-gstbus.txt:
4789         * docs/design/part-gstpipeline.txt:
4790         * docs/design/part-live-source.txt:
4791         * docs/design/part-messages.txt:
4792         * docs/design/part-overview.txt:
4793         * docs/design/part-qos.txt:
4794         * docs/design/part-query.txt:
4795         * docs/design/part-states.txt:
4796         * docs/design/part-trickmodes.txt:
4797         Some doc updates. Start renaming from stream_time to running_time where
4798         it was used wrongly.
4799
4800 2007-02-15  Wim Taymans  <wim@fluendo.com>
4801
4802         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4803         Answer LATENCY query.
4804
4805 2007-02-15  Wim Taymans  <wim@fluendo.com>
4806
4807         * tests/check/gst/gstevent.c: (event_probe), (test_event),
4808         (GST_START_TEST):
4809         Improve debugging.
4810
4811 2007-02-15  Wim Taymans  <wim@fluendo.com>
4812
4813         * gst/gstpad.c: (gst_pad_get_internal_links_default),
4814         (gst_pad_dispatcher):
4815         Improve debugging of default pad dispatcher and query functions.
4816
4817 2007-02-15  Wim Taymans  <wim@fluendo.com>
4818
4819         * docs/gst/gstreamer-sections.txt:
4820         Remove old unused method.
4821
4822 2007-02-13  Wim Taymans  <wim@fluendo.com>
4823
4824         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4825         Fix check
4826
4827 2007-02-13  Wim Taymans  <wim@fluendo.com>
4828
4829         * docs/design/part-seeking.txt:
4830         Some small update.
4831
4832         * gst/gstsegment.c: (gst_segment_set_seek):
4833         Revert old bogus change that should make seeking work again.
4834
4835 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4836
4837         * docs/random/ensonic/dynlink.txt:
4838         * docs/random/ensonic/interfaces.txt:
4839         * docs/random/ensonic/receipies.txt:
4840           Possible dynamic reconnection api, plus some type fixes the other two
4841           docs.
4842
4843 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
4844
4845         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4846         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4847         Also check for an absolute path following file:// in the filesrc
4848         element. Remove redundant check and call g_path_is_absolute() on the
4849         unescaped location.
4850
4851 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4852
4853         * docs/design/draft-klass.txt:
4854           Add existing category analysis.
4855           
4856         * gst/gstcaps.c:
4857           Fix doc example, framerate is a fraction.
4858
4859 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4860
4861         * configure.ac:
4862         * docs/gst/Makefile.am:
4863         * docs/gst/gstreamer-sections.txt:
4864         * docs/libs/Makefile.am:
4865           Erm, forgot a bunch of --extra-dir.
4866
4867 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4868
4869         * configure.ac:
4870         * docs/gst/Makefile.am:
4871         * docs/libs/Makefile.am:
4872         * docs/plugins/Makefile.am:
4873           Add crossreferences to glib/gobject docs.
4874
4875 2007-02-12  Wim Taymans  <wim@fluendo.com>
4876
4877         * docs/design/draft-latency.txt:
4878         Small update.
4879
4880         * docs/libs/gstreamer-libs-sections.txt:
4881         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4882         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4883         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4884         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4885         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4886         (gst_base_sink_get_position), (gst_base_sink_query),
4887         (gst_base_sink_change_state):
4888         * libs/gst/base/gstbasesink.h:
4889         API: gst_base_sink_query_latency() to let subclasses query the upstream
4890         latency.
4891         API: gst_base_sink_get_latency() to let subclasses query the configured
4892         latency in the sink.
4893         Implement query and set latency.
4894         Update some docs.
4895         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4896         don't continue preroll when we are flushing. Fixes #405284.
4897
4898         * tests/check/pipelines/stress.c: (change_state_timeout),
4899         (quit_timeout), (GST_START_TEST), (stress_suite):
4900         Test for #405284.
4901
4902 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4903
4904         Patch by: René Stadler <mail at renestadler de>
4905
4906         * docs/gst/gstreamer-sections.txt:
4907         * gst/gsttaglist.c: (_gst_tag_initialize):
4908         * gst/gsttaglist.h:
4909           API: add GST_TAG_REFERENCE_LEVEL (#403597).
4910
4911 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
4912
4913         * docs/libs/Makefile.am:
4914           Fix path to core docs.
4915
4916         * gst/gstbin.c: (gst_bin_get_by_interface),
4917         (gst_bin_iterate_all_by_interface):
4918           Refix docs by also renaming 'interface' to 'iface' in implementation.
4919
4920         * docs/gst/gstreamer-sections.txt:
4921         * gst/gstcaps.c:
4922         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4923         * gst/gstchildproxy.h:
4924         * gst/gstelementfactory.c:
4925         * gst/gstpadtemplate.h:
4926         * libs/gst/controller/gstcontroller.c:
4927         (gst_controlled_property_new):
4928           Document more.
4929
4930 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
4931
4932         * gst/gstbin.h:(gst_bin_get_by_interface),
4933         (gst_bin_iterate_all_by_interface):
4934         Replace interface parameter name by iface as interface is 
4935         a reserved keyword in Visual Studio for C++ projects so it removes
4936         a build error for application developpers using VS.
4937         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4938         Fix a bug on Windows in uri format check. Now the prefix checked
4939         is file:// and next we check if the path after file:// is absolute.
4940         * win32/common/libgstbase.def:
4941         * win32/common/libgstdataprotocol.def:
4942         * win32/common/libgstgstreamer.def:
4943         Add new exported functions.
4944
4945 2007-02-09  Andy Wingo  <wingo@pobox.com>
4946
4947         * tests/check/pipelines/simple-launch-lines.c
4948         (simple_launch_lines_suite, test_tee): Disable tee test until I
4949         have time to fix it :-(
4950
4951         * tests/check/Makefile.am (noinst_HEADERS): 
4952         * tests/check/libs/libsabi.c: 
4953         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4954         * tests/check/gst/gstabi.c: 
4955         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4956
4957         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4958         tests for push and pull tee behavior.
4959
4960         * plugins/elements/gsttee.h: 
4961         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4962         mark as deprecated as well as unimplemented. It was a crack idea.
4963         Add support for tee operating in pull mode, off by default.
4964
4965         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4966         normal-case logs down to LOG, raise errors to WARNING.
4967         (gst_registry_xml_read_cache): Don't log before calling a function
4968         that logs.
4969
4970         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4971         exit (registry finalize).
4972         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4973         DEBUG log when we emit signals that people don't even have the
4974         chance to connect to.
4975         (gst_registry_scan_path_level): Less logging in the normal case.
4976
4977 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4978
4979         Patch by: Michal Benes <michal dot benes at itonis dot tv>
4980
4981         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4982         Correctly generate EOS for non-seekable files. We don't have a total
4983         length for them and would get an unexpected end of file if we only
4984         special-cased for regular files. (Fixes: #404569)
4985
4986 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4987
4988         * tests/check/elements/filesrc.c: (GST_START_TEST),
4989         (filesrc_suite):
4990         Add unit test for the GstURIHandler interface in filesrc. This also
4991         tests the newly added file://localhost/foo/bar support.
4992
4993 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4994
4995         * gst/gstelementfactory.h:
4996           The klass string is not a hierarchy. Add reference to the design doc
4997           for more information and common types.
4998
4999 2007-02-02  Wim Taymans  <wim@fluendo.com>
5000
5001         * gst/gstquery.c: (gst_query_new_latency):
5002         Remove old structure field.
5003
5004 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
5005
5006         * tools/gst-launch.1.in:
5007           Give example for network streaming (#351998)
5008
5009 2007-02-02  Wim Taymans  <wim@fluendo.com>
5010
5011         * docs/gst/gstreamer-sections.txt:
5012         Add docs for new methods.
5013
5014         * gst/gstevent.c: (gst_event_new_latency),
5015         (gst_event_parse_latency):
5016         * gst/gstevent.h:
5017         Add new LATENCY event to configure latency in a pipeline.
5018         API: gst_event_new_latency
5019         API: gst_event_parse_latency
5020
5021         * gst/gstmessage.c: (gst_message_new_buffering),
5022         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
5023         (gst_message_new_latency), (gst_message_parse_buffering),
5024         (gst_message_parse_lost_preroll):
5025         * gst/gstmessage.h:
5026         Added messages used in draft-latency.
5027         API: gst_message_new_lost_preroll
5028         API: gst_message_parse_lost_preroll
5029         API: gst_message_new_prerolled
5030         API: gst_message_new_latency
5031
5032         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
5033         (gst_query_parse_latency):
5034         * gst/gstquery.h:
5035         Implemented new latency query as in design doc.
5036         API: gst_query_new_latency
5037         API: gst_query_set_latency
5038         API: gst_query_parse_latency
5039
5040 2007-02-02  Wim Taymans  <wim@fluendo.com>
5041
5042         * docs/design/draft-latency.txt:
5043         Slight redesign to allow for dynamic latency adjustments.
5044
5045         * docs/design/part-negotiation.txt:
5046         Fix some typos.
5047
5048 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
5049
5050         reviewed by: Wim Taymans <wim@fluendo.com>
5051
5052         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5053         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5054         Allow file://localhost/foo/bar URLs and correctly fail for every other
5055         hostname that one sets. This was gnomevfssrc is linked for those if
5056         installed as it can handle it (#403172)
5057
5058 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
5059
5060         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5061
5062         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5063         (unref_data), (gst_collect_pads_add_pad_full):
5064         * libs/gst/base/gstcollectpads.h:
5065         Don't put the previously added destroy notify in the GstCollectData
5066         struct as all it's padding is already used and we don't want to break
5067         ABI. Instead put in the pad's GObject data for now. This should be
5068         cleaned up for 0.11 (#402393).
5069
5070 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
5071
5072         reviewed by: Wim Taymans <wim@fluendo.com>
5073
5074         * docs/libs/gstreamer-libs-sections.txt:
5075         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5076         (unref_data), (gst_collect_pads_add_pad),
5077         (gst_collect_pads_add_pad_full):
5078         * libs/gst/base/gstcollectpads.h:
5079         API: Add function to specify a destroy notification for custom
5080         GstCollectData when adding new pads in GstCollectPads (#402393).
5081
5082 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
5083
5084         * po/sv.po:
5085           Update Swedish translation (#378255).
5086
5087 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
5088
5089         * docs/design/draft-klass.txt:
5090           Fix the previous change, this is a list of categories and not a hierarchy.
5091
5092 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
5093
5094         * docs/design/draft-klass.txt:
5095           Add info about how to get a list of used classes.
5096
5097 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
5098
5099         * plugins/elements/gsttypefindelement.c:
5100         (gst_type_find_element_chain_do_typefinding),
5101         (gst_type_find_element_change_state):
5102           Don't leak found caps in chain function (no idea why that never
5103           showed up as a leak anywhere).
5104
5105 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
5106
5107         * gst/gstplugin.h:
5108           Fix and expand GstPluginDesc API docs.
5109
5110 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
5111
5112         * gst/gstcaps.c:
5113         * gst/gstelementfactory.c:
5114         * gst/gstpadtemplate.h:
5115           api doc fixes
5116
5117         * libs/gst/controller/gstcontroller.c:
5118         (gst_controlled_property_new):
5119         * tests/examples/controller/audio-example.c:
5120           comment fixes
5121
5122 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
5123
5124         * configure.ac:
5125           comment about refining the xml deps
5126
5127         * docs/manuals.mak:
5128           comments about moving away from jade for docs
5129         
5130         * gst/gst.c:
5131           recommit the ifdefs to use the binary registry
5132         
5133         * gst/gstbin.c: (gst_bin_change_state_func):
5134           this break is obsolete
5135
5136         * gst/gstelementfactory.h:
5137           better GST_ELEMENT_DETAILS docs, add comment about translation
5138
5139         * gst/gstinfo.h:
5140           remove eol slash
5141
5142         * gst/gstobject.c: (gst_signal_object_get_type):
5143           add G_UNLIKELY as usual
5144
5145         * gst/gstpad.c: (gst_pad_event_default):
5146           add fall trhu comment
5147
5148         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5149         (gst_registry_binary_initialize_magic),
5150         (gst_registry_binary_save_string),
5151         (gst_registry_binary_save_pad_template),
5152         (gst_registry_binary_save_feature),
5153         (gst_registry_binary_save_plugin),
5154         (gst_registry_binary_write_cache),
5155         (gst_registry_binary_check_magic),
5156         (gst_registry_binary_load_pad_template),
5157         (gst_registry_binary_load_feature),
5158         (gst_registry_binary_load_plugin),
5159         (gst_registry_binary_read_cache):
5160           comment typo and formatting
5161
5162         * gst/gstutils.c: (gst_element_state_get_name),
5163         (gst_element_state_change_return_get_name):
5164           remove obsolete breaks
5165
5166         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
5167           add FIXME 0.11 and remove cpp comment
5168
5169 2007-01-29  Edward Hervey  <edward@fluendo.com>
5170
5171         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5172         Fix print statement in an even more portable way.
5173
5174 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
5175
5176         * docs/gst/gstreamer-sections.txt:
5177         * gst/gstutils.h:
5178           API: add GST_ROUND_DOWN_* macros (#401781).
5179
5180 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
5181
5182         * docs/gst/gstreamer.types.in:
5183         * gst/gstregistry.c: (gst_registry_class_init):
5184           Document registry signals and make gtk-doc pick them up (#401381).
5185
5186 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
5187
5188         * docs/pwg/building-testapp.xml:
5189           Add some audioconverts and audioresample to the pipeline, and some
5190           more comments and error handling.
5191
5192 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
5193
5194         * docs/manual/manual.xml:
5195         * docs/pwg/pwg.xml:
5196           Fix typo (#400987).
5197
5198 2007-01-26  Wim Taymans  <wim@fluendo.com>
5199
5200         * gst/gstcaps.c: (gst_static_caps_get):
5201         Init caps flags too.
5202
5203 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
5204
5205         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
5206
5207         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5208         If not using mmap'ed files try to seek to the end instead of the
5209         start to determine whether we can seek at all. This fixes the case
5210         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
5211         seeks for everything afterwards fail. Fixes #400656
5212
5213 2007-01-25  Wim Taymans  <wim@fluendo.com>
5214
5215         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
5216         Add some refcount debugging.
5217         Make gst_static_caps_get threadsafe, which is needed when autoplugging
5218         in multiple streaming threads.
5219
5220 2007-01-25  Wim Taymans  <wim@fluendo.com>
5221
5222         Patch by: David Schleef <ds at schleef dot org>
5223
5224         * docs/libs/gstreamer-libs-sections.txt:
5225         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
5226         * libs/gst/base/gstadapter.h:
5227         API: gst_adapter_copy() that can reduce the amount of memcpy when
5228         getting data from the adapter. Fixes #388201.
5229
5230 2007-01-25  Edward Hervey  <edward@fluendo.com>
5231
5232         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5233         In print statements, "%x" is for guint. Fixes build on macosx.
5234
5235 2007-01-24  Edward Hervey  <edward@fluendo.com>
5236
5237         * plugins/elements/gstmultiqueue.c:
5238         (gst_multi_queue_loop):
5239         Small fix.
5240         (single_queue_overrun_cb), (single_queue_underrun_cb),
5241         (single_queue_check_full), (gst_single_queue_new):
5242         Implement single queue growth system.
5243         This uses the extra-size properties, and will grow single queues by
5244         that much if one goes full whereas there are others empty. This is
5245         called extra-mode in the code.
5246         When a single queue's levels go back below the initial max-size
5247         limits, it is no longer in extra-mode. This is to ensure we don't
5248         consume too much memory.
5249         Fixes #399875
5250
5251 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
5252
5253         * gst/gst.c: (gst_init_get_option_group):
5254           Make warning about late g_thread_init() calls a bit more explicit,
5255           so that it's more obvious to application developers what they need
5256           to do if a user files a bug against their application.
5257
5258 2007-01-22  Edward Hervey  <edward@fluendo.com>
5259
5260         * plugins/elements/gstmultiqueue.c:
5261         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
5262         Remove previous hack of unsetting the flushing flag for the source pad
5263         instead of activating it. Instead, fix the source pad activate function
5264         so that it no longer depends on having a parent set or not.
5265
5266 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
5267
5268         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
5269
5270         * docs/manual/basics-bus.xml:
5271           Fix example code, gst_element_unref() doesn't exist any longer.
5272
5273 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
5274
5275         Patch by: Mark Nauwelaerts <manauw at skynet be>
5276
5277         * gst/gstpad.c:
5278           Fix two docs typoes (#399094).
5279
5280 2007-01-19  Edward Hervey  <edward@fluendo.com>
5281
5282         * docs/faq/gst-uninstalled:
5283         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
5284         depending on libgstbaseutils can work in uninstalled environment.
5285
5286 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
5287
5288         * gst/gsttaglist.h:
5289         * gst/gsttagsetter.c:
5290         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
5291         statement for new tag.
5292
5293 2007-01-17  Edward Hervey  <edward@fluendo.com>
5294
5295         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
5296         When dynamically creating single queues, activate sinkpad before adding
5297         it.
5298         We should be doing the same thing for the source pad, but we can't
5299         since it would call a method which needs the parent to be set in order
5300         to work propertly. Instead of activating the source pad, we just unset
5301         the flushing flag, which is the minimal requirement for adding a pad
5302         to an element in a state greater than READY.
5303
5304 2007-01-17  Edward Hervey  <edward@fluendo.com>
5305
5306         * docs/faq/gst-uninstalled:
5307         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
5308         Mac OS X.
5309
5310 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5311
5312         * tests/check/gst/gstabi.c:
5313         * tests/check/gst/struct_hppa.h:
5314         * tests/check/libs/libsabi.c:
5315         * tests/check/libs/struct_hppa.h:
5316           Add ABI structs for HPPA (see #393796).
5317
5318 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
5319
5320         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5321           Actually write ABI structs to the file specified in the GST_ABI
5322           environment variable, as the message we print claims we would.
5323
5324 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5325
5326         * tests/check/gst/gsttask.c:
5327           Fix header comment.
5328
5329 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5330
5331         * gst/gsttaglist.c: (_gst_tag_initialize):
5332           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5333           previous two entries.
5334
5335 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5336
5337         * docs/gst/gstreamer-sections.txt:
5338         * gst/gsttaglist.c: (_gst_tag_initialize):
5339         * gst/gsttaglist.h:
5340           Add tag support for beat-per-minute.
5341
5342 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5343
5344         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5345         (gst_registry_binary_initialize_magic),
5346         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5347         (gst_registry_binary_save_pad_template),
5348         (gst_registry_binary_save_feature),
5349         (gst_registry_binary_save_plugin),
5350         (gst_registry_binary_write_cache),
5351         (gst_registry_binary_check_magic),
5352         (gst_registry_binary_load_pad_template),
5353         (gst_registry_binary_load_feature),
5354         (gst_registry_binary_load_plugin),
5355         (gst_registry_binary_read_cache):
5356         * gst/gstregistrybinary.h:
5357           Use glib types, cleanup comments, impement interfaces and uri-types.
5358
5359 2007-01-13  Andy Wingo  <wingo@pobox.com>
5360
5361         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5362         getrange() to return buffers with other caps, while we fix
5363         demuxers and typefind, or otherwise change part-negotiation.txt.
5364
5365 2007-01-12  Andy Wingo  <wingo@pobox.com>
5366
5367         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5368         Factor start/stop into this private function instead of partially
5369         in activate functions and partially in the change_state function.
5370         Fixes setup before the element has changed from READY->PAUSED, as
5371         is the case in pull-mode pipelines.
5372         (gst_base_transform_sink_activate_push)
5373         (gst_base_transform_src_activate_pull): Refactor to use
5374         gst_base_transform_activate().
5375         (gst_base_transform_change_state): Removed, not needed any more.
5376
5377         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5378         Truncate before fixating.
5379         
5380         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5381         Don't set_caps() if the result of fixating is ANY, as it's not
5382         supported, and not necessary in the case of a link with no
5383         template caps on either side. Fixes tests/check/libs/basesrc in
5384         some pull-mode tests.
5385
5386         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5387         (gst_base_transform_init, gst_base_transform_sink_activate_push)
5388         (gst_base_transform_src_activate_pull): 
5389         Track the activation mode.
5390         (gst_base_transform_setcaps): In pull mode, when activating the
5391         src pad, after activating the sink pad, activate the sink pad's
5392         peer, as discussed in part-negotiation.txt.
5393
5394         * libs/gst/base/gstbasesrc.h: 
5395         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5396         vmethod, as in basesink.
5397
5398         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5399
5400         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5401         mode, first proxy the setcaps to the peer pad.
5402         (gst_base_sink_pad_fixate): Add a fixate function that calls the
5403         new fixate vmethod.
5404         (gst_base_sink_default_activate_pull): Rename from
5405         gst_base_sink_activate_pull.
5406         (gst_base_sink_negotiate_pull): New function, performs negotiation
5407         in pull mode before calling ::activate_pull().
5408         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5409         vmethod instead of the default implementation. I have no idea how
5410         this worked before. Negotiate before calling activate_pull.
5411
5412         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5413         sink pads in pull mode. In addition to being correct, fixes
5414         filesrc ! decodebin ! identity ! fakesink.
5415         (gst_pad_get_range, gst_pad_pull_range): Don't call
5416         gst_pad_set_caps() if the caps changes; instead error out with
5417         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5418
5419 2007-01-12  Andy Wingo  <wingo@pobox.com>
5420
5421         * docs/design/part-negotiation.txt: Update with more policy.
5422
5423 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5424
5425         * libs/gst/check/gstbufferstraw.h:
5426         * libs/gst/check/gstcheck.h:
5427           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5428           belongs.
5429
5430 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5431
5432         * tests/check/Makefile.am:
5433         * tests/check/gst/.cvsignore:
5434         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5435         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5436         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5437         (GST_START_TEST), (gst_tag_setter_suite):
5438           Add minimal unit test for beforementioned GstTagSetter bug.
5439
5440 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5441
5442         Patch by: René Stadler <mail at renestadler dot de>
5443
5444         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5445           gst_tag_list_merge() returns a new list, so it's not the best idea
5446           to ingore its return value. Effectively meant that tags could only
5447           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5448           Also add function guard to require a non-NULL taglist as input (has
5449           always been so due to gst_tag_list_copy(), just making it explicit).
5450
5451 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5452
5453         * docs/random/draft-missing-plugins.txt:
5454           Some additions: mention new API that is supposed to be used at the
5455           various stages; short blob about new gst-inspect introspection
5456           option; mention potential future problem with plugins that have
5457           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5458
5459 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5460
5461         * tools/gst-inspect.c:
5462         (print_plugin_automatic_install_info_codecs),
5463         (print_plugin_automatic_install_info_protocols),
5464         (print_plugin_automatic_install_info), (main):
5465         Add --print-plugin-auto-install-info option to gst-inspect, so we can
5466         introspect plugin files and get machine-parsable output that corresponds
5467         to the last bit of the missing-plugin installer string (small gotcha:
5468         doesn't take into account ranks).
5469
5470 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
5471
5472         * configure.ac:
5473         * docs/gst/gstreamer-sections.txt:
5474         * gst/Makefile.am:
5475         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5476         (gst_registry_lookup_locked):
5477         * gst/gstregistry.h:
5478         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5479         (gst_registry_binary_initialize_magic),
5480         (gst_registry_binary_save_string),
5481         (gst_registry_binary_save_pad_template),
5482         (gst_registry_binary_save_feature),
5483         (gst_registry_binary_save_plugin),
5484         (gst_registry_binary_write_cache),
5485         (gst_registry_binary_check_magic),
5486         (gst_registry_binary_load_pad_template),
5487         (gst_registry_binary_load_feature),
5488         (gst_registry_binary_load_plugin),
5489         (gst_registry_binary_read_cache):
5490         * gst/gstregistrybinary.h:
5491         * gst/gstregistryxml.c: (load_feature),
5492         (gst_registry_xml_read_cache):
5493           commit binary registry (disabled by default, see #359653)
5494
5495 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5496
5497         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5498           Fix 'make check' too.
5499
5500 2007-01-10  Andy Wingo  <wingo@pobox.com>
5501
5502         * docs/design/part-negotiation.txt: Fix a typo, add a couple
5503         notes.
5504         
5505         * docs/design/part-negotiation.txt: Update with, um, one way that
5506         pull-mode negotiation might work?
5507
5508         * gst/gstpad.h: 
5509         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5510         that the pad must be a src pad; makes sense to call it the other
5511         way in pull mode, and the logic is symmetric anyway.
5512
5513 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5514
5515         * plugins/elements/gstfilesink.c:
5516           Include <stdio.h> for fseeko().
5517
5518 2007-01-10  Wim Taymans  <wim@fluendo.com>
5519
5520         * gst/gstevent.c:
5521         * gst/gstevent.h:
5522         Reserve LATENCY event.
5523
5524 2007-01-09  Wim Taymans  <wim@fluendo.com>
5525
5526         * docs/design/draft-latency.txt:
5527         Updates.
5528
5529 2007-01-09  Wim Taymans  <wim@fluendo.com>
5530
5531         * docs/design/draft-latency.txt:
5532         Updates.
5533
5534         * gst/gstelement.h:
5535         * gst/gststructure.c:
5536         * gst/gsttrace.c:
5537         Small typo fixes.
5538
5539 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5540
5541         * tests/check/.cvsignore:
5542           Ignore test-registry.xml as well.
5543
5544 2007-01-09  Wim Taymans  <wim@fluendo.com>
5545
5546         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5547         unref data at the end when we are done with the pad.
5548
5549 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5550
5551         * docs/gst/gstreamer-sections.txt:
5552         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5553         (init_post), (gst_deinit), (gst_update_registry):
5554         * gst/gst.h:
5555           API: add gst_update_registry() (#391296).
5556
5557         * tests/check/Makefile.am:
5558         * tests/check/gst/gstregistry.c:
5559         * tests/check/gst/.cvsignore:
5560           Simple unit test for the above.
5561
5562 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5563
5564         * gst/gstregistry.c: (gst_registry_scan_path_level):
5565           Plugin extension on HP-UX is .sl, add that to the list of approved
5566           plugin extensions (see #393796).
5567
5568         * tests/check/gst/gstpad.c: (GST_START_TEST):
5569           ulong => gulong. Fixes compilation with HP-UX compiler.
5570
5571         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5572           Fix compilation if valgrind headers are not available.
5573
5574 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
5575
5576         * win32/common/libgstreamer.def: 
5577           Add new exported function.
5578         * win32/vs6/libgstbase.dsp: 
5579           Add gstdataqueue.c to the build.
5580         * win32/vs6/libgstcoreelements.dsp:
5581           Add gstmultiqueue.c to the build.
5582         
5583 2007-01-06  Andy Wingo  <wingo@pobox.com>
5584
5585         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5586         activate_pull(), providing for a way to specialize the process of
5587         spawning a thread to pull on the sink pad. There is a default
5588         implementation.
5589
5590         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5591         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5592         (gst_base_sink_init): Renamed pad activation functions (inserting
5593         "_pad" in their names). Refactor to use the new activate_pull
5594         vmethod, as appropriate.
5595         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5596         default activate_pull function to start a task pulling from the
5597         sink pad, as before.
5598
5599         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5600         on the pads if necessary, as in push()/chain(). Update docs.
5601         Shouldn't affect existing pull() usage as it is currently only
5602         being used on buffers without caps.
5603
5604 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5605
5606         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5607         (init_pre):
5608           Call g_thread_init() first thing in gst_init() / gst_check_init().
5609           When initialisation is done via gst_init_get_option_group() and
5610           GOption parsing, issue a warning if the GLib thread system has not
5611           been initialised yet by the time gst_init_get_option_group() is
5612           called, as it's quite likely other GLib functions such as
5613           g_option_context_new() have been called already then, and
5614           g_thread_init() must be called before any other GLib function. The
5615           application in question must be fixed in that case, since memory
5616           corruption might happen otherwise.
5617           We issue the warning because even if the GLib folks decide to work
5618           around the problem on their end in future, this is still an issue
5619           with all GLib versions >= 2.10.0, so we should warn until we depend
5620           on a GLib version we know to be safe.
5621           Update documentation as well.
5622           Closes bug #391278.
5623
5624 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5625
5626         * tools/gst-inspect.c: (main):
5627         * tools/gst-launch.c: (main):
5628         * tools/gst-typefind.c: (main):
5629         * tools/gst-xmlinspect.c: (main):
5630           Call g_thread_init() really really early, before any other GLib
5631           function (see #342564 and recent discussion on gtk-devel-list).
5632
5633 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5634
5635         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
5636
5637         * gst/gst_private.h:
5638         * gst/gstconfig.h.in:
5639         * gst/gstinfo.h:
5640           On win32, all the __declspec stuff for symbol exporting is
5641           apparently only needed with MSVC, but doesn't work with MingW.
5642           Fixes compilation with MingW and #391909.
5643
5644 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5645
5646         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5647           Change some GST_ERROR_OBJECT that aren't really errors to
5648           GST_WARNING_OBJECT in order to reduce terminal spam.
5649
5650 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5651
5652         * tests/check/Makefile.am:
5653           disable test again, as there seem to be still race problems
5654
5655 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5656
5657         * tests/check/Makefile.am:
5658         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5659         (GST_START_TEST), (queue_suite):
5660           enable queue test again, add tests for the leaky behaviour
5661
5662 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
5663
5664         * configure.ac:
5665         * tests/examples/Makefile.am:
5666           Compile adapter test/example only if the required headers are
5667           available (fixes #391915).
5668
5669 2007-01-01  David Schleef  <ds@schleef.org>
5670
5671         * gst/gstplugin.c:
5672           Restore the previous signal handler for SIGSEGV instead of
5673           setting to default, since we may have stolen it away from
5674           someone.  (i.e., Mono)
5675
5676 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5677
5678         * docs/random/draft-missing-plugins.txt:
5679           Some small additions and clarifications.
5680
5681 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5682
5683         * gst/gstregistryxml.c: (gst_registry_save_escaped):
5684           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5685           since that can lead to random memory corruptions and crashes
5686           (may or may not be related to #383244, #386711, and #386711).
5687
5688 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5689
5690         * tests/check/.cvsignore:
5691         * tests/check/Makefile.am:
5692           sync .cvsignome and CLEANFILES
5693
5694 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5695
5696         * tests/check/Makefile.am:
5697           fix distcheck
5698
5699 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5700
5701         * docs/design/part-states.txt:
5702           two tiny additional comments
5703         
5704         * gst/gststructure.c:
5705           doc fixing
5706
5707         * tests/check/Makefile.am:
5708         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5709         (GST_START_TEST):
5710           disable test for now, unless it gets fixed
5711
5712 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5713
5714         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5715         (GST_START_TEST):
5716           fix race in underrun test
5717
5718 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5719
5720         * tests/check/elements/.cvsignore:
5721           ignore more
5722
5723         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5724         (GST_START_TEST):
5725           try to narrow test failure
5726
5727 2006-12-21  David Schleef  <ds@schleef.org>
5728
5729         * plugins/elements/gstfakesrc.c:
5730           Use g_random_int_range(), since it produces better random
5731           numbers in a range than almost-correct floating point code.
5732
5733 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5734
5735         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5736         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5737         (gst_check_teardown_sink_pad):
5738           do not automatically (de)activate pads
5739
5740         * tests/check/Makefile.am:
5741         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5742         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5743           add new, yet simple tests for queue
5744
5745         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5746         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5747         * tests/check/elements/filesrc.c: (cleanup_filesrc),
5748         (GST_START_TEST):
5749         * tests/check/elements/identity.c: (cleanup_identity):
5750           consistent pad (de)activation
5751
5752 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5753
5754         Patch by: Sebastian Dröge  <slomo ubuntu com>
5755
5756         * libs/gst/base/gstcollectpads.c:
5757           Fix two doc typos (#387866).
5758
5759 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5760
5761         * docs/manual/advanced-dparams.xml:
5762           Fix typo (g_object_control_properties() doesn't exist).
5763
5764 2006-12-19  Edward Hervey  <edward@fluendo.com>
5765
5766         * gst/gstsegment.c: (gst_segment_set_seek):
5767         Fine tune the cases where the segment start/stop values are really
5768         updated.
5769         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5770         Add tests for the return values of gst_segment_set_seek().
5771
5772 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5773
5774         * gst/gst.c:
5775           Docs typo fix.
5776
5777         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5778         (gst_queue_init):
5779           Fix incorrect documentation and flesh it out a bit more.
5780           Set default values for the max properties on the GParamSpec as well,
5781           so it shows up correctly in gst-inspect.
5782
5783 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
5784
5785         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5786           Correct docs of queue, add more detail and crosslink it more.
5787
5788 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5789
5790         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5791           Print additional debug info when the stream isn't perfectly
5792           timestamped; don't try to use invalid durations.
5793
5794 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5795
5796         * docs/design/Makefile.am:
5797           Dist new design docs.
5798
5799 2006-12-16  Wim Taymans  <wim@fluendo.com>
5800
5801         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5802
5803         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5804         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5805         (gst_collect_pads_stop), (gst_collect_pads_event),
5806         (gst_collect_pads_chain):
5807         * libs/gst/base/gstcollectpads.h:
5808         Add refcounting to the collectpads data so we can track when it's safe
5809         to free the data. Fixes #383382.
5810
5811 2006-12-15  Wim Taymans  <wim@fluendo.com>
5812
5813         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5814         (gst_collect_pads_remove_pad):
5815         Automatically activate/deactivate pads when they are added to a
5816         started/stoped collectpads.
5817
5818 2006-12-15  Wim Taymans  <wim@fluendo.com>
5819
5820         * gst/gstelement.c: (gst_element_add_pad):
5821         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5822         * gst/gstpad.c: (gst_pad_init):
5823         Set pads to FLUSHING when they are created. Check, warn and fix when a
5824         demuxer adds an inactive pad to itself when running. Fixes #339326.
5825
5826 2006-12-15  Wim Taymans  <wim@fluendo.com>
5827
5828         * gst/gstelement.c: (gst_element_class_init),
5829         (gst_element_default_send_event), (gst_element_send_event),
5830         (gst_element_default_query), (gst_element_query):
5831         Expose default element send_event and query handling as vmethods that
5832         subclasses can chain up to.
5833
5834 2006-12-15  Wim Taymans  <wim@fluendo.com>
5835
5836         * gst/gstelement.c: (gst_element_set_state_func):
5837         Small documentation fixes.
5838
5839 2006-12-15  Wim Taymans  <wim@fluendo.com>
5840
5841         * docs/design/draft-latency.txt:
5842         Checked in draft for handling latency in pipelines.
5843
5844 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5845
5846         * Makefile.am:
5847         * gstreamer.doap:
5848         * gstreamer.spec.in:
5849           adding .doap file
5850
5851 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
5852
5853         * gst/gst.c: (init_pre), (init_post):
5854           init_pre() and init_post() might be called via our GOptionGroup or
5855           from gst_init(), and we should skip both of them if we've already
5856           been initialised, otherwise we will init some things twice or add
5857           two default log functions.
5858
5859 2006-12-13  Edward Hervey  <edward@fluendo.com>
5860
5861         * docs/manual/basics-bus.xml:
5862         No, gst_main_loop does not exist. Its g_main_loop.
5863         Discovered by somebody who abused the copy-paste technique of coding :)
5864
5865 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5866
5867         * gst/gstghostpad.c:
5868           Log ghostpad debug stuff to the GST_PADS category as well rather
5869           than just to the default category.
5870
5871 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5872
5873         * configure.ac:
5874         * gst/gst.c: (init_pre):
5875           Add some basic system details such as OS and architecture
5876           to the debug output if possible, courtesy of uname().
5877
5878 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5879
5880         * docs/gst/running.xml:
5881           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5882           environment variables.
5883
5884 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5885
5886         * tests/check/gst/gstbin.c: (GST_START_TEST):
5887         It is acceptable to have a refcount of 2 or 3 at this point in the
5888         test, because the pipeline might be just posting its state_change
5889         message. The next line then waits for that message to appear using
5890         bus_poll, so that should be fine too.
5891
5892 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5893
5894         * gst/gst.c: (ensure_current_registry_forking):
5895         Ignore EINTR when reading from the child registry pipe.
5896         Explicitly ignore the return value from close, since it makes no
5897         difference.
5898
5899         * gst/gstminiobject.c: (gst_mini_object_ref),
5900         (gst_mini_object_unref):
5901         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5902
5903         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5904         When removing cached plugins, remove their features too, so they're
5905         not visible after they've disappeared.
5906
5907         * gst/gstutils.c: (prepare_link_maybe_ghosting):
5908         In the unlikely case that we are linking pads with no parents, don't
5909         crash trying to get the non-existent parent bin.
5910
5911         * gst/parse/grammar.y:
5912         Output debug in the PIPELINE category
5913
5914 2005-03-08  Wim Taymans  <wim@fluendo.com>
5915
5916         Patch by: René Stadler <mail at renestadler dot de>
5917
5918         * gst/gstclock.c: (gst_clock_new_periodic_id):
5919         Reject invalid clock times for interval of periodic ids.
5920         Fixes ##383506.
5921
5922 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5923
5924         * gst/gstelementfactory.c: (gst_element_factory_create):
5925         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5926         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5927         * tools/gst-inspect.c: (print_element_info):
5928         Fix refcounting of gst_plugin_feature_load to match the docs. 
5929         Fixes: #380129
5930
5931 2006-12-07  Wim Taymans  <wim@fluendo.com>
5932
5933         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5934         (gst_base_sink_get_position):
5935         Improve debugging of events.
5936
5937 2006-12-07  Wim Taymans  <wim@fluendo.com>
5938
5939         Patch by: René Stadler <mail at renestadler dot de>
5940
5941         * gst/gstclock.c: (gst_clock_id_wait):
5942         Make period ids add the interval to the origial requested time instead
5943         of the possibly updated time which can be wrong when there are multiple
5944         waiters for the same id. Fixes #382592.
5945
5946         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5947         (gst_system_clock_id_wait_jitter_unlocked),
5948         (gst_system_clock_id_wait_jitter):
5949         Fix restart in the async notify thread when an async entry is added to
5950         the front of the list. Fixes #381492. 
5951
5952         * tests/check/gst/gstsystemclock.c: (store_callback),
5953         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5954         Added test for multiple async waits.
5955         Added test for async wait order.
5956
5957 2006-12-07  Wim Taymans  <wim@fluendo.com>
5958
5959         * gst/gstbin.c: (gst_bin_query):
5960         Add some more docs about the POSITION query.
5961
5962 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5963
5964         * configure.ac:
5965         Bump version nano - back to CVS.
5966
5967 === release 0.10.11 ===
5968
5969 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
5970
5971         * configure.ac:
5972           releasing 0.10.11, "Love never runs on time"
5973
5974 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
5975
5976         * win32/common/libgstbase.def:
5977         * win32/common/libgstreamer.def:
5978         * win32/vs8/libgstbase.vcproj:
5979         * win32/vs8/libgstcoreelements.vcproj:
5980         * win32/vs8/libgstreamer.vcproj:
5981         Fix compilation on win32 under VS8
5982         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5983         Partially fixes #381175
5984
5985 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5986
5987         * gst/gstvalue.c: (gst_value_compare_fraction):
5988         If someone is foolish enough to compare 2 fractions with denominator =
5989         0, return UNORDERED rather than aborting.
5990
5991 2006-11-28  Edward Hervey  <edward@fluendo.com>
5992
5993         * libs/gst/base/Makefile.am:
5994         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5995         (gst_data_queue_base_init), (gst_data_queue_class_init),
5996         (gst_data_queue_init), (gst_data_queue_new),
5997         (gst_data_queue_cleanup), (gst_data_queue_finalize),
5998         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5999         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
6000         (gst_data_queue_is_empty), (gst_data_queue_is_full),
6001         (gst_data_queue_set_flushing), (gst_data_queue_push),
6002         (gst_data_queue_pop), (gst_data_queue_drop_head),
6003         (gst_data_queue_set_property), (gst_data_queue_get_property):
6004         * libs/gst/base/gstdataqueue.h:
6005         New GstDataQueue object for threadsafe queueing. Most useful for
6006         elements that need some queueing functionnality.
6007         * docs/libs/gstreamer-libs-docs.sgml:
6008         * docs/libs/gstreamer-libs-sections.txt:
6009         Insert documentation for GstDataQueue
6010         * plugins/elements/Makefile.am:
6011         * plugins/elements/gstelements.c:
6012         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
6013         (gst_multi_queue_class_init), (gst_multi_queue_init),
6014         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6015         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
6016         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
6017         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6018         (gst_multi_queue_loop), (gst_multi_queue_chain),
6019         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6020         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
6021         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
6022         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
6023         (wake_up_next_non_linked), (compute_next_non_linked),
6024         (single_queue_overrun_cb), (single_queue_underrun_cb),
6025         (single_queue_check_full), (gst_single_queue_new):
6026         * plugins/elements/gstmultiqueue.h:
6027         New multiqueue element, using GstDataQueue. Used for queuing multiple
6028         streams.
6029         Closes #344639 and #347785
6030
6031 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
6032
6033         * docs/pwg/advanced-types.xml:
6034           add more missing type details
6035
6036         * tools/gst-run.c: (main):
6037           remove unused variable
6038
6039 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
6040
6041         * docs/libs/Makefile.am:
6042         * docs/libs/gstreamer-libs.types:
6043           add types of base classes to enable gobject specific stuff in the docs
6044
6045         * docs/random/ensonic/embedded.txt:
6046           more ideas about isolating platform specific things
6047
6048 2006-11-20  Wim Taymans  <wim@fluendo.com>
6049
6050         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
6051
6052         * libs/gst/check/gstcheck.h:
6053         Fix compilation and running against 0.9.4. Fixes #377332.
6054
6055 2006-11-20  Wim Taymans  <wim@fluendo.com>
6056
6057         * gst/gstsegment.c: (gst_segment_set_seek),
6058         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
6059         (gst_segment_to_running_time):
6060         Fix boundary checking in to_running_time() and to_stream_time().
6061         Fixes #377183.
6062
6063         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6064         stream and running time can now be calculated for the complete
6065         clipped segment.
6066
6067 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
6068
6069         * gst/gstpad.c: (gst_pad_push_event):
6070           Can't access event structure after giving away ownership of
6071           the event.
6072
6073 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
6074
6075         * docs/random/ensonic/embedded.txt:
6076         * docs/random/ensonic/profiling.txt:
6077         * docs/random/ensonic/receipies.txt:
6078           more thinking
6079
6080 2006-11-13  Wim Taymans  <wim@fluendo.com>
6081
6082         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6083
6084         * gst/gstpad.c:
6085         Fix documentation for gst_pad_dispatcher. Fixes #374475.
6086
6087 2006-11-13  Wim Taymans  <wim@fluendo.com>
6088
6089         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
6090
6091         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6092         Store new length in segment duration so we don't keep on calling the
6093         potentially expensize get_size() call. Fixes #370865.
6094
6095 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
6096
6097         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
6098
6099         * win32/common/libgstreamer.def:
6100           Add two missing symbols (#366492).
6101
6102 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
6103
6104         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
6105         (gst_adapter_take_buffer):
6106         Fix format string to use all its arguments.
6107         Remove useless >= check on a guint
6108
6109 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
6110
6111         * tests/examples/adapter/.cvsignore:
6112         Ignore build file as commanded by the build-bot
6113
6114 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
6115
6116         * tests/examples/adapter/Makefile.am:
6117         * tests/examples/adapter/adapter_test.c: (run_test_take),
6118         (run_test_take_buffer), (run_tests), (main):
6119
6120         Add new files from the previous commit
6121
6122 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
6123
6124         * Makefile.am:
6125         * configure.ac:
6126         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
6127         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
6128         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
6129         * libs/gst/base/gstadapter.h:
6130         * tests/check/libs/adapter.c: (create_and_fill_adapter),
6131         (GST_START_TEST), (gst_adapter_suite):
6132         * tests/examples/Makefile.am:
6133         Do some optimisation work in GstAdapter to avoid copies in more cases.
6134         It could still do slightly better by merging buffers when
6135         gst_buffer_is_span_fast is true, but is already faster. 
6136
6137         Also, avoid traversing a single-linked list to append each incoming 
6138         buffer inside the adapter.
6139
6140         Add simple test app that times the adapter behaviour in different
6141         situations, and extend the unit test to check that bytes enter and
6142         exit the adapter in their original order.
6143
6144 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
6145
6146         * docs/random/draft-missing-plugins.txt:
6147           Update: use element message instead of adding a new message
6148           type to the core; don't provide GStreamer API to initiate the
6149           plugin download, just provide API to compose the strings needed
6150           and let an external libgimmestuff handle the rest.
6151
6152 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
6153
6154         * tools/gst-inspect.c: (print_element_properties_info):
6155         Print a string instead of 'unknown type' for GValueArray properties
6156
6157 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
6158
6159         * docs/random/draft-missing-plugins.txt:
6160         More small fixes.
6161
6162 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6163
6164         * tests/examples/typefind/typefind.c: (type_found), (main):
6165           Make typefind element example work again (#371894); add a
6166           license header.
6167
6168 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6169
6170         * docs/random/draft-missing-plugins.txt:
6171           Commit initial draft about how to deal with missing plugins,
6172           needs work (API too).
6173
6174 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
6175
6176         * docs/pwg/advanced-types.xml:
6177           documents the new caps elements (see #363118)
6178
6179 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6180
6181         * gst/gstplugin.c: (gst_plugin_load_file):
6182         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
6183         (gst_file_src_map_region), (gst_file_src_start):
6184         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
6185         (gst_file_index_commit):
6186           Use g_strerror() instead of strerror() - we want UTF-8.
6187
6188 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6189
6190         Patch by: Peter Kjellerstedt <pkj at axis com>
6191
6192         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6193           Another printf fix (#371493).
6194
6195 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6196
6197         * tests/check/gst/gsttag.c:
6198           relicence (okay with author=company)
6199
6200 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6201
6202         * gst/gstpad.c: (gst_pad_event_default_dispatch),
6203         (gst_pad_push_event):
6204           Enhance debug and improve docs
6205         
6206         * gst/gsturi.c:
6207           Fix docs
6208
6209 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6210
6211         * docs/random/ensonic/distributed.txt:
6212         * docs/random/ensonic/profiling.txt:
6213           more ideas
6214
6215 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6216
6217         * docs/gst/gstreamer-sections.txt:
6218           add new API and fix the build
6219           
6220         * gst/gstbin.c: (gst_bin_recalc_state):
6221         * gst/gstelement.c: (gst_element_message_full),
6222         (gst_element_get_state_func), (gst_element_set_state_func):
6223           use new API and improve logging
6224         
6225         * gst/gstutils.c: (gst_element_state_change_return_get_name):
6226         * gst/gstutils.h:
6227           API: add function to get StateChangereturn names to improve logs 
6228
6229 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6230
6231         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6232           I'm considering shooting the next person to put strerror stuff
6233           in the translateable part of the message.
6234
6235 2006-11-03  Wim Taymans  <wim@fluendo.com>
6236
6237         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6238         Get the type and printf conversion specifiers right.
6239
6240 2006-11-03  Wim Taymans  <wim@fluendo.com>
6241
6242         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6243
6244         * gst/gstpad.c: (gst_pad_init), (pre_activate),
6245         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
6246         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
6247         Some small cleanups. Improve debugging.
6248         * gst/gstpad.h:
6249         Signal all waiting threads with a broadcast instead of just one.
6250         Fixes #369942.
6251
6252 2006-11-03  Wim Taymans  <wim@fluendo.com>
6253
6254         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
6255         (gst_fd_src_create):
6256         Add some debugging. 
6257         Only update fd when it's different from the old.
6258
6259 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6260
6261         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
6262           Printf fixes for PPC/OSX, take two (#369366).
6263
6264 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6265
6266         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
6267
6268         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6269         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6270         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
6271           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
6272           don't cast to long long for portability reasons, but use
6273           GLib's types instead.
6274
6275 2006-10-30  Michael Smith  <msmith@fluendo.com>
6276
6277         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6278           Get the arguments to lseek() the right way around.
6279           Fixes 367677.
6280
6281 2006-10-30  Wim Taymans  <wim@fluendo.com>
6282
6283         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
6284
6285         * gst/gstinfo.h:
6286         _declspec should be __declspec (two underscores, not one). Fixes 366572.
6287
6288 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
6289
6290         Patch by: Kjartan Maraas  <kmaraas at gnome org>
6291
6292         * docs/design/part-MT-refcounting.txt:
6293         * docs/random/wtay/capsnego2-docs:
6294         * gst/gstclock.c:
6295         * gst/gstxml.c:
6296           Typo fixes (#366212).
6297
6298 2006-10-28  Wim Taymans  <wim@fluendo.com>
6299
6300         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6301
6302         * gst/gst.c:
6303         * win32/common/libgstbase.def:
6304         * win32/common/libgstreamer.def:
6305         * win32/vs8/libgstbase.vcproj:
6306         * win32/vs8/libgstcontroller.vcproj:
6307         Add needed entries in .def files.
6308         Use HAVE_UNISTD_H.
6309         Rearrange def files in vs8 solutions. Fixes #366286.
6310
6311 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
6312
6313         * win32/common/gstconfig.h:
6314           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
6315           hand-made win32 gstconfig.h. Fixes #366321.
6316
6317 2006-10-27  Wim Taymans  <wim@fluendo.com>
6318
6319         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
6320         (gst_ghost_pad_new_full):
6321         Make acceptcaps return TRUE when we don't have a target, just like
6322         setcaps does.
6323
6324 2006-10-27  Wim Taymans  <wim@fluendo.com>
6325
6326         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6327         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6328
6329 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6330
6331         * gst/gststructure.c: (gst_structure_id_set_value):
6332           If someone tries to set a non-UTF8 string field on a structure,
6333           don't just print a warning, but also ignore the request and do
6334           not change/add that field to the structure.
6335
6336         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6337           Test for the above.
6338
6339 2006-10-25  David Schleef  <ds@schleef.org>
6340
6341         * gst/gstinfo.c:
6342           g_hash_table_insert() needs a cast to a non-const pointer duh.
6343
6344 2006-10-25  David Schleef  <ds@schleef.org>
6345
6346         * gst/gstinfo.c:
6347         * gst/gstinfo.h:
6348           Change name parameter of _gst_debug_register_funcptr to const
6349           to reflect the constness of its use in the function as well
6350           as to quiet a gcc warning.
6351
6352 2006-10-25  Edward Hervey  <edward@fluendo.com>
6353
6354         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6355         Don't push the buffer if it's empty.
6356         Closes #363095
6357
6358 2006-10-24  Wim Taymans  <wim@fluendo.com>
6359
6360         * gst/gstevent.h:
6361         Add small comment.
6362
6363         * libs/gst/base/gstbasetransform.c:
6364         (gst_base_transform_sink_eventfunc):
6365         Debug segment values *after* updating them as this is more
6366         interesting.
6367
6368 2006-10-23  Wim Taymans  <wim@fluendo.com>
6369
6370         * docs/design/part-events.txt:
6371         Update some docs.
6372
6373         * docs/design/part-block.txt:
6374         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6375         (gst_pad_push_event):
6376         Revert BLOCKING patch, it tries to be smart without really having a
6377         clear idea what or how. So, now we discard all FLUSHING events again on
6378         a blocking pad. Should fix gnonlin again.
6379
6380 2006-10-23  Wim Taymans  <wim@fluendo.com>
6381
6382         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6383
6384         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6385         (gst_base_src_start), (gst_base_src_activate_push):
6386         Make sure size is always initialized. Fixes #364388.
6387
6388 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
6389
6390         * docs/random/ensonic/distributed.txt:
6391           add some ideas about doing distributed processing
6392
6393         * docs/random/ensonic/profiling.txt:
6394           get_rusage look promising
6395
6396 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6397
6398         * docs/manual/basics-helloworld.xml:
6399           Add a cast in example to fix compile warning
6400
6401 2006-10-18  Wim Taymans  <wim@fluendo.com>
6402
6403         * gst/gstsegment.c: (gst_segment_set_last_stop),
6404         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6405         Relax arg checking again, -1 is allowed.
6406
6407 2006-10-18  Wim Taymans  <wim@fluendo.com>
6408
6409         * gst/gstsegment.c: (gst_segment_set_last_stop),
6410         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6411         _set_last_stop() must be with a value != -1
6412         A _TYPE_SET to -1 means seek to 0.
6413         Calc last_stop correctly for negative rates.
6414         Make sure we work with positive durations when updating a segment.
6415
6416 2006-10-18  Wim Taymans  <wim@fluendo.com>
6417
6418         * docs/design/part-live-source.txt:
6419         * gst/gstclock.h:
6420         Small docs fixes.
6421
6422 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
6423
6424         * gst/gstbuffer.h:
6425           Add an explicit cast to GstBuffer** to keep old code that added an
6426           explicit cast to GstMiniObject** for gst_mini_object_replace()
6427           compiling without warning.
6428
6429 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6430
6431         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6432           check for validity of dates
6433
6434 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6435
6436         * docs/gst/gstreamer-sections.txt:
6437           Forgot this one, makes gtk-doc shut up.
6438
6439 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6440
6441         Patch by: Peter Kjellerstedt <pkj at axis com>
6442
6443         * gst/gstobject.h:
6444           Don't define xmlNodePtr to gpointer if the core was built with
6445           --disable-loadsave and --disable-registry, this will break
6446           applications that want to use libxml2 but are buildling against a
6447           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6448           instead so we don't have to mess with the libxml2 namespace
6449           (#361675).
6450
6451 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6452
6453         * gst/gstbuffer.h:
6454           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6455           type-punned pointer warnings.
6456
6457 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6458
6459         * gst/gstelement.h:
6460           Add casts to the correct return type to state <=> state transition
6461           macros.
6462
6463 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
6464
6465         * docs/design/part-live-source.txt:
6466           describe howto handle latency
6467         
6468         * docs/random/ensonic/profiling.txt:
6469           more ideas
6470
6471         * tools/gst-plot-timeline.py:
6472           fix log parsing for solaris, remove unused function
6473
6474 2006-10-16  Wim Taymans  <wim@fluendo.com>
6475
6476         * docs/design/part-trickmodes.txt:
6477         * gst/gstevent.c:
6478         Update some docs regarding reverse playback.
6479
6480 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6481
6482         Patch by: Marcus Granado  <mrc dot gran at gmail com>
6483
6484         * win32/vs8/grammar.vcproj:
6485           Error out with a warning if glib-genmarshal.exe is not in path,
6486           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6487
6488 2006-10-13  Wim Taymans  <wim@fluendo.com>
6489
6490         * gst/gstsegment.c: (gst_segment_set_seek):
6491         When seeking to stop -1, set last_stop (current position) to the
6492         duration of the segment.
6493
6494 2006-10-13  Wim Taymans  <wim@fluendo.com>
6495
6496         * gst/gstelement.h:
6497         Clarify _NO_PREROLL a bit more.
6498
6499         * gst/gstevent.c:
6500         Fix docs.
6501
6502         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6503         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6504         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6505         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6506         due to wrong locking order. Fixes #361769.
6507         Remove some redundant/misplaced checks in pad_block.
6508
6509         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6510         For negative rates, count backwards from the duration.
6511
6512 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6513
6514         * gst/gsterror.c: (_gst_library_errors_init):
6515           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6516           up with something better).
6517
6518 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6519
6520         * win32/vs6/libgstreamer.dsp:
6521         * win32/vs7/libgstreamer.vcproj:
6522         * win32/vs8/libgstreamer.vcproj:
6523           Don't reference glib-compat.c which is currently not used and not
6524           disted; add gstquark.c which was recently added. Fixes #361730.
6525
6526 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6527
6528         * win32/common/libgstbase.def:
6529         * win32/common/libgstcontroller.def:
6530         * win32/common/libgstreamer.def:
6531           Add gst_caps_merge() and a bunch of other recently-added functions.
6532           Fixes #361732.
6533
6534 2006-10-11  Wim Taymans  <wim@fluendo.com>
6535
6536         * docs/plugins/gstreamer-plugins.args:
6537         * docs/plugins/inspect/plugin-coreelements.xml:
6538         * docs/plugins/inspect/plugin-coreindexers.xml:
6539         Update element args.
6540
6541         * gst/gstsystemclock.c:
6542         Small comment update.
6543
6544         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6545         (gst_tee_request_new_pad), (gst_tee_release_pad),
6546         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6547         (gst_tee_sink_activate_pull):
6548         * plugins/elements/gsttee.h:
6549         Some tee loving:
6550         Add default property defines.
6551         Implement release pad function.
6552         Give properties better blubs etc.
6553         Activate pads before adding them to a running tee.
6554         Do simple buffer_alloc on the first requested pad.
6555         Post error when activation fails.
6556
6557 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6558
6559         * gst/gst.c: (ensure_current_registry_forking):
6560           Check return value of write() to make compiler happy.
6561
6562 2006-10-11  Wim Taymans  <wim@fluendo.com>
6563
6564         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6565
6566         * plugins/elements/gstqueue.c: (gst_queue_chain):
6567         Recheck queue filledness after signalling the overrun when we're about
6568         to leak downstream because we released the lock when emitting the signal
6569         and the queue could be empty again. Fixes #352345.
6570
6571 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6572
6573         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6574           Fix refcounting here too, just like we did for _new_valist() a few
6575           days ago (#357180) (thanks to René Stadler). Also remove all those
6576           'Since: 0.9' from the gtk-doc blobs.
6577
6578         * tests/check/libs/controller.c: (controller_refcount_new_list),
6579         (gst_controller_suite):
6580           Unit test for the above.
6581
6582 2006-10-10  Wim Taymans  <wim@fluendo.com>
6583
6584         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6585
6586         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6587         (gst_pad_save_thyself):
6588         Update some docs.
6589         Write pad direction in XML output. Fixes #345496.
6590
6591 2006-10-10  Wim Taymans  <wim@fluendo.com>
6592
6593         Patch by: René Stadler <mail at renestadler dot de>
6594
6595         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6596         (gst_controller_new_list), (_gst_controller_dispose),
6597         (_gst_controller_finalize), (_gst_controller_class_init):
6598         Take ref to controlled object so that it cannot disappear. 
6599         Fixes #357432.
6600
6601 2006-10-10  Wim Taymans  <wim@fluendo.com>
6602
6603         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6604         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6605         (gst_check_teardown_sink_pad):
6606         Activate/deactivate pads in setup/teardown respectively.
6607
6608 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6609
6610         Patch by: Josep Torre Valles <josep@fluendo.com>
6611
6612         * gst/Makefile.am:
6613         Cast values when making gstenumtypes.h.  This pacifies Forte
6614         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6615         in the enumeration.
6616
6617 2006-10-09  Wim Taymans  <wim@fluendo.com>
6618
6619         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6620         Rename some more @cur to @start to fix docs. 
6621
6622         * gst/gstsegment.c: (gst_segment_set_seek):
6623         Fix typo.
6624         time and start must always stay in sync as defined in design doc.
6625
6626         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6627         Rename param to fix docs.
6628
6629         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6630         Check that start and time are in sync.
6631
6632         * tests/check/pipelines/parse-launch.c:
6633         (gst_parse_test_element_change_state):
6634         Activate pad before adding to the element.
6635
6636 2006-10-09  Wim Taymans  <wim@fluendo.com>
6637
6638         * docs/design/part-qos.txt:
6639         Fix typo.
6640
6641         * gst/gstevent.c:
6642         * gst/gstevent.h:
6643         Update seek event docs regarding negative rates.
6644         Rename @cur to @start. 
6645
6646         * gst/gstsegment.c: (gst_segment_set_seek):
6647         * gst/gstsegment.h:
6648         Update set_seek docs regarding negative rates.
6649         Correctly update last_stop to @stop when dealing with negative
6650         rates.
6651         Rename @cur to @start. 
6652
6653         * tests/check/gst/gstpad.c: (GST_START_TEST):
6654         Activate pads before trying to use them.
6655
6656         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6657         (gst_segment_suite):
6658         Add simple check for segments and negative rates.
6659
6660 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6661
6662         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6663         * gst/gsttaglist.h:
6664         * docs/gst/gstreamer-sections.txt:
6665           API: add gst_tag_list_is_empty() (#360467).
6666
6667         * tests/check/gst/gsttag.c: (GST_START_TEST):
6668           And a test case.
6669
6670 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6671
6672         * gst/gstmessage.h:
6673         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6674         a value that doesn't fit on enumeration.
6675
6676 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6677
6678         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6679         Remove local debugging system and use Gstreamer's instead.
6680
6681 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6682
6683         Patch by: Josep Torre Valles <josep@fluendo.com>
6684
6685         * common/m4/gst-error.m4:
6686         Disable warning of statement not reached on Forte.
6687         * gst/gstmessage.h:
6688         Fix warning on Forte (value doesn't fit on enumeration).
6689         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6690         Fix warning on Forte (value doesn't fit on enumeration).
6691         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6692         DEBUG macro says it takes minimum of 2 args and so Forte
6693         complains about the use with just 1 arg.
6694         * plugins/elements/gstfdsink.c:
6695         * plugins/elements/gstfdsrc.c:
6696         * plugins/elements/gstfilesink.c:
6697         * plugins/elements/gstfilesrc.c:
6698         Use correct return type for the uri handler implementations.
6699
6700         All these fix warnings in Forte.  Fixes bug #360860.
6701
6702 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6703
6704         * gst/gstelement.h:
6705           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6706           format string, so don't use G_GNUC_PRINTF for those versions.
6707
6708 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6709
6710         * gst/gsttaglist.c: (gst_is_tag_list):
6711         * gst/gsttaglist.h:
6712           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6713
6714         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6715           Small test for the above.
6716
6717 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6718
6719         * gst/gsttaglist.h:
6720           Less tabs, more spaces.
6721
6722 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
6723
6724         * gst/gstinfo.h:
6725           Those two function declarations do actually belong there, revert
6726           commit from yesterday that turned them intro macros.
6727
6728 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6729
6730         Patch by: Josep Torre Valles <josep@fluendo.com>
6731
6732         * gst/gst.c: (gst_init_get_option_group):
6733         Fix empty declaration and type mismatch.
6734         * gst/gstbin.c: (gst_bin_change_state_func):
6735         Fix type mismatch.
6736         * gst/gstelement.c: (gst_element_continue_state),
6737         (gst_element_set_state_func), (gst_element_change_state),
6738         (gst_element_change_state_func):
6739         Fix type mismatches.
6740         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6741         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6742         Cast as appropriate.
6743         * gst/gstobject.c: (gst_class_signal_connect):
6744         Cast as appropriate.  The function pointer parameter really
6745         has the wrong type but would break API if we change it.
6746         * gst/gstquery.c:
6747         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6748         order of including string.h.
6749         * gst/gstutils.c: (gst_element_state_get_name):
6750         Remove unreachable line.
6751         * gst/gstxml.c: (gst_xml_parse_doc):
6752         Fix type mismatch.
6753         All these caught by Forte.
6754
6755 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6756
6757         Patch by: Josep Torre Valles <josep@fluendo.com>
6758
6759         * common/m4/gst-error.m4:
6760         Fixed bug #360151.
6761         We need to disable warnings on Forte for empty declarations
6762         due to gst-indent adding ;s to lines that just use macros
6763         where the macro actually doesn't need a ; at end to end
6764         statement.
6765
6766 2006-10-06  Wim Taymans  <wim@fluendo.com>
6767
6768         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6769         (gst_file_sink_close_file), (gst_file_sink_event),
6770         (gst_file_sink_render):
6771         Add some FIXME for the NEWSEGMENT handling.
6772
6773 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6774
6775         * gst/parse/grammar.y:
6776         Remove static function gst_parse_element_lock as all it does
6777         is return.  Looks like cruft from 0.8.
6778
6779 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6780
6781         Patch by: Josep Torre Valles <josep@fluendo.com>
6782
6783         * common/m4/gst-error.m4:
6784         * configure.ac:
6785         * libs/gst/net/Makefile.am:
6786         Fix a compilation issue with Forte on Solaris.  inet_aton is in
6787         libresolv.
6788
6789 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6790
6791         * gst/gstpad.c: (pre_activate):
6792         * gst/gstregistry.c: (gst_registry_scan_path_level):
6793         * gst/gstregistryxml.c: (load_plugin):
6794         * libs/gst/controller/gstcontroller.c:
6795         (gst_controlled_property_set_interpolation_mode):
6796         * libs/gst/dataprotocol/dataprotocol.c:
6797         (gst_dp_packet_from_event_1_0):
6798         * libs/gst/net/gstnetclientclock.c:
6799         (gst_net_client_clock_observe_times):
6800         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6801           Printf fixes.
6802
6803 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6804
6805         * configure.ac:
6806         * docs/gst/gstreamer-sections.txt:
6807         * gst/gstconfig.h.in:
6808         * gst/gstelement.h:
6809         * gst/gstinfo.h:
6810           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6811           whether we can use G_GNUC_PRINTF in other header files and at
6812           least check the printf format/arguments of debug messages and
6813           GST_ELEMENT_ERROR messages when the printf extension is not
6814           being used.
6815           Replace more tabs with spaces in gstinfo.h and remove two spurious
6816           function declarations in GST_DISABLE_DEBUG part with macros.
6817
6818 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6819
6820         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6821           More docs for the sync-message signal (mention that it is not
6822           emitted by default); log message structures of messages posted on
6823           the bus as well.
6824
6825 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
6826
6827         * gst/gst.c: (ensure_current_registry_forking):
6828         Use a pipe pair to receive status results from the forked child, and
6829         ignore the result from waitpid. Fixes #355499
6830
6831 2006-10-02  Wim Taymans  <wim@fluendo.com>
6832
6833         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6834         (gst_ghost_pad_suite):
6835         Fix leak in check.
6836
6837 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6838
6839         * gst/gstpad.c:
6840           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6841
6842 2006-10-02  Edward Hervey  <edward@fluendo.com>
6843
6844         * docs/design/part-block.txt:
6845         Further explain the use of flushing on blocked pads.
6846         * docs/gst/gstreamer-sections.txt:
6847         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6848         (gst_pad_push_event):
6849         * gst/gstpad.h:
6850         Added new GstPadFlag : GST_PAD_BLOCKING.
6851         Adds the notion of pads really blocking, which enables to properly
6852         handle FLUSH_START/FLUSH_STOP events on blocked pads.
6853         Fixes #358999
6854         API: gst_pad_is_blocking()
6855         API: GST_PAD_IS_BLOCKING() macro
6856         API: GST_PAD_BLOCKING GstPadFlag
6857         
6858 2006-10-02  Wim Taymans  <wim@fluendo.com>
6859
6860         Patch by: mrcgran <mrc.gran at gmail dot com>
6861
6862         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6863         Filter the proxied caps against the padtemplate if we have one.
6864
6865         * gst/gstquery.c: (gst_query_new_segment):
6866         Add include for gstinfo.h so that compilation with
6867         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6868
6869 2006-10-02  Wim Taymans  <wim@fluendo.com>
6870
6871         Patch by: Alessandro Decina  <alessandro at nnva org>
6872
6873         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6874         (gst_file_sink_set_location), (gst_file_sink_open_file),
6875         (gst_file_sink_close_file), (gst_file_sink_event),
6876         (gst_file_sink_render):
6877         Set file to NULL when closing filesink so that we can set a new filename
6878         in READY. Fixes #358613.
6879
6880 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6881
6882         Patch by: Alessandro Decina  <alessandro at nnva org>
6883
6884         * gst/gstevent.c: (_gst_event_copy):
6885           Fix gst_mini_object_make_writable() and gst_event_copy() for events
6886           with event structures by setting the parent refcount address of the
6887           copied structure to the address of the refcount member of the newly
6888           copied event rather than the address of the refcount member of the
6889           original event. Fixes #358737.
6890
6891         * tests/check/gst/gstevent.c: (GST_START_TEST):
6892           Unit test for the above.
6893
6894 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
6895
6896         * docs/design/Makefile.am:
6897           Dist some more files.
6898
6899 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6900
6901         * tests/check/libs/controller.c: (GST_START_TEST),
6902         (gst_controller_suite):
6903           Add test for the previous fix; add some more tests
6904           for correct refcounting behaviour; fix a few leaks
6905           in test cases; call gst_controller_init() at start
6906           of all tests.
6907
6908 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6909
6910         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6911         (gst_controller_set_from_list):
6912           Don't g_return_val_if_fail() on timed values with invalid timestamps
6913           inside a critical section without unlocking the mutex. Spotted by
6914           René Stadler. (#357617)
6915           Also, fix up refcounting properly: when returning an existing
6916           controller, we should increase the reference only once and not
6917           once per property and when trying to control a property again
6918           we should also increase the refcount.
6919
6920 2006-09-29  Wim Taymans  <wim@fluendo.com>
6921
6922         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6923         * libs/gst/net/gstnettimeprovider.c:
6924         (gst_net_time_provider_thread):
6925         Stop reading commands when EOF as well.
6926
6927         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6928         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6929         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6930         Unify description of the dump property.
6931
6932 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6933
6934         * tests/examples/manual/.cvsignore:
6935         OK, so it's actually cvsignore that needs changing. Stop laughing.
6936
6937 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6938
6939         * tests/examples/manual/Makefile.am:
6940         Gah, declare vars *before* using them
6941
6942 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6943
6944         * gst/gst.c: (init_pre), (scan_and_update_registry),
6945         (ensure_current_registry_nonforking),
6946         (ensure_current_registry_forking), (ensure_current_registry),
6947         (init_post), (gst_debug_help), (gst_deinit):
6948         * gst/gst_private.h:
6949         * gst/gstregistry.c: (gst_registry_finalize),
6950         (gst_registry_remove_features_for_plugin_unlocked),
6951         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6952         (gst_registry_scan_path),
6953         (_priv_gst_registry_remove_cache_plugins),
6954         (_priv_gst_registry_cleanup):
6955         * gst/gstregistry.h:
6956         Re-commit the registry changes, along with an extra fix:
6957           When a cached plugin is encountered at a different file path,
6958           update the stored path in the registry cache so that the parent
6959           process knows where it actually is now when it re-reads the registry
6960           cache. Fixes the thing that broke distcheck with the previous commit.
6961
6962         * tests/check/Makefile.am:
6963         Clean up files named 'core' too when running make clean.
6964
6965         * tests/examples/manual/Makefile.am:
6966         Set up a registry path for running these tests, and clean it properly
6967         for distcheck.
6968
6969 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6970
6971         * configure.ac:
6972         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6973         want gmodule-no-export-2.0.pc instead so that we don't drag in
6974         --export-dynamic on every project that links to GStreamer.
6975
6976         Also, make our export regex only match the start of symbols, rather 
6977         than any symbol that contains '_gst' somewhere.
6978
6979         * libs/gst/check/Makefile.am:
6980         The libgstcheck we build does however need export-dynamic, as it
6981         produces some symbols that don't match our _gst... style regex.
6982         Fixes: #318031
6983
6984 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6985
6986         * gst/gst.c: (init_pre), (scan_and_update_registry),
6987         (ensure_current_registry_nonforking),
6988         (ensure_current_registry_forking), (ensure_current_registry),
6989         (init_post), (gst_debug_help), (gst_deinit):
6990         * gst/gst_private.h:
6991         * gst/gstregistry.c: (gst_registry_finalize),
6992         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6993         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6994         (_gst_registry_cleanup):
6995         * gst/gstregistry.h:
6996           Revert previous change until I figure out why it breaks distcheck.
6997
6998 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6999
7000         * gst/gst.c: (init_pre), (scan_and_update_registry),
7001         (ensure_current_registry_nonforking),
7002         (ensure_current_registry_forking), (ensure_current_registry),
7003         (init_post), (gst_debug_help), (gst_deinit):
7004
7005           Make init_pre and init_post take the full complement of GOptionFunc
7006           args so they can return useful GErrors. Make the registry updating
7007           functions do so.
7008
7009           Call _priv_gst_registry_remove_cache_plugins after scanning files to
7010           ensure that the registry we're about to write out doesn't contain
7011           stale information about old-deleted plugin files.
7012
7013           Make _priv_gst_registry_remove_cache_plugins return a boolean so
7014           that deletion of plugin files is considered a registry change.
7015
7016         * gst/gst_private.h:
7017         * gst/gstregistry.c: (gst_registry_finalize),
7018         (gst_registry_remove_features_for_plugin_unlocked),
7019         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7020         (gst_registry_scan_path),
7021         (_priv_gst_registry_remove_cache_plugins),
7022         (_priv_gst_registry_cleanup):
7023         * gst/gstregistry.h:
7024         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
7025         by adding _priv prefix, so that they won't appear in the global
7026         symbol table. They still do atm though because of #318031. Move the
7027         prototypes to gst_private.h
7028
7029         When removing a plugin, remove all features for that plugin too. 
7030         Fixes #340878.
7031
7032 2006-09-27  Wim Taymans  <wim@fluendo.com>
7033
7034         * docs/random/moving-plugins:
7035         Make it clear that the "compiled-in descriptions" really mean
7036         the element details.
7037
7038         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7039         (gst_base_sink_wait_preroll):
7040         Update docs.
7041
7042         * docs/libs/gstreamer-libs-sections.txt:
7043         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
7044         (gst_base_src_get_range), (gst_base_src_activate_push):
7045         * libs/gst/base/gstbasesrc.h:
7046         Added function to block while waiting for PLAYING, this function
7047         is used by live sources that block on the clock.
7048         API: gst_base_src_wait_playing()
7049
7050 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
7051
7052         Patch by: Peter Kjellerstedt <pkj at axis com>
7053
7054         * Makefile.am:
7055           gst-element-check.m4 is generated and should therefore be
7056           copied from the build dir rather than the source dir (#357593).
7057           'make distcheck' hasn't noticed this because we were disting
7058           the file as well, so stop doing that.
7059
7060 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
7061
7062         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7063           Add some tests for gst_caps_intersect().
7064
7065         * tools/gst-launch.c: (event_loop):
7066           Print all buffering percentages we get, even the 100% one.
7067
7068 2006-09-26  Wim Taymans  <wim@fluendo.com>
7069
7070         * tools/gst-inspect.c: (print_element_properties_info),
7071         (print_signal_info):
7072         Fix printing of flags to match the look of enums.
7073
7074 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
7075
7076         * gst/gstelementfactory.c:
7077           Fix typo in docs blurb.
7078
7079 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
7080
7081         * gst/gsturi.c: (search_by_entry):
7082           Don't assert/crash here if a uri handler doesn't return any
7083           supported protocols. The list of protocols could be generated
7084           dynamically at runtime or at plugin registration, and an error
7085           in the underlying library shouldn't be fatal (#353301).
7086
7087 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
7088
7089         * gst/gstinfo.c:
7090           Fix warning if HAVE_PRINTF_EXTENSION is undefined
7091           (spotted by Peter Kjellerstedt).
7092
7093 2006-09-23  Wim Taymans  <wim@fluendo.com>
7094
7095         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
7096
7097         * libs/gst/base/gstbasesrc.c:
7098         (gst_base_src_default_check_get_range), (gst_base_src_start),
7099         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7100         (gst_base_src_change_state):
7101         Match _start/_stop calls in the activate functions. Remove redundant
7102         _stop call from the state change function. Fixes #356910.
7103         Turn failure DEBUG into ERROR. 
7104
7105 2006-09-22  Wim Taymans  <wim@fluendo.com>
7106
7107         * docs/design/part-buffering.txt:
7108         * gst/gstmessage.c: (gst_message_new_buffering),
7109         (gst_message_parse_buffering):
7110         Update docs about buffering.
7111
7112         * docs/design/part-trickmodes.txt:
7113         Fix typo.
7114
7115 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
7116
7117         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7118         (gst_controller_new_list):
7119           Ref instances when returning them again (fixes #357180)
7120
7121 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
7122
7123         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
7124           Don't forget to release proxy lock when there's an error.
7125
7126 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
7127
7128         * gst/gstcaps.h:
7129           Add extra initialisers for Caps things, to fix some plugin warnings
7130           when using -Wextra
7131
7132 2006-09-18  Wim Taymans  <wim@fluendo.com>
7133
7134         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
7135           Also set template on the internal pad so that a getcaps from the 
7136           target pad returns the template caps.
7137
7138 2006-09-18  Wim Taymans  <wim@fluendo.com>
7139
7140         * gst/gstelement.c: (gst_element_post_message),
7141         (gst_element_dispose):
7142         Use _DEBUG_OBJECT some more.
7143
7144         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7145         Avoid typechecks.
7146
7147         * tools/gst-launch.c: (main):
7148         If the toplevel element is not a GstPipeline, it must be put in a
7149         pipeline so that a bus and clock is selected.
7150
7151 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
7152
7153         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7154           JITTER, RATE, and LATENCY query should be handled by the
7155           default case and not by the CONVERT query code.
7156
7157 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
7158
7159         * gst/gstformat.c: (gst_format_register):
7160           Fix locking order (must take lock before using n_values).
7161
7162         * gst/gstvalue.c: (gst_value_serialize_enum),
7163         (gst_value_deserialize_enum_iter_cmp),
7164         (gst_value_deserialize_enum):
7165           Fix serialisation/deserialisation of custom registered GstFormats.
7166
7167         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7168           Unit test for custom format serialisation/deserialisation.
7169
7170 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
7171
7172         * docs/pwg/building-boiler.xml:
7173         * plugins/elements/gstcapsfilter.c:
7174         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
7175         section.
7176
7177 2006-09-16  Edward Hervey  <edward@fluendo.com>
7178
7179         * libs/gst/base/gstbasetransform.c:
7180         (gst_base_transform_buffer_alloc):
7181         Check if requested caps are the same as the sinks caps IF
7182         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
7183         is FALSE.
7184         This fixes the renegotiation issues stated in #352827.
7185
7186 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7187
7188         * configure.ac:
7189         * docs/manual/advanced-autoplugging.xml:
7190         * tests/examples/Makefile.am:
7191         * tests/examples/manual/.cvsignore:
7192         * tests/examples/manual/Makefile.am:
7193         * tests/examples/manual/extract.pl:
7194           Extract the manual examples again like we used to do.
7195           Fix one of them.
7196
7197 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7198
7199         * win32/common/config.h:
7200           update for version
7201
7202 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
7203
7204         * gst/gsterror.c:
7205           Documents how to receive errors.
7206
7207 2006-09-15  Wim Taymans  <wim@fluendo.com>
7208
7209         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
7210         (event_loop), (main):
7211         Added some comments here and there.
7212         Post an application message when an interrupt is caught instead of doing
7213         an uncontrolled state change.
7214         Clean up the event loop.
7215         Handle buffering messages, pause/resume the pipeline.
7216         Make shutdown because of an interrupt more reliable.
7217
7218 2006-09-15  Wim Taymans  <wim@fluendo.com>
7219
7220         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7221         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
7222         (gst_base_sink_preroll_object):
7223         Make sure that our internal state is correct when we commit our state
7224         asynchronously. This solves a race where a state change to PLAYING
7225         could cause the sink to remain blocked in preroll in some situations.
7226
7227 2006-09-15  Wim Taymans  <wim@fluendo.com>
7228
7229         * tools/gst-inspect.c: (print_element_properties_info),
7230         (print_signal_info):
7231         List flags as hex so it's easier to deal with.
7232
7233 2006-09-15  Wim Taymans  <wim@fluendo.com>
7234
7235         * docs/libs/gstreamer-libs-sections.txt:
7236         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
7237         (gst_base_sink_do_sync):
7238         * libs/gst/base/gstbasesink.h:
7239         Expose logic to wait for preroll so that subclasses such as audiosink
7240         can also use this method.
7241         API: gst_base_sink_wait_preroll()
7242
7243 2006-09-15  Wim Taymans  <wim@fluendo.com>
7244
7245         * gst/gstobject.c: (gst_object_set_parent):
7246         * gst/gstpipeline.c: (do_pipeline_seek):
7247         Small cleanups in docs and code.
7248
7249         * gst/gstsegment.c: (gst_segment_clip):
7250         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7251         if stop == start and start is in the segment, no clipping should be
7252         done. Also add a test for this.
7253
7254 2006-09-15  Wim Taymans  <wim@fluendo.com>
7255
7256         * docs/design/part-buffering.txt:
7257         * docs/gst/gstreamer-sections.txt:
7258         * gst/gstmessage.c: (gst_message_new_buffering),
7259         (gst_message_parse_buffering):
7260         * gst/gstmessage.h:
7261         Added methods to create and parse BUFFERING messages.
7262         Added preliminary docs about buffering.
7263         API: gst_message_new_buffering
7264         API: gst_message_parse_buffering
7265
7266 2006-09-06  Wim Taymans  <wim@fluendo.com>
7267
7268         * gst/gstbin.c:
7269         Update documentation.
7270
7271         * gst/gstelement.c: (gst_element_class_init),
7272         (gst_element_release_request_pad), (gst_element_set_clock),
7273         (gst_element_get_index), (gst_element_add_pad),
7274         (gst_element_remove_pad), (gst_element_get_random_pad),
7275         (gst_element_send_event), (gst_element_get_query_types),
7276         (gst_element_query), (gst_element_post_message),
7277         (gst_element_message_full), (gst_element_continue_state),
7278         (gst_element_lost_state), (gst_element_save_thyself),
7279         (gst_element_restore_thyself):
7280         Documentation updates.
7281         Rename last bit of the new-pad -> pad-added signal rename.
7282         Fix the case where an element query would only work if the source
7283         pad was linked.
7284         Avoid some useless type checking in message handling.
7285
7286         * gst/gstevent.c:
7287         * gst/gstevent.h:
7288         * gst/gstutils.c:
7289         Documentation updates.
7290
7291 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7292
7293         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7294           add an INFO line for when we actually update the fd
7295
7296 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7297
7298         * configure.ac:
7299           back to TRUNK
7300
7301 === release 0.10.10 ===
7302
7303 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
7304
7305         * configure.ac:
7306           releasing 0.10.10, "Pais"
7307
7308 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
7309
7310         * docs/manual/advanced-position.xml:
7311           Fix typo in sample code.
7312
7313 2006-09-05  Wim Taymans  <wim@fluendo.com>
7314
7315         * libs/gst/net/gstnetclientclock.c: (inet_aton),
7316         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7317         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
7318         * libs/gst/net/gstnetclientclock.h:
7319         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7320         * libs/gst/net/gstnettimepacket.h:
7321         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7322         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7323         (gst_net_time_provider_thread), (gst_net_time_provider_new):
7324         * libs/gst/net/gstnettimeprovider.h:
7325         Make stuff compile on windows. Fixes #345295.
7326
7327 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7328
7329         * gst/gst.c: (ensure_current_registry_forking):
7330           Print better details when child was terminated by signal.
7331
7332 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7333
7334         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7335           Print a warning rather than g_assert() if a plugin feature
7336           is a URI handler but returns no protocols (#353976).
7337
7338 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
7339
7340         * docs/random/moving-plugins:
7341         Fix two typos.         
7342
7343 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7344
7345         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7346           Fix locking order, handle NULL function values properly.
7347
7348         * gst/gstinfo.h:
7349           Fix docs.
7350
7351         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7352           Initialise variable before using it and fix debug statement to
7353           print the address of the function rather than the address of the
7354           variable on the stack holding the address of the function.
7355
7356 2006-09-01  Wim Taymans  <wim@fluendo.com>
7357
7358         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7359         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7360         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7361         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7362         (gst_ghost_pad_parent_unset),
7363         (gst_ghost_pad_internal_do_activate_push),
7364         (gst_ghost_pad_internal_do_activate_pull),
7365         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7366         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7367         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7368         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7369         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7370         (gst_ghost_pad_new_no_target_from_template),
7371         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7372         More cleanups.
7373         Avoid needless typechecking in macros.
7374         Since the internal pad is always present and never changes, there is
7375         no need to locking or ref when retrieving it.
7376         Improve debugging a bit.
7377         Handle link errors when setting the target. Fixes #341029.
7378
7379 2006-09-01  Wim Taymans  <wim@fluendo.com>
7380
7381         * docs/libs/gstreamer-libs-sections.txt:
7382         * docs/plugins/gstreamer-plugins-sections.txt:
7383         Fix docs some more.
7384
7385         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7386         (gst_collect_pads_event):
7387         * libs/gst/base/gstcollectpads.h:
7388         Documentation updates.
7389         Free queued buffer when removing a pad.
7390
7391 2006-08-31  Michael Smith  <msmith@fluendo.com>
7392
7393         * gst/gstutils.c: (gst_element_link_pads),
7394         (gst_element_link_pads_filtered):
7395           Ensure that we set a capsfilter to NULL if we failed to link it
7396           when doing filtered linking, to avoid criticals.
7397
7398           No need to check for unreffing srcpad, which is explicly NULLed
7399           above (a trivial code cleanup).
7400
7401 2006-08-31  Wim Taymans  <wim@fluendo.com>
7402
7403         * docs/design/part-gstghostpad.txt:
7404         Update ascii art in documentation.
7405
7406         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7407         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7408         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7409         (gst_ghost_pad_internal_do_activate_push),
7410         (gst_ghost_pad_internal_do_activate_pull),
7411         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7412         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7413         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7414         (gst_ghost_pad_set_target):
7415         Small cleanups and leak fixes.
7416         Remove some checks now that the internal pad is never NULL.
7417         Fix the case where linking pads without a target would create nasty
7418         criticals. Fixes #341029.
7419         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7420         value of _set_target().
7421
7422         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7423         (gst_ghost_pad_suite):
7424         Some more tests for creating and linking untargeted ghostpads.
7425
7426 2006-08-31  Edward Hervey  <edward@fluendo.com>
7427
7428         * docs/gst/gstreamer-sections.txt:
7429         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7430         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7431         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7432         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7433         (gst_ghost_pad_new_from_template),
7434         (gst_ghost_pad_new_no_target_from_template):
7435         * gst/gstghostpad.h:
7436         Refactored *_new() functions.
7437         Templates are now used as a g_object_new() parameter.
7438         Use template in _do_getcaps() if we don't have a target.
7439         Small documentation cleanups.
7440         Added two new constructors:
7441         gst_ghost_pad_new_from_template()
7442         gst_ghost_pad_new_no_target_from_template()
7443         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7444         (gst_ghost_pad_suite):
7445         Added tests for new ghostpad instanciation functions.
7446
7447         API additions: gst_ghost_pad_new_from_template,
7448         gst_ghost_pad_new_no_target_from_template
7449
7450 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
7451
7452         * docs/random/ensonic/profiling.txt:
7453           Ideas about qos profiling.
7454
7455 2006-08-29  Wim Taymans  <wim@fluendo.com>
7456
7457         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7458         Code cleanups.
7459         Fix memleak.
7460
7461 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
7462
7463         * gst/gstxml.c:
7464           Improve and detypofy docs.
7465
7466         * tests/check/Makefile.am:
7467         * tests/check/gst/.cvsignore:
7468         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7469           Add a basic test suite for GstXML.
7470
7471 2006-08-29  Wim Taymans  <wim@fluendo.com>
7472
7473         * gst/gstelement.c: (activate_pads), (clear_caps),
7474         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7475         Clear the pad caps when the element shut down all of the pads and
7476         is not streaming data that could modify the caps. 
7477         Fixes #352958.
7478
7479 2006-08-28  Michael Smith  <msmith@fluendo.com>
7480
7481         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7482           Revert previous change; I misunderstood single-segment mode.
7483
7484 2006-08-28  Michael Smith  <msmith@fluendo.com>
7485
7486         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7487           Unset DISCONT on buffers when using single-segment mode.
7488
7489 2006-08-28  Wim Taymans  <wim@fluendo.com>
7490
7491         * gst/gstcaps.c: (gst_caps_merge_structure):
7492         * gst/gstcaps.h:
7493         Fix docs and indentation again.
7494
7495         * tests/check/gst/gstquery.c: (GST_START_TEST):
7496         Fix leak in tests and add some more tests.
7497
7498 2006-08-28  Edward Hervey  <edward@fluendo.com>
7499
7500         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7501         Inform GstSegment of the last stop position in order for the current
7502         segment to have a proper duration if it doesn't have a specific stop
7503         position from which a duration could be calculated.
7504         This bug was noticeable when a non-flushing, non-update new segment was
7505         followed by another segment (all buffers from the new segment were being
7506         dropped).
7507
7508 2006-08-28  Wim Taymans  <wim@fluendo.com>
7509
7510         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7511         Small comment update.
7512
7513         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7514         (gst_identity_transform_ip):
7515         Drop-probability is broken, mention this in the code with a 
7516         FIXME and also in the property description.
7517         Make silent also be silent about the drop messages.
7518
7519 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
7520
7521         * docs/manual/appendix-win32.xml:
7522           Remove mention of popt, we don't depend on that any
7523           longer (#353136). Add some comments pointing out that
7524           this section is slightly outdated.
7525
7526 2006-08-28  Wim Taymans  <wim@fluendo.com>
7527
7528         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7529
7530         * gst/gstquery.c: (gst_query_new_segment):
7531         * tests/check/gst/gstquery.c: (GST_START_TEST):
7532         Initialize variables when creating a new segment query.
7533         Fixes #353121.
7534
7535 2006-08-28  Wim Taymans  <wim@fluendo.com>
7536
7537         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7538
7539         * gst/gstelement.c: (gst_element_get_bus):
7540         * tests/check/gst/gstelement.c: (GST_START_TEST):
7541         Check for NULL before _reffing the bus. Fixes #353122.
7542
7543 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
7544
7545         * docs/manual/basics-bus.xml:
7546           Docs update: fix wrong callback return value explanation; add
7547           some lines about the implicit relationship between main loop
7548           and main context; remove duplicate main loop variable declaration.
7549
7550 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
7551
7552         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7553           Don't leak caps in unit test; add a few more simple
7554           checks. 
7555
7556 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
7557
7558         * docs/gst/gstreamer-sections.txt:
7559         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7560         (gst_caps_structure_is_subset), (gst_caps_merge),
7561         (gst_caps_merge_structure):
7562         * gst/gstcaps.h:
7563         * libs/gst/base/gstbasetransform.c:
7564         (gst_base_transform_transform_caps):
7565         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7566           implement caps merging (fixes #352580)
7567
7568 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
7569
7570         * tools/Makefile.am:
7571         * tools/gst-plot-timeline.py:
7572           add debug-log plotting developer tool (#340674)
7573
7574 2006-08-23  Wim Taymans  <wim@fluendo.com>
7575
7576         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7577         (gst_pad_stop_task):
7578         Improve debugging for task functions.
7579
7580         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7581         (gst_task_start), (gst_task_pause), (gst_task_join):
7582         Make sure that the task function started and finished after a 
7583         join(). 
7584         Don't try to push the task function on the threadpool multiple
7585         times.
7586         Improve the g_warning message with some useful suggestions
7587         about how to fix the problem. 
7588
7589 2006-08-23  Wim Taymans  <wim@fluendo.com>
7590
7591         * gst/gstutils.c: (gst_pad_proxy_getcaps):
7592         Handle RESYNC correctly in _proxy_getcaps.
7593
7594 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
7595
7596         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7597         (gst_xml_parse_memory), (gst_xml_get_element):
7598           Chain up to parent class in dispose function and also
7599           unref the elements in the toplevel_elements GList.
7600           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7601           Always return a reference in gst_xml_get_element() rather
7602           than only sometimes.
7603
7604         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7605           Don't leak GstXml object.
7606
7607 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
7608
7609         * docs/gst/gstreamer-sections.txt:
7610         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7611         (gst_caps_merge):
7612         * gst/gstcaps.h:
7613         * libs/gst/base/gstbasetransform.c:
7614         (gst_base_transform_transform_caps):
7615           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7616           in a better way
7617
7618 2006-08-21  Edward Hervey  <edward@fluendo.com>
7619
7620         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7621         Implement GObject::dispose virtual method in GstXML so we can free the
7622         top_elements GList.
7623
7624 2006-08-21  Wim Taymans  <wim@fluendo.com>
7625
7626         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7627         (gst_buffer_create_sub):
7628         Copy duration/offset_end/caps when creating a subbuffer of the
7629         complete parent.
7630         Make the subbuffer read-only when we make the metadata writable for
7631         now. Fixes #351768.
7632
7633         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7634         Added check for metadata copy when creating subbuffers.
7635
7636 2006-08-21  Edward Hervey  <edward@fluendo.com>
7637
7638         * libs/gst/base/gstbasetransform.c:
7639         (gst_base_transform_buffer_alloc):
7640         Only call downstream buffer_alloc if transform element is passthrough
7641         or always_in_place. Closes #350449.
7642
7643 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7644
7645         * ChangeLog:
7646           ChangeLog surgery to add comments to previous changes
7647
7648 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7649
7650         * gst/gst.c:
7651           Add comments
7652
7653         * gst/gstpad.c: (gst_pad_set_active):
7654           Be more verbose in the log
7655
7656         * libs/gst/base/gstbasetransform.c:
7657         (gst_base_transform_transform_caps):
7658           Simplify caps to get rid of duplicates, fixes #345444
7659
7660 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7661
7662         * gst/gstvalue.c:
7663         * gst/gstvalue.h:
7664           Use these optimizations only internally.
7665
7666 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7667
7668         * gst/gstvalue.c: (gst_value_compare_list),
7669         (gst_value_compare_fraction_range),
7670         (gst_value_intersect_fraction_fraction_range),
7671         (gst_value_intersect_fraction_range_fraction_range),
7672         (gst_value_subtract_fraction_fraction_range),
7673         (gst_value_subtract_fraction_range_fraction_range),
7674         (gst_value_get_compare_func), (gst_value_compare),
7675         (gst_value_compare_with_func):
7676         * gst/gstvalue.h:
7677           Saves the expensive lookup of the compare function in many cases
7678          (#345444)
7679
7680 2006-08-18  Edward Hervey  <edward@fluendo.com>
7681
7682         * tests/check/gst/gstinfo.c: (gst_info_suite):
7683         Disable test that require gstdebug if it wasn't built in core.
7684
7685 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7686
7687         * docs/random/ensonic/logging.txt:
7688           update ideas
7689           
7690         * gst/gstinfo.c: (gst_debug_log_default):
7691           reorder fields, save some columns, add optional color codes for log
7692           levels
7693
7694 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7695
7696         * docs/random/ensonic/logging.txt:
7697           add ideas about making the logs a bit more useful
7698
7699 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7700
7701         * docs/pwg/advanced-events.xml:
7702         * docs/pwg/titlepage.xml:
7703           Update for 0.10 API (#340627). Add myself
7704           to authors list.
7705
7706 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7707
7708         * docs/libs/gstreamer-libs-docs.sgml:
7709         * docs/libs/gstreamer-libs-sections.txt:
7710         * libs/gst/check/gstbufferstraw.c:
7711           Make gstcheck stuff show up in docs (still needs to
7712           be documented properly though).
7713
7714 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7715
7716         * docs/gst/gstreamer-sections.txt:
7717         * gst/Makefile.am:
7718         * gst/gst.c: (init_post):
7719         * gst/gst_private.h:
7720         * gst/gstquark.c: (_priv_gst_quarks_initialize):
7721         * gst/gstquark.h:
7722         * gst/gstquery.c: (gst_query_new_position),
7723         (gst_query_set_position), (gst_query_parse_position),
7724         (gst_query_new_duration), (gst_query_set_duration),
7725         (gst_query_parse_duration), (gst_query_new_convert),
7726         (gst_query_set_convert), (gst_query_parse_convert),
7727         (gst_query_new_segment), (gst_query_set_segment),
7728         (gst_query_parse_segment), (gst_query_new_seeking),
7729         (gst_query_set_seeking), (gst_query_parse_seeking):
7730         Add internal helpers for pre-registering quarks from static strings
7731         and using the quark values directly instead of looking them up when
7732         creating and parsing queries. Can be used for event construction too.
7733         Closes #350432.
7734
7735 2006-08-16  Wim Taymans  <wim@fluendo.com>
7736
7737         * gst/gstbin.c:
7738         Fix bogus docs.
7739
7740 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7741
7742         * gst/gstutils.c: (gst_util_set_value_from_string):
7743           Fix memleak (#351502).
7744
7745         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7746           Add unit test for most of gst_util_set_value_from_string()
7747           (not that one would want to encourage use of this function).
7748
7749 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7750
7751         * libs/gst/check/gstcheck.h:
7752           Use const gchar * variables in fail_unless_equals_string
7753           macro to avoid compiler warnings (and don't use tabs for
7754           indenting).
7755
7756 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7757
7758         * tools/gst-launch.c: (print_tag):
7759           More space on the left for the tag names, to cater
7760           for the 'extended comment' tag (not touching the
7761           string for the first line since it's translated).
7762
7763 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7764
7765         * libs/gst/check/gstcheck.h:
7766           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7767           print something when they fail.
7768
7769 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7770
7771         * docs/gst/gstreamer-sections.txt:
7772         * gst/gsttaglist.c: (_gst_tag_initialize):
7773         * gst/gsttaglist.h:
7774           API: add GST_TAG_EXTENDED_COMMENT (#350935).
7775           Also change merge function for GST_TAG_COMMENT to
7776           use_first.
7777
7778 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7779
7780         * gst/gstinfo.c: (gst_debug_print_object):
7781           Make GST_PTR_FORMAT print messages as well.
7782
7783         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7784         (GST_START_TEST), (gst_info_suite):
7785           More tests.
7786
7787 2006-08-14  Edward Hervey  <edward@fluendo.com>
7788
7789         * gst/gstelementfactory.c: (gst_element_register):
7790         If the GstElementClass doesn't have a GstElementDetails with all fields
7791         filled up correctly (longname, description AND author), then error out
7792         nicely instead of crashing.
7793
7794 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7795
7796         * gst/gststructure.c:
7797           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7798
7799         * gst/gstvalue.h:
7800           Expand on the difference between arrays and lists as we use them.
7801           
7802 2006-08-14  Wim Taymans  <wim@fluendo.com>
7803
7804         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7805         If the parent state change function failed, don't assume we can safely
7806         stop the source, this will be done when the pads are deactivated.
7807
7808 2006-08-14  Wim Taymans  <wim@fluendo.com>
7809
7810         * gst/gstbuffer.c:
7811         * gst/gsttask.c: (gst_task_join):
7812         Small doc updates.
7813
7814         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7815         (gst_pad_stop_task):
7816         When pad (de)activation failed for some reason, restore the old
7817         activation mode and set the pad to flushing instead of assuming the
7818         pad is deactivated.
7819         If the _task_join() failed, reinstall the task on the pad so that it can
7820         be stopped later and return an error.
7821
7822 2006-08-11  Andy Wingo  <wingo@pobox.com>
7823
7824         * configure.ac:
7825         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7826         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7827         is only for users of API that don't want to see deprecated
7828         functions in the headers; people that want to compile out
7829         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7830         CFLAGS. Fixes the build of multifdsink, or will soon..
7831
7832 2006-08-11  Wim Taymans  <wim@fluendo.com>
7833
7834         * docs/gst/gstreamer-sections.txt:
7835         Add GstClockClass vmethod docs.
7836
7837         * gst/gstcaps.h:
7838         Mark #endif with comment for associated #if
7839
7840         * gst/gstclock.c: (gst_clock_id_wait):
7841         * gst/gstclock.h:
7842         Add vmethod wait_jitter to avoid an unneeded _get_time() for
7843         most clock implementations.
7844         Document vmethods.
7845         Flesh out docs about resolution methods.
7846         API: GstClockClass::wait_jitter
7847
7848         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7849         (gst_system_clock_async_thread),
7850         (gst_system_clock_id_wait_jitter_unlocked),
7851         (gst_system_clock_id_wait_jitter):
7852         Use base class wait_jitter variant for improved performance
7853         due to less clock polling.
7854
7855 2006-08-11  Edward Hervey  <edward@fluendo.com>
7856
7857         * gst/gst.c: (gst_init_check), (init_post):
7858         Set gst as being initialized before scanning/updating the registry,
7859         since there might be my python plugin loader that calls gst_init() and
7860         we don't want to loop back in.
7861         Closes #350879
7862
7863 2006-08-11  Wim Taymans  <wim@fluendo.com>
7864
7865         * docs/design/part-qos.txt:
7866         Bring docs in line with the code. Mostly the sign of the jitter was
7867         wrong in the docs. Fixes #349943.
7868
7869         * gst/gstclock.c:
7870         Fix the docs for the jitter.
7871
7872         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7873         (gst_event_parse_tag), (gst_event_new_buffer_size),
7874         (gst_event_parse_buffer_size), (gst_event_parse_qos),
7875         (gst_event_new_seek), (gst_event_parse_seek),
7876         (gst_event_new_navigation):
7877         Make sure the GstStructure has no parent when creating custom
7878         events.
7879         Add some more argument checking so that we avoid 0.0 rates.
7880         Flesh out the docs for the QoS event some more.
7881
7882 2006-08-11  Wim Taymans  <wim@fluendo.com>
7883
7884         * docs/gst/gstreamer-sections.txt:
7885         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7886         (ensure_current_registry_forking), (ensure_current_registry),
7887         (parse_one_option), (parse_goption_arg), (gst_deinit),
7888         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7889         * gst/gst.h:
7890         Doc updates.
7891         Added API and command line option to disable registry forking in
7892         addition to the environment variable.
7893         Constify some static arrays.
7894         Added some more debug.
7895         Don't deinit twice.
7896         API: gst_registry_fork_is_enabled()
7897         API: gst_registry_fork_set_enabled()
7898         API: --gst-disable-registry-fork command line option
7899         Fixes #348918.
7900
7901 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
7902
7903         * gst/gst.c: (gst_init):
7904           Fix typo in error message.
7905
7906 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7907
7908         * libs/gst/controller/gstcontroller.h:
7909           fix ABI size-correction
7910
7911         * tests/check/libs/gdp.c: (gst_dp_suite):
7912           make tests that use deprecated API conditional
7913
7914 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7915
7916         * docs/libs/gstreamer-libs-sections.txt:
7917         * libs/gst/controller/gstcontroller.c:
7918         (_gst_controller_get_property), (_gst_controller_set_property),
7919         (_gst_controller_init), (_gst_controller_class_init):
7920         * libs/gst/controller/gstcontroller.h:
7921         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7922         (gst_object_set_control_rate):
7923           API: add gst_object_{s,g}et_control_rate(), add private data section,
7924           fix docs
7925
7926         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7927         * libs/gst/dataprotocol/dataprotocol.h:
7928           add deprecation guards to make gtk-doc happy and allow disabling cruft
7929
7930 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7931
7932         * tests/check/Makefile.am:
7933         * tests/check/gst/.cvsignore:
7934           Let's enable the new unit test as well.
7935
7936 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7937
7938         * configure.ac:
7939         * docs/gst/gstreamer-sections.txt:
7940         * gst/gstconfig.h.in:
7941         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7942         (_gst_info_printf_extension_ptr),
7943         (_gst_info_printf_extension_segment):
7944           API: add GST_SEGMENT_FORMAT, which is a printf extension we
7945           register that lets us easily dump GstSegments into debug
7946           logs (#350419).
7947
7948         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7949         (info_segment_format_printf_extension), (gst_info_suite):
7950           Add simple unit test that logs a bunch of different segments (not
7951           valgrinded at the moment because of leaks in
7952           gst_debug_add_log_function).
7953
7954 2006-08-09  Edward Hervey  <edward@fluendo.com>
7955
7956         * libs/gst/base/gstbasetransform.c:
7957         (gst_base_transform_buffer_alloc):
7958         Even if we can't figure out the proper format to request downstream,
7959         call buffer_alloc() downstream with the input parameters without setting
7960         the caps on the srcpad. This will force negotiation in the chain
7961         function.
7962         Closes #350449
7963
7964 2006-08-08  Edward Hervey  <edward@fluendo.com>
7965
7966         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7967         Unlinking from a pad without a target is now a perfectly valid case
7968         which should NOT raise an assertion.
7969         This case would happen if a linked ghostpad its target set to NULL after
7970         it was previously linked.
7971
7972 2006-08-08  Edward Hervey  <edward@fluendo.com>
7973
7974         * tests/check/libs/gdp.c:
7975         Also comment out the test (see below).
7976
7977 2006-08-08  Edward Hervey  <edward@fluendo.com>
7978
7979         * tests/check/libs/gdp.c: (gst_dp_suite):
7980         Use the architecture information from config.h and not gcc macros
7981         in order to properly disable a test that fails on PPC64.
7982
7983 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
7984
7985         * gst/gstelement.c: (gst_element_remove_pad):
7986           Don't crash printing the warning if the pad has no parent.
7987
7988 2006-08-02  Wim Taymans  <wim@fluendo.com>
7989
7990         * libs/gst/dataprotocol/dataprotocol.c:
7991         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7992         (gst_dp_crc), (gst_dp_header_payload_length),
7993         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7994         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7995         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7996         (gst_dp_event_from_packet), (gst_dp_validate_header),
7997         (gst_dp_validate_payload):
7998         Make debug category static
7999         Constify the crc table.
8000         Do some more arg checking in public functions.
8001         Fix some docs and do some small cleanups.
8002
8003         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
8004         Add some more checks to see if GDP deals with bogus input.
8005
8006 2006-07-31  Wim Taymans  <wim@fluendo.com>
8007
8008         * gst/gstvalue.c: (gst_value_compare_list):
8009         Fix GstValueList comparison code. Fixes #347293.
8010
8011         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8012         Check to test GstValueList comparison.
8013
8014 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
8015
8016         * gst/gstelementfactory.c: (gst_element_factory_create):
8017         Remove unnecessary ref/unref pair
8018
8019         * gst/parse/grammar.y:
8020         Make sure to free the parse buffer on all code paths.
8021         Move a g_free up to the error handler where it's easier to see.
8022
8023         * tests/check/gst/gstevent.c: (test_event):
8024         Extending timeout for downstream travelling events to 10 seconds to
8025         hopefully avoid intermittent failure on the buildbots.
8026
8027         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
8028         Don't manually set the state of the src element - it will happen as a
8029         natural consequence of the pipeline changing state, and that way it
8030         will do it in the right order too.
8031
8032 2006-07-31  Wim Taymans  <wim@fluendo.com>
8033
8034         * libs/gst/base/gstbasetransform.c:
8035         (gst_base_transform_buffer_alloc):
8036         Use OBJECT_LOCK and refcounting to get the pad caps in the
8037         buffer_alloc function because the caps could change while we are
8038         busy with them. Fixes #349105
8039
8040 2006-07-31  Wim Taymans  <wim@fluendo.com>
8041
8042         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
8043         Protect _PAD_CAPS with OBJECT_LOCK.
8044
8045 2006-07-31  Wim Taymans  <wim@fluendo.com>
8046
8047         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
8048         (gst_pad_get_property), (gst_pad_activate_pull),
8049         (gst_pad_activate_push), (gst_pad_set_blocked_async),
8050         (gst_pad_set_activate_function),
8051         (gst_pad_set_activatepull_function),
8052         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
8053         (gst_pad_set_getrange_function),
8054         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
8055         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8056         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
8057         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
8058         (gst_pad_set_acceptcaps_function),
8059         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
8060         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
8061         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
8062         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
8063         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
8064         (gst_pad_configure_sink), (gst_pad_configure_src),
8065         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
8066         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
8067         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
8068         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
8069         (gst_pad_send_event):
8070         Use _DEBUG_OBJECT when it makes sense.
8071         Protect GST_PAD_CAPS with the OBJECT_LOCK.
8072         Small cleanups and code reflows.
8073         Avoid caps refcounting in _accept_caps.
8074         Refactor alloc_buffer so that the code performed on the peer is in a
8075         separate function. Also if the pad does not implement a buffer alloc
8076         function, we should still check if the pad is flushing before falling
8077         back to the default allocator.
8078
8079 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
8080
8081         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8082         Make all uses of identity and fakesink have silent=true to avoid
8083         serialising every passing data structure, which is breaking tests
8084         on FC4 for some unknown reason.
8085
8086 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
8087
8088         * gst/parse/Makefile.am:
8089         * gst/parse/grammar.y:
8090         * gst/parse/parse.l:
8091           Reverted previous patch as it required to bump the flex dependency to
8092           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
8093
8094 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
8095
8096         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
8097
8098         * gst/parse/Makefile.am:
8099         * gst/parse/grammar.y:
8100         * gst/parse/parse.l:
8101           push & pop the state of the lexer for reentrant use case
8102           Fixes #349180
8103
8104 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
8105
8106         * libs/gst/base/gstbasesrc.h:
8107           Note in the docs that the ::newsegment vfunc is not actually used by
8108           GstBaseSrc.
8109
8110 2006-07-28  Wim Taymans  <wim@fluendo.com>
8111
8112         * libs/gst/base/gstcollectpads.c:
8113         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
8114         (gst_collect_pads_clear), (gst_collect_pads_flush),
8115         (gst_collect_pads_event), (gst_collect_pads_chain):
8116         When flushing a pad, also clear the queued buffer so that we don't
8117         accidentally use it when we shouldn't.
8118         Fix leaks by inreffing incomming buffer.
8119         Flush out queued buffers in case of errors.
8120         Fixes #347452.
8121
8122 2006-07-28  Wim Taymans  <wim@fluendo.com>
8123
8124         * docs/random/phonon-gst:
8125         Random notes about a Phonon backend.
8126
8127 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
8128
8129         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8130         Extra debug output
8131         * tests/check/libs/gdp.c: (gst_dp_suite):
8132         Take a whack at fixing the ppc compile using a different define to
8133         disable the broken test.
8134
8135         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8136         Remove excess g_print()
8137
8138 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
8139
8140         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8141         Oops, meant to uncomment this line too to dampen the noise a bit.
8142
8143 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
8144
8145         * gst/parse/grammar.y:
8146         * gst/parse/parse.l:
8147         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8148         (GST_START_TEST), (parse_suite):
8149         Fix some of the leaks exposed by extending the parse-launch testsuite,
8150         and move the 3 I can't figure out into a separate test that won't run
8151         the pipelines unless the appropriate line is uncommented.
8152
8153 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
8154
8155         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8156           Requesting 0 bytes before the end of the file should result in
8157           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
8158           unit test.
8159
8160 2006-07-27  Wim Taymans  <wim@fluendo.com>
8161
8162         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
8163         Fix useless assert, a uint is always positive.
8164
8165         * gst/gststructure.c: (gst_structure_nth_field_name),
8166         (gst_structure_foreach), (gst_structure_map_in_place):
8167         Check input arguments for public functions to avoid obvious crashes.
8168
8169         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
8170         * plugins/elements/gstfakesink.h:
8171         Do less useless typechecking.
8172
8173 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
8174
8175         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8176           Do not use mmap() by default since there are a number of error
8177           conditions that we would like to handle in a non-fatal way that
8178           will result in a SIGBUS if we use mmap(). Examples: external
8179           devices (USB harddrive, portable music player) being unplugged
8180           while in use; file on mounted CD/DVD that can't be read because
8181           the medium is partly damaged. Fixes #348455 and #348475.
8182
8183 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
8184
8185         * gst/gstquery.h:
8186         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
8187         rates are a gdouble
8188
8189 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
8190
8191         * gst/gstregistry.c:
8192           Move big documentation comment into class section header, so that it
8193           appears in the API docs.
8194
8195 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
8196
8197         * docs/gst/gstreamer-sections.txt:
8198         Oops. Commit the docs additions too for new API.
8199         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
8200
8201 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
8202
8203         * gst/gststructure.c: (gst_structure_id_set),
8204         (gst_structure_id_set_valist):
8205         * gst/gststructure.h:
8206         Add API for setting values into structures without performing
8207         a quark lookup, if the appropriate quark is already known.
8208
8209         API: gst_structure_id_set
8210         API: gst_structure_id_set_valist
8211
8212         * gst/parse/grammar.y:
8213         * gst/parse/parse.l:
8214         Remove some dead code shown by the coverage information.
8215         Don't throw a critical g_warning when encountering a syntax error,
8216         just warn and let the normal error path handle it.
8217
8218         * plugins/elements/gstelements.c:
8219         Bump the rank of filesink up to PRIMARY so that it is preferred over
8220         gnomevfssink for file:// sink uri's
8221
8222         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8223         (GST_START_TEST), (run_delayed_test),
8224         (gst_parse_test_element_base_init),
8225         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
8226         (gst_parse_test_element_change_state),
8227         (gst_register_parse_element), (parse_suite):
8228         Beef up the tests for parse syntax to check that more error cases
8229         fail as they are supposed to. Increases the test coverage a bit.
8230
8231 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
8232
8233         * docs/manual/basics-elements.xml:
8234           Fix gst_element_link() example.
8235
8236         * gst/gstutils.c:
8237           Mention in API docs that one should usually gst_bin_add()
8238           elements to a bin or pipeline before doing the linking.
8239           
8240 2006-07-26  Wim Taymans  <wim@fluendo.com>
8241
8242         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
8243         (gst_subbuffer_get_type), (gst_buffer_create_sub):
8244         Avoid function call for known types by keeping the buffer and
8245         subbuffer GType global.
8246
8247         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8248         Random silly optimisations in read() path.
8249
8250 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
8251
8252         * tools/gst-launch.c: (main):
8253           If the top-level of the parse is a normal bin, it doesn't do the
8254           right logic to run as a top-level element, so place it inside a
8255           pipeline.
8256
8257 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
8258
8259         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
8260           Remove superfluous g_object_notify() calls, GObject does
8261           that for us automatically.
8262
8263 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
8264
8265         * gst/gstinfo.h:
8266           on Win32, use dllspec to export the debug category symbols
8267
8268 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
8269
8270         * gst/gsttaglist.c: (_gst_tag_initialize):
8271           Allow more than one GST_TAG_IMAGE per taglist.
8272
8273 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8274
8275         * gst/gstminiobject.c:
8276           update docs
8277         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
8278         (gst_fd_src_create):
8279           log recurring events at LOG level
8280           add more debug for when the fd gets set
8281
8282 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
8283
8284         * gst/gstparse.c: (gst_parse_launch):
8285           Also remove reentrance checks if flex is MT safe (#348179)
8286          Fix my empty ChangeLog entry below
8287
8288 2006-07-21  Andy Wingo  <wingo@pobox.com>
8289
8290         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
8291
8292         * libs/gst/check/Makefile.am
8293         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
8294         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
8295         * libs/gst/check/gstbufferstraw.h:
8296         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
8297         functions, thus proving I am still a GStreamer haxor. OK I wrote
8298         them a long time ago, but anyways.
8299
8300 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
8301
8302         * configure.ac:
8303         * gst/gstparse.c: (gst_parse_launch):
8304           Check for flex version and omit mutex if we have a MT save flex
8305           (fixes #348179)
8306
8307 2006-07-21  Wim Taymans  <wim@fluendo.com>
8308
8309         * gst/gstparse.c: (gst_parse_launch):
8310         Protect recursive calls to _parse with a recursive mutex
8311         and busy flag.
8312
8313 2006-07-21  Wim Taymans  <wim@fluendo.com>
8314
8315         * tests/check/gst/gstpad.c: (GST_START_TEST):
8316         Fix leak in test.
8317
8318 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
8319
8320         * gst/gstparse.c: (gst_parse_launch):
8321           Do not hang on recursive usage of gst_parse_launch()
8322
8323 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8324
8325         * gst/gsttaglist.c:
8326           Add some more docs, comments and FIXME 0.11s here and there
8327           and also fix some typos.
8328
8329 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8330
8331         * gst/gstsegment.h:
8332           Convert tabs to spaces for better readability. 
8333
8334 2006-07-20  Edward Hervey  <edward@fluendo.com>
8335
8336         * tests/check/libs/gdp.c: (gst_dp_suite):
8337         the test_buffer test fails at line 140 on ppc64 at the following
8338         check:
8339         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8340                 GST_BUFFER_FLAG_IN_CAPS),
8341                 "GST_BUFFER_IN_CAPS flag should have been copied !");
8342         See bug #348114 for more details.
8343
8344 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
8345
8346         * docs/pwg/advanced-scheduling.xml:
8347         * gst/gstpad.c:
8348           Fix typos (#348000).
8349
8350 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
8351
8352         * docs/pwg/intro-basics.xml:
8353           Fix wrong links (#347927).
8354
8355 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
8356
8357         * gst/gstregistry.h:
8358         * gst/gstregistryxml.c: (load_feature),
8359         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8360         * win32/common/config.h:
8361           make --disable-index work (#342564)
8362
8363 2006-07-18  Wim Taymans  <wim@fluendo.com>
8364
8365         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8366
8367         * gst/Makefile.am:
8368         * gst/gsttrace.h:
8369         The attached patch adds two missing defines to gsttrace.h when tracing
8370         is disabled.  It also corrects one existing define.
8371         Fixes #347756.
8372
8373 2006-07-17  Wim Taymans  <wim@fluendo.com>
8374
8375         * docs/gst/gstreamer-sections.txt:
8376         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8377         * gst/gst.h:
8378         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8379         Add two functions to check and change the SIGSEGV behaviour
8380         when loading plugins.
8381         Don't mess with the SIGSEGV handler when we were told not to.
8382         Fixes #347794.
8383         API: gst_segtrap_is_enabled
8384         API: gst_segtrap_set_enabled
8385
8386 2006-07-14  Wim Taymans  <wim@fluendo.com>
8387
8388         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8389         * tests/check/elements/filesrc.c: (GST_START_TEST):
8390         Revert fix for regression in #347408 after release.
8391
8392 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
8393
8394         Patch by: Antoine Tremblay <hexa00 at gmail com>
8395
8396         * gst/gstutils.c: (gst_element_unlink):
8397           Free iterator when done (#347311).
8398
8399         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8400           And add a test case for this.
8401
8402 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
8403
8404         * configure.ac:
8405         Bump nano back to CVS
8406
8407 === release 0.10.9 ===
8408
8409 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
8410
8411         * configure.ac:
8412           releasing 0.10.9, "On the road again"
8413
8414 2006-07-13  Wim Taymans  <wim@fluendo.com>
8415
8416         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8417         * tests/check/elements/filesrc.c: (GST_START_TEST):
8418         Revert pull-0 fix for release. Disable check. Fixes #347408.
8419
8420 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8421
8422         * libs/gst/dataprotocol/dataprotocol.c:
8423         (gst_dp_event_from_packet_1_0):
8424           Fixes #347337: failure to deserialize event packets with
8425           empty payload (only event type)
8426
8427 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8428
8429         * gst/Makefile.am:
8430           do not install a .c file in the header directory
8431
8432 2006-07-13  Edward Hervey  <edward@fluendo.com>
8433
8434         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8435         GhostPad no longer implicitely use the padtemplates of the targets.
8436         Fixes #347384
8437
8438 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
8439
8440         * gst/gstvalue.c: (gst_value_compare_list),
8441         (gst_value_compare_array), (_gst_value_initialize):
8442         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8443         Make GstValueArray comparison be order dependent as designed.
8444         Add checks for value lists and value array comparisons.
8445         Fixes #347221
8446
8447 2006-07-11  Edward Hervey  <edward@fluendo.com>
8448
8449         * gst/gstbin.c: (activate_pads),
8450         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8451         (gst_bin_change_state_func):
8452         (de)activate src pads before calling state_change on the childs.
8453         This is to avoid the case where a src ghostpad is blocked (holding the
8454         stream lock), which would block the deactivation of the ghostpad's
8455         target pad.
8456         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8457         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8458         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8459         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8460         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8461         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8462         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8463         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8464         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8465         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8466         (gst_ghost_pad_class_init),
8467         (gst_ghost_pad_internal_do_activate_push),
8468         (gst_ghost_pad_internal_do_activate_pull),
8469         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8470         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8471         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8472         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8473         GhostPads now create their internal GstProxyPad at creation (and not
8474         when they're linked, as it was being done previously).
8475         The internal and target pads are linked straight away.
8476         The data will also travel through the other pad in order to make
8477         pad blocking and probes non-hackish (the probe/block now really happens
8478         on the GhostPad and not on the target).
8479         * gst/gstpad.c: (gst_pad_set_blocked_async),
8480         (gst_pad_link_prepare), (gst_pad_push_event):
8481         Remove previous ghostpad cruft.
8482         * gst/gstutils.c: (gst_pad_add_data_probe),
8483         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8484         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8485         (gst_pad_remove_buffer_probe):
8486         Remove previous ghost pad cruft.
8487         Added more detailed debug statements.
8488         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8489         Fix the testsuite for refcounting changes.
8490         The comments about who has references were correct, but the refcount
8491         being checked wasn't the same (!?!).
8492
8493         Fixes #341029
8494
8495 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8496
8497         * docs/gst/gstreamer-sections.txt:
8498         * gst/gstconfig.h.in:
8499         More docs for configuration options, add docs to gtk-doc.
8500
8501 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8502
8503         * gst/Makefile.am:
8504         * gst/gstconfig.h.in:
8505         * win32/common/config.h:
8506         Fix build when disabling tracing (fixes #344016). Also start to document
8507         the defines that disable the sub-systems.
8508
8509 2006-07-10  Edward Hervey  <edward@fluendo.com>
8510
8511         * gst/gst.c: (ensure_current_registry_forking):
8512         let's make valgrind happy...
8513
8514 2006-07-09  Wim Taymans  <wim@fluendo.com>
8515
8516         * gst/gstelement.c: (activate_pads),
8517         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8518         Better pad activation code: Reset the collect value too on resync.
8519         Add some comments.
8520
8521 2006-07-09  Wim Taymans  <wim@fluendo.com>
8522
8523         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8524         (gst_pad_activate_push):
8525         Use some more macros where it makes sense.
8526         Allow pad mode switching instead of asserting. When a pad
8527         is activated in one mode and we activate it in another, 
8528         deactivate it first before activating it in a different mode.
8529         Fixes #329198.
8530
8531 2006-07-08  Andy Wingo  <wingo@pobox.com>
8532
8533         * tools/gst-launch.c (main): Handle err == NULL.
8534
8535         * gst/gst.c (init_post, ensure_current_registry)
8536         (ensure_current_registry_forking)
8537         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8538         factoring out the registry scanning into separate functions. Don't
8539         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8540         Better environment var name/interface suggestions accepted.
8541
8542 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8543
8544         * gst/gstobject.c: (gst_object_set_name_default),
8545         (gst_object_set_name):
8546           Random micro-optimisation: don't use a hash table
8547           with strings as keys and the usual strdup/strcmp
8548           involved, but rather just use the GQuark of the
8549           type name as key, since it needs to be looked up
8550           anyway to get the type name string.
8551
8552         * tests/check/gst/gstobject.c: (GST_START_TEST):
8553           Fix various leaks.
8554
8555 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8556
8557         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8558         (gst_bin_iterate_all_by_interface):
8559           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8560           GTypes are gulongs and thus the top 4 bytes might be cut
8561           off on some platforms when doing GPOINTER_TO_INT, leading
8562           to invalid GTypes and bad things happening (see RH bug #179654).
8563           Also add a check to make sure the type passed in is really
8564           an interface type.
8565
8566 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8567
8568         * .cvsignore:
8569           Ignore more.
8570
8571 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8572
8573         * Makefile.am:
8574         * configure.ac:
8575         * gst-element-check.m4:
8576         * gst-element-check.m4.in:
8577           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8578           instead of the unversioned gst-inspect (#324176, #168659).
8579
8580 2006-07-06  Wim Taymans  <wim@fluendo.com>
8581
8582         * gst/gstmessage.h:
8583         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8584         warnings.
8585
8586 2006-07-06  Wim Taymans  <wim@fluendo.com>
8587
8588         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8589         (gst_base_src_wait), (gst_base_src_update_length),
8590         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8591         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8592         (gst_base_src_loop), (gst_base_src_start),
8593         (gst_base_src_activate_pull):
8594         Update docs.
8595         blocksize == 0 now means the default blocksize when working in push
8596         based mode.
8597         Remove some pointless asserts in _wait function.
8598         Fix offset/length calculations and EOS handling. We can now pull 0
8599         bytes as well, which is allowed.
8600         use _check_get_range() to decide if we can operate in _pull based
8601         mode.
8602         Fix refcounting leak when check_get_range function was not 
8603         implemented.
8604         API GstBaseSrc::blocksize range can be 0 too now (default)
8605
8606         * tests/check/elements/filesrc.c: (GST_START_TEST),
8607         (filesrc_suite):
8608         Added check to test _get_range() behaviour.
8609
8610 2006-07-06  Wim Taymans  <wim@fluendo.com>
8611
8612         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8613         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8614         (gst_pad_pull_range):
8615         * gst/gstpad.h:
8616         Lots of comments and docs added to the pad functions.
8617         Flesh out the expected behaviour of the get_range() functions.
8618
8619 2006-07-06  Wim Taymans  <wim@fluendo.com>
8620
8621         * gst/gstbus.h:
8622         * gst/gstclock.h:
8623         * gst/gstevent.h:
8624         * gst/gstiterator.h:
8625         * gst/gstpad.h:
8626         * gst/gstplugin.h:
8627         * gst/gsttask.h:
8628         Remove comma at end of enumerator list. 
8629
8630 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
8631
8632         * win32/common/libgstbase.def:
8633         * win32/common/libgstdataprotocol.def:
8634         * win32/common/libsgtreamer.def:
8635         Add new exported functions.
8636
8637 2006-07-05  Wim Taymans  <wim@fluendo.com>
8638
8639         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8640         Add some more docs here and there.
8641
8642 2006-07-05  Wim Taymans  <wim@fluendo.com>
8643
8644         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8645         (gst_base_sink_loop), (gst_base_sink_get_position):
8646         When operating in pull mode update the offset so that we
8647         read sequentially.
8648
8649 2006-07-05  Wim Taymans  <wim@fluendo.com>
8650
8651         * gst/gstregistryxml.c: (read_string):
8652         Avoid strdup. (will happen in libxml, but hey!)
8653
8654         * gst/gsturi.c:
8655         Add some more docs.
8656
8657 2006-07-05  Wim Taymans  <wim@fluendo.com>
8658
8659         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8660         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8661         (gst_buffer_suite):
8662         No point in checking if the size of the subbuffer > 0, the
8663         code handles it correclty as demonstrated by unit test.
8664         Also add a unit test for the zero sized _new_and_alloc and
8665         _copy. Fixes #346663.
8666
8667 2006-07-05  Wim Taymans  <wim@fluendo.com>
8668
8669         * libs/gst/base/gstbasetransform.c:
8670         (gst_base_transform_prepare_output_buffer),
8671         (gst_base_transform_buffer_alloc),
8672         (gst_base_transform_handle_buffer):
8673         Make sure the buffer we pass to transform_ip has a refcount of
8674         1 and thus is writable. Fixes #343196
8675
8676 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
8677
8678         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8679         (gst_file_src_init), (gst_file_src_set_property),
8680         (gst_file_src_get_property), (gst_file_src_map_region):
8681         * plugins/elements/gstfilesrc.h:
8682         Add "sequential" property, off by default, to use madvise and hint
8683         to the kernel that sequential access is desired.
8684         Touch all retrieved pages by default to ensure they are pulled
8685         into memory. (Closes #345720)
8686
8687 2006-07-03  Wim Taymans  <wim@fluendo.com>
8688
8689         * docs/design/part-block.txt:
8690         * docs/design/part-dynamic.txt:
8691         Small docs updates.
8692
8693 2006-07-03  Wim Taymans  <wim@fluendo.com>
8694
8695         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8696         (gst_caps_unref), (gst_static_caps_get),
8697         (gst_caps_append_structure):
8698         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8699         Use GSlice when the glib we build against is >= 2.10
8700
8701 2006-07-03  Wim Taymans  <wim@fluendo.com>
8702
8703         * gst/gstelement.c: (gst_element_pads_activate):
8704         Small cleanup in pad activation code.
8705
8706 2006-07-03  Wim Taymans  <wim@fluendo.com>
8707
8708         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8709
8710         * gst/gst-i18n-app.h:
8711         * gst/gst-i18n-lib.h:
8712         * tools/gst-inspect.c: (print_signal_info):
8713         The attached patch will make the inclusion of gettext.h unconditional in
8714         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8715         libintl.h in tools/gst-inspect.c.
8716         This allows use of --disable-nls again and fixes #344642.
8717
8718 2006-07-03  Edward Hervey  <edward@fluendo.com>
8719
8720         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8721         Implement pad blocking on events according to part-block.txt.
8722         More comments on behaviour.
8723         * tests/check/gst/gstevent.c: (test_event):
8724         Send event to peer pad of blocked pad (else it will block).
8725
8726 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8727
8728         * libs/gst/check/gstcheck.c: (gst_check_message_error),
8729         (gst_check_run_suite):
8730           if we get the wrong message, give us the types as string
8731         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8732           Fix a translatable
8733         * tests/check/elements/filesrc.c: (GST_START_TEST):
8734           add a test for trying to open a non-existing file
8735
8736 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8737
8738         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8739           add a test for adding self
8740
8741 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8742
8743         * libs/gst/check/gstcheck.h:
8744           add some assert_ as alias for fail_unless_*
8745         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8746           increase test coverage
8747
8748 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8749
8750         * Makefile.am:
8751           include lcov.mak for lcov coverage generation
8752         * tools/Makefile.am:
8753           add to CLEANFILES
8754
8755 2006-07-02  Edward Hervey  <edward@fluendo.com>
8756
8757         * tests/check/elements/.cvsignore:
8758         moaping
8759
8760 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8761
8762         * configure.ac:
8763           don't set CFLAGS and friends for gcov, done from GST_GCOV now
8764         * tests/check/Makefile.am:
8765           clean up gcov files
8766
8767 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8768
8769         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8770           remove gst_caps_simplify; it was not declared and not used
8771           and deprecated in 0.8
8772
8773 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8774
8775         * docs/faq/gst-uninstalled:
8776           don't put empty paths on PYTHONPATH
8777         * docs/gst/gstreamer-sections.txt:
8778           remove some symbols that are not there
8779
8780 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8781
8782         * gst/gstcaps.c: (gst_caps_compare_structures):
8783           whitespace fixes
8784         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8785         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8786           add more tests
8787
8788 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8789
8790         * libs/gst/dataprotocol/Makefile.am:
8791           build dataprotocol test by linking to the lib, instead of
8792           compiling the source, so we get coverage
8793         * tests/check/Makefile.am:
8794         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8795         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8796           add a test for filesrc
8797
8798 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8799
8800         * tests/check/gst/gststructure.c: (GST_START_TEST),
8801         (gst_structure_suite):
8802           Push coverage from 59.04% to 70.00%
8803
8804 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8805
8806         * tests/check/Makefile.am:
8807           gst-inspect every element; this makes sure that we also get
8808           coverage on element's get/set functions
8809
8810 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8811
8812         * configure.ac:
8813           set CFLAGS and friends to -O0 if gcov is being used
8814           add GCOV LIBS
8815         * gst/Makefile.am:
8816         * libs/gst/base/Makefile.am:
8817         * libs/gst/check/Makefile.am:
8818         * libs/gst/controller/Makefile.am:
8819         * libs/gst/dataprotocol/Makefile.am:
8820         * libs/gst/net/Makefile.am:
8821         * plugins/elements/Makefile.am:
8822         * plugins/indexers/Makefile.am:
8823           add makefile rules to generate gcov data and clean up
8824         * tests/check/Makefile.am:
8825           add a coverage target that generates an html overview
8826           of coverage data
8827
8828 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8829
8830         * tests/check/elements/fakesink.c:
8831         * tests/check/elements/fakesrc.c:
8832         * tests/check/elements/fdsrc.c:
8833         * tests/check/elements/identity.c:
8834         * tests/check/generic/sinks.c: (gst_sinks_suite):
8835         * tests/check/generic/states.c:
8836         * tests/check/gst/gst.c:
8837         * tests/check/gst/gstabi.c:
8838         * tests/check/gst/gstbin.c:
8839         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8840         * tests/check/gst/gstbus.c: (gst_bus_suite):
8841         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8842         * tests/check/gst/gstelement.c:
8843         * tests/check/gst/gstevent.c: (gst_event_suite):
8844         * tests/check/gst/gstghostpad.c:
8845         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8846         * tests/check/gst/gstmessage.c: (gst_message_suite):
8847         * tests/check/gst/gstminiobject.c:
8848         * tests/check/gst/gstobject.c:
8849         * tests/check/gst/gstpad.c:
8850         * tests/check/gst/gstpipeline.c:
8851         * tests/check/gst/gstplugin.c:
8852         * tests/check/gst/gstquery.c: (gst_query_suite):
8853         * tests/check/gst/gstsegment.c: (gst_segment_suite):
8854         * tests/check/gst/gststructure.c:
8855         * tests/check/gst/gstsystemclock.c:
8856         * tests/check/gst/gsttag.c:
8857         * tests/check/gst/gsttask.c: (gst_task_suite):
8858         * tests/check/gst/gstutils.c:
8859         * tests/check/gst/gstvalue.c:
8860         * tests/check/libs/adapter.c:
8861         * tests/check/libs/basesrc.c:
8862         * tests/check/libs/collectpads.c:
8863         * tests/check/libs/controller.c:
8864         * tests/check/libs/gdp.c: (gst_dp_suite):
8865         * tests/check/libs/gstnetclientclock.c:
8866         * tests/check/libs/gstnettimeprovider.c:
8867         * tests/check/libs/libsabi.c: (libsabi_suite):
8868         * tests/check/libs/typefindhelper.c:
8869         * tests/check/pipelines/cleanup.c:
8870         * tests/check/pipelines/parse-launch.c:
8871         * tests/check/pipelines/simple-launch-lines.c:
8872         * tests/check/pipelines/stress.c: (stress_suite):
8873           use the new macro
8874
8875 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8876
8877         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8878         * libs/gst/check/gstcheck.h:
8879           create a macro and function so that the simple unit test
8880           case can be just one macro to create main()
8881
8882 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
8883
8884         * gst/gstbin.c: (gst_bin_restore_thyself):
8885         * gst/gstxml.c: (gst_xml_make_element):
8886           Fix deserialisation from XML. Set parent manually
8887           instead of using gst_bin_add(), since gst_bin_add()
8888           will unlink all pads of the element being added.
8889           Fixes #341667.
8890
8891 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
8892
8893         Patch by: Peter Kjellerstedt <pkj at axis com>
8894
8895         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8896           Fix missing g_strdup() and double free when using the
8897           --gst-plugin-load command line option (#346097).
8898
8899 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8900
8901         * gst/gstinfo.c:
8902           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8903
8904         * libs/gst/net/gstnetclientclock.c:
8905         * libs/gst/net/gstnettimeprovider.c:
8906           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8907
8908 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8909
8910         * docs/manual/advanced-dataaccess.xml:
8911           Fix buffer probe example compilation in
8912           ADM (#345708).
8913         
8914 2006-06-22  Edward Hervey  <edward@fluendo.com>
8915
8916         * gst/gstelement.c: (gst_element_pads_activate):
8917         We need to deactivate src pads first and then sink pads.
8918         The reason is the src pads might be blocking while holding the streaming
8919         lock, so we need to deactivate them first so that deactivating the sink
8920         pads doesn't block (since it will require the streaming lock).
8921
8922 2006-06-22  Wim Taymans  <wim@fluendo.com>
8923
8924         * libs/gst/base/gstbasetransform.c:
8925         (gst_base_transform_buffer_alloc):
8926         Forgot to remove two unneeded unrefs.
8927         Simplify a check _is_equal allready checks the obvious case.
8928
8929 2006-06-22  Wim Taymans  <wim@fluendo.com>
8930
8931         * docs/design/part-block.txt:
8932         Some docs about what pad_block should do.
8933
8934 2006-06-22  Wim Taymans  <wim@fluendo.com>
8935
8936         * gst/gstcaps.c: (gst_caps_replace):
8937         Fix crasher when passed NULL. Doc clarification.
8938         Optimize for the trivial case.
8939
8940         * gst/gstpipeline.c: (gst_pipeline_change_state):
8941         Small cleanups.
8942
8943         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8944         Small documentation cleanup.
8945
8946         * libs/gst/base/gstbasetransform.c:
8947         (gst_base_transform_buffer_alloc):
8948         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8949         is what we need and it avoids a whole lot of redundant 
8950         refcount operations.
8951
8952 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
8953
8954         Patch by: Philip Jägenstedt  <philip at lysator liu se>
8955
8956         * docs/manual/advanced-dataaccess.xml:
8957           Fix 'Embedding static elements' section to use
8958           GST_PLUGIN_DEFINE_STATIC (#345607).
8959
8960 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8961
8962         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8963           Attempt to 'fix' spuriously failing test case: it seems like the
8964           timeout of half a second is simply too small when the system is under
8965           load otherwise, and the timeout doesn't really seem to serve any
8966           particular purpose here. Give the pipeline a few seconds to preroll
8967           first, and then give it another half a second to go from PAUSED to
8968           PLAYING and marshal the message into the main thread.
8969
8970 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8971
8972         * tools/gst-feedback-m.m:
8973           Don't only use unversioned tools, try versioned tools as well
8974           (#345086).
8975
8976 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8977
8978         * gst/gstbus.c: (gst_bus_class_init):
8979           Fix some typos, make docs more explicit.
8980
8981 2006-06-20  Wim Taymans  <wim@fluendo.com>
8982
8983         * tests/check/gst/gstghostpad.c: (block_callback),
8984         (GST_START_TEST), (gst_ghost_pad_suite):
8985         Added some more ghostpad tests, mainly blocking
8986         and probes.
8987
8988 2006-06-16  Wim Taymans  <wim@fluendo.com>
8989
8990         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8991         (gst_file_sink_close_file), (gst_file_sink_do_seek),
8992         (gst_file_sink_event), (gst_file_sink_render):
8993         * plugins/elements/gstfilesink.h:
8994         Check if we can seek in the file instead of assuming
8995         we always can. Post an error when we are asked to seek in a
8996         non-seekable file (like a fifo). Fixes #343312.
8997         Some cleanups.
8998
8999 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
9000
9001         * tools/gst-launch.1.in:
9002           Un-garble (fourcc) bit in filtered caps section.
9003
9004 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
9005
9006         * docs/manual/advanced-autoplugging.xml:
9007         * docs/manual/basics-helloworld.xml:
9008         * docs/manual/highlevel-components.xml:
9009           Don't leak bus reference in sample code.
9010
9011 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
9012
9013         * autogen.sh:
9014           Add default for new --enable-plugin-docs switch.
9015
9016         * configure.ac:
9017           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
9018           Fixes #344039.
9019
9020         * docs/Makefile.am:
9021           Use new ENABLE_PLUGIN_DOCS conditional.
9022
9023 2006-06-14  Wim Taymans  <wim@fluendo.com>
9024
9025         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
9026         Make it clear with a FIXME and a real define what the #if 0
9027         previously disabled.
9028
9029 2006-06-14  Wim Taymans  <wim@fluendo.com>
9030
9031         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9032         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
9033         * libs/gst/base/gstbasetransform.c:
9034         (gst_base_transform_sink_eventfunc):
9035         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9036         Don't randomly and silently reset a segment when the format 
9037         changes as this is a bug somewhere upstream. Fixes #330379.
9038
9039 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
9040
9041         Patch by: Wouter Paesen  <wouter at kangaroot net>
9042
9043         * libs/gst/controller/gstcontroller.c:
9044         (gst_controlled_property_new):
9045           Fix controlling of float properties (#344849).
9046
9047         * tests/check/libs/controller.c:
9048         (gst_test_mono_source_get_property),
9049         (gst_test_mono_source_set_property),
9050         (gst_test_mono_source_class_init), (GST_START_TEST):
9051           While we're at it, add some float stuff to unit test.
9052
9053 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9054
9055         * docs/README:
9056         * docs/images/gdp-header.svg:
9057           add a gdp image
9058         * docs/libs/Makefile.am:
9059         * docs/libs/gdp-header.png:
9060         * libs/gst/dataprotocol/dataprotocol.c:
9061           add it to the API docs
9062         * docs/manual/intro-motivation.xml:
9063           fix typo
9064
9065 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
9066
9067         * gst/gst.c: (scan_and_update_registry), (init_post):
9068           If the fork()'ed child process can't write the updated registry cache
9069           file to disk for some reason, make it exit with a failure exit code,
9070           so that the parent can then re-scan the plugins itself and update the
9071           registry structures in memory and work with that (rather than failing
9072           when creating elements because seemingly no plugins are available).
9073           Refactor registry scanning code into separate function for this and
9074           also separate fork() and non-fork() code paths. Fixes #344748.
9075
9076 2006-06-13  Wim Taymans  <wim@fluendo.com>
9077
9078         * docs/manual/advanced-dataaccess.xml:
9079         Fix wrong PluginDesc. Fixes #344755.
9080
9081 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
9082
9083         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9084           Fix silly bug that prevented us from creating
9085           ~/.gstreamer-0.10 and writing the registry in one
9086           go (the first call to g_mkstemp() would overwrite the
9087           placeholder in the template string, so the second call
9088           to g_mkstemp() after creating the missing directory
9089           would then error out with 'invalid argument').
9090
9091 2006-06-13  Edward Hervey  <edward@fluendo.com>
9092
9093         * gst/gst.c: (init_post):
9094         Free string.
9095
9096 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9097
9098         * gst/glib-compat-private.h:
9099         * gst/glib-compat.c:
9100         * gst/glib-compat.h:
9101         * gst/gstvalue.c: (gst_value_serialize_flags):
9102           remove GLib 2.6 compatibility code
9103
9104 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
9105
9106         * gst/parse/Makefile.am:
9107           Fix build with 'make -j N' even more (#340016).
9108
9109 2006-06-12  Wim Taymans  <wim@fluendo.com>
9110
9111         * docs/gst/gstreamer-sections.txt:
9112         Fix docs.
9113
9114 2006-06-12  Wim Taymans  <wim@fluendo.com>
9115
9116         * gst/gstsegment.c: (gst_segment_set_duration),
9117         (gst_segment_set_last_stop), (gst_segment_set_seek),
9118         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9119         (gst_segment_to_running_time), (gst_segment_clip):
9120         Use G_UNLIKELY to help the compiler a bit.
9121
9122 2006-06-12  Wim Taymans  <wim@fluendo.com>
9123
9124         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9125
9126         * gst/gstevent.c: (gst_event_get_type):
9127         * gst/gstmessage.c:
9128         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
9129         (gst_pad_push):
9130         constify quark registration strings. Fixes #344115
9131         Avoid unneeded type checking is _pad_push() by internally
9132         calling gst_pad_chain_unchecked().
9133
9134 2006-06-12  Wim Taymans  <wim@fluendo.com>
9135
9136         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
9137         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
9138         (gst_subbuffer_finalize), (gst_buffer_create_sub),
9139         (gst_buffer_is_span_fast), (gst_buffer_span):
9140         Init _type for consistency.
9141         Use _FLAGS macro to avoid type check.
9142         Avoid unneeded type checks in subbufer code.
9143
9144 2006-06-12  Wim Taymans  <wim@fluendo.com>
9145
9146         * gst/gst.c: (gst_debug_help):
9147         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
9148         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9149         (gst_plugin_feature_list_free):
9150         * gst/gstregistry.c: (gst_registry_add_plugin),
9151         (gst_registry_add_feature), (gst_registry_plugin_filter),
9152         (gst_registry_feature_filter), (gst_registry_find_plugin),
9153         (gst_registry_find_feature), (gst_registry_get_plugin_list),
9154         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
9155         * gst/gstregistryxml.c: (load_feature),
9156         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
9157         * gst/gstminiobject.c: (gst_mini_object_unref),
9158         (gst_mini_object_replace), (gst_value_mini_object_free),
9159         (gst_value_mini_object_copy):
9160         Use _CAST macros to avoid unneeded type checking.
9161         Added some more G_UNLIKELY.
9162
9163 2006-06-12  Wim Taymans  <wim@fluendo.com>
9164
9165         * gst/gstbuffer.h:
9166         Avoid unneeded type checking.
9167         API: GST_BUFFER_IS_DISCONT
9168
9169         * gst/gstminiobject.h:
9170         Avoid type check in flag accessor.
9171
9172         * gst/gstelementfactory.h:
9173         * gst/gstplugin.h:
9174         * gst/gstpluginfeature.h:
9175         Add _CAST macros.
9176         API: GST_ELEMENT_FACTORY_CAST
9177         API: GST_PLUGIN_CAST
9178         API: GST_PLUGIN_FEATURE_CAST
9179
9180 2006-06-12  Wim Taymans  <wim@fluendo.com>
9181
9182         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
9183         (gst_object_unref):
9184         Add G_UNLIKELY in type registration.
9185         Avoid type check in _ref/_unref since that is also
9186         done in glib.
9187
9188 2006-06-12  Wim Taymans  <wim@fluendo.com>
9189
9190         * gst/gsterror.c: (gst_g_error_get_type):
9191         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
9192         (gst_static_pad_template_get_type):
9193         * gst/gsttaglist.c: (gst_tag_list_get_type):
9194         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
9195         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
9196         * gst/gsturi.c: (gst_uri_handler_get_type):
9197         * gst/gstvalue.c: (gst_date_get_type):
9198         * gst/gstxml.c: (gst_xml_get_type):
9199         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
9200         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
9201         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
9202         Add G_UNLIKELY in type registration.
9203
9204 2006-06-12  Wim Taymans  <wim@fluendo.com>
9205
9206         * tools/gst-inspect.c: (print_signal_info):
9207         Properly print enum values.
9208
9209 2006-06-12  Wim Taymans  <wim@fluendo.com>
9210
9211         * gst/gstinfo.c: (gst_debug_set_active),
9212         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
9213         * gst/gstinfo.h:
9214         Add some G_[UN]LIKELY.
9215         Maintain __gst_debug_min to avoid formatting the arguments of
9216         debug messages that will be dropped anyway to avoid a lot of 
9217         overhead from the debugging system.
9218
9219 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9220
9221         * po/POTFILES.in:
9222         * po/POTFILES.skip:
9223           add missing files containing translatable strings, tell intltool about
9224           one exception
9225
9226 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9227
9228         * tests/check/libs/.cvsignore:
9229         add test-binary to ignore list
9230
9231 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9232
9233         * docs/libs/gstreamer-libs-docs.sgml:
9234         reorder (put dp into a chapter) and indent
9235
9236 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9237
9238         * configure.ac:
9239           back to HEAD
9240
9241 === release 0.10.8 ===
9242
9243 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
9244
9245         * configure.ac:
9246           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
9247
9248 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9249
9250         * gst/gst.c: (init_post):
9251           move pid declaration to declaration block
9252
9253 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9254
9255         * gst/gst.c: (init_post):
9256           use _exit() instead of exit() in our forked child; this ensures
9257           that none of the registered exit handlers from whatever is using
9258           GStreamer get executed.  This fixes gnome-mixer-applet failing
9259           to load, because ORBit would shut down.
9260           Spotted by: Edward Hervey  <edward@fluendo.com>
9261           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
9262           Fixes #344474
9263
9264 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9265
9266         * configure.ac:
9267           back to TRUNK
9268
9269 === release 0.10.7 ===
9270
9271 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
9272
9273         * configure.ac:
9274           releasing 0.10.7, "Soepeke, ik zie ou"
9275
9276 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9277
9278         * configure.ac:
9279         * po/af.po:
9280         * po/az.po:
9281         * po/bg.po:
9282         * po/ca.po:
9283         * po/cs.po:
9284         * po/de.po:
9285         * po/en_GB.po:
9286         * po/fr.po:
9287         * po/it.po:
9288         * po/nb.po:
9289         * po/nl.po:
9290         * po/ru.po:
9291         * po/sq.po:
9292         * po/sr.po:
9293         * po/sv.po:
9294         * po/tr.po:
9295         * po/uk.po:
9296         * po/vi.po:
9297         * po/zh_CN.po:
9298         * po/zh_TW.po:
9299         * win32/common/config.h:
9300           0.10.6.2 prerelease
9301
9302 2006-06-07  Wim Taymans  <wim@fluendo.com>
9303
9304         * gst/gstindex.c: (gst_index_gtype_resolver):
9305         * tools/gst-xmlinspect.c: (print_plugin_info):
9306         Fix leak spotted by coverity checker. Fixes #343827
9307         Fix another other leak found by paolo borelli.
9308
9309 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9310
9311         * libs/gst/dataprotocol/dataprotocol.c:
9312         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9313         (gst_dp_version_get_type), (gst_dp_init),
9314         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
9315         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
9316         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
9317         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
9318         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
9319         (gst_dp_packetizer_free):
9320         * libs/gst/dataprotocol/dataprotocol.h:
9321           API: add a GstDPPacketizer object, and create/free functions
9322           API: add GstDPVersion enum
9323           Add 1.0 event function that uses the string serialization
9324           Serialize more useful buffer flags
9325           Fixes #343988
9326
9327 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9328
9329         * tests/check/Makefile.am:
9330         * tests/check/gst/gstabi.c:
9331         * tests/check/gst/struct_ppc64.h:
9332         * tests/check/libs/libsabi.c:
9333         * tests/check/libs/struct_ppc64.h:
9334           add ppc64 structure sizes
9335
9336 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9337
9338         * tests/check/Makefile.am:
9339         * tests/check/gst/gstabi.c:
9340         * tests/check/gst/struct_x86_64.h:
9341         * tests/check/libs/libsabi.c:
9342         * tests/check/libs/struct_x86_64.h:
9343           generate and add structure size lists for x86_64
9344
9345 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9346
9347         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9348         * libs/gst/check/gstcheck.h:
9349           factor out the method from tests that checks size of structures,
9350           and add code to generate the header containing these sizes
9351         * tests/check/gst/gstabi.c: (GST_START_TEST):
9352         * tests/check/gst/struct_i386.h:
9353         * tests/check/libs/libsabi.c: (GST_START_TEST):
9354         * tests/check/libs/struct_i386.h:
9355           use it
9356
9357 2006-06-06  Michael Smith  <msmith@fluendo.com>
9358
9359         * gst/gstsegment.h:
9360           Don't use c++-style comments, fixes #343929
9361
9362 2006-06-05  Edward Hervey  <edward@fluendo.com>
9363
9364         * gst/gst.c:
9365         plugin_paths is not used if we build without registry support.
9366
9367         * gst/gstsegment.c: (gst_segment_copy): 
9368         _copy() was always returning NULL...
9369
9370 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9371
9372         * libs/gst/dataprotocol/dataprotocol.c:
9373         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9374         (gst_dp_packet_from_event):
9375           factor out CRC code
9376
9377 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9378
9379         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9380           make sure we unset caps
9381
9382 2006-06-02  Michael Smith  <msmith@fluendo.com>
9383
9384         * libs/gst/check/gstcheck.c: (gst_check_init),
9385         (gst_check_chain_func):
9386         * libs/gst/check/gstcheck.h:
9387           Add a cond/mutex to the check support lib, signal this whenever we
9388           add to the buffers list. This will allow tests to not busy-wait on
9389           the buffer-list.
9390
9391 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9392
9393         * libs/gst/dataprotocol/dataprotocol.c:
9394         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9395         (gst_dp_packet_from_event):
9396           factor out some common header init code
9397
9398 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9399
9400         * docs/libs/gstreamer-libs-sections.txt:
9401         * docs/libs/tmpl/gstdataprotocol.sgml:
9402         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9403         * libs/gst/dataprotocol/dataprotocol.h:
9404           API: make gst_dp_crc() public
9405
9406 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9407
9408         * plugins/indexers/gstindexers.c: (plugin_init):
9409         conditionally register fileindexer (fixes #343598)
9410
9411 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9412
9413         * gst/gsttagsetter.h:
9414         Can't cast ifaces to a class
9415
9416         * libs/gst/net/gstnetclientclock.h:
9417         * libs/gst/net/gstnettimeprovider.h:
9418         * plugins/elements/gstfakesink.h:
9419         * plugins/elements/gstfakesrc.h:
9420         * plugins/elements/gstfdsink.h:
9421         * plugins/elements/gstfdsrc.h:
9422         * plugins/elements/gstfilesink.h:
9423         * plugins/elements/gstfilesrc.h:
9424         * plugins/elements/gstidentity.h:
9425         * plugins/elements/gstqueue.h:
9426         * plugins/elements/gsttee.h:
9427         * plugins/indexers/gstfileindex.c:
9428         * plugins/indexers/gstmemindex.c:
9429         * tests/old/examples/plugins/example.h:
9430         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9431
9432 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9433
9434         * libs/gst/dataprotocol/dataprotocol.c:
9435         (gst_dp_header_from_buffer):
9436           make sure we zero the whole ABI-compatible area
9437
9438 2006-06-01  Wim Taymans  <wim@fluendo.com>
9439
9440         Patch by: Alessandro Decina <alessandro at nnva dot org>
9441
9442         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9443         Make sure the EOS flag is cleared from pads after a flush
9444         or stop. Fixes #343538.
9445
9446         * tests/check/libs/collectpads.c: (GST_START_TEST),
9447         (gst_collect_pads_suite):
9448         Added test for collectpads reusage after EOS.
9449
9450 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
9451
9452         * gst/gst.c:
9453          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9454         * win32/common/libgstbase.def:
9455          export gst_collect_pads_set_flushing
9456         * win32/common/libgstreamer.def:
9457          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9458          gst_value_fraction_multiply
9459         * win32/vs6/gst_inspect.dsp:
9460          add a link to intl.lib
9461
9462 2006-05-30  Wim Taymans  <wim@fluendo.com>
9463
9464         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9465         (gst_collect_pads_chain):
9466         Handle the case where a pad is removed from the collection
9467         that could cause the other pads to become collectable.
9468
9469 2006-05-30  Wim Taymans  <wim@fluendo.com>
9470
9471         * gst/gstelement.c:
9472         Clarify the use of _release_request_pad() and
9473         _get_request_pad() a bit better.
9474
9475         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9476         (gst_adapter_take_buffer):
9477         Fix some doc and comment typos.
9478
9479 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9480
9481         * docs/gst/gstreamer-sections.txt:
9482         * docs/libs/gstreamer-libs-sections.txt:
9483           add declared symbols
9484
9485 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
9486
9487         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9488         Add debug that can be enabled using a #define at the top of the file,
9489         for dumping stats about how late/early we were when waking up from
9490         waiting on the clock.
9491
9492 2006-05-30  Wim Taymans  <wim@fluendo.com>
9493
9494         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9495         When rebuilding the pad list, don't leak the previous list.
9496
9497 2006-05-30  Wim Taymans  <wim@fluendo.com>
9498
9499         Patch by: Lutz Mueller <lutz at topfrose dot de>
9500
9501         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9502         (gst_base_src_get_query_types), (gst_base_src_update_length):
9503         Publish supported query types.
9504         Update last_stop field in get_range mode so the position
9505         query works. Fixes #342321.
9506
9507 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
9508
9509         * docs/gst/gstreamer-sections.txt:
9510         * gst/gsttaglist.c: (_gst_tag_initialize):
9511         * gst/gsttaglist.h:
9512           API: add GST_TAG_PREVIEW_IMAGE (#343341).
9513
9514 2006-05-30  Wim Taymans  <wim@fluendo.com>
9515
9516         Patch by: Alessandro Decina <alessandro at nnva dot org>
9517
9518         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9519         Unlock mutex when removing an unknown pad.
9520         Fixes #343334.
9521
9522         * tests/check/Makefile.am:
9523         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9524         (push_event), (setup), (teardown), (GST_START_TEST),
9525         (gst_collect_pads_suite), (main):
9526         Added collecpads check, disabled for now as check crashes for
9527         some reason.
9528
9529 2006-05-29  Wim Taymans  <wim@fluendo.com>
9530
9531         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9532         Don't leak pads lists.
9533
9534 2006-05-29  Wim Taymans  <wim@fluendo.com>
9535
9536         * docs/libs/gstreamer-libs-sections.txt:
9537         * libs/gst/base/gstcollectpads.c:
9538         (gst_collect_pads_set_flushing_unlocked),
9539         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9540         (gst_collect_pads_stop):
9541         * libs/gst/base/gstcollectpads.h:
9542         API: gst_collect_pads_set_flushing()
9543         Added api to set the pads to flushing, useful for seeking
9544         code in elements using collectpads.
9545         Clear segment when receiving a flush.
9546
9547 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
9548
9549         * gst/gst.c: (add_path_func), (init_post):
9550           Don't scan registry paths passed via --gst-plugin-path immediately
9551           (will crash, because absolutely nothing is set up and no types are
9552           registered etc.); do this later in init_post(). Fixes #343057.
9553
9554 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9555
9556         * gst/gst.c: (init_post):
9557           if we have fork, fork while reading/rebuilding the registry
9558           so the parent doesn't take the hit of having all plugins loaded
9559           in memory.  Fixes #342777.
9560         * configure.ac:
9561           Check if we have fork()
9562         * win32/common/config.h.in:
9563           no fork() on win32
9564
9565 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9566
9567         * plugins/elements/gstelements.c:
9568         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9569         (gst_file_src_init), (gst_file_src_set_property),
9570         (gst_file_src_get_property), (gst_file_src_start):
9571         * plugins/elements/gstfilesrc.h:
9572           API: GstFileSrc::use-mmap
9573
9574         Add a use-mmap property to enable easier testing of all code paths.
9575         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9576         in the absence of gnomevfssrc. (Closes #340501)
9577
9578 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9579
9580         * tools/gst-inspect.c:
9581         Add missing include, removes warning of ngettext not being defined on
9582         some arches.
9583
9584 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9585
9586         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9587         Handle NULL input and output pointers silently as a failed conversion,
9588         rather than g_warnings.
9589
9590 2006-05-25  Wim Taymans  <wim@fluendo.com>
9591
9592         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9593         Initialize variable before using. Fixes #342820.
9594
9595 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
9596
9597         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9598           Fix off-by-one bug that would only allow peeks of N-1 bytes
9599           from the start even if the buffer to typefind on contains
9600           in fact N bytes of data (makes vorbis typefinding from a
9601           vorbis identification header buffer work).
9602
9603         * tests/check/Makefile.am:
9604         * tests/check/libs/.cvsignore:
9605         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9606         (gst_typefindhelper_suite), (main), (foobar_typefind),
9607         (plugin_init):
9608           Add very basic unit test for gst_type_find_helper_for_buffer()
9609           that checks for the problem fixed above.
9610
9611 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9612
9613         * tools/gst-inspect.c: (print_interfaces),
9614         (print_element_properties_info), (print_element_list), (main):
9615           add more translatable strings
9616
9617 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
9618
9619         Patch by: Julien Moutte  <julien at moutte net>
9620
9621         * docs/gst/gstreamer-sections.txt:
9622           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9623           
9624         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9625         (gst_fake_sink_preroll):
9626         * plugins/elements/gstfakesink.h:
9627           API: Add new GstFakeSink::preroll-handoff signal (#337100).
9628
9629 2006-05-23  Wim Taymans  <wim@fluendo.com>
9630
9631         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9632         * gst/gstpad.h:
9633         Added _CUSTOM error and success GstFlowReturn that can be
9634         used be elements internally. 
9635         Added macro to check for SUCCESS flowreturns.
9636         API: GST_FLOW_CUSTOM_SUCCESS
9637         API: GST_FLOW_CUSTOM_ERROR
9638         API: GST_FLOW_IS_SUCCESS
9639
9640         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9641         Added check for GstFlowReturn sanity.
9642
9643 2006-05-23  Wim Taymans  <wim@fluendo.com>
9644
9645         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9646
9647         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9648         (gst_collect_pads_event):
9649         clear/reset segment info in FLUSH_STOP.
9650         Fixes #336929.
9651
9652 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
9653
9654         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9655         (gst_collect_pads_check_collected):
9656         Flush queued buffer on _stop(), fixes playing again (#342454)
9657
9658 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9659
9660         * tests/check/gst/gststructure.c: (GST_START_TEST),
9661         (gst_structure_suite):
9662           add a test for a complete structure
9663
9664 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9665
9666         * docs/faq/developing.xml:
9667         * docs/faq/faq.xml:
9668         * docs/faq/troubleshooting.xml:
9669         * docs/faq/using.xml:
9670           Some minor FAQ updates that won't change the fact that
9671           our FAQ is badly structured, full of information hardly
9672           anyone new to GStreamer needs to know and lacking lots
9673           of information people constantly ask for.
9674           
9675 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
9676
9677         * gst/gstpad.c: (gst_pad_set_caps):
9678           Short-circuit gst_pad_set_caps if setting the existing
9679           caps pointer again, and avoid printing debug and 
9680           reffing/unreffing the caps.
9681
9682         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9683           There's actually no need to set the caps before pushing -
9684           the acceptcaps method will handle it anyway.
9685
9686 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9687
9688         * docs/gst/gstreamer-sections.txt:
9689         * win32/common/libgstreamer.def:
9690         * gst/gstutils.c: (gst_element_seek_simple):
9691         * gst/gstutils.h:
9692           API: add gst_element_seek_simple() (#342238).
9693
9694 2006-05-18  Edward Hervey  <edward@fluendo.com>
9695
9696         * gst/gsttypefind.c: (gst_type_find_get_type):
9697         * gst/gsttypefind.h:
9698         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9699         registered for GstTypeFind pointers. This allows wrapping the structure
9700         in bindings (i.e. gst-python).
9701
9702 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9703
9704         * gst/gsttagsetter.c:
9705           Docs additions and fixes (see #339918).
9706
9707 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9708
9709         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9710         The caps intersection algorithm can produce multiple copies of the
9711         caps. Until that is fixed, we need to simplify the result to be
9712         sure whether the allowed caps are fixed or not.
9713
9714         * plugins/elements/gstqueue.c: (gst_queue_init),
9715         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9716         (gst_queue_push_one):
9717         Proxied buffer alloc should not set the caps on the source pad.
9718         When pushing buffers, we always accept the caps change that triggers.
9719         This prevents negotiation errors caused by caps changing mid-stream 
9720         and then being refused on our source pad (because upstream is now
9721         refusing those caps).
9722
9723 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9724
9725         * tests/examples/helloworld/helloworld.c: (main):
9726           Must plug audioconvert and audioresample between decoder
9727           and audio sink.
9728
9729 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
9730
9731         * gst/gstregistryxml.c: (read_string), (load_pad_template),
9732         (load_feature), (load_plugin):
9733         Allow empty strings for some of the plugin fields so we don't 
9734         drop valid plugin entries that were written out correctly
9735         (Fixes #341479)
9736
9737 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
9738         
9739         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9740           Use g_remove and g_rename instead of remove and rename that don't 
9741           handle utf8 characters. rename was failing for users who had specific
9742           characters in their name then the registry was built at each 
9743           gstreamer init.
9744         * win32/vs6/gst_inspect.dsp:
9745         * win32/vs6/gst_launch.dsp:
9746         * win32/vs6/libgstbase.dsp:
9747         * win32/vs6/libgstcoreelements.dsp:
9748         * win32/vs6/libgstreamer.dsp:
9749           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
9750           build of libgstreamer and clean unused libraries in projects link 
9751           settings.
9752
9753 2006-05-17  Edward Hervey  <edward@fluendo.com>
9754
9755         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9756         The queue is not responsible for pushing an EOS when receiving a fatal
9757         flow error. It's up to the real element driving the pipeline to do that.
9758
9759 2006-05-16  Edward Hervey  <edward@fluendo.com>
9760
9761         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9762         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9763         buffer returned a fatal error. It should just send an EOS and stop
9764         its task.
9765         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9766         when pushing buffers on the queue and will be able to handle the event.
9767
9768 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9769
9770         * docs/manual/basics-bins.xml:
9771         * docs/manual/basics-init.xml:
9772           Fix typos and minor errors in sample code (#341856).
9773
9774 2006-05-16  Wim Taymans  <wim@fluendo.com>
9775
9776         * docs/design/part-qos.txt:
9777         Fix indexes in formulas to make more sense.
9778
9779 2006-05-15  Wim Taymans  <wim@fluendo.com>
9780
9781         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9782         Don't report POSITION based on clock time if sync is
9783         disabled in a sink.
9784
9785 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
9786
9787         * gst/gstobject.h:
9788           Add cast to make compiler happy - refcount variable was a gint
9789           in GstObject but is a guint in GObject and g_atomic_int_get()
9790           wants a gint *.
9791
9792 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9793
9794         * gst/parse/Makefile.am:
9795           chain commands using &&, which also makes parallel make work
9796
9797 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
9798
9799         * docs/gst/gstreamer-sections.txt:
9800         * gst/gstevent.c:
9801         * gst/gstevent.h:
9802         * gst/gstmessage.h:
9803           Minor docs fixes.
9804
9805 === release 0.10.6 ===
9806
9807 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
9808
9809         * configure.ac:
9810           releasing 0.10.6, "Take the cannoli"
9811
9812 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9813
9814         * tools/gst-launch.c: (print_tag):
9815           Fix use of uninitialized variable in the hypothetical
9816           case that some broken plugin creates a GST_TAG_IMAGE
9817           tag containing a NULL buffer (#341667).
9818
9819 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9820
9821         * tools/gst-launch.c: (print_tag):
9822           Print something more intelligible for image tags when
9823           using the -t switch (#341556).
9824
9825 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9826
9827         * Makefile.am:
9828           updates for win32
9829         * configure.ac:
9830           define GST_MAJORMINOR so we have it available in win32/common/config.h
9831           Possibly remove it from our Makefile.am files later
9832         * win32/common/config.h:
9833         * win32/common/config.h.in:
9834           added GST_MAJORMINOR
9835         * win32/common/gstenumtypes.c: (register_gst_resource_error):
9836         * win32/common/gstversion.h:
9837           updated
9838
9839 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
9840
9841         * win32/MANIFEST:
9842           Update win32 files listing.
9843         * win32/common/gstversion.h:
9844           Add GST_MAJORMINOR definition.
9845         * win32/common/libgstreamer.def:
9846           Add new exported functions.
9847           
9848 2006-05-12  Michael Smith  <msmith@fluendo.com>
9849
9850         * gst/gstplugin.c: (gst_plugin_load_file):
9851           If an so file has no plugin entry point, unload the module.
9852
9853 2006-05-11  Wim Taymans  <wim@fluendo.com>
9854
9855         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9856         (gst_queue_set_property):
9857         Don't forget to signal the _chain or _loop function 
9858         when the queue size or thresholds change since that might
9859         cause them to make progres again.
9860
9861 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
9862
9863         * gst/gstclock.c: (gst_clock_class_init):
9864         * gst/gstindex.c: (gst_index_class_init):
9865         * gst/gstobject.c: (gst_object_class_init):
9866         * gst/gstpad.c: (gst_pad_class_init):
9867         * gst/gstpipeline.c: (gst_pipeline_class_init):
9868         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9869         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9870         * libs/gst/base/gstbasetransform.c:
9871         (gst_base_transform_class_init):
9872         * libs/gst/net/gstnetclientclock.c:
9873         (gst_net_client_clock_class_init):
9874         * libs/gst/net/gstnettimeprovider.c:
9875         (gst_net_time_provider_class_init):
9876         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9877         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9878         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9879         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9880         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9881         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9882         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9883         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9884         * plugins/elements/gsttee.c: (gst_tee_class_init):
9885         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9886         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9887           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9888
9889 2006-05-11  Wim Taymans  <wim@fluendo.com>
9890
9891         * gst/gstbuffer.c: (_gst_buffer_initialize):
9892         Register subbufer along with the buffer type so that
9893         it does not accidentally gets registered from N
9894         different streaming threads in a non threadsafe way.
9895
9896 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9897
9898         * gst/gstbuffer.h:
9899         * gst/gstevent.h:
9900         * gst/gstmessage.h:
9901           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9902           gst_event_ref() and gst_message_ref() functions again
9903           (ugly hack, please do fix if there's a better way besides
9904           overrides.txt, which doesn't seem to work).
9905
9906 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9907
9908         * libs/gst/check/gstcheck.h:
9909           add an assert for setting state to avoid lots of repetitive code
9910           in the future
9911
9912 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9913
9914         * gst/gstvalue.c: (gst_value_serialize_flags):
9915           fix a leak if no flags are set
9916         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9917           fix leak in tests
9918
9919 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9920
9921         * docs/manual/basics-pads.xml:
9922           Expand a bit on caps and filtered links and update
9923           examples that were still using the no longer existing
9924           gst_pad_link_filtered() (#338206).
9925
9926 2006-05-10  Wim Taymans  <wim@fluendo.com>
9927
9928         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9929         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9930         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9931         (gst_collect_pads_stop):
9932         * libs/gst/base/gstcollectpads.h:
9933         No need to call _stop in _finalize.
9934         Iterate the main pad list in _finalize.
9935         Added some more debug.
9936         Free lists and data in the right order.
9937         Also free data whem doing _remove_pad when stopped for
9938         backward compatibility protect ::started with PAD_LOCK as
9939         well.
9940
9941 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9942
9943         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9944         (gst_structure_parse_value):
9945           add some comments
9946           rename a method so that it actually says what it does better
9947
9948 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9949
9950         * gst/gstevent.c: (_gst_event_initialize):
9951         * gst/gstformat.c: (_gst_format_initialize):
9952           make sure some essential types used by events are registered
9953           as part of gst_init()
9954         * gst/gstvalue.c: (gst_value_serialize_flags):
9955           if no flags are set, serialize them to a value that represents NONE
9956           so that deserializing them works
9957         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9958           add tests for serialization and deserialization of flags
9959
9960 2006-05-10  Wim Taymans  <wim@fluendo.com>
9961
9962         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9963         (gst_collect_pads_collect_range), (gst_collect_pads_available),
9964         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9965         (gst_collect_pads_event), (gst_collect_pads_chain):
9966         Update docs.
9967         Better debug info.
9968         Catch and return errors from the collect function
9969         Refuse data on eos pads.
9970
9971 2006-05-10  Edward Hervey  <edward@fluendo.com>
9972
9973         * gst/gstinterface.h:
9974         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9975         GInterface type checking.
9976         They were previously using non-defined macros.
9977
9978 2006-05-09  Wim Taymans  <wim@fluendo.com>
9979
9980         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9981         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9982         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9983         (gst_collect_pads_start), (gst_collect_pads_stop),
9984         (gst_collect_pads_peek), (gst_collect_pads_pop),
9985         (gst_collect_pads_available), (gst_collect_pads_read),
9986         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9987         (gst_collect_pads_is_collected), (gst_collect_pads_event),
9988         (gst_collect_pads_chain):
9989         * libs/gst/base/gstcollectpads.h:
9990         Clean up the mess that is collectpads, add comments and
9991         FIXMEs where needed.
9992         Maintain a separate pad list so we can add pads while
9993         collecting the other ones. For this we need a new separate 
9994         lock (see comics).
9995         Fix memory leak in finalize.
9996         Refactor some weird code to set/unset pad flushing flags, mark
9997         with comments.
9998         Don't crash in _available, _read, _flush when we're EOS.
9999
10000         * tests/check/libs/.cvsignore:
10001         Ignore adapter check binary.
10002
10003 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10004
10005         * gst/gstindex.c: (gst_index_resolver_get_type):
10006         * plugins/elements/gstfakesink.c:
10007         (gst_fake_sink_state_error_get_type):
10008         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
10009         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
10010         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10011           Const-ify GEnumValue arrays.
10012
10013 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10014
10015         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10016           Add test case for flags + gst_buffer_make_metadata_writable().
10017
10018 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10019
10020         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
10021           gst_buffer_make_metadata_writable() should maintain the
10022           buffer flags (those that make sense at least) (see #340859).
10023
10024 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10025
10026         * tools/gst-inspect.c:
10027         * tools/gst-launch.c:
10028         * tools/gst-typefind.c:
10029         * tools/gst-xmlinspect.c:
10030         * tools/tools.h:
10031           Fix up includes: need to include stdlib.h in tools.h for exit().
10032
10033 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10034
10035         * gst/gsttaglist.c: (_gst_tag_initialize):
10036         * gst/gsttaglist.h:
10037           API: add GST_TAG_IMAGE tag (#340721).
10038
10039 2006-05-08  Wim Taymans  <wim@fluendo.com>
10040
10041         * gst/gstquery.c:
10042         Added some docs for the segment query.
10043
10044 2006-05-08  Wim Taymans  <wim@fluendo.com>
10045
10046         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10047         (gst_base_src_loop), (gst_base_src_change_state):
10048         Always push non-flushing serialized events in the streaming 
10049         thread.
10050
10051 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10052
10053         * gst/gsterror.c: (_gst_stream_errors_init):
10054           Add a missing error string.
10055
10056 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
10057
10058         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
10059         Add applied_rate to the debug
10060
10061         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10062         Copy applied_rate into the outgoing NEWSEGMENT event
10063
10064 2006-05-08  Wim Taymans  <wim@fluendo.com>
10065
10066         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
10067
10068         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
10069         (gst_base_sink_change_state):
10070         call ::unlock before taking the PREROLL_LOCK so we can safely
10071         handle elements that lock in ::render.
10072         Fixes #340174.
10073
10074 2006-05-08  Edward Hervey  <edward@fluendo.com>
10075
10076         * autogen.sh: (CONFIGURE_DEF_OPT): 
10077         Darwin's libtoolize is in fact called glibtoolize.
10078         Adding glibtoolize to the list of accepted names for libtoolize.
10079
10080 2006-05-08  Wim Taymans  <wim@fluendo.com>
10081
10082         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10083         Unify error handling, don't post an error message
10084         when a push() returns EOS but perform our normal EOS
10085         handling code. Fixes #340772.
10086
10087 2006-05-08  Wim Taymans  <wim@fluendo.com>
10088
10089         * docs/design/part-overview.txt:
10090         Make upsteam/downstream concepts more clear.
10091         Give an example of serialized/non-serialized events.
10092
10093         * docs/design/part-events.txt:
10094         * docs/design/part-streams.txt:
10095         Mention applied_rate.
10096
10097         * docs/design/part-trickmodes.txt:
10098         Mention applied rate, flesh out some more use cases.
10099
10100         * gst/gstevent.c: (gst_event_new_new_segment),
10101         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
10102         (gst_event_parse_new_segment_full), (gst_event_new_tag),
10103         (gst_event_parse_tag), (gst_event_new_buffer_size),
10104         (gst_event_parse_buffer_size), (gst_event_new_qos),
10105         (gst_event_parse_qos), (gst_event_parse_seek),
10106         (gst_event_new_navigation):
10107         * gst/gstevent.h:
10108         Add applied_rate field to NEWSEGMENT event.
10109         API: gst_event_new_new_segment_full()
10110         API: gst_event_parse_new_segment_full()
10111
10112         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
10113         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
10114         (gst_segment_to_stream_time), (gst_segment_to_running_time):
10115         * gst/gstsegment.h:
10116         Add applied_rate to GstSegment structure.
10117         Make calculation of stream_time and running_time more correct
10118         wrt rate/applied_rate.
10119         Add some more docs.
10120         API: GstSegment::applied_rate field
10121         API: gst_segment_set_newsegment_full();
10122
10123         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10124         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
10125         * libs/gst/base/gstbasetransform.c:
10126         (gst_base_transform_sink_eventfunc),
10127         (gst_base_transform_handle_buffer):
10128         Parse and use applied_rate in the GstSegment field.
10129
10130         * tests/check/gst/gstevent.c: (GST_START_TEST):
10131         Add check for applied_rate field.
10132
10133         * tests/check/gst/gstsegment.c: (GST_START_TEST),
10134         (gstsegments_suite):
10135         Add more checks for various GstSegment operations.
10136
10137 2006-05-08  Wim Taymans  <wim@fluendo.com>
10138
10139         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10140         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
10141         (gst_base_sink_get_position), (gst_base_sink_change_state):
10142         Store the sync time of the buffer end position separatly in a
10143         new variable eos_rtime so we can properly sync the EOS event.
10144         Fixes #340697.
10145         Fix the docs for gst_base_sink_set_qos_enabled().
10146         Don't set segment start to invalid value when we receive a 
10147         non TIME newsegment.
10148         get closer to handling position reporting for negative rates 
10149         correctly.
10150
10151 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
10152
10153         * gst/gstcaps.c:
10154         Docs about how to print caps for debug purposes.
10155
10156         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
10157         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
10158
10159 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
10160
10161         * gst/gstelement.c:
10162           use full enum names and preprend a '%' in docs strings to make recent 
10163           gtk-doc turn that into a link
10164
10165 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10166
10167         * docs/manual/basics-bins.xml:
10168         * docs/manual/basics-bus.xml:
10169         * docs/manual/basics-pads.xml:
10170           Some typo fixes, some additions, some clarifications. 
10171
10172 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10173
10174         * tools/gst-inspect.c: (main):
10175         * tools/gst-launch.c: (main):
10176         * tools/gst-run.c: (main):
10177         * tools/gst-typefind.c: (main):
10178         * tools/gst-xmlinspect.c: (main):
10179           Use the string passed to g_option_context_new() for
10180           what it's intended for - the program name is already
10181           printed elsewhere.
10182
10183 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10184
10185         * tools/Makefile.am:
10186         * tools/gst-inspect.c: (main):
10187         * tools/gst-launch.c: (main):
10188         * tools/gst-xmlinspect.c: (main):
10189         * tools/tools.h:
10190           Add back --version command line option (#340460).
10191
10192         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
10193           Add --version option and use GOption for argument parsing; refactor a
10194           bit; accept directories as arguments and recurse into them; lastly,
10195           print a decent error message when things go wrong.
10196
10197 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10198
10199         * docs/manual/basics-bins.xml:
10200         Don't mention GstThread (#340611)
10201         * docs/manual/basics-elements.xml:
10202         Update link to GObject tutorial (#340607)
10203         
10204 2006-05-05  Wim Taymans  <wim@fluendo.com>
10205
10206         * gst/gstbuffer.h:
10207         * gst/gstminiobject.c:
10208         Add note about refcounting and miniobject/buffer writeability
10209         to docs. Fixes #340604
10210
10211         * gst/gstelementfactory.h:
10212         Added some explanation about @klass.
10213
10214 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10215
10216         * docs/manual/intro-motivation.xml:
10217         * docs/manual/manual.xml:
10218         Avoid CORBA & Bonobo references (#340598)
10219
10220 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10221
10222         * docs/manual/basics-bus.xml:
10223         * docs/manual/basics-pads.xml:
10224         Fix up some inaccuracies and omissions (#340609)
10225         
10226 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10227
10228         * gst/gstghostpad.c:
10229           Small typo in docs (#340625)
10230
10231 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10232
10233         * gst/parse/Makefile.am:
10234           Make 'make -j' proof (see #340698).
10235
10236 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10237
10238         * configure.ac:
10239           Require GLib-2.8 here as well.
10240
10241 2006-05-05  Wim Taymans  <wim@fluendo.com>
10242
10243         * gst/glib-compat.c:
10244         * gst/gst.c: (init_pre):
10245         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10246         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
10247         (gst_object_dispatch_properties_changed):
10248         * gst/gstobject.h:
10249         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10250         * gst/gststructure.c: (gst_structure_set_valist):
10251         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10252         Remove pre glib2.8 compatibility, fixes #340508
10253
10254 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
10255
10256         * gst/gsttaglist.h:
10257           Mention type of tags in doc blurbs.
10258
10259 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
10260
10261         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10262         (gst_pad_configure_src), (gst_pad_push):
10263         Restore acceptcaps checking behaviour now that good plugins have
10264         been released.
10265
10266 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
10267
10268         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
10269
10270         * gst/gst.c:
10271         * gst/gstbus.c:
10272         * gst/gstclock.c:
10273         * gst/gstevent.c:
10274         * gst/gstformat.c:
10275         * gst/gstmessage.c:
10276         * gst/gstparse.c:
10277         * gst/gstquery.c:
10278         * gst/gstutils.c:
10279         * gst/parse/Makefile.am:
10280         * libs/gst/base/gstadapter.c:
10281         * libs/gst/base/gstbasesrc.c:
10282         * libs/gst/base/gstpushsrc.c:
10283         * libs/gst/base/gsttypefindhelper.c:
10284         * plugins/elements/gstfakesrc.c:
10285         * plugins/elements/gstidentity.c:
10286           Make sure gstprivate.h and/or config.h are
10287           always included first, otherwise some of our
10288           defines (like _FILE_OFFSET_BITS) might be
10289           redefined in the system headers. Fixes build
10290           on opensolaris (#340016).
10291
10292 2006-05-04  Wim Taymans  <wim@fluendo.com>
10293
10294         * docs/libs/gstreamer-libs-sections.txt:
10295         API: addition: gst_adapter_take_buffer()
10296         
10297         * libs/gst/base/gstadapter.c: (gst_adapter_push),
10298         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
10299         (gst_adapter_available_fast):
10300         * libs/gst/base/gstadapter.h:
10301         Prepare for optimizing the hell out of this hugely inefficient
10302         piece of code. 
10303         Added gst_adapter_take_buffer() so we can at least start thinking
10304         about subbuffering and merging.
10305         Added some comments.
10306
10307         * tests/check/Makefile.am:
10308         * tests/check/libs/adapter.c: (GST_START_TEST),
10309         (gst_adapter_suite), (main):
10310         Added GstAdapter check.
10311
10312 2006-05-04  Wim Taymans  <wim@fluendo.com>
10313
10314         * docs/design/part-overview.txt:
10315         Fix some typos, add blurb about buffer flags.
10316
10317 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10318
10319         * docs/libs/gstreamer-libs-sections.txt:
10320           make sure GstBaseTransformClass shows up in the docs
10321         * libs/gst/base/gstbasetransform.c:
10322         * libs/gst/base/gstbasetransform.h:
10323           move docs so gtk-doc picks it up now
10324
10325 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10326
10327         * docs/libs/gstreamer-libs-sections.txt:
10328           add missing symbols to docs
10329
10330 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10331
10332         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10333           back out the newsegment handling change, see #340060 for ongoing
10334           discussion
10335
10336 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
10337
10338         * tools/gst-run.c: (get_candidates), (main):
10339           Fix wrong g_file_test() usage (see glib docs for why it doesn't
10340           work); fix typo in error message. Fixes #340079.
10341
10342 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10343
10344         * common/Makefile.am:
10345         * docs/Makefile.am:
10346         * docs/faq/Makefile.am:
10347         * docs/gst/Makefile.am:
10348         * docs/libs/Makefile.am:
10349         * docs/manual/Makefile.am:
10350         * docs/plugins/Makefile.am:
10351         * docs/pwg/Makefile.am:
10352         * docs/slides/Makefile.am:
10353         * docs/upload.mak:
10354         * common/upload.mak:
10355           move upload.mak to common
10356
10357 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10358
10359         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10360           add more asserts on refcounts
10361           do more cleanup at end of tests
10362           fix test leaks showing in FC5
10363
10364 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
10365
10366         * plugins/elements/gsttypefindelement.c:
10367         (gst_type_find_element_handle_event):
10368         reverted wrong change and reflowed code to avoid others falling into
10369         this trap
10370
10371 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10372
10373         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10374           fix changelog entry about last collectpads change,
10375           add notes about proper fix
10376
10377 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10378
10379         * gst/gst.c:
10380         * gst/gstregistry.c: (gst_registry_scan_path_level),
10381         (gst_registry_scan_path):
10382         * gst/gstregistry.h:
10383           only write out registry if it has changed, fixes #338339
10384
10385 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10386
10387         * gst/gstbin.c:
10388         * gst/gstpipeline.c:
10389         * plugins/elements/gstcapsfilter.c:
10390         * plugins/elements/gstfakesink.c:
10391         * plugins/elements/gstfakesrc.c:
10392         * plugins/elements/gstfdsink.c:
10393         * plugins/elements/gstfdsrc.c:
10394         * plugins/elements/gstfilesink.c:
10395         * plugins/elements/gstfilesrc.c:
10396         * plugins/elements/gstidentity.c:
10397         * plugins/elements/gstqueue.c:
10398         * plugins/elements/gsttee.c:
10399         * plugins/elements/gsttypefindelement.c:
10400         (gst_type_find_element_handle_event):
10401           make GstElementDetails const
10402
10403 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10404
10405         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10406         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10407         (gst_collect_pads_is_collected), (gst_collect_pads_event):
10408           more detailed debug and formatting cleanup,
10409           forward newsegments to src-pad (so that e.g. adder not eats them)
10410
10411 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10412
10413         * gst/gstutils.c: (gst_element_link_pads):
10414           cleanup double code
10415
10416 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10417
10418         * libs/gst/controller/gstcontroller.c:
10419         (gst_controller_sync_values):
10420           some little tuning
10421         * tests/check/libs/controller.c: (GST_START_TEST),
10422         (gst_controller_suite):
10423           a new test for live value handling
10424
10425 2006-04-28  Wim Taymans  <wim@fluendo.com>
10426
10427         * gst/gstutils.c: (push_and_ref):
10428         Added some more docs.
10429         Fix refcount issue whith gst_element_found_tags() helper 
10430         function. Fixes #338335
10431
10432         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10433         Added testsuite for gst_element_found_tags().
10434
10435 2006-04-28  Michael Smith  <msmith@fluendo.com>
10436
10437         * gst/gstvalue.c: (gst_value_serialize_flags):
10438           Avoid NULL dereference when trying to serialize flags containing
10439           invalid values.
10440
10441 2006-04-28  Michael Smith  <msmith@fluendo.com>
10442
10443         * plugins/elements/gsttypefindelement.c:
10444         (gst_type_find_element_handle_event):
10445           If we get EOS before any data is accumulated, don't use
10446           uninitialised local variables.
10447
10448 2006-04-28  Michael Smith  <msmith@fluendo.com>
10449
10450         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10451         (gst_dp_event_from_packet):
10452           Fixes in reading/writing events over GDP (not currently used?) - 
10453           dereferencing NULL events for unknown/invalid event types, memory
10454           leak, and change g_warning to GST_WARNING.
10455
10456 2006-04-28  Wim Taymans  <wim@fluendo.com>
10457
10458         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10459         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10460         (gst_base_sink_get_position), (gst_base_sink_change_state):
10461         When frame dropping is enabled, we should not ignore frames
10462         without a duration.
10463         Update some documentation.
10464
10465 2006-04-28  Wim Taymans  <wim@fluendo.com>
10466
10467         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10468         (gst_base_src_send_event), (gst_base_src_change_state):
10469         Documentation updates.
10470
10471 2006-04-28  Wim Taymans  <wim@fluendo.com>
10472
10473         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10474         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10475         handle EAGAIN, EINTR and short writes correctly. Also clean
10476         up some error cases, avoid a deadlock on bad file descriptors and
10477         use GST_DEBUG_OBJECT.
10478         Fixes #339843
10479
10480 2006-04-28  Wim Taymans  <wim@fluendo.com>
10481
10482         * gst/gstvalue.c: (gst_value_serialize_buffer),
10483         (gst_value_deserialize_buffer):
10484         Don't try to serialize a GValue with a NULL buffer. 
10485         Fixes #339821.
10486
10487         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10488         Added check for serialisation of NULL buffers.
10489
10490 2006-04-28  Wim Taymans  <wim@fluendo.com>
10491
10492         * gst/gstminiobject.c: (gst_value_take_mini_object):
10493         Taking a NULL miniobject is valid, fix the case where
10494         we try to unref the NULL miniobject.
10495
10496 2006-04-28  Wim Taymans  <wim@fluendo.com>
10497
10498         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10499
10500         * gst/gstbin.c: (gst_bin_handle_message_func):
10501         Update docs.
10502         Don't leak bin refcount when a state recalc is
10503         in progress and we delay another one #339808.
10504
10505 2006-04-28  Wim Taymans  <wim@fluendo.com>
10506
10507         * docs/design/part-TODO.txt:
10508         Mention QoS as an ongoing work item.
10509
10510         * docs/design/part-buffering.txt:
10511         New doc about buffering that needs to be fleshed out
10512         at some point.
10513
10514         * docs/design/part-qos.txt:
10515         More QoS policy for decoders/demuxers/transforms
10516
10517         * docs/design/part-trickmodes.txt:
10518         Small update.
10519
10520 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10521
10522         * configure.ac:
10523           back to HEAD
10524
10525 === release 0.10.5 ===
10526
10527 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
10528
10529         * configure.ac:
10530           releasing 0.10.5, "Fogo"
10531
10532 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10533
10534         patch by: Wim Taymans
10535
10536         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10537         (gst_pad_configure_src), (gst_pad_push):
10538         * gst/gstpipeline.c: (gst_pipeline_init):
10539           Fix internal data flow errors.  Fixes #338711.
10540
10541 2006-04-12  Wim Taymans  <wim@fluendo.com>
10542
10543         * tests/check/gst/gstelement.c: (GST_START_TEST):
10544         Don't leak the factory.
10545
10546 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10547
10548         * configure.ac:
10549         * win32/common/config.h:
10550           prerelease
10551
10552 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
10553
10554         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10555         (gst_controller_unset_all):
10556           Free allocated GstTimedValues when freeing list nodes.
10557           Should fix leaks 'make check-valgrind' complains about.
10558
10559         * win32/common/libgstcontroller.def:
10560           Add gst_controller_unset_all.
10561
10562 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
10563
10564         * docs/libs/gstreamer-libs-sections.txt:
10565         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10566         (gst_controller_unset_all):
10567         * libs/gst/controller/gstcontroller.h:
10568         API: Added new method gst_controller_unset_all()
10569         fixed gst_controller_unset()
10570         * tests/check/libs/controller.c: (GST_START_TEST),
10571         (gst_controller_suite):
10572         Added two testcases for new and fixed method
10573
10574 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
10575
10576         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10577           MSG_DONTWAIT is not defined on Cygwin, so work
10578           around that (fixes #317048).
10579           
10580 2006-04-11  Wim Taymans  <wim@fluendo.com>
10581
10582         * gst/gstelementfactory.c: (gst_element_register),
10583         (gst_element_factory_create), (gst_element_factory_make):
10584         Some cleanups.
10585         Fixed a FIXME.
10586         Updated docs (Fixes #131079)
10587
10588         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10589         Small cleanups.
10590
10591         * tests/check/gst/gstelement.c: (GST_START_TEST),
10592         (gst_element_suite):
10593         Added testcase for elementfactory class field.
10594
10595 2006-04-10  Wim Taymans  <wim@fluendo.com>
10596
10597         * gst/gstsegment.c:
10598         Added some more docs.
10599
10600         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10601         (gst_base_sink_reset_qos):
10602         Calculate more accurate rate values.
10603
10604 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
10605
10606         * gst/gst_private.h:
10607           add a new #ifdef to use __declspec(dllimport) only for
10608           other modules and not for gstreamer core
10609         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10610           use gst_guint64_to_gdouble for conversion
10611         * win32/common/libgstreamer.def:
10612           add new exported functions
10613         * win32/vs6/gst_inspect.dsp:
10614         * win32/vs6/gst_launch.dsp:
10615         * win32/vs6/libgstbase.dsp:
10616         * win32/vs6/libgstcontroller.dsp:
10617         * win32/vs6/libgstcoreelements.dsp:
10618         * win32/vs6/libgstdataprotocol.dsp:
10619         * win32/vs6/libgstnet.dsp:
10620           update project files
10621
10622 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10623
10624         * gst/gstbuffer.c: (gst_subbuffer_class_init):
10625         * gst/gstclock.c: (gst_clock_class_init):
10626         * gst/gstelement.c: (gst_element_class_init):
10627         * gst/gstindex.c: (gst_index_class_init):
10628         * gst/gstindexfactory.c: (gst_index_factory_class_init):
10629         * gst/gstobject.c: (gst_object_class_init),
10630         (gst_signal_object_class_init):
10631         * gst/gstpad.c: (gst_pad_class_init):
10632         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10633         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10634         * gst/gstregistry.c: (gst_registry_class_init):
10635         * gst/gstsystemclock.c: (gst_system_clock_class_init):
10636         * gst/gsttask.c: (gst_task_class_init):
10637         * gst/gstxml.c: (gst_xml_class_init):
10638         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10639         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10640         (gst_base_src_loop):
10641         * libs/gst/controller/gstcontroller.c:/
10642         (_gst_controller_class_init):
10643         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10644         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10645         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10646         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10647         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10648         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10649
10650 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
10651
10652         * gst/gstpad.c: (gst_pad_link):
10653           Must set peer pads before calling the link function, otherwise
10654           a task started from a link function might get a flow-not-linked
10655           result when trying to push because the other thread where the
10656           linking happens hasn't had a chance to set the peers yet. This
10657           might happen for example when a queue gets linked to a downstream
10658           element, as queue starts a streaming task when its source pad
10659           gets linked. Happens in real life when playing back flac/musepack
10660           files in playbin (#332390).
10661           
10662 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10663
10664         * gst/gstindex.h:
10665         * gst/gstxml.h:
10666         * libs/gst/base/gstadapter.h:
10667         * libs/gst/base/gstbasesink.h:
10668         * libs/gst/base/gstbasesrc.h:
10669         * libs/gst/base/gstbasetransform.h:
10670         * libs/gst/base/gstcollectpads.h:
10671         * libs/gst/base/gstpushsrc.h:
10672         Fix broken GObject macros
10673
10674 2006-04-07  Wim Taymans  <wim@fluendo.com>
10675
10676         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10677         Initialize start and stop times, thanks valgrind.
10678
10679 2006-04-07  Wim Taymans  <wim@fluendo.com>
10680
10681         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10682         Be a bit nicer to badly behaving upstream elements that expect
10683         us to deal with non TIME segments and timestamps (such as fakesrc
10684         in the testsuite).
10685
10686 2006-04-07  Wim Taymans  <wim@fluendo.com>
10687
10688         * gst/gstbus.c:
10689         Small documentation clarification about the signal watch.
10690
10691         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10692         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10693         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10694         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10695         (gst_base_sink_get_position_last),
10696         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10697         Convert and store timestamps in stream time and running time, the
10698         raw timestamps are not useful, also document this better.
10699         Use different window sizes for good and bad QoS observations so
10700         we react to badness a little quicker.
10701         Keep track of the amount of rendered and dropped buffers.
10702         Send QoS timestamps in running time.
10703
10704         * libs/gst/base/gstbasetransform.c:
10705         (gst_base_transform_sink_eventfunc),
10706         (gst_base_transform_handle_buffer):
10707         Compare QoS timestamps against running time.
10708
10709 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10710
10711         * gst/gstpad.c:
10712           Typo fixes in docs.
10713
10714 2006-04-06  Michael Smith  <msmith@fluendo.com>
10715
10716         * gst/gstpad.c: (gst_pad_set_property):
10717           Use g_value_get_object() instead of g_value_dup_gst_object(),
10718           to avoid double-reffing the pad template (which we then sink,
10719           so this worked previously if (and only if) the pad template
10720           was floating.
10721
10722         * gst/gstpadtemplate.c: (gst_pad_template_init),
10723         (gst_pad_template_pad_created):
10724           Never return floating references to pad templates, create
10725           them as initially-sunken.
10726
10727           Document an extra function (and make this stop sinking our
10728           pad template, since that is now guaranteed to do nothing,
10729           since we created it sunken).
10730
10731         * gst/gstghostpad.c:
10732           Fix docs typo.
10733
10734 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10735
10736         * gst/gstinfo.c: (__gst_in_valgrind):
10737           Add some newlines.
10738
10739         * plugins/elements/gsttypefindelement.c:
10740         (gst_type_find_element_chain):
10741           Don't leak buffer caps.
10742
10743 2006-04-06  Michael Smith  <msmith@fluendo.com>
10744
10745         * gst/parse/grammar.y:
10746           Fix a leak in parse-launch for any source-or-sink named element 
10747           references used.
10748
10749         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10750           Unref the pipeline if it exists after we've failed parsing.
10751
10752 2006-04-05  Michael Smith  <msmith@fluendo.com>
10753
10754         * gst/gstpipeline.c: (gst_pipeline_init):
10755           When we create a pipeline bus, initially create it in flushing mode.
10756           Fixes leaks in at least one test, and makes a new pipeline work the
10757           same as one that has gone to READY and then back to NULL.
10758
10759         * gst/gstelement.c:
10760           Typo fix in docs.
10761
10762 2006-04-05  Michael Smith  <msmith@fluendo.com>
10763
10764         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10765           Unref a pad we reffed.
10766         * tests/check/gst/gstutils.c: (GST_START_TEST):
10767           Unref bins
10768
10769 2006-04-05  Michael Smith  <msmith@fluendo.com>
10770
10771         * gst/gstquery.c: (gst_query_set_formats),
10772         (gst_query_set_formatsv):
10773           Fix leaking GValues in queries, as shown by valgrind/testsuite.
10774
10775 2006-04-05  Michael Smith  <msmith@fluendo.com>
10776
10777         * tests/check/generic/sinks.c: (GST_START_TEST):
10778           Fix a variety of memleaks in sinks check, which are only sometimes 
10779           shown by running the tests under valgrind (weird?).
10780
10781 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
10782
10783         * docs/version.entities.in:
10784           Fix the substituted entity name after thomas' changes on the
10785           weekend.
10786
10787 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10788
10789         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10790         VALGRIND_PRINTF
10791         
10792 2006-04-05  Andy Wingo  <wingo@pobox.com>
10793
10794         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10795
10796         * libs/gst/base/gstbasetransform.c
10797         (gst_base_transform_sink_eventfunc): When resetting our segment on
10798         FLUSH_STOP, also update the flag saying we haven't seen a
10799         newsegment.
10800
10801 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10802
10803         Patch by: Paolo Borelli  <pborelli at katamail dot com>
10804
10805         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10806         (gst_plugin_check_license):
10807           minor clean-ups: G_DEFINE_TYPE already takes care of the
10808           parent_class stuff, no need to do it twice. Mark array of
10809           license strings as constant. (#337103)
10810           
10811 2006-04-04  Michael Smith  <msmith@fluendo.com>
10812
10813         * tools/gst-inspect.c: (print_element_list):
10814           Free the right plugin list; fixes a memory leak.
10815
10816 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10817
10818         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
10819
10820         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10821           Don't error out on empty buffers (#336945).
10822           
10823 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
10824
10825         * docs/libs/gstreamer-libs-sections.txt:
10826         * gst/gsttaglist.c:
10827         * libs/gst/base/gstbasesink.c:
10828         * libs/gst/base/gstbasesink.h:
10829         * libs/gst/base/gstbasesrc.c:
10830         * libs/gst/base/gstbasesrc.h:
10831           Documentation updates. Make BaseSink and BaseSrc docs contain the
10832           class structure so that people can actually see the prototypes for
10833           virtual functions they're supposed to be overriding.
10834
10835 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10836
10837         * plugins/elements/gsttypefindelement.c:
10838         (gst_type_find_element_chain):
10839           More debug info; when skipping typefinding, send cached
10840           events in all cases.
10841
10842 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10843
10844         * configure.ac:
10845           use new AS_VERSION and AS_NANO macros
10846         * gst/gst-i18n-lib.h:
10847         * gst/gst.c:
10848         * gst/gsterror.c:
10849         * gst/gstversion.h.in:
10850         * win32/common/config.h:
10851         * win32/common/config.h.in:
10852           update accordingly
10853
10854 2006-03-31  Michael Smith  <msmith@fluendo.com>
10855
10856         * plugins/elements/gsttypefindelement.c:
10857         (gst_type_find_element_chain):
10858           Do not typefind content if the buffers already have caps.
10859           Neccesary for icydemux (#333657), and the right thing to do anyway.
10860
10861 2006-03-30  Wim Taymans  <wim@fluendo.com>
10862
10863         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10864         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10865         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10866         (gst_base_sink_record_qos_observation),
10867         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10868         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10869         (gst_base_sink_change_state):
10870         More QoS measurements as described in the design doc.
10871         Get rid of ringbuffer with observations, running average is
10872         more simple and equally good.
10873         Calculates valid proportion now.
10874         Added beginning of flood measurement.
10875
10876 2006-03-29  Wim Taymans  <wim@fluendo.com>
10877
10878         * docs/design/part-qos.txt:
10879         * gst/gstclock.c:
10880         Small documentation updates and additions.
10881
10882 2006-03-29  Wim Taymans  <wim@fluendo.com>
10883
10884         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10885         (gst_base_src_send_event), (gst_base_src_loop),
10886         (gst_base_src_change_state):
10887         Perform the EOS logic when we reach the segment stop position.
10888         Fix compilation on gcc4.1
10889
10890 2006-03-29  Wim Taymans  <wim@fluendo.com>
10891
10892         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10893
10894         * plugins/elements/gstqueue.c: (gst_queue_init),
10895         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10896         (gst_queue_set_property):
10897         * plugins/elements/gstqueue.h:
10898         In queue, when EOS is received, if minimum threshold > max_size -
10899         current_level, there is chance that queue blocks forever in conditional
10900         item del wait. This is because the queue is not emptied completely due
10901         to minimum threshold.  Here is another approach. Instead of setting
10902         cur_levels to max in EOS, just zero all minimum threshold levels. This
10903         should make sure that queue gives out all data. When going to READY
10904         (stop) state, just reset the original minimum threshold levels.
10905         Fixes #336336.
10906
10907 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
10908
10909         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10910         (gst_type_find_element_handle_event),
10911         (gst_type_find_element_send_cached_events),
10912         (gst_type_find_element_change_state):
10913         * plugins/elements/gsttypefindelement.h:
10914           When typefinding is done in push mode, we should cache
10915           events we receive during typefinding instead of just
10916           dropping them (e.g. newsegment, custom events from
10917           dvdreadsrc etc.) and then send them out once we've
10918           determined the type of the stream (and decodebin
10919           has had a chance to plug in a decoder/demuxer).
10920           
10921 2006-03-27  Wim Taymans  <wim@fluendo.com>
10922
10923         * docs/design/part-qos.txt:
10924         First QoS ideas.
10925
10926 2006-03-27  Wim Taymans  <wim@fluendo.com>
10927
10928         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10929
10930         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10931         (gst_base_src_send_event), (gst_base_src_change_state):
10932         Handle element seek correctly when we are streaming.
10933         Fixes #326998.
10934
10935 2006-03-24  Michael Smith  <msmith@fluendo.com>
10936
10937         * docs/faq/gst-uninstalled:
10938           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10939           allow you to correctly run intalled applications built against old 
10940           core, using plugins that require updated core (e.g. running
10941           installed totem against a full uninstalled gstreamer stack)
10942
10943 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10944
10945         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10946         more debug details
10947
10948 2006-03-24  Wim Taymans  <wim@fluendo.com>
10949
10950         * docs/gst/gstreamer-sections.txt:
10951         Rearrange the order of the methods so that related methods
10952         are grouped together in sections.
10953
10954 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10955
10956         * gst/gstelement.c:
10957           Little clarification in the docs
10958
10959 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10960
10961         * docs/README:
10962         formatting fix
10963         * plugins/elements/gstidentity.c:
10964         * plugins/elements/gstqueue.c:
10965         * plugins/elements/gsttee.c:
10966         * plugins/elements/gsttypefindelement.c:
10967         GST_ELEMENT_DETAILS formatting
10968
10969 2006-03-24  Wim Taymans  <wim@fluendo.com>
10970
10971         * libs/gst/base/gstbasesink.h:
10972         Only add fields, not insert or we break ABI.
10973
10974 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10975
10976         * win32/common/libgstbase.def:
10977         * win32/common/libgstreamer.def:
10978           Update, add recently added functions.
10979
10980 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10981
10982         * docs/gst/gstreamer-sections.txt:
10983         * gst/gstutils.c: (gst_pad_query_peer_position),
10984         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10985         * gst/gstutils.h:
10986           API: add some new utility functions:
10987            - gst_pad_query_peer_position()
10988            - gst_pad_query_peer_duration()
10989            - gst_pad_query_peer_convert()
10990           
10991 2006-03-23  Wim Taymans  <wim@fluendo.com>
10992
10993         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10994         (gst_base_sink_init), (gst_base_sink_finalize),
10995         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10996         (gst_base_sink_set_property), (gst_base_sink_get_property),
10997         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10998         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10999         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
11000         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11001         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
11002         (gst_base_sink_preroll_object), (gst_base_sink_event),
11003         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
11004         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
11005         (gst_base_sink_query), (gst_base_sink_change_state):
11006         Decouple max-lateness and the fact that QoS messages are generated
11007         with a new property (qos).
11008         added API: GstBaseSink::async_play()
11009         Add vmethod so subclasses can be notified of ASYNC playing
11010         state changes.
11011         Collect timestamp start and stop to report better current
11012         position in EOS/PLAYING/PAUSED/READY/NULL.
11013         Refactor QoS/frame dropping and other measurements.
11014         API: GstBaseSrc::qos
11015         Fixes #326311
11016
11017         * libs/gst/base/gstbasesink.h:
11018         Added Private struct.
11019         API: gst_base_sink_set_qos_enabled()
11020         API: gst_base_sink_is_qos_enabled()
11021
11022 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
11023
11024         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11025           If compiling against GLib-2.8 or newer, try to read the
11026           registry file using GMappedFile first before falling back
11027           to fopen() + fread() (#332151).
11028
11029 2006-03-22  Wim Taymans  <wim@fluendo.com>
11030
11031         * gst/gstinfo.c: (gst_debug_set_active),
11032         (gst_debug_category_set_threshold):
11033         Disable debugging unless explicitly activated.
11034         Fixes #335480.
11035
11036 2006-03-22  Wim Taymans  <wim@fluendo.com>
11037
11038         * gst/gstelement.c: (gst_element_set_locked_state),
11039         (gst_element_dispose):
11040         Cleanup the error case.
11041
11042         * gst/gstobject.c: (gst_object_dispose):
11043         print a critical when some object was disposed with
11044         a parent, also revive the object since it might
11045         crash the parent.
11046
11047 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
11048
11049         * tools/gst-launch.1.in:
11050           Fix another typo.
11051
11052 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11053
11054         * configure.ac:
11055         * tests/check/Makefile.am:
11056           disable some tests when we don't have a registry
11057         * tests/check/gst/gstutils.c: (gst_utils_suite):
11058           don't build the part that needs parsing
11059
11060 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11061
11062         * gst/Makefile.am
11063         * tests/examples/Makefile.am:
11064           fix --disable-parse build
11065
11066 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11067
11068         * tools/gst-feedback.1.in:
11069           Fix typo: s/feeback/feedback/ (#133494).
11070
11071 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11072
11073         * tools/Makefile.am:
11074         * tools/gst-launch.1.in:
11075           Add FILES section and correct entry about GST_REGISTRY_PATH
11076           environment variable (#133495; #133494).
11077
11078 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11079
11080         * tools/Makefile.am:
11081         * tools/gst-md5sum.1.in:
11082         * tools/gst-md5sum.c:
11083           Remove gst-md5sum and man page (the md5sink element
11084           required was removed ages ago)
11085
11086 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11087
11088         * gst/gststructure.c: (gst_structure_id_set_value):
11089           Make sure that string fields in structures/taglists
11090           contain valid UTF-8 - we don't want to pass rubbish to
11091           applications because of a buggy plugin (cp. #334167).
11092
11093 2006-03-21  Edward Hervey  <edward@fluendo.com>
11094
11095         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11096         (gst_bin_handle_message_func):
11097         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
11098         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
11099         (gst_element_set_bus_func):
11100         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
11101         * gst/gstminiobject.c: (gst_value_set_mini_object),
11102         (gst_value_take_mini_object):
11103         * gst/gstpad.c: (gst_pad_set_pad_template):
11104         * gst/gstpipeline.c: (gst_pipeline_dispose),
11105         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11106         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
11107         (gst_collect_pads_chain):
11108         * libs/gst/net/gstnettimeprovider.c:
11109         (gst_net_time_provider_set_property):
11110         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
11111         It's in fact all issues with gst_*object_replace().
11112
11113 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11114
11115         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
11116         
11117         * pkgconfig/gstreamer-check-uninstalled.pc.in:
11118         * pkgconfig/gstreamer-check.pc.in:
11119           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
11120
11121 2006-03-21  Edward Hervey  <edward@fluendo.com>
11122
11123         * gst/gstbuffer.h:
11124         * gst/gstevent.h:
11125         * gst/gstmessage.h:
11126         gst_[buffer|event|message]_ref() macros are replaced by a static
11127         inline functions because gcc-4.1 will about if the return value
11128         isn't used.
11129         * tests/check/gst/gstevent.c: (event_probe):
11130         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
11131
11132 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
11133
11134         * gst/gstutils.h:
11135         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
11136         the type' case. (Closes: #335195 for now). In the future, when we
11137         depend on GLib 2.10, we could also intern the type name using
11138         g_intern_static_string()
11139
11140 2006-03-20  Wim Taymans  <wim@fluendo.com>
11141
11142         * gst/gstbin.c: (gst_bin_handle_message_func),
11143         (bin_query_max_init), (bin_query_position_fold),
11144         (bin_query_position_done), (gst_bin_query):
11145         Position query should also take max of all streams.
11146
11147 2006-03-20  Wim Taymans  <wim@fluendo.com>
11148
11149         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11150         (gst_fake_src_finalize):
11151         Fix leaks in fakesrc.
11152
11153         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11154         Fix leaks in the testcase.
11155
11156 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
11157
11158         * gst/gst_private.h:
11159           add win32 specific import decoration(__declspec(dllimport)) 
11160           for all extern GstDebugCategory * variables
11161         * win32/common/libgstbase.def:
11162         * win32/common/libgstcontroller.def:
11163         * win32/common/libgstreamer.def:
11164           Add some exports, remove empty lines
11165         * win32/common/libgstdataprotocol.def:
11166         * win32/common/libgstdataprotocol.dsp:
11167         * win32/common/libgstnet.def:
11168         * win32/common/libgstnet.dsp:
11169           new project files and exportation files added
11170         
11171 2006-03-19  Wim Taymans  <wim@fluendo.com>
11172
11173         * tests/check/libs/basesrc.c: (eos_event_counter):
11174         Use proper return value for probe.
11175
11176 2006-03-17  Wim Taymans  <wim@fluendo.com>
11177
11178         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
11179         (gst_pad_push):
11180         Don't leak buffers, caps and pads on negotiation errors.
11181
11182 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
11183
11184         * docs/faq/cvs.xml:
11185         * docs/faq/dependencies.xml:
11186         * docs/faq/developing.xml:
11187         * docs/faq/faq.xml:
11188         * docs/faq/general.xml:
11189         * docs/faq/getting.xml:
11190         * docs/faq/legal.xml:
11191         * docs/faq/troubleshooting.xml:
11192         * docs/faq/using.xml:
11193         Faq review and update.
11194
11195 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
11196
11197         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
11198         (gst_pad_push):
11199         Don't pound the cpu to pieces by checking get_caps when accept_caps
11200         is called with the same caps as the pad already has.
11201         Use GST_DEBUG_OBJECT when outputting caps change information.
11202
11203 2006-03-15  Wim Taymans  <wim@fluendo.com>
11204
11205         * gst/gstclock.c: (gst_clock_class_init):
11206         Fix docs.
11207
11208 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
11209
11210         * gst/gstbuffer.h:
11211         Documentation fix.
11212
11213         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
11214         (gst_pad_accept_caps), (gst_pad_configure_sink),
11215         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
11216         Make the default acceptcaps behaviour be to check the requested 
11217         caps against the gst_pad_get_caps output. 
11218
11219         Ensure that gst_pad_accept_caps is used to check caps when a pad
11220         doesn't have a setcaps function, so that pads automatically refuse 
11221         caps that they don't allow in their pad template. (Fixes #332986)
11222
11223         When a buffer with attached caps is pushed, ensure that the source 
11224         pad receives those caps even if the element didn't call
11225         gst_pad_set_caps first.
11226
11227 2006-03-15  Wim Taymans  <wim@fluendo.com>
11228
11229         * libs/gst/base/gstadapter.c:
11230         Add some docs.
11231
11232 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
11233
11234         * win32/common/libgstbase.def:
11235         * win32/common/libgstcontroller.def:
11236         * win32/common/libgstreamer.def:
11237           Add a whole bunch of missing functions (#334434).
11238
11239 2006-03-14  Wim Taymans  <wim@fluendo.com>
11240
11241         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11242         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11243         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
11244         Better debug info when we receive a segment event.
11245         Reorganize a bit so we can pass the get_times() results around.
11246         Use the segment format when calculating the running time.
11247         Don't do QoS is sync is disabled or we have no clock or the
11248         element does not want us to sync to the clock.
11249         Don't drop buffers if QoS is disabled for now.
11250
11251 2006-03-14  Wim Taymans  <wim@fluendo.com>
11252
11253         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
11254         Marked the stats property as unimplemented so people don't get
11255         wild ideas.
11256         Add debug message when regression goes wrong.
11257         Added some more docs.
11258
11259 2006-03-14  Wim Taymans  <wim@fluendo.com>
11260
11261         * gst/gstsegment.c: (gst_segment_to_stream_time):
11262         Return correct return type in case of errors.
11263
11264 2006-03-14  Wim Taymans  <wim@fluendo.com>
11265
11266         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
11267           Don't segfault on invalid formats.
11268
11269 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
11270
11271         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11272           Can't use gst_segment_to_running_time() when the segment
11273           is not in GST_TIME_FORMAT (like with filesink, for example).
11274           Stops flac encoding pipelines from spewing critical warnings
11275           at EOS (#331248).
11276           
11277 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
11278
11279         * gst/gstpipeline.c: (gst_pipeline_class_init):
11280           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
11281
11282         * plugins/elements/gsttypefindelement.c:
11283         (gst_type_find_element_handle_event):
11284           Don't try to typefind empty streams.
11285
11286 2006-03-14  Wim Taymans  <wim@fluendo.com>
11287
11288         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11289         (gst_base_sink_do_qos):
11290         Separate QoS calculation.
11291         Only drop buffers when lateness is bigger than the 
11292         duration of the buffer.
11293
11294 2006-03-13  Wim Taymans  <wim@fluendo.com>
11295
11296         * gst/gstpipeline.c: (gst_pipeline_set_property),
11297         (gst_pipeline_get_property), (do_pipeline_seek),
11298         (gst_pipeline_change_state), (gst_pipeline_set_delay),
11299         (gst_pipeline_get_delay):
11300         Don't deadlock when reading properties.
11301
11302 2006-03-13  Wim Taymans  <wim@fluendo.com>
11303
11304         * libs/gst/base/gstbasetransform.c:
11305         (gst_base_transform_class_init), (gst_base_transform_init),
11306         (gst_base_transform_sink_event),
11307         (gst_base_transform_sink_eventfunc),
11308         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
11309         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11310         (gst_base_transform_set_property),
11311         (gst_base_transform_get_property),
11312         (gst_base_transform_change_state), (gst_base_transform_update_qos),
11313         (gst_base_transform_set_qos_enabled),
11314         (gst_base_transform_is_qos_enabled):
11315         * libs/gst/base/gstbasetransform.h:
11316         Make basetransform virtual method for src events too.
11317         Handle QOS in basetransform.
11318         API: gst_base_transform_update_qos()
11319         API: gst_base_transform_set_qos_enabled()
11320         API: gst_base_transform_is_qos_enabled()
11321
11322 2006-03-13  Wim Taymans  <wim@fluendo.com>
11323
11324         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11325         (gst_base_sink_do_sync):
11326         Small cleanups.
11327         Use QOS debug category.
11328
11329 2006-03-13  Wim Taymans  <wim@fluendo.com>
11330
11331         * plugins/elements/gstqueue.c:
11332         Very small doc update.
11333
11334 2006-03-13  Wim Taymans  <wim@fluendo.com>
11335
11336         * gst/gst_private.h:
11337         * gst/gstinfo.c: (_gst_debug_init):
11338         Added QOS debug category
11339
11340 2006-03-13  Wim Taymans  <wim@fluendo.com>
11341
11342         * docs/gst/gstreamer-sections.txt:
11343         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11344         * gst/gstbin.h:
11345         * gst/gstbus.c: (gst_bus_class_init):
11346         * gst/gstbus.h:
11347         * gst/gstclock.c:
11348         * gst/gstelement.c: (gst_element_set_locked_state):
11349         * gst/gstsegment.c:
11350         Documentation updates.
11351
11352         * gst/gstpipeline.c: (gst_pipeline_get_type),
11353         (gst_pipeline_class_init), (gst_pipeline_init),
11354         (gst_pipeline_dispose), (gst_pipeline_set_property),
11355         (gst_pipeline_get_property), (do_pipeline_seek),
11356         (gst_pipeline_send_event), (gst_pipeline_change_state),
11357         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11358         (gst_pipeline_get_delay):
11359         * gst/gstpipeline.h:
11360         Added methods for setting the delay.
11361         API: gst_pipeline_set_delay()
11362         API: gst_pipeline_get_delay()
11363         Add pipeline debug category
11364         Various cleanups.
11365         Updated docs.
11366         Don't reset stream time when seek failed.
11367
11368 2006-03-13  Wim Taymans  <wim@fluendo.com>
11369
11370         * docs/design/draft-klass.txt:
11371         * docs/design/part-clocks.txt:
11372         * docs/design/part-events.txt:
11373         * docs/design/part-gstbin.txt:
11374         * docs/design/part-gstpipeline.txt:
11375         * docs/design/part-messages.txt:
11376         * docs/design/part-negotiation.txt:
11377         * docs/design/part-overview.txt:
11378         * docs/design/part-preroll.txt:
11379         * docs/design/part-seeking.txt:
11380         * docs/design/part-states.txt:
11381         * docs/design/part-streams.txt:
11382         Documentation updates.
11383
11384 2006-03-12  Julien MOUTTE  <julien@moutte.net>
11385
11386         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11387         us to leak strings...
11388
11389 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11390
11391         * libs/gst/net/gstnettimeprovider.c:
11392           fix docs
11393         * win32/common/config.h:
11394           update
11395
11396 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
11397
11398         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11399
11400         * configure.ac:
11401           Don't check for libgnomeui (leftover from old examples
11402           that aren't built or disted any longer) (#334303).
11403           
11404 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
11405
11406         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11407         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11408           Emit RESOURCE_NO_SPACE_LEFT error here as well when
11409           there's no space left on the device.
11410
11411 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
11412
11413         * gst/gstclock.h:
11414           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11415           to cast the input to GstClockTime before comparing with
11416           another GstClockTime value.
11417
11418 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11419
11420         * configure.ac:
11421           back to trunk
11422
11423 === release 0.10.4 ===
11424
11425 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
11426
11427         * configure.ac:
11428           releasing 0.10.4, "Light"
11429
11430 2006-03-10  Michael Smith  <msmith@fluendo.com>
11431
11432         * libs/gst/dataprotocol/dataprotocol.c:
11433           Fix docs for dataprocotol to not get the return types completely
11434           wrong for a few functions.
11435
11436 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11437
11438         * docs/gst/gstreamer-sections.txt:
11439         * gst/gstpipeline.c: (gst_pipeline_class_init),
11440         (gst_pipeline_init), (gst_pipeline_set_property),
11441         (gst_pipeline_get_property), (gst_pipeline_change_state),
11442         (gst_pipeline_set_auto_flush_bus),
11443         (gst_pipeline_get_auto_flush_bus):
11444         * gst/gstpipeline.h:
11445           Add new API: gst_pipeline_set_auto_flush_bus() and
11446           gst_pipeline_get_auto_flush_bus() to disable automatic
11447           flushing of the pipeline's GstBus when going from READY
11448           to NULL state (#332045).
11449
11450 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11451
11452         * docs/gst/gstreamer-sections.txt:
11453         * gst/gsturi.c: (gst_uri_has_protocol):
11454         * gst/gsturi.h:
11455            Add new API: gst_uri_has_protocol() (#333779).
11456
11457 2006-03-09  Wim Taymans  <wim@fluendo.com>
11458
11459         * gst/gstclock.c: (gst_clock_entry_new),
11460         (gst_clock_id_compare_func), (gst_clock_id_wait),
11461         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11462         (gst_clock_init), (gst_clock_get_internal_time),
11463         (gst_clock_set_master), (do_linear_regression),
11464         (gst_clock_add_observation), (gst_clock_set_property):
11465         * gst/gstclock.h:
11466         Review docs.
11467         Small cleanups.
11468         Fix a possible segfault when the window-size is made smaller.
11469         Calculate jitter before performing the clock wait. Ideally
11470         the clock implementation should calculate jitter but we need
11471         API breakage for that.
11472
11473         * gst/gstsystemclock.c: (gst_system_clock_init):
11474         Docs review.
11475         
11476         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11477         Remove leftover else
11478
11479         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11480         (gst_systemclock_suite):
11481         Added check to test GST_CLOCK_DIFF.
11482
11483 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11484
11485         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11486         (gst_type_find_helper_get_range):
11487           If we are provided with the size, we should implement
11488           GstTypeFind::get_length, so that typefind functions who
11489           want to can actually peek at the middle of a file.
11490
11491 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
11492
11493         * docs/manual/advanced-dataaccess.xml:
11494           Add some very very basic error checking.
11495
11496         * docs/pwg/appendix-checklist.xml:
11497           Some updates to the list of things to check when writing an element.
11498
11499 2006-03-08  Wim Taymans  <wim@fluendo.com>
11500
11501         * docs/design/part-element-transform.txt:
11502         Added some docs about the design of tranform elements.
11503
11504         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11505         (gst_base_src_loop), (gst_base_src_change_state):
11506         Mark buffers with the DISCONT flag.
11507
11508 2006-03-08  Michael Smith  <msmith@fluendo.com>
11509
11510         * gst/gstregistry.h:
11511         * gst/gstregistryxml.c: (gst_registry_save),
11512         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11513         (gst_registry_xml_save_pad_template),
11514         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11515         (gst_registry_xml_write_cache):
11516           Rewrite registry-saving to avoid race conditions and check for
11517           failed writes.
11518
11519 2006-03-08  Wim Taymans  <wim@fluendo.com>
11520
11521         * libs/gst/base/gstbasetransform.c:
11522         (gst_base_transform_transform_caps),
11523         (gst_base_transform_transform_size),
11524         (gst_base_transform_prepare_output_buffer),
11525         (gst_base_transform_get_unit_size),
11526         (gst_base_transform_buffer_alloc),
11527         (gst_base_transform_handle_buffer),
11528         (gst_base_transform_change_state):
11529         Cleanups, separate normal flow from errors, add sensible
11530         DEBUG lines.
11531         Don't try to renegotiate when allocating an output buffer.
11532         Also copy DISCONT buffer flag when copying a buffer.
11533         Reset the transform after we finish streaming, not during.
11534
11535 2006-03-08  Wim Taymans  <wim@fluendo.com>
11536
11537         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11538         Use last buffer timestamp in qos message.
11539
11540 2006-03-07  Wim Taymans  <wim@fluendo.com>
11541
11542         Patch by: Christophe Fergeau
11543
11544         * docs/pwg/advanced-tagging.xml:
11545         * docs/pwg/building-pads.xml:
11546           fixes #333416
11547
11548 2006-03-07  Wim Taymans  <wim@fluendo.com>
11549
11550         * docs/libs/gstreamer-libs-sections.txt:
11551         Added basesink new methods.
11552
11553         * gst/gstevent.c:
11554         * gst/gstevent.h:
11555         Docs updates. Flesh out the QoS docs.
11556
11557         * libs/gst/base/gstadapter.c:
11558         Small doc clarification about ownership and flushing.
11559
11560         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11561         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11562         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11563         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11564         * libs/gst/base/gstbasesink.h:
11565         API additions: 
11566         Added new methods to allow subclass to control max-lateness 
11567         and sync.
11568         Generate very basic QoS events based on last sync observation.
11569         Updated docs, fix typo, added some QoS blurb.
11570
11571         * libs/gst/base/gstbasesrc.c:
11572         Remove obsolete _get_state() calls from docs.
11573
11574 2006-03-07  Wim Taymans  <wim@fluendo.com>
11575
11576         * docs/libs/gstreamer-libs-sections.txt:
11577         * libs/gst/base/gstbasetransform.h:
11578         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11579         Fix docs for GstBaseSrc.
11580
11581 2006-03-07  Wim Taymans  <wim@fluendo.com>
11582
11583         * docs/gst/gstreamer-sections.txt:
11584         * gst/gstbuffer.h:
11585         * gst/gstvalue.c:
11586         * libs/gst/base/gstbasetransform.h:
11587         Small documentation fixes.
11588
11589 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11590
11591         * gst/gstvalue.c:
11592           Document thread-unsafety of gst_value_register_foo_func()
11593           when used at the same time as gst_value_foo() (#322628).
11594
11595 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11596
11597         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11598         (gst_push_src_check_get_range):
11599           Push sources don't support pull mode by default.
11600
11601 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11602
11603         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11604         (gst_base_src_init), (gst_base_src_pad_check_get_range),
11605         (gst_base_src_default_check_get_range):
11606         * libs/gst/base/gstbasesrc.h:
11607           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11608           provide default implementation, and rename
11609           gst_base_src_check_get_range() to
11610           gst_base_src_pad_check_get_range() for clarity.
11611
11612 2006-03-06  Wim Taymans  <wim@fluendo.com>
11613
11614         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11615         Make property overridable.
11616
11617 2006-03-06  Wim Taymans  <wim@fluendo.com>
11618
11619         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11620         (gst_base_sink_init), (gst_base_sink_set_property),
11621         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11622         * libs/gst/base/gstbasesink.h:
11623         API addition: Make max-lateness a property.
11624
11625 2006-03-06  Wim Taymans  <wim@fluendo.com>
11626
11627         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11628         (gst_base_sink_do_sync), (gst_base_sink_render_object):
11629         Don't ever draw a frame that is >10ms late.
11630
11631 2006-03-06  Michael Smith  <msmith@fluendo.com>
11632
11633         * gst/gstmessage.c: (_gst_message_copy):
11634           When copying a message, set the parent_refcount of the enclosed
11635           structure to point at the copy, not the original message.
11636
11637 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11638
11639         Patch by: Christophe Fergeau
11640
11641         * gst/gstutils.h:
11642           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11643           usable in c++ code (#333417)
11644
11645 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11646
11647         * gst/gstclock.h:
11648           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11649
11650 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
11651
11652         * libs/gst/base/gstbasetransform.c:
11653         (gst_base_transform_transform_caps):
11654           Make sure caps are writable before passing them to
11655           gst_caps_append().
11656
11657 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11658
11659         * gst/gsterror.h:
11660           Fix some minor docs errors.
11661
11662 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11663
11664           Patch by: Ross Burton <ross at burtonini dot com>
11665
11666         * gst/gsterror.c: (_gst_resource_errors_init):
11667         * gst/gsterror.h:
11668           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11669
11670 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11671
11672         * gst/gst.c:
11673         Add a check and output a g_warning when GStreamer is built
11674         against GLib 2.6 but running against 2.8 or higher, and vice 
11675         versa. (Closes: #323542)
11676
11677 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11678
11679         * gst/parse/parse.l:
11680           Commit patch for parse_launch syntax from #331255. Removes 
11681           support for quoted strings and mimetypes when writing filtered 
11682           caps. See the bug report for more details - I'm pretty sure this
11683           obscure feature is not in use by _anyone_ anywhere.
11684
11685           With this simple change, the size of the gstreamer.so here 
11686           drops from 2193KB to 1565KB.
11687
11688 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11689
11690         * plugins/elements/gsttypefindelement.h:
11691         * plugins/elements/gsttypefindelement.c:
11692         (gst_type_find_element_src_event), (start_typefinding),
11693         (stop_typefinding), (gst_type_find_element_handle_event),
11694         (gst_type_find_element_chain),
11695         (gst_type_find_element_chain_do_typefinding):
11696           Use gst_type_find_helper_for_buffer() for chain-based
11697           typefinding.
11698
11699 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11700
11701         * plugins/elements/gsttypefindelement.c:
11702         (gst_type_find_element_class_init),
11703         (gst_type_find_element_set_property),
11704         (gst_type_find_element_get_property):
11705           Deprecate "maximum" property (not only was it only taken into
11706           account for typefinding in push-mode anyway, it also was never
11707           actually possible to set it in the first place because the
11708           property was registered with the numeric property ID for the
11709           "minimum" property). Register "maximum" property correctly,
11710           for the sake of future copy'n'pasters. Remove some cruft
11711           from property get/set functions.
11712
11713 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11714
11715         * plugins/elements/gsttypefindelement.c:
11716         (gst_type_find_element_activate):
11717           Use gst_type_find_helper_get_range() here, so we
11718           can honour the "minimum" property and also emit
11719           the signal with the correct probability of the found caps.
11720
11721 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
11722
11723         * docs/libs/gstreamer-libs-sections.txt:
11724         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11725         (helper_find_suggest), (gst_type_find_helper_get_range),
11726         (gst_type_find_helper):
11727         * libs/gst/base/gsttypefindhelper.h:
11728           New API: gst_type_find_helper_get_range() (#333042).
11729
11730 2006-03-02  Michael Smith  <msmith@fluendo.com>
11731
11732         * gst/gstregistryxml.c: (load_feature):
11733           Asserting on a failure to read part of the registry is Not Cool.
11734           Just log a warning and return NULL (which is already handled)
11735
11736 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
11737
11738         * win32/common/libgstbase.def:
11739           added export of gst_type_find_helper_for_buffer
11740         * win32/common/libgstbase.def:
11741           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11742           gst_ghost_pad_get_target
11743
11744 2006-02-28  Wim Taymans  <wim@fluendo.com>
11745
11746         * docs/design/draft-klass.txt:
11747         We use Filter now.
11748         Added Connector to mark elements that are only used to
11749         allow pipeline connections.
11750         Moved Debug to extra feature since most of them are 
11751         functionally something else.
11752
11753 2006-02-28  Wim Taymans  <wim@fluendo.com>
11754
11755         * docs/design/draft-klass.txt:
11756         Some updates and clarifications.
11757
11758 2006-02-28  Wim Taymans  <wim@fluendo.com>
11759
11760         * docs/design/draft-klass.txt:
11761         Proposal for klass field values.
11762
11763         * docs/design/part-streams.txt:
11764         Start of a doc describing stream anatomy.
11765
11766 2006-02-28  Wim Taymans  <wim@fluendo.com>
11767
11768         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11769         Help the compiler a bit with type registration.
11770         Use existing forward cod path instead of duplicating it when 
11771         handling a message.
11772         
11773         * gst/gstbus.c: (gst_bus_get_type):
11774         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11775         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11776         * gst/gstclock.c: (gst_clock_get_type):
11777         * gst/gstelement.c: (gst_element_get_type),
11778         * gst/gstelementfactory.c: (gst_element_factory_get_type):
11779         * gst/gstindexfactory.c: (gst_index_factory_get_type):
11780         * gst/gstminiobject.c: (gst_mini_object_get_type):
11781         * gst/gstpad.c: (gst_pad_get_type):
11782         * gst/gstsegment.c: (gst_segment_get_type):
11783         * gst/gststructure.c: (gst_structure_get_type):
11784         * gst/gstsystemclock.c: (gst_system_clock_get_type):
11785         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11786         * gst/gstvalue.c:
11787         Help compiler with type registration.
11788
11789         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11790         Small doc update.
11791
11792 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11793
11794         * plugins/elements/gsttypefindelement.c:
11795         (gst_type_find_element_handle_event):
11796           When we get an EOS event and have not found a type yet
11797           (most likely because we had not yet accumulated
11798           TYPE_FIND_MIN_SIZE of data yet), try to determine the
11799           type given the data we have so far. Fixes typefinding
11800           for very short streams again, most notably quicktime
11801           redirections as used on Apple's trailer site (#331701).
11802
11803 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11804
11805         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11806         (gst_type_find_helper):
11807           Try typefinding factories with the highest rank first.
11808
11809 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11810
11811         * docs/libs/gstreamer-libs-docs.sgml:
11812         * docs/libs/gstreamer-libs-sections.txt:
11813         * libs/gst/base/gsttypefindhelper.c:
11814           Add section for typefind helper and add documentation
11815           for the old and the new function.
11816
11817 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11818
11819         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11820         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11821         (gst_type_find_helper_for_buffer):
11822         * libs/gst/base/gsttypefindhelper.h:
11823           New API: gst_type_find_helper_for_buffer() (#332723).
11824           
11825 2006-02-27  Michael Smith  <msmith@fluendo.com>
11826
11827         Patch by: Loïc Minier
11828
11829         * configure.ac:
11830         * docs/Makefile.am:
11831         * docs/slides/Makefile.am:
11832           prevent CVS directories getting disted.
11833
11834 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11835
11836         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11837           Use the REFCOUNTING category for caps refcounting.
11838           
11839 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11840
11841         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11842           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11843
11844 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11845
11846         * plugins/elements/gsttypefindelement.c:
11847         (gst_type_find_element_activate):
11848           Use gst_pad_check_pull_range() before _activate_pull()
11849           to avoid unnecessary open/close (see #331690).
11850
11851 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11852
11853         * gst/gstutils.c:
11854           Docs enhancement: make it crystal clear what the
11855           gst_pad_add_*_probe() callbacks should look like.
11856
11857 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11858
11859         * libs/gst/base/gstbasesrc.c:
11860           Document how applications can stop recording from
11861           live sources (see #330996).
11862
11863 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11864
11865         * tests/check/Makefile.am:
11866         * tests/check/libs/basesrc.c: (eos_event_counter),
11867         (basesrc_eos_events_pull), (basesrc_eos_events_push),
11868         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11869         (gst_basesrc_suite), (main):
11870           ... and add some tests for the base source EOS stuff.
11871
11872 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11873
11874         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11875           Test case originally showed the problem fixed below,
11876           but was then amended. Add checks back at the place
11877           where they used to be.
11878
11879 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11880
11881         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11882         (gst_base_src_init), (gst_base_src_loop),
11883         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11884         (gst_base_src_change_state):
11885         * libs/gst/base/gstbasesrc.h:
11886           Don't unconditionally send EOS when going from PAUSED to
11887           READY state, esp. make sure we don't send two EOS events
11888           in some cases (e.g. one when reaching EOS and one when
11889           going from PAUSED to READY). Also, we don't want to send
11890           EOS events when operating in pull mode. However, we do
11891           want to send an EOS event when shutting down a live
11892           source explicitly, for example (fixes #330996).
11893           
11894 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11895
11896         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11897           Update src->read_position after a seek when not using mmap.
11898           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11899
11900 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
11901
11902         * gst/Makefile.am:
11903         * gst/gstparse.h:
11904         * gst/gstutils.c:
11905         * gst/gstutils.h:
11906         Make things work with --disable-parse as they do with 
11907         --disable-load-save - the symbols involved disappear, but the
11908         header is still installed and GST_DISABLE_PARSE is included via
11909         gstconfig.h
11910
11911 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11912
11913         * libs/gst/base/gstbasetransform.c:
11914         (gst_base_transform_change_state): Fix a stupid bug. I was 
11915         sure I compiled that.
11916
11917 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11918
11919         * gst/gstpad.c: (gst_pad_set_blocked_async):
11920         * gst/gstutils.c: (gst_pad_add_data_probe),
11921         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11922         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11923         (gst_pad_remove_buffer_probe): Make those function act on the
11924         ghostpad target when it's a ghostpad. (Closes #331727)
11925
11926 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11927
11928         * libs/gst/base/gstbasetransform.c:
11929         (gst_base_transform_change_state): Make basetransform reusable.
11930         (Closes #331898)
11931
11932 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
11933
11934         * docs/random/release:
11935         Move the current documentation of how to do a release to the top
11936         of the file.
11937
11938         * gst/gstbin.c: (gst_bin_class_init),
11939         (gst_bin_handle_message_func):
11940         Allow multiple state-recalculation threads. (Closes #328873)
11941
11942 2006-02-19  Julien MOUTTE  <julien@moutte.net>
11943
11944         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11945         * gst/gstpad.c: (gst_pad_set_event_function),
11946         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11947         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11948         2 strings. You can't use the STR_NULL macro on that.
11949
11950 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
11951
11952         * gst/gstpad.c: (gst_pad_set_event_function),
11953         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11954         (gst_pad_set_getcaps_function)
11955         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11956           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11957           So now, we can use --gst-debug-level=5 on Windows
11958         * win32/common/libgstcontroller.def:
11959           Added export of gst_controller_init
11960         * win32/vs6/libgstcontroller.dsp:
11961           Fixed Release post build configuration
11962
11963 2006-02-17  Wim Taymans  <wim@fluendo.com>
11964
11965         * tests/check/gst/gstquery.c: (GST_START_TEST):
11966         Added another check.
11967
11968 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
11969
11970         * plugins/elements/gsttypefindelement.c: (find_peek):
11971           We can do peeks at non-zero offsets, as long as they
11972           fall within the buffer we have.
11973
11974 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
11975
11976         * tests/check/Makefile.am:
11977         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11978         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11979         (parse_suite), (main):
11980           Add testsuite for parse launch syntax
11981
11982 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
11983
11984         * plugins/elements/gsttypefindelement.c:
11985         (gst_type_find_element_chain):
11986           When typefinding is unsuccessful in the chain function, don't
11987           error out immediately. Only error out with NO_CAPS_FOUND if
11988           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11989           otherwise simply wait for more data so we can try typefinding
11990           again with more data later. Also, don't attempt to typefind
11991           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11992           this should improve typefinding from network sources where the
11993           size of the first buffer can be somewhat random.
11994
11995 2006-02-14  Wim Taymans  <wim@fluendo.com>
11996
11997         * docs/gst/gstreamer-sections.txt:
11998         * gst/gstpadtemplate.c:
11999         * gst/gstpadtemplate.h:
12000         Fix padtemplate docs, fixes #328805.
12001
12002 2006-02-14  Wim Taymans  <wim@fluendo.com>
12003
12004         * tools/gst-launch.c: (main):
12005         NO_PREROLL is not an ERROR so don't send confusing messages
12006         to the user.
12007
12008 2006-02-14  Wim Taymans  <wim@fluendo.com>
12009
12010         Patch by: Torsten Schoenfeld
12011
12012         * gst/gstregistry.c: (gst_registry_get_default),
12013         (_gst_registry_cleanup):
12014         Protect default registry with lock and ref/sink it.
12015         Fixes #324818
12016
12017 2006-02-14  Wim Taymans  <wim@fluendo.com>
12018
12019         * gst/gstbuffer.c:
12020         * gst/gstquery.c: (gst_query_list_add_format),
12021         (gst_query_set_formatsv), (gst_query_parse_formats_length),
12022         (gst_query_parse_formats_nth):
12023         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12024         Docs fixes.
12025
12026 2006-02-14  Wim Taymans  <wim@fluendo.com>
12027
12028         * docs/gst/gstreamer-sections.txt:
12029         Reworked query docs.
12030
12031         * gst/gstquery.c: (gst_query_new_formats),
12032         (gst_query_list_add_format), (gst_query_set_formats),
12033         (gst_query_set_formatsv), (gst_query_parse_formats_length),
12034         (gst_query_parse_formats_nth):
12035         * gst/gstquery.h:
12036         Flesh out formats query, added some new methods.
12037         Fix part of #324398.
12038
12039         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
12040         Added query creation tests.
12041
12042 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
12043
12044         * gst/gstpad.c: (fixate_value):
12045         Add a default fixation for fraction lists.
12046
12047 2006-02-13  Wim Taymans  <wim@fluendo.com>
12048
12049         * gst/gsttask.c: (gst_task_init), (gst_task_func),
12050         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
12051         (gst_task_join):
12052         * gst/gsttask.h:
12053         Detect and warn for obvious deadlocks. fixes #320340
12054         Fix error case where lock was not released.
12055
12056         * tests/check/Makefile.am:
12057         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
12058         (task_func), (gst_element_suite), (main):
12059         Add task check.
12060
12061 2006-02-13  Wim Taymans  <wim@fluendo.com>
12062
12063         * docs/gst/gstreamer-sections.txt:
12064         * gst/gstbus.c:
12065         Add new functions to docs.
12066
12067 2006-02-13  Wim Taymans  <wim@fluendo.com>
12068
12069         * docs/design/part-TODO.txt:
12070         Updated TODO list, basesrc supports seeking to non-bytes
12071         formats.
12072
12073         * docs/design/part-element-sink.txt:
12074         Update docs.
12075
12076         * gst/gstbin.c: (bin_replace_message),
12077         (gst_bin_handle_message_func):
12078         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
12079         * gst/gstevent.c: (gst_event_finalize):
12080         * gst/gstpad.c: (gst_pad_event_default_dispatch),
12081         (gst_pad_send_event):
12082         Use shiny new _TYPE_NAME macros.
12083
12084         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12085         Move debug statement up.
12086
12087         * gst/gstelement.c: (gst_element_set_locked_state):
12088         Add some debugging.
12089
12090 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
12091
12092         * docs/gst/gstreamer-sections.txt:
12093         * gst/gstmessage.h:
12094         * gst/gstquery.h:
12095           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
12096           macros (#330906). Also, document the already existing
12097           GST_QUERY_TYPE macro.
12098
12099 2006-02-13  Wim Taymans  <wim@fluendo.com>
12100
12101         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
12102         (event_probe), (GST_START_TEST):
12103         Only events up to the pipeline EOS are counted, there are
12104         some more when going to NULL currently which we don't care
12105         about for now.
12106
12107 2006-02-13  Wim Taymans  <wim@fluendo.com>
12108
12109         * gst/gstpad.c: (gst_pad_send_event):
12110         Correctly check flushing and emit probes. fixes #330125
12111
12112 2006-02-10  Andy Wingo  <wingo@pobox.com>
12113
12114         * gst/gstbus.c (gst_bus_class_init): Declare our private data
12115         structure.
12116         (gst_bus_init): Cache the location of the private data in the
12117         instance structure.
12118         (gst_bus_enable_sync_message_emission) 
12119         (gst_bus_disable_sync_message_emission): Implement new public
12120         functions.
12121         (gst_bus_post): Emit the sync-message signal if the user asked for
12122         it. Fixes #330684.
12123
12124         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
12125         location of the bus-private structure.
12126         (gst_bus_enable_sync_message_emission)
12127         (gst_bus_disable_sync_message_emission): API addition
12128
12129 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
12130
12131         Patch by: Vincent Torri
12132
12133         * docs/pwg/building-boiler.xml:
12134         PWG patch from #326800
12135
12136 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
12137
12138         * configure.ac:
12139         * docs/Makefile.am:
12140         * docs/design/Makefile.am:
12141           Dist design docs.
12142
12143 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
12144
12145         * configure.ac:
12146           back to CVS
12147
12148 === release 0.10.3 ===
12149
12150 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
12151
12152         * configure.ac:
12153           releasing 0.10.3, "Like a virgin"
12154
12155 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
12156
12157         * configure.ac:
12158           2nd prerelease of 0.10.3
12159           Bump libtool versioning.
12160
12161 2006-02-07  Andy Wingo  <wingo@pobox.com>
12162
12163         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
12164         update last_stop if we're in TIME format and the timestamp is
12165         valid.
12166
12167         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
12168         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
12169         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
12170         If we get a new newsegment with a different format, adapt
12171         accordingly.
12172
12173         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
12174         of 0. Not a problem, really.
12175
12176         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
12177         warn if sync=true.
12178
12179 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
12180
12181         * configure.ac:
12182           Prelease of 0.10.3
12183
12184 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
12185
12186         * win32/vs7:
12187           project files updated to the default vs7 configuration
12188         * win32/common/libgstbase.def:
12189         * win32/common/libgstreamer.def:
12190           added new symbols,
12191           removed empty lines,
12192           sorted all exported symbols alphabetically
12193         * win32/common/dirent.c:
12194         * win32/common/dirent.h:
12195         * win32/common/gchar.h:
12196           use windows line end.
12197           
12198 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
12199
12200         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12201           Send EOS event when stopping.
12202
12203 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
12204
12205         * docs/README:
12206           Tell folks what to do if the plugin-foobar.xml file
12207           hasn't been generated for a newly-added plugin.
12208
12209 2006-02-05  Julien MOUTTE  <julien@moutte.net>
12210
12211         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12212         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12213         (gst_collect_pads_start), (gst_collect_pads_stop),
12214         (gst_collect_pads_event): Collectpads now holds a reference
12215         to the GstPad that was added. Indeed we don't want to look
12216         at pads that might just go away with no warning...
12217
12218 2006-02-05  Julien MOUTTE  <julien@moutte.net>
12219
12220         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
12221         (gst_collect_pads_start), (gst_collect_pads_stop),
12222         (gst_collect_pads_event), (gst_collect_pads_chain):
12223         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
12224         Mark Nauwelaerts's patch on bug #328491.
12225
12226 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
12227
12228         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
12229         (gst_utils_suite):
12230           Add some simple tests for gst_parse_bin_from_description() and
12231           gst_bin_find_unconnected_pad() (#329069).
12232
12233 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
12234
12235         * tools/gst-launch.c: (event_loop), (main):
12236           Catch errors during preroll (#320084).
12237
12238 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
12239
12240         * plugins/elements/gsttypefindelement.c:
12241         (gst_type_find_element_activate):
12242           Post TYPE_NOT_FOUND error message when typefinding
12243           is unsuccessful in the activate function as well.
12244
12245 2006-02-02  Wim Taymans  <wim@fluendo.com>
12246
12247         * docs/design/part-element-sink.txt:
12248         Updated doc.
12249
12250 2006-02-02  Wim Taymans  <wim@fluendo.com>
12251
12252         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12253         (gst_base_sink_render_object),
12254         (gst_base_sink_queue_object_unlocked):
12255         Only keep track of prerollable items when we are 
12256         prerolling.
12257         Before rendering after preroll, always check if we
12258         have queued items.
12259         Added some more debugging.
12260
12261 2006-02-02  Wim Taymans  <wim@fluendo.com>
12262
12263         * gst/gstelement.c: (gst_element_continue_state),
12264         (gst_element_set_state_func), (gst_element_change_state):
12265         Fixed #326576, been running this for quite some time with
12266         no regressions at all.
12267
12268 2006-02-02  Wim Taymans  <wim@fluendo.com>
12269
12270         * common/gst.supp:
12271         Added more suppressions
12272
12273 2006-02-02  Wim Taymans  <wim@fluendo.com>
12274
12275         * docs/design/part-element-sink.txt:
12276         Updated document.
12277
12278         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12279         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
12280         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
12281         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12282         (gst_base_sink_do_sync), (gst_base_sink_render_object),
12283         (gst_base_sink_preroll_object),
12284         (gst_base_sink_queue_object_unlocked),
12285         (gst_base_sink_queue_object), (gst_base_sink_event),
12286         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
12287         (gst_base_sink_loop), (gst_base_sink_activate_pull),
12288         (gst_base_sink_get_position), (gst_base_sink_change_state):
12289         * libs/gst/base/gstbasesink.h:
12290         Totally refactored matching the design doc.
12291         Use two segments, one to clip incomming buffers and another to
12292         perform sync.
12293         Handle queueing correctly, bypass the queue when playing.
12294         Make EOS cancelable.
12295         Handle errors correctly when operating in pull based mode.
12296
12297         * tests/check/elements/fakesink.c: (GST_START_TEST),
12298         (fakesink_suite):
12299         Added new check for sinks.
12300
12301 2006-02-02  Wim Taymans  <wim@fluendo.com>
12302
12303         * gst/gstsegment.c: (gst_segment_clip):
12304         No reason to refuse to clip when start == -1
12305
12306 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
12307
12308         * docs/README:
12309         * docs/manual/intro-basics.xml:
12310         * docs/manual/intro-preface.xml:
12311         * docs/manual/manual.xml:
12312         * docs/pwg/advanced-dparams.xml:
12313         * docs/pwg/intro-basics.xml:
12314         * docs/pwg/intro-preface.xml:
12315         * docs/pwg/pwg.xml:
12316           describe dparams (controller) for plugins
12317           unify docs a little more
12318
12319 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
12320
12321         * docs/gst/gstreamer-sections.txt:
12322         * gst/gstutils.c: (element_find_unconnected_pad),
12323         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12324         * gst/gstutils.h:
12325           Add new API: gst_parse_bin_from_description() and
12326           gst_bin_find_unconnected_pad() (#329069).
12327
12328 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
12329
12330         * docs/manual/README:
12331           uncover a nasty detail of the docs build
12332
12333 2006-01-31  Wim Taymans  <wim@fluendo.com>
12334
12335         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12336         Don't cache duration messages if we're not going to use or
12337         free them.
12338
12339 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
12340
12341         * docs/manual/advanced-dparams.xml:
12342         * docs/pwg/advanced-dparams.xml:
12343           more dparam docs
12344         * gst/gstindex.c:
12345           fix docs
12346         * libs/gst/controller/lib.c: (gst_controller_init):
12347           init just once
12348
12349 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
12350
12351         * gst/gstelement.c: (gst_element_message_full):
12352           also show file/line/func if no additional debug was given
12353
12354 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
12355         
12356         * win32/vs7/grammar.vcproj:
12357           activate copy of autogenerated files for Release mode
12358
12359 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12360         
12361         * win32/common/libgstreamer.def:
12362           export gst_value_compare
12363
12364 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
12365
12366         * plugins/elements/Makefile.am:
12367         * plugins/elements/gstelements.c:
12368         * plugins/elements/gstfdsink.c: (_do_init),
12369         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12370         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12371         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12372         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12373         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12374         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12375         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12376         * plugins/elements/gstfdsink.h:
12377         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12378
12379 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
12380
12381         * docs/manual/advanced-dparams.xml:
12382           describe controller
12383         * docs/manual/advanced-position.xml:
12384         * docs/manual/basics-init.xml:
12385         * docs/manual/manual.xml:
12386         * docs/manual/titlepage.xml:
12387         * docs/pwg/pwg.xml:
12388         * docs/pwg/titlepage.xml:
12389           cleanup xml (more to come)
12390         * libs/gst/controller/gstcontroller.c:
12391           fix typo
12392
12393 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12394         
12395         * win32/vs6/grammar.dsp:
12396           add autogen of gstmarshal.c,h for Release mode
12397                 
12398 2006-01-30  Wim Taymans  <wim@fluendo.com>
12399
12400         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12401         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12402         (gst_base_sink_handle_object), (gst_base_sink_event),
12403         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12404         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12405         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12406         (gst_base_sink_deactivate), (gst_base_sink_activate),
12407         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12408         (gst_base_sink_query), (gst_base_sink_change_state):
12409         Basesink cleanups, remove some old code.
12410         Handle the case where a subclass can preroll in the render
12411         method (mostly audiosinks).
12412         Handle more events.
12413         Remove some locks around variables that are now protected
12414         with the PREROLL_LOCK (clock_id, flushing, ..).
12415         Optimize position query some more, do correct locking.
12416         Remove old code to push queue in state change, this is not
12417         needed anymore since preroll blocks on all prerollable items 
12418         now.
12419         Almost implemented as described in design doc.
12420
12421 2006-01-30  Wim Taymans  <wim@fluendo.com>
12422
12423         * tests/check/gst/gstbin.c: (GST_START_TEST):
12424         Wait for refcount to settle down before checking.
12425
12426 2006-01-30  Wim Taymans  <wim@fluendo.com>
12427
12428         * docs/design/part-element-sink.txt:
12429         Pseudo code overview of desired sink behaviour regarding
12430         preroll.
12431
12432 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12433         * win32/vs6/grammar.dsp:
12434           fix some bugs in Release mode for autogenerated files
12435                 
12436 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12437         * win32/common/libgstbase.def:
12438         * win32/common/libgstreamer.def:
12439           export some new symbols: gst_base_src_set_format,
12440           gst_iterator_next, gst_structure_set_valist
12441
12442 2006-01-29  Julien MOUTTE  <julien@moutte.net>
12443
12444         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12445         Set pad functions unconditionally. Fixes #329105.
12446
12447 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12448         * win32/vs8:
12449           add vs8 project files created by Sergey Scobich
12450
12451 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
12452
12453         * gst/gstutils.c: (gst_element_unlink_pads):
12454         Don't leak pad references.
12455
12456         * tests/check/elements/fakesink.c: (GST_START_TEST):
12457         * tests/check/generic/sinks.c: (GST_START_TEST):
12458         * tests/check/generic/states.c: (GST_START_TEST):
12459         * tests/check/gst/gstbin.c: (GST_START_TEST):
12460         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12461         * tests/check/gst/gstelement.c: (GST_START_TEST):
12462         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12463         * tests/check/gst/gstiterator.c: (GST_START_TEST):
12464         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12465         Fix a bunch of leaks. Make generic/sinks.c
12466         use a bit less cpu by slowing the buffer rate
12467         between fakesrc and fakesink.
12468         
12469 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
12470         * gst/gstcaps.c:
12471         * gst/gstelement.c: (gst_element_send_event):
12472         * gst/gstevent.c:
12473         * gst/gstinfo.c:
12474         * gst/gstiterator.c:
12475         * gst/gstiterator.h:
12476         * gst/gstpad.c: (gst_pad_send_event):
12477         * gst/gststructure.c:
12478         * gst/gsturi.c:
12479         * gst/gstutils.c:
12480         * gst/gstvalue.c:
12481         * libs/gst/base/gstadapter.c:
12482           doc fixes, to link to function, just write gst_cool_function(), don't
12483           prefix with '#'
12484
12485 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12486
12487         * plugins/elements/gsttee.c: (gst_tee_do_push),
12488         (gst_tee_handle_buffer):
12489         Always prefer an actual return value from a src
12490         pad in place of NOT_LINKED. This means we return
12491         WRONG_STATE when all src pads are WRONG_STATE
12492         instead of NOT_LINKED.
12493
12494         Lock when replacing the last message to prevent
12495         racing with the get_property method.
12496
12497         Add debug output
12498
12499 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12500
12501         * tests/check/Makefile.am:
12502         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12503         (main):
12504         Add a very simple check that should have caught the memleak I fixed
12505         last night (if not for the slice allocator hiding it)
12506
12507 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12508
12509         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12510         (gst_bin_remove_func), (gst_bin_handle_message_func),
12511         (bin_query_duration_fold), (bin_query_generic_fold):
12512         Clean up references to the clock provider when disposed or when
12513         handling a clock-lost message from it.
12514
12515         Unref sinks when performing a query via gst_iterator_fold, as the
12516         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12517
12518         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12519         (gst_clock_set_master):
12520         Drop our reference to the master clock, if any, when we are disposed.
12521
12522         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12523         Chain up in dispose. 
12524
12525 2006-01-26  Wim Taymans  <wim@fluendo.com>
12526
12527         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12528         Add some debugging.
12529
12530 2006-01-26  Julien MOUTTE  <julien@moutte.net>
12531
12532         * plugins/elements/gsttee.c: (gst_tee_do_push),
12533         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12534         handles pad being NOT_LINKED or in WRONG_STATE.
12535
12536 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12537
12538         * win32/MANIFEST:
12539           more updating
12540
12541 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12542
12543         * win32/MANIFEST:
12544           remove obsolete entry
12545
12546 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12547
12548         * docs/gst/gstreamer-sections.txt:
12549         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12550         (gst_bin_iterate_sources), (gst_bin_send_event):
12551         * gst/gstbin.h:
12552         * gst/gstelement.c: (gst_element_send_event):
12553         * gst/gstevent.c:
12554         * gst/gstpad.c: (gst_pad_send_event):
12555           added code for downstream events, reviewed docs in gstevent.c
12556
12557 2006-01-25  Julien MOUTTE  <julien@moutte.net>
12558
12559         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12560         We only query position using the clock in the playing state.
12561         Query peer in the other cases.
12562         * win32/common/config.h: Updates.
12563
12564 2006-01-24  Wim Taymans  <wim@fluendo.com>
12565
12566         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12567         A clock entry that is scheduled for the exact time of the
12568         clock is still in time.
12569
12570         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12571         (gst_base_sink_do_sync):
12572         Add some more debug info.
12573
12574 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12575
12576         * win32/vs7:
12577           Add new vs7 project files and solution.
12578
12579 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12580
12581         * win32/vs7:
12582           all files removed as they were out-dated.
12583
12584 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12585
12586         * docs/random/release:
12587           update notes
12588         * gst/gstbin.c: (gst_bin_init):
12589         * gst/gstbus.c: (gst_bus_new):
12590         * gst/gstbus.h:
12591         * gst/gstpipeline.c: (gst_pipeline_init):
12592           use gst_bus_new(), improve logging, fix docs
12593         * win32/common/config.h:
12594           update for cvs build
12595
12596 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12597
12598         * autogen.sh:
12599           up required version of automake to 1.7
12600
12601 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
12602
12603         * win32/common/libgstreamer.def:
12604           export gst_buffer_is_metadata_writable
12605
12606 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
12607
12608         * docs/gst/gstreamer-sections.txt:
12609         * gst/gstevent.h:
12610           Add gst_event_replace() (#327001)
12611
12612 2006-01-20  Wim Taymans  <wim@fluendo.com>
12613
12614         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12615         Make it actually compile too..
12616
12617 2006-01-20  Wim Taymans  <wim@fluendo.com>
12618
12619         * gst/gstcaps.c:
12620         Clarify behaviour of _is_equal() when passing NULL parameters.
12621
12622         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12623         (gst_pad_set_caps):
12624         Cleanups. Don't unref NULL caps.
12625         When setting the same caps, protect caps of the pad with
12626         proper lock.
12627         Use full functionality of _is_equal() when comparing caps.
12628
12629 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12630
12631         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12632         Don't loop infinitely if there are no buffers to present. Partially
12633         fixes #327197, but collectpads is just broken for reusing elements
12634         to do multiple encodes atm.
12635
12636 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12637
12638         * tools/gst-inspect.c: (print_element_features):
12639         * tools/gst-xmlinspect.c: (main):
12640         URL_HANDLER is not a plugin feature we can search for in
12641         the registry.
12642
12643 2006-01-19  Edward Hervey  <edward@fluendo.com>
12644
12645         * gst/gstelement.c: (gst_element_pads_activate): 
12646         When activating, do src pads first, then sink pads.
12647         When de-activating, do sink pads first, then src pads.
12648
12649 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12650
12651         * docs/gst/gstreamer-sections.txt:
12652         Add gst_index_add_associationv to the docs
12653
12654 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12655
12656         * gst/gstevent.c:
12657           Fix docs typo
12658
12659         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12660         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12661           Do some refactoring. Doesn't actually change functionality,
12662           but makes landing the DRAIN event easier later.
12663
12664 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
12665
12666         * docs/pwg/advanced-scheduling.xml:
12667           Update from 0.9.x to 0.10 API and make example a bit
12668           clearer.
12669
12670 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12671
12672         * docs/gst/gstreamer-sections.txt:
12673         Add gst_buffer_(is|make)_metadata_writable methods.
12674
12675 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12676
12677         * docs/design/part-sparsestreams.txt:
12678         Update sparse streams doc, hopefully for greater clarity
12679
12680 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
12681
12682         * docs/design/part-events.txt:
12683         Remove mention of FILLER events.
12684         Add DRAIN event.
12685
12686         * docs/design/part-sparsestreams.txt:
12687         Write some things about using NEWSEGMENT to keep sparse streams
12688         flowing.
12689
12690 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12691
12692         * gst/gstbin.c: (gst_bin_dispose):
12693           Guard gst_object_unref call against a NULL object (dispose
12694           can theoretically be called multiple times).
12695           
12696 2006-01-18  Wim Taymans  <wim@fluendo.com>
12697
12698         * gst/gstbin.c: (gst_bin_element_set_state):
12699         * gst/gstclock.c: (gst_clock_id_wait):
12700         Added some more debug info.
12701
12702         * libs/gst/base/gstadapter.c:
12703         Added more docs.
12704
12705         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12706         (gst_base_sink_do_sync), (gst_base_sink_chain):
12707         Added some comments.
12708
12709 2006-01-18  Wim Taymans  <wim@fluendo.com>
12710
12711         * tests/check/Makefile.am:
12712         * tests/check/elements/fakesink.c: (chain_async_buffer),
12713         (chain_async), (chain_async_return), (GST_START_TEST),
12714         (fakesink_suite), (main):
12715         Added fakesink test that checks prerolling and clipping
12716         behaviour.
12717
12718         * tests/check/gst/gstutils.c: (GST_START_TEST):
12719         Make check run faster so that buildbots don't timeout.
12720
12721 2006-01-18  Wim Taymans  <wim@fluendo.com>
12722
12723         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12724         (gst_base_sink_do_sync):
12725         Some cleanups.
12726         When the sink finishes blocking on the preroll buffer, it can
12727         immediatly render it instead of rendering when the next buffer
12728         arrives.
12729
12730 2006-01-18  Wim Taymans  <wim@fluendo.com>
12731
12732         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12733         (gst_base_sink_get_property), (gst_base_sink_do_sync),
12734         (gst_base_sink_chain):
12735         Small cleanups.
12736         GST_ELEMENT_CLOCK and sync are protected with LOCK.
12737         Don't store _last_stop if the buffer is dropped.
12738
12739 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12740
12741         * plugins/elements/gsttypefindelement.c:
12742         (gst_type_find_element_class_init):
12743           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12744           object method handler that sets the caps on the pad and we want
12745           that to happen before we emit the signal (fixes e.g. feeding a
12746           plain text file to decodebin).
12747
12748 2006-01-18  Christian Schaller  <Christian@fluendo.com>
12749
12750         * gst/gstplugin.c: Add MPL and Proprietary as license options
12751
12752 2006-01-18  Andy Wingo  <wingo@pobox.com>
12753
12754         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12755         symbol was exported before, it appears this was just an oversight.
12756         Fixes #168703.
12757         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12758
12759         * gst/gstindex.c (gst_index_add_associationv): Changed int in
12760         prototype to gint. OK since this prototype was not in the header.
12761
12762 2006-01-17  Andy Wingo  <wingo@pobox.com>
12763
12764         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12765         registry while we remove plugins.
12766
12767         * tools/gst-inspect.c (print_element_info): Don't unref the
12768         factory arg, that should be the responsibility of whatever code
12769         received the ref. Fixes a double-free when called from
12770         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12771         (main): Unref the factory if we have one.
12772         (print_element_list): No change -- relies on the
12773         plugin_feature_list_free to free the list of features.
12774
12775 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
12776
12777         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12778         (gst_buffer_make_metadata_writable):
12779         * gst/gstbuffer.h:
12780         * libs/gst/base/gstbasetransform.c:
12781         (gst_base_transform_prepare_output_buf):
12782         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12783         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12784           Replace gst_buffer_(make|is)_metadata_writable patch now
12785           that the release is out.
12786
12787 2006-01-17  Andy Wingo  <wingo@pobox.com>
12788
12789         * gst/gstregistry.c: Reflow design comment. Update so as to speak
12790         in the present tense without reference to versions.
12791
12792         * gst/gstregistry.c (gst_registry_add_plugin)
12793         (gst_registry_remove_plugin, gst_registry_remove_feature)
12794         (gst_registry_find_feature, gst_registry_get_feature_list)
12795         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12796         (gst_registry_lookup, gst_registry_scan_path)
12797         (_gst_registry_remove_cache_plugins)
12798         (gst_registry_get_feature_list_by_plugin): Add argument
12799         validation.
12800
12801 === release 0.10.2 ===
12802
12803 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
12804
12805         * configure.ac:
12806           releasing 0.10.2, "If man is five"
12807
12808 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12809
12810         * gst/gstbuffer.c:
12811         * gst/gstbuffer.h:
12812         * libs/gst/base/gstbasetransform.c:
12813         (gst_base_transform_prepare_output_buf):
12814         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12815         * tests/check/gst/gstbuffer.c: (gst_test_suite):
12816           Back out patch until after the release.
12817
12818 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12819
12820         * gst/gstminiobject.c:
12821           Spelling fix in docs.
12822         * ChangeLog - remove conflict indicator
12823
12824 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12825
12826         Reviewed By: Andy Wingo
12827
12828         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12829         (gst_buffer_make_metadata_writable):
12830         * gst/gstbuffer.h:
12831           Add gst_buffer_(is|make)_metadata_writable as analogues of
12832           gst_buffer_(is|make)_writable.
12833
12834         * libs/gst/base/gstbasetransform.c:
12835         (gst_base_transform_prepare_output_buf):
12836         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12837           Use name gst_buffer_(is|make)_metadata_writable functions.
12838
12839         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12840           Test gst_buffer_(is|make)_metadata_writable
12841         
12842           (Closes: #324162)
12843
12844 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12845
12846         * docs/manual/Makefile.am:
12847           don't do parallel make
12848         * configure.ac:
12849           AC_SUBST HOST_CPU
12850         * win32/common/config.h.in:
12851           add generations for HOST_CPU and GST_MAJORMINOR
12852         * win32/common/config.h:
12853           commit generated result
12854
12855 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
12856
12857         * docs/manual/appendix-integration.xml:
12858           Update GNOME integration section to use gst_init_get_option_group()
12859           instead of the old popt stuff (#322911). Also, GNOME applications
12860           should  now use gconf*sink and gconf*src instead of the old gconf
12861           helper lib we had.
12862
12863 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
12864
12865
12866         * docs/gst/gstreamer-docs.sgml:
12867         * docs/gst/gstreamer-sections.txt:
12868         * docs/libs/gstreamer-libs-sections.txt:
12869           add new API entries to the docs
12870         * libs/gst/controller/Makefile.am:
12871         * libs/gst/controller/gstcontroller.c:
12872         * libs/gst/controller/gstcontroller.h:
12873         * libs/gst/controller/gstcontrollerprivate.h:
12874         * libs/gst/controller/gsthelper.c:
12875         * libs/gst/controller/gstinterpolation.c:
12876           move private structs to private header
12877         * po/README:
12878           gstreamer-0.7 -> gstreamer-0.10
12879         * tests/check/libs/struct_i386.h:
12880           remove private structs
12881
12882 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12883
12884         * plugins/indexers/Makefile.am:
12885           Fixes as part of #317048
12886
12887 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12888
12889         * plugins/indexers/Makefile.am:
12890           fix #316086 - compilation when mmap is missing
12891
12892 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
12893
12894         * libs/gst/base/gstbasesink.c:
12895           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
12896           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12897         * win32/common/config.h:
12898           added some defines GST_MAJORMINOR and HOST_CPU
12899         * win32/common/libgstbase.def:
12900         * win32/common/libgstreamer.def:
12901           added some exported functions.
12902
12903 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12904
12905         * libs/gst/controller/gstcontroller.c:
12906         (gst_controlled_property_set_interpolation_mode),
12907         (gst_controlled_property_new):
12908         * libs/gst/controller/gstcontroller.h:
12909         * libs/gst/controller/gstinterpolation.c:
12910         (interpolate_none_get_string_value_array):
12911           make G_TYPE_STRING controlable
12912
12913 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12914
12915         * tools/README:
12916         * tools/gst-feedback.1.in:
12917         * tools/gst-inspect.1.in:
12918         * tools/gst-launch.1.in:
12919         * tools/gst-md5sum.1.in:
12920         * tools/gst-typefind.1.in:
12921         * tools/gst-xmlinspect.1.in:
12922         * tools/gst-xmllaunch.1.in:
12923           cleanup man-pages, remove reference to gst-register, document env-vars
12924
12925 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
12926
12927         * gst/gstbuffer.c: (gst_buffer_span):
12928           gst_buffer_span should copy the timestamp of the first buffer
12929           if they were both originally overlapping subbuffers of the 
12930           same parent, using the same logic as the 'slow copy' case.
12931
12932 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
12933
12934         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12935           Need to awaken ALL the pads when we pop a buffer, otherwise
12936           collectpads only works when there is 2 input streams.
12937
12938 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
12939
12940         * docs/random/ensonic/media-device-daemon.txt:
12941           more ideas (dbus)
12942         * gst/gstbuffer.c:
12943           fix doc example, add clarification
12944         * tools/gst-launch.1.in:
12945           add initial info about GST_PLUGIN_PATH, needs more work
12946
12947 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
12948
12949         * docs/manual/basics-bins.xml:
12950         * docs/manual/basics-elements.xml:
12951         * docs/manual/intro-basics.xml:
12952           Some more minor docs additions and updates.
12953
12954 2006-01-11  Wim Taymans  <wim@fluendo.com>
12955
12956         * docs/manual/basics-bins.xml:
12957         * docs/manual/basics-elements.xml:
12958         Some small fixes as pointed out by Ser-ver on IRC.
12959
12960 2006-01-10  Edward Hervey  <edward@fluendo.com>
12961
12962         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12963         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12964         the single-segment mode.
12965
12966 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
12967
12968         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12969
12970         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12971         (gst_base_src_perform_seek), (gst_base_src_send_event),
12972         (gst_base_src_set_property), (gst_base_src_get_property),
12973         (gst_base_src_loop), (gst_base_src_start),
12974         (gst_base_src_activate_push):
12975         * libs/gst/base/gstbasesrc.h:
12976           Name (private) union; makes Sun's Forte compiler happy (#324900).
12977
12978 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
12979
12980         * README:
12981           gst-register is gone.
12982
12983 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12984
12985         * gst/gstvalue.c: (_gst_value_initialize):
12986           make the G_TYPE_DATE instantiation work if debug is disabled
12987
12988 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
12989
12990         * gst/gstmessage.c: (gst_message_parse_tag),
12991         (gst_message_parse_error), (gst_message_parse_warning):
12992           Don't crash when return location for error/warning debug
12993           string is NULL; add fact that return locations can be
12994           NULL to docs where appropriate.
12995
12996 2006-01-05  Wim Taymans  <wim@fluendo.com>
12997
12998         * gst/gstplugin.c: (gst_plugin_load_file):
12999         Replace strdup by g_strdup.
13000
13001 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13002
13003         * docs/pwg/advanced-types.xml:
13004           fix doc borkage
13005
13006 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13007
13008         submitted by: Abel Cheung
13009
13010         * po/LINGUAS:
13011         * po/zh_TW.po:
13012           Added Chinese (traditional) translation
13013
13014 2006-01-04  Wim Taymans  <wim@fluendo.com>
13015
13016         * docs/manual/basics-pads.xml:
13017         * docs/plugins/Makefile.am:
13018         * docs/plugins/gstreamer-plugins-docs.sgml:
13019         * docs/plugins/gstreamer-plugins-sections.txt:
13020         * docs/pwg/advanced-clock.xml:
13021         * docs/pwg/advanced-scheduling.xml:
13022         * docs/pwg/advanced-types.xml:
13023         * plugins/elements/gstfdsink.c:
13024         * plugins/elements/gstfdsrc.c:
13025         * plugins/elements/gstfdsrc.h:
13026         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13027         * plugins/elements/gstidentity.h:
13028         * plugins/elements/gstqueue.h:
13029         * plugins/elements/gsttee.c:
13030         * plugins/elements/gsttee.h:
13031         * plugins/elements/gsttypefindelement.c:
13032         (gst_type_find_element_class_init):
13033         * plugins/elements/gsttypefindelement.h:
13034         Small updates to various docs.
13035         Added core plugins to docs.
13036
13037 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13038
13039         * common/gst.supp:
13040           add a suppression for liboil's uninitialized variable
13041
13042 2006-01-02  James Livingston  <jrl at ids dot org dot au>
13043
13044         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13045
13046         * gst/gstutils.h:
13047           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
13048           macro, so that gcc doesn't complain if the -Wmissing-prototypes
13049           compiler switch is being used (#325429).
13050
13051 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
13052
13053         * gst/gstbin.c: (gst_bin_query):
13054           Disable duration query caching in bins until it gets
13055           fixed (see #324807).
13056
13057 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
13058
13059         * tools/gst-inspect.c: (print_element_properties_info):
13060           Handle properties of POINTER and BOXED type.
13061
13062 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
13063
13064         * gst/gst.c: (init_post):
13065           Init tags stuff and some other things before loading
13066           any static plugins (there may be other static plugins
13067           than just the GStreamer ones, and they may want to
13068           register their own tags or formats or whatever, and
13069           preferably without segfaulting).
13070
13071         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
13072           Print at least a warning in the debug logs if we drop a
13073           query just because we don't know how to adjust the value
13074           in the particular format.
13075
13076 2005-12-24  David Schleef  <ds@schleef.org>
13077
13078         * tools/gstreamer-completion:
13079           Replacement for gst-complete written in sh and sed.  Only
13080           completes names of features, but that's 90% of what I want
13081           it for.  Properties are not available in registry.xml.  (Maybe
13082           they should be...)
13083
13084 === release 0.10.1 ===
13085
13086 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
13087
13088         * configure.ac:
13089           releasing 0.10.1, "Nollaig chridheil"
13090
13091 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
13092
13093         * docs/faq/cvs.xml:
13094           Add missing quote, should be make ERROR_CFLAGS="".
13095
13096 2005-12-20  Wim Taymans  <wim@fluendo.com>
13097
13098         * docs/design/part-trickmodes.txt:
13099         More documentation on trickmodes.
13100
13101 2005-12-20  Edward Hervey  <edward@fluendo.com>
13102
13103         * gst/gstcaps.c: (gst_static_caps_get_type):
13104         * gst/gstcaps.h:
13105           API addition: GST_TYPE_STATIC_CAPS
13106         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
13107         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
13108         * gst/gstpadtemplate.h:
13109           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
13110         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
13111         bindings.
13112
13113 2005-12-18  Wim Taymans  <wim@fluendo.com>
13114
13115         * libs/gst/base/gstadapter.c:
13116         * libs/gst/base/gstadapter.h:
13117         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13118         (gst_base_sink_get_position):
13119         * libs/gst/base/gstbasesink.h:
13120         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13121         (gst_base_src_default_query), (gst_base_src_default_do_seek),
13122         (gst_base_src_do_seek), (gst_base_src_perform_seek),
13123         (gst_base_src_send_event), (gst_base_src_update_length),
13124         (gst_base_src_get_range), (gst_base_src_loop),
13125         (gst_base_src_start):
13126         * libs/gst/base/gstbasesrc.h:
13127         * libs/gst/base/gstbasetransform.h:
13128         * libs/gst/base/gstcollectpads.h:
13129         * libs/gst/base/gstpushsrc.c:
13130         * libs/gst/base/gstpushsrc.h:
13131         * libs/gst/dataprotocol/dataprotocol.c:
13132         * libs/gst/dataprotocol/dataprotocol.h:
13133         * libs/gst/net/gstnetclientclock.h:
13134         * libs/gst/net/gstnettimeprovider.h:
13135         Documentation updates.
13136
13137 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
13138
13139         * docs/manual/basics-helloworld.xml:
13140           Remove superfluous closing bracket in helloworld example.
13141
13142 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
13143
13144         * tools/gst-launch.1.in:
13145           Update gst-launch man page; add a section with useful
13146           environment variables. Fixes #323882.
13147
13148 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
13149
13150         * gst/gst.c:
13151         * gst/gst_private.h:
13152           change some char* into char[]
13153
13154 2005-12-16  Wim Taymans  <wim@fluendo.com>
13155
13156         * gst/gstregistryxml.c: (load_feature):
13157         Cleanups.
13158         Don't use g_object_unref on GstObjects so that we avoid
13159         leaks on unsafe glibs.
13160
13161 2005-12-16  Wim Taymans  <wim@fluendo.com>
13162
13163         * gst/gstbin.c: (gst_bin_recalc_state):
13164         Small doc updates.
13165
13166 2005-12-16  Wim Taymans  <wim@fluendo.com>
13167
13168         * common/check.mak:
13169         Added make forever target for check.
13170
13171 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13172
13173         * gst/gst.c: (init_post):
13174           make the registry cache file HOST_CPU-dependent
13175
13176 2005-12-16  Andy Wingo  <wingo@pobox.com>
13177
13178         * plugins/elements/gstbufferstore.c
13179         (gst_buffer_store_cleared_func): Pay attention to g_list_append
13180         return value.
13181
13182         * tests/check/gst/gstobject.c
13183         (test_fake_object_name_threaded_unique): Pay attention to
13184         g_list_sort return value.
13185
13186 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
13187
13188         * tools/gst-feedback-m.m:
13189           Update for 0.9/0.10 (fixes #323870).
13190
13191 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
13192
13193         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
13194           Fix lcopy for mini objects, the mini object needs to be ref'ed.
13195           
13196         * tests/check/gst/gstminiobject.c: (my_foo_init),
13197         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
13198         (test_value_collection), (gst_mini_object_suite):
13199           Add test to ensure refcounts end up as expected when passing
13200           GstMiniObjects through g_object_get() and g_object_set().
13201
13202 2005-12-14  Julien MOUTTE  <julien@moutte.net>
13203
13204         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13205         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
13206         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
13207         of collectpads. This version removes a lot of races without
13208         touching API/ABI. Yay !
13209
13210 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
13211
13212         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
13213           Don't allow activation of a srcpad in pull_range if it has no
13214           getrange function.
13215           Change some debug statements to be a little clearer
13216
13217         * plugins/elements/gsttypefindelement.c:
13218         (gst_type_find_handle_src_query):
13219           Check that we have a peer before executing queries thereupon.
13220
13221         * tests/examples/metadata/read-metadata.c: (message_loop):
13222           Use gst_bus_pop instead of gst_bus_poll when we just want it to
13223           immediately return us any available message with 0 timeout.
13224
13225 2005-12-12  Michael Smith  <msmith@fluendo.com>
13226
13227         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
13228           Don't unref factories after calling them.
13229         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
13230         * plugins/elements/gsttypefindelement.c:
13231         (gst_type_find_element_chain):
13232           Free lists of factories after using them. Fixing typefinding memory
13233           leaks.
13234
13235 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13236
13237         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
13238         (gst_plugin_feature_load):
13239           more meaningful debug output
13240         * configure.ac:
13241         * tests/Makefile.am:
13242         * tests/old/examples/Makefile.am:
13243           make make distcheck happy again
13244
13245 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
13246
13247         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13248           Catch the special case where we are operating chain-based,
13249           but the downstream peer pad has no chain function. Emit a
13250           custom error message in this case instead of letting the
13251           core generate one implying that this is some sort of core
13252           bug. It's not, it just means that whatever got plugged
13253           into the pipeline downstream when we announced the type
13254           can only operate pull-based, while our source can only
13255           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
13256           Error string has not been marked for translation yet, as
13257           it probably needs some more work first.
13258
13259         (gst_type_find_element_get_best_possibility):
13260           Add helper function to find the best of all available
13261           found possibilities that qualify given the min. threshold.
13262
13263         (gst_type_find_element_handle_event):
13264           Fix the case where we get an EOS while still in TYPEFIND
13265           mode (we want to chose the best of all possible types,
13266           not just the first type that happens to be in our unsorted
13267           list of possible types).
13268
13269         (gst_type_find_element_chain):
13270           Make sure we return GST_FLOW_ERROR when we errored out
13271           in stop_typefinding(); also, don't just find the best of
13272           all found type entries and then use the last examined
13273           type entry, but actually use the best entry.
13274
13275 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
13276
13277         * tests/examples/typefind/typefind.c: (type_found):
13278         * tests/examples/xml/runxml.c: (xml_loaded):
13279           More gcc4 fixes and a mem leak fix.
13280
13281 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13282
13283         * tests/examples/xml/createxml.c: (object_saved):
13284           gcc 4 fixes
13285
13286 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13287
13288         * tests/Makefile.am:
13289           enable the examples even more
13290
13291 2005-12-12  Andy Wingo  <wingo@pobox.com>
13292
13293         * libs/gst/net/gstnettimeprovider.c
13294         (gst_net_time_provider_class_init, gst_net_time_provider_init)
13295         (gst_net_time_provider_set_property)
13296         (gst_net_time_provider_get_property):
13297         API addition: Export "active" as a GObject property.
13298         (gst_net_time_provider_thread): Only respond to time queries if
13299         the time provider is active.
13300
13301         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
13302         NetTimeProvider, preserving binary compat.
13303
13304 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13305
13306         * tests/examples/controller/audio-example.c: (main):
13307         * tests/examples/launch/Makefile.am:
13308           convert comments again
13309
13310 2005-12-12  Wim Taymans  <wim@fluendo.com>
13311
13312         * libs/gst/base/gstpushsrc.c:
13313         Fix typo.
13314
13315 2005-12-12  Wim Taymans  <wim@fluendo.com>
13316
13317         * docs/libs/gstreamer-libs-sections.txt:
13318         Added new symbol to docs.
13319
13320         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13321         (gst_base_src_init), (gst_base_src_set_format),
13322         (gst_base_src_default_query), (gst_base_src_query),
13323         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13324         (gst_base_src_perform_seek), (gst_base_src_send_event),
13325         (gst_base_src_default_event), (gst_base_src_event_handler),
13326         (gst_base_src_set_property), (gst_base_src_get_property),
13327         (gst_base_src_wait), (gst_base_src_do_sync),
13328         (gst_base_src_update_length), (gst_base_src_get_range),
13329         (gst_base_src_check_get_range), (gst_base_src_loop),
13330         (gst_base_src_default_negotiate), (gst_base_src_start),
13331         (gst_base_src_activate_push), (gst_base_src_activate_pull),
13332         (gst_base_src_change_state):
13333         * libs/gst/base/gstbasesrc.h:
13334         Implement seeking to other formats than _BYTES.
13335         Implement more seeking methods correctly.
13336         Doc updates.
13337         Added query vmethod.
13338         Added do_seek vmethod to make life easier for subclasses
13339         when seeking.
13340         API addition: gst_base_src_set_format()
13341
13342 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13343
13344         * tests/examples/Makefile.am:
13345           added that too
13346
13347 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13348
13349         * configure.ac:
13350         * docs/random/ensonic/media-device-daemon.txt:
13351         * tests/examples/controller/.cvsignore:
13352         * tests/examples/controller/Makefile.am:
13353         * tests/examples/controller/audio-example.c: (main):
13354         * tests/examples/helloworld/.cvsignore:
13355         * tests/examples/helloworld/Makefile.am:
13356         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13357         * tests/examples/launch/.cvsignore:
13358         * tests/examples/launch/Makefile.am:
13359         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13360         * tests/examples/metadata/.cvsignore:
13361         * tests/examples/metadata/Makefile.am:
13362         * tests/examples/metadata/read-metadata.c: (message_loop),
13363         (make_pipeline), (print_tag), (main):
13364         * tests/examples/queue/.cvsignore:
13365         * tests/examples/queue/Makefile.am:
13366         * tests/examples/queue/queue.c: (event_loop), (main):
13367         * tests/examples/typefind/.cvsignore:
13368         * tests/examples/typefind/Makefile.am:
13369         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13370         (main):
13371         * tests/examples/xml/.cvsignore:
13372         * tests/examples/xml/Makefile.am:
13373         * tests/examples/xml/createxml.c: (object_saved), (main):
13374         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13375         * tests/old/examples/Makefile.am:
13376         * tests/old/examples/TODO:
13377         * tests/old/examples/controller/.cvsignore:
13378         * tests/old/examples/controller/Makefile.am:
13379         * tests/old/examples/controller/audio-example.c:
13380         * tests/old/examples/helloworld/.cvsignore:
13381         * tests/old/examples/helloworld/Makefile.am:
13382         * tests/old/examples/helloworld/helloworld.c:
13383         * tests/old/examples/launch/.cvsignore:
13384         * tests/old/examples/launch/Makefile.am:
13385         * tests/old/examples/launch/mp3parselaunch.c:
13386         * tests/old/examples/launch/mp3play:
13387         * tests/old/examples/manual/Makefile.am:
13388         * tests/old/examples/metadata/Makefile.am:
13389         * tests/old/examples/metadata/read-metadata.c:
13390         * tests/old/examples/queue/.cvsignore:
13391         * tests/old/examples/queue/Makefile.am:
13392         * tests/old/examples/queue/queue.c:
13393         * tests/old/examples/typefind/.cvsignore:
13394         * tests/old/examples/typefind/Makefile.am:
13395         * tests/old/examples/typefind/typefind.c:
13396         * tests/old/examples/xml/.cvsignore:
13397         * tests/old/examples/xml/Makefile.am:
13398         * tests/old/examples/xml/createxml.c:
13399         * tests/old/examples/xml/runxml.c:
13400           applied some simple fixing to some examples
13401           re-enabled the working examples
13402
13403 2005-12-12  Wim Taymans  <wim@fluendo.com>
13404
13405         * gst/gstsegment.c: (gst_segment_init),
13406         (gst_segment_set_last_stop), (gst_segment_set_seek),
13407         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13408         (gst_segment_to_running_time):
13409         Added more documentation.
13410         Make sure the last_pos value is updated properly.
13411         Make sure to_stream_time and to_running_time don't
13412         operate on wrong values.
13413
13414         * tests/check/gst/gstsegment.c: (GST_START_TEST):
13415         Update check.
13416
13417 2005-12-12  Michael Smith  <msmith@fluendo.com>
13418
13419         * plugins/elements/gsttypefindelement.c: (free_entry),
13420         (gst_type_find_element_chain):
13421           Now that we're not leaking factories, make sure we keep references
13422           to them while we need them.
13423
13424 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13425
13426         * tests/check/gst/struct_i386.h:
13427           ifdef out the XML structs
13428
13429 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13430
13431         * gst/gstvalue.c: (gst_value_transform_double_fraction):
13432           floor is not needed, F is always positive; this obviates the
13433           need for adding -lm when building without libxml
13434
13435 2005-12-12  Wim Taymans  <wim@fluendo.com>
13436
13437         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13438         Take current playback rate into account when reporting
13439         the position.
13440
13441 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13442
13443         * docs/manual/mime-world.fig:
13444           Let's try this again, this time with a file that is
13445           actually in XFig format.
13446
13447 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13448
13449         * docs/manual/mime-world.fig:
13450           Add audioconvert element to diagram so that it
13451           matches the text and the code (fixes #319526).
13452
13453 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13454
13455         * docs/pwg/building-chainfn.xml:
13456         * docs/pwg/building-pads.xml:
13457         * docs/pwg/building-state.xml:
13458         * docs/pwg/other-source.xml:
13459           Update state change stuff for 0.10 (fixes #322969).
13460
13461 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13462
13463         * docs/manual/advanced-dataaccess.xml:
13464         * docs/manual/appendix-checklist.xml:
13465         * docs/manual/appendix-programs.xml:
13466         * docs/manual/basics-pads.xml:
13467         * docs/manual/highlevel-components.xml:
13468         * docs/manual/manual.xml:
13469           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13470           add converters in front of pipelines; remove curly
13471           brackets for threads stuff, they no longer exist; use
13472           GST_TYPE_FRACTION for framerates; update some pieces of
13473           code to 0.10, but there's plenty more to do.
13474
13475         * docs/manual/appendix-porting.xml:
13476           Expand on asynchroneous state changes; s/0.9/0.10/;
13477           mention disappearance of gst_init_get_popt_table()
13478           (fixes #322916).
13479
13480 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13481
13482         * docs/faq/using.xml:
13483           Spider no longer exists, and neither does gst-launch-ext.
13484           Update examples to use decodebin and playbin and put
13485           converters in front of sinks (fixes #323726).
13486
13487 2005-12-09  Michael Smith  <msmith@fluendo.com>
13488
13489         * plugins/elements/gsttypefindelement.c: (find_peek),
13490         (gst_type_find_element_chain):
13491           Fix leaking element factories in typefinding.
13492           Fix problem where we forgot about a probable type on non-seekable
13493           files, and thus later mis-typefound it.
13494
13495 2005-12-09  Michael Smith  <msmith@fluendo.com>
13496
13497         * common/m4/gst-makecontext.m4:
13498         * common/m4/gst-mcsc.m4:
13499         * configure.ac:
13500         * win32/common/config.h:
13501         * win32/common/config.h.in:
13502           Remove makecontext stuff; not used in 0.10 and causes problems on
13503           HPUX according to bug #322441
13504
13505 2005-12-07  Wim Taymans  <wim@fluendo.com>
13506
13507         * tests/check/Makefile.am:
13508         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13509         (main):
13510         * tests/check/libs/struct_i386.h:
13511         Added ABI check for libs
13512
13513 2005-12-07  Wim Taymans  <wim@fluendo.com>
13514
13515         * tests/check/Makefile.am:
13516         And add the struct_i386.h to dist.
13517
13518 2005-12-07  Wim Taymans  <wim@fluendo.com>
13519
13520         * tests/check/Makefile.am:
13521         * tests/check/gst/.cvsignore:
13522         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13523         (main):
13524         * tests/check/gst/struct_i386.h:
13525         Added check for ABI compatibility.
13526
13527 2005-12-07  Wim Taymans  <wim@fluendo.com>
13528
13529         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13530         (gst_fake_src_get_times), (gst_fake_src_create):
13531         Fix broken sync option, fixes #323259
13532
13533 2005-12-07  Wim Taymans  <wim@fluendo.com>
13534
13535         * gst/gstbuffer.c:
13536         Small docs update.
13537
13538         * gst/gstcaps.c: (gst_caps_is_equal):
13539         Don't assert on NULL <--> X. Fixes #323260
13540
13541         * gst/gstminiobject.c: (gst_mini_object_replace):
13542         If we're doing atomic operations, we might just as well use
13543         the proper way to get an atomic pointer.
13544
13545         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13546         Clean up debugging.
13547
13548 2005-12-07  Michael Smith  <msmith@fluendo.com>
13549
13550         * gst/parse/grammar.y:
13551           Remove handling of { } for threads.
13552
13553 2005-12-06  David Schleef  <ds@schleef.org>
13554
13555         * libs/gst/base/gstbasetransform.c: speling fix.
13556
13557 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13558
13559         * docs/libs/tmpl/gstdataprotocol.sgml:
13560         * docs/random/omega/testing/gstobject.c:
13561         * gst/gst.c:
13562         * gst/gstclock.c:
13563         * gst/gstelement.c:
13564         * gst/gstelementfactory.c:
13565         * gst/gsterror.c:
13566         * gst/gstevent.c:
13567         * gst/gstghostpad.c:
13568         * gst/gstinfo.c:
13569         * gst/gstpadtemplate.c:
13570         * gst/gstregistryxml.c:
13571         * gst/gsttaglist.c:
13572         * gst/gsttagsetter.c:
13573         * gst/gsttypefind.c:
13574         * gst/gstvalue.c:
13575         * libs/gst/base/gstbasesrc.c:
13576         * libs/gst/net/gstnetclientclock.c:
13577         * libs/gst/net/gstnettimeprovider.c:
13578         * plugins/elements/gstfakesrc.c:
13579         * plugins/elements/gstfdsrc.c:
13580         * plugins/elements/gstfilesrc.c:
13581         * plugins/elements/gstidentity.c:
13582         * plugins/elements/gstqueue.c:
13583         * plugins/elements/gsttypefindelement.c:
13584         * plugins/indexers/gstfileindex.c:
13585         * plugins/indexers/gstmemindex.c:
13586         * tests/check/gst/gsttag.c:
13587         * tests/old/examples/cutter/cutter.c:
13588         * tests/old/examples/mixer/mixer.c:
13589         * tests/old/examples/xml/runxml.c: (main):
13590         * tests/old/testsuite/caps/normalisation.c:
13591         * tests/old/testsuite/debug/global.c:
13592         * tests/old/testsuite/parse/parse1.c:
13593         * tools/gst-xmlinspect.c:
13594         * win32/common/dirent.c:
13595           expand tabs
13596
13597 === release 0.10.0 ===
13598
13599 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13600
13601         * configure.ac:
13602           releasing 0.10.0, "Maroilles"
13603
13604 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13605
13606         submitted by: Funda Wang <fundawang@linux.net.cn>
13607
13608         * po/LINGUAS:
13609         * po/zh_CN.po:
13610           added Chinese (Traditional) translation
13611
13612 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13613
13614         * docs/gst/gstreamer-sections.txt:
13615         * docs/libs/tmpl/gstdataprotocol.sgml:
13616         * docs/random/thomasvs/TODO:
13617         * gst/gstutils.c:
13618         * gst/gstutils.h:
13619           fix docs
13620
13621 2005-12-05  Andy Wingo  <wingo@pobox.com>
13622
13623         patch by: Wim Taymans <wim@fluendo.com>
13624
13625         * libs/gst/base/gstbasetransform.c
13626         (gst_base_transform_prepare_output_buf)
13627         (gst_base_transform_buffer_alloc):
13628         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13629         alloc_buffer_and_set_caps.
13630
13631         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13632         set_caps on the source pad.
13633         (gst_pad_alloc_buffer_and_set_caps): New function, does what
13634         alloc_buffer used to do. Fixes #322874.
13635
13636         * docs/gst/gstreamer-sections.txt: 
13637         * docs/design/part-negotiation.txt: 
13638         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13639         changes.
13640
13641 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13642
13643         patch by: Sebastien Moutte
13644
13645         * win32/MANIFEST:
13646         * win32/common/config.h.in:
13647         * win32/vs6/libgstcontroller.dsp:
13648           win32 build fixes
13649
13650 2005-12-05  Wim Taymans  <wim@fluendo.com>
13651
13652         * gst/gstcaps.c: (gst_caps_is_equal):
13653         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13654         (gst_fake_src_create):
13655         Back out previous code changes, leave doc updates, file bugs 
13656         instead. 
13657
13658 2005-12-05  Wim Taymans  <wim@fluendo.com>
13659
13660         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13661         (gst_fake_src_get_times), (gst_fake_src_create):
13662         * plugins/elements/gstfakesrc.h:
13663         Fix broken sync code.
13664
13665 2005-12-05  Wim Taymans  <wim@fluendo.com>
13666
13667         * gst/gstcaps.c: (gst_caps_is_equal):
13668         Comparing NULL against !NULL yields different caps, not a
13669         failure.
13670
13671 2005-12-05  Wim Taymans  <wim@fluendo.com>
13672
13673         * gst/gstpipeline.c:
13674         Fix small typo in docs.
13675
13676 2005-12-05  Andy Wingo  <wingo@pobox.com>
13677
13678         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
13679
13680         * gst/gst.c (init_post): remove hard-coded 0.9 location for
13681         registries/plugins with a MAJORMINOR one.
13682         (plugin_desc): Rename library from gstcoreleements to
13683         staticelements. Fixes #323222.
13684
13685 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
13686
13687         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13688           Change debug category to 'collectpads' from 'collect_pads'
13689           (fixes #323250).
13690
13691 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13692
13693         patch by: Sebastien Moutte
13694
13695         * libs/gst/controller/gstinterpolation.c:
13696           use convert function for uint64/double
13697         * win32/vs6/libgstcontroller.dsp:
13698           link to GLib
13699
13700 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13701
13702         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13703         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13704         * gst/gstutils.h:
13705         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13706           add tests that seem to show that the guint64/gdouble conversions
13707           are correct.
13708
13709 2005-12-02  Wim Taymans  <wim@fluendo.com>
13710
13711         * gst/gstregistry.c: (gst_registry_add_path):
13712         * gst/gstregistry.h:
13713         * gst/gstregistryxml.c:
13714         Fix docs again.
13715
13716 2005-12-02  Wim Taymans  <wim@fluendo.com>
13717
13718         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13719         (gst_util_uint64_scale_int):
13720         Small cleanup.
13721
13722         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13723         Add debug log line.
13724
13725         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13726         Add FIXME.
13727
13728 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13729
13730         * win32/MANIFEST:
13731         * win32/common/config.h:
13732         * win32/vs6/gstreamer.dsw:
13733         * win32/vs6/libgstcoreelements.dsp:
13734         * win32/vs6/libgstelements.dsp:
13735           renamed core elements plugin
13736
13737 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13738
13739         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13740         (get_candidates):
13741           do piece-wise major/minor comparison so 0.9 < 0.10
13742           also allow .exe extensions for tools
13743
13744 2005-12-02  Michael Smith  <msmith@fluendo.com>
13745
13746         * gst/gst.c:
13747           Escape a % to make gtkdoc happier; bug 322958.
13748
13749 === release 0.9.7 ===
13750
13751 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13752
13753         * configure.ac:
13754           releasing 0.9.7, "My Dog Has No Nose"
13755
13756 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13757
13758         * common/gst-xmlinspect.py:
13759         * configure.ac:
13760         * docs/libs/tmpl/gstdataprotocol.sgml:
13761         * docs/random/release:
13762         * po/af.po:
13763         * po/az.po:
13764         * po/bg.po:
13765         * po/ca.po:
13766         * po/cs.po:
13767         * po/de.po:
13768         * po/en_GB.po:
13769         * po/fr.po:
13770         * po/it.po:
13771         * po/nb.po:
13772         * po/nl.po:
13773         * po/ru.po:
13774         * po/sq.po:
13775         * po/sr.po:
13776         * po/sv.po:
13777         * po/tr.po:
13778         * po/uk.po:
13779         * po/vi.po:
13780         * win32/common/config.h:
13781         * win32/common/config.h.in:
13782         * win32/vs6/gst_inspect.dsp:
13783         * win32/vs6/gst_launch.dsp:
13784         * win32/vs6/libgstbase.dsp:
13785         * win32/vs6/libgstelements.dsp:
13786         * win32/vs6/libgstreamer.dsp:
13787         * win32/vs7/GStreamer.vcproj:
13788         * win32/vs7/gst-inspect.vcproj:
13789         * win32/vs7/gst-launch.vcproj:
13790         * win32/vs7/libgstbase.vcproj:
13791           bump GST_MAJORMINOR to 0.10
13792           reset libtool version
13793
13794 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13795
13796         * po/LINGUAS:
13797         * po/bg.po:
13798           Added Bulgarian translation by (Alexander Shopov)
13799
13800 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13801
13802         * tests/check/gst/gstplugin.c:
13803           fix test
13804
13805 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13806
13807         * common/gst-xmlinspect.py:
13808         * common/gtk-doc-plugins.mak:
13809         * configure.ac:
13810         * docs/Makefile.am:
13811         * docs/gst/Makefile.am:
13812         * docs/gst/gstreamer-docs.sgml:
13813         * docs/gst/gstreamer-sections.txt:
13814         * docs/gst/gstreamer.types:
13815         * docs/gst/gstreamer.types.in:
13816         * docs/plugins/Makefile.am:
13817         * docs/plugins/gstreamer-plugins-docs.sgml:
13818         * docs/plugins/gstreamer-plugins-sections.txt:
13819         * docs/plugins/gstreamer-plugins.types:
13820         * docs/plugins/inspect.stamp:
13821         * docs/plugins/inspect/plugin-coreelements.xml:
13822         * docs/plugins/inspect/plugin-coreindexers.xml:
13823         * docs/plugins/scanobj-build.stamp:
13824         * gstreamer.spec.in:
13825         * plugins/elements/Makefile.am:
13826         * plugins/elements/gstelements.c:
13827         * plugins/elements/gstfakesink.c:
13828         * plugins/elements/gstfakesrc.c:
13829         * plugins/elements/gstfilesink.c:
13830         * plugins/elements/gstfilesrc.c:
13831         * plugins/elements/gstqueue.c:
13832         * plugins/indexers/Makefile.am:
13833         * plugins/indexers/gstindexers.c:
13834           document core plugins in a separate document just like all the
13835           others
13836           rename these plugins to something starting with core
13837
13838 2005-12-01  Andy Wingo  <wingo@pobox.com>
13839
13840         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13841         padding here before, but it missed the commit.
13842
13843 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13844
13845         * libs/gst/controller/gstinterpolation.c:
13846           whitespace prices have crashed, we should feel free to use some now
13847           use gst_guint64_to_gdouble
13848
13849 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13850
13851         * libs/gst/controller/gstcontroller.c:
13852         * libs/gst/controller/gsthelper.c:
13853         * libs/gst/controller/gstinterpolation.c:
13854         * libs/gst/controller/lib.c:
13855           wrap config.h include
13856
13857 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13858
13859         * docs/gst/gstreamer-sections.txt:
13860           update docs
13861
13862 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13863
13864         * plugins/elements/gstelements.c:
13865         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13866         (gst_fd_sink__class_init), (gst_fd_sink__init),
13867         (gst_fd_sink__chain), (gst_fd_sink__set_property),
13868         (gst_fd_sink__get_property):
13869         * plugins/elements/gstfdsink.h:
13870         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13871         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13872         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13873         (gst_fd_src_unlock), (gst_fd_src_set_property),
13874         (gst_fd_src_get_property), (gst_fd_src_create),
13875         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13876         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13877         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13878         (gst_fd_src_uri_handler_init):
13879         * plugins/elements/gstfdsrc.h:
13880         * plugins/elements/gstqueue.c: (gst_queue_get_type):
13881           more anal cleanup
13882
13883 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13884
13885         * docs/gst/Makefile.am:
13886         * docs/gst/gstreamer.types.in:
13887         * gst/Makefile.am:
13888           fix the docs build
13889
13890 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13891
13892         * configure.ac:
13893         * gst/Makefile.am:
13894         * gst/gst.c:
13895         * gst/gstplugin.h:
13896         * gst/gstregistry.h:
13897         * tests/benchmarks/complexity.c:
13898         * tests/benchmarks/mass-elements.c:
13899         * tests/check/Makefile.am:
13900         * tools/Makefile.am:
13901         * tools/gst-inspect.c:
13902         * tools/gst-xmlinspect.c:
13903           various fixes to make
13904           --disable-nls --disable-registry --disable-loadsave
13905           --disable-parse --disable-gst-debug
13906           work and get the core .so down to 360444 bytes after stripping
13907
13908 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13909
13910         * Makefile.am:
13911         * configure.ac:
13912           descend into tests
13913         * docs/random/thomasvs/TODO:
13914         * tests/Makefile.am:
13915         * tests/README:
13916           add a README
13917
13918 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13919
13920         * win32/GStreamer.vcproj:
13921         * win32/MANIFEST:
13922         * win32/Makefile:
13923         * win32/Makefile.inspect:
13924         * win32/Makefile.launch:
13925         * win32/Makefile.register:
13926         * win32/README.txt:
13927         * win32/gst-inspect.vcproj:
13928         * win32/gst-launch.vcproj:
13929         * win32/gst-register.vcproj:
13930         * win32/gstelements.vcproj:
13931         * win32/gstgetbits.def:
13932         * win32/gstgetbits.vcproj:
13933         * win32/gstreamer-dbg.def:
13934         * win32/gstreamer.def:
13935         * win32/libgstbase.def:
13936         * win32/libgstbase.vcproj:
13937         * win32/link_oldruntime.c:
13938         * win32/mman.c:
13939         * win32/mman.h:
13940         * win32/mman.inl:
13941         * win32/msvc71.sln:
13942           move even more stuff, win32/ is nice and clean now
13943
13944 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13945
13946         * libs/gst/control/.cvsignore:
13947         * win32/MANIFEST:
13948         * win32/config.h:
13949         * win32/dirent.c:
13950         * win32/dirent.h:
13951         * win32/gstbytestream.def:
13952         * win32/gstbytestream.vcproj:
13953         * win32/gstconfig.h:
13954         * win32/gstenumtypes.c:
13955         * win32/gstenumtypes.h:
13956         * win32/gstoptimalscheduler.vcproj:
13957         * win32/gstversion.h:
13958         * win32/gtchar.h:
13959         * win32/testsuite/bins.vcproj:
13960         * win32/testsuite/bytestream.vcproj:
13961         * win32/testsuite/caps.vcproj:
13962         * win32/testsuite/cleanup.vcproj:
13963         * win32/testsuite/clock.vcproj:
13964         * win32/testsuite/debug.vcproj:
13965         * win32/testsuite/dlopen.vcproj:
13966         * win32/testsuite/dynparams.vcproj:
13967         * win32/testsuite/elements.vcproj:
13968         * win32/testsuite/ghostpads.vcproj:
13969         * win32/testsuite/indexers.vcproj:
13970         * win32/testsuite/negotiation.vcproj:
13971         * win32/testsuite/parse.vcproj:
13972         * win32/testsuite/plugin.vcproj:
13973         * win32/testsuite/refcounting.vcproj:
13974         * win32/testsuite/schedulers.vcproj:
13975         * win32/testsuite/states.vcproj:
13976         * win32/testsuite/tags.vcproj:
13977         * win32/testsuite/threads.vcproj:
13978           remove old win32 stuff that isn't maintained and should be
13979           reorganized
13980
13981 2005-11-30  Andy Wingo  <wingo@pobox.com>
13982
13983         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13984         loading the gst.interfaces python module bork.
13985
13986         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13987         available since GLib 2.2. Fixes #318031.
13988
13989 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13990
13991         * Makefile.am:
13992         * check/.cvsignore:
13993         * check/Makefile.am:
13994         * check/elements/.cvsignore:
13995         * check/elements/fakesrc.c:
13996         * check/elements/fdsrc.c:
13997         * check/elements/identity.c:
13998         * check/generic/.cvsignore:
13999         * check/generic/states.c:
14000         * check/gst-libs/.cvsignore:
14001         * check/gst-libs/controller.c:
14002         * check/gst-libs/gdp.c:
14003         * check/gst/.cvsignore:
14004         * check/gst/capslist.h:
14005         * check/gst/gst.c:
14006         * check/gst/gstbin.c:
14007         * check/gst/gstbuffer.c:
14008         * check/gst/gstbus.c:
14009         * check/gst/gstcaps.c:
14010         * check/gst/gstelement.c:
14011         * check/gst/gstevent.c:
14012         * check/gst/gstghostpad.c:
14013         * check/gst/gstiterator.c:
14014         * check/gst/gstmessage.c:
14015         * check/gst/gstminiobject.c:
14016         * check/gst/gstobject.c:
14017         * check/gst/gstpad.c:
14018         * check/gst/gstpipeline.c:
14019         * check/gst/gstplugin.c:
14020         * check/gst/gstsegment.c:
14021         * check/gst/gststructure.c:
14022         * check/gst/gstsystemclock.c:
14023         * check/gst/gsttag.c:
14024         * check/gst/gstutils.c:
14025         * check/gst/gstvalue.c:
14026         * check/net/.cvsignore:
14027         * check/net/gstnetclientclock.c:
14028         * check/net/gstnettimeprovider.c:
14029         * check/pipelines/.cvsignore:
14030         * check/pipelines/cleanup.c:
14031         * check/pipelines/simple_launch_lines.c:
14032         * check/pipelines/stress.c:
14033         * check/states/.cvsignore:
14034         * check/states/sinks.c:
14035         * configure.ac:
14036         * examples/Makefile.am:
14037         * examples/appreader/.cvsignore:
14038         * examples/appreader/Makefile.am:
14039         * examples/appreader/appreader.c:
14040         * examples/controller/.cvsignore:
14041         * examples/controller/Makefile.am:
14042         * examples/controller/audio-example.c:
14043         * examples/cutter/.cvsignore:
14044         * examples/cutter/Makefile.am:
14045         * examples/cutter/cutter.c:
14046         * examples/cutter/cutter.h:
14047         * examples/events/Makefile.am:
14048         * examples/events/seek.c:
14049         * examples/helloworld/.cvsignore:
14050         * examples/helloworld/Makefile.am:
14051         * examples/helloworld/helloworld.c:
14052         * examples/helloworld2/.cvsignore:
14053         * examples/helloworld2/Makefile.am:
14054         * examples/helloworld2/helloworld2.c:
14055         * examples/launch/.cvsignore:
14056         * examples/launch/Makefile.am:
14057         * examples/launch/mp3parselaunch.c:
14058         * examples/launch/mp3play:
14059         * examples/manual/.cvsignore:
14060         * examples/manual/Makefile.am:
14061         * examples/manual/extract.pl:
14062         * examples/metadata/Makefile.am:
14063         * examples/metadata/read-metadata.c:
14064         * examples/mixer/.cvsignore:
14065         * examples/mixer/Makefile.am:
14066         * examples/mixer/mixer.c:
14067         * examples/mixer/mixer.h:
14068         * examples/pingpong/.cvsignore:
14069         * examples/pingpong/Makefile.am:
14070         * examples/pingpong/pingpong.c:
14071         * examples/plugins/.cvsignore:
14072         * examples/plugins/Makefile.am:
14073         * examples/plugins/example.c:
14074         * examples/plugins/example.h:
14075         * examples/pwg/.cvsignore:
14076         * examples/pwg/Makefile.am:
14077         * examples/pwg/extract.pl:
14078         * examples/queue/.cvsignore:
14079         * examples/queue/Makefile.am:
14080         * examples/queue/queue.c:
14081         * examples/queue2/.cvsignore:
14082         * examples/queue2/Makefile.am:
14083         * examples/queue2/queue2.c:
14084         * examples/queue3/.cvsignore:
14085         * examples/queue3/Makefile.am:
14086         * examples/queue3/queue3.c:
14087         * examples/queue4/.cvsignore:
14088         * examples/queue4/Makefile.am:
14089         * examples/queue4/queue4.c:
14090         * examples/retag/.cvsignore:
14091         * examples/retag/Makefile.am:
14092         * examples/retag/retag.c:
14093         * examples/retag/transcode.c:
14094         * examples/thread/.cvsignore:
14095         * examples/thread/Makefile.am:
14096         * examples/thread/thread.c:
14097         * examples/typefind/.cvsignore:
14098         * examples/typefind/Makefile.am:
14099         * examples/typefind/typefind.c:
14100         * examples/xml/.cvsignore:
14101         * examples/xml/Makefile.am:
14102         * examples/xml/createxml.c:
14103         * examples/xml/runxml.c:
14104         * tests/Makefile.am:
14105         * tests/check/Makefile.am:
14106         * testsuite/.cvsignore:
14107         * testsuite/Makefile.am:
14108         * testsuite/Rules:
14109         * testsuite/caps/.cvsignore:
14110         * testsuite/caps/Makefile.am:
14111         * testsuite/caps/app_fixate.c:
14112         * testsuite/caps/audioscale.c:
14113         * testsuite/caps/caps.c:
14114         * testsuite/caps/caps.h:
14115         * testsuite/caps/caps_strings:
14116         * testsuite/caps/compatibility.c:
14117         * testsuite/caps/deserialize.c:
14118         * testsuite/caps/enumcaps.c:
14119         * testsuite/caps/eratosthenes.c:
14120         * testsuite/caps/filtercaps.c:
14121         * testsuite/caps/fixed.c:
14122         * testsuite/caps/fraction-convert.c:
14123         * testsuite/caps/fraction-multiply-and-zero.c:
14124         * testsuite/caps/intersect2.c:
14125         * testsuite/caps/intersection.c:
14126         * testsuite/caps/normalisation.c:
14127         * testsuite/caps/random.c:
14128         * testsuite/caps/renegotiate.c:
14129         * testsuite/caps/sets.c:
14130         * testsuite/caps/simplify.c:
14131         * testsuite/caps/string-conversions.c:
14132         * testsuite/caps/structure.c:
14133         * testsuite/caps/subtract.c:
14134         * testsuite/caps/union.c:
14135         * testsuite/debug/.cvsignore:
14136         * testsuite/debug/Makefile.am:
14137         * testsuite/debug/category.c:
14138         * testsuite/debug/commandline.c:
14139         * testsuite/debug/global.c:
14140         * testsuite/debug/output.c:
14141         * testsuite/debug/printf_extension.c:
14142         * testsuite/dlopen/.cvsignore:
14143         * testsuite/dlopen/Makefile.am:
14144         * testsuite/dlopen/dlopen_gst.c:
14145         * testsuite/dlopen/loadgst.c:
14146         * testsuite/elements/.cvsignore:
14147         * testsuite/elements/Makefile.am:
14148         * testsuite/elements/gst-inspect-check.in:
14149         * testsuite/elements/struct_i386.h:
14150         * testsuite/elements/struct_size.c:
14151         * testsuite/indexers/.cvsignore:
14152         * testsuite/indexers/Makefile.am:
14153         * testsuite/indexers/cache1.c:
14154         * testsuite/indexers/indexdump.c:
14155         * testsuite/parse/.cvsignore:
14156         * testsuite/parse/Makefile.am:
14157         * testsuite/parse/parse1.c:
14158         * testsuite/parse/parse2.c:
14159         * testsuite/plugin/.cvsignore:
14160         * testsuite/plugin/Makefile.am:
14161         * testsuite/plugin/README:
14162         * testsuite/plugin/dynamic.c:
14163         * testsuite/plugin/linked.c:
14164         * testsuite/plugin/loading.c:
14165         * testsuite/plugin/registry.c:
14166         * testsuite/plugin/static.c:
14167         * testsuite/plugin/static2.c:
14168         * testsuite/plugin/testplugin.c:
14169         * testsuite/plugin/testplugin2.c:
14170         * testsuite/plugin/testplugin2_s.c:
14171         * testsuite/plugin/testplugin_s.c:
14172         * testsuite/refcounting/.cvsignore:
14173         * testsuite/refcounting/Makefile.am:
14174         * testsuite/refcounting/bin.c:
14175         * testsuite/refcounting/element.c:
14176         * testsuite/refcounting/element_pad.c:
14177         * testsuite/refcounting/mainloop.c:
14178         * testsuite/refcounting/mem.c:
14179         * testsuite/refcounting/mem.h:
14180         * testsuite/refcounting/object.c:
14181         * testsuite/refcounting/pad.c:
14182         * testsuite/refcounting/sched.c:
14183         * testsuite/refcounting/thread.c:
14184         * testsuite/states/.cvsignore:
14185         * testsuite/states/Makefile.am:
14186         * testsuite/states/bin.c:
14187         * testsuite/states/locked.c:
14188         * testsuite/states/parent.c:
14189         * testsuite/threads/.cvsignore:
14190         * testsuite/threads/159566.c:
14191         * testsuite/threads/159852.c:
14192         * testsuite/threads/Makefile.am:
14193         * testsuite/threads/queue.c:
14194         * testsuite/threads/signals.c:
14195         * testsuite/threads/staticrec.c:
14196         * testsuite/threads/thread.c:
14197         * testsuite/threads/threadb.c:
14198         * testsuite/threads/threadc.c:
14199         * testsuite/threads/threadd.c:
14200         * testsuite/threads/threade.c:
14201         * testsuite/threads/threadf.c:
14202         * testsuite/threads/threadg.c:
14203         * testsuite/threads/threadh.c:
14204         * testsuite/threads/threadi.c:
14205           move all of these under tests
14206
14207 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14208
14209         * configure.ac:
14210         * tests/Makefile.am:
14211           fix distcheck
14212
14213 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14214
14215         * docs/gst/gstreamer-sections.txt:
14216         * tests/sched/.cvsignore:
14217         * tests/sched/Makefile.am:
14218         * tests/sched/cases/(fs-fs).xml:
14219         * tests/sched/cases/(fs-i-fs).xml:
14220         * tests/sched/cases/(fs-i-i-fs).xml:
14221         * tests/sched/cases/(fs-i-q[i-fs]).xml:
14222         * tests/sched/dynamic-pipeline.c:
14223         * tests/sched/interrupt1.c:
14224         * tests/sched/interrupt2.c:
14225         * tests/sched/interrupt3.c:
14226         * tests/sched/runtestcases:
14227         * tests/sched/runxml.c:
14228         * tests/sched/sched-stress.c:
14229         * tests/sched/sort.c:
14230         * tests/sched/testcases:
14231         * tests/sched/testcases1.tc:
14232         * tests/seeking/.cvsignore:
14233         * tests/seeking/Makefile.am:
14234         * tests/seeking/seeking1.c:
14235         * tests/threadstate/.cvsignore:
14236         * tests/threadstate/Makefile.am:
14237         * tests/threadstate/test1.c:
14238         * tests/threadstate/test2.c:
14239         * tests/threadstate/threadstate1.c:
14240         * tests/threadstate/threadstate2.c:
14241         * tests/threadstate/threadstate3.c:
14242         * tests/threadstate/threadstate4.c:
14243         * tests/threadstate/threadstate5.c:
14244           remove obsolete tests
14245         * configure.ac:
14246         * tests/bench-complexity.scm:
14247         * tests/bench-mass_elements.scm:
14248         * tests/complexity.c:
14249         * tests/complexity.gnuplot:
14250         * tests/instantiate/.cvsignore:
14251         * tests/instantiate/Makefile.am:
14252         * tests/instantiate/caps.c:
14253         * tests/mass_elements.c:
14254         * tests/network-clock-utils.scm:
14255         * tests/network-clock.scm:
14256         * tests/plot-data:
14257         First pass at cleaning up tests/ dir before moving the rest
14258         Combined with CVS surgery
14259
14260 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14261
14262         * po/POTFILES.in:
14263           queue has moved, update
14264
14265 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14266
14267         * docs/gst/gstreamer-sections.txt:
14268           remove double entries from the docs
14269         * gst/gst_private.h:
14270         * gst/gstinfo.c: (_gst_debug_init):
14271           remove the THREAD debug category
14272         * gst/Makefile.am:
14273         * gst/gstqueue.c:
14274         * gst/gstqueue.h:
14275         * docs/gst/gstreamer.types:
14276         * plugins/elements/gstqueue.c: (gst_queue_get_type),
14277         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
14278           completely move queue and fix up debugging categories
14279
14280 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14281
14282         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14283           make initialization portable, using LL is not
14284
14285 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14286
14287         * win32/common/gstconfig.h:
14288           add large padding
14289
14290 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14291
14292         * win32/common/libgstreamer.def:
14293           rename symbols; sort base section
14294
14295 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14296
14297         * gst/gstclock.c: (do_linear_regression):
14298           remove crack non-portable handrolled DEBUG macro
14299
14300 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14301
14302         * docs/random/release:
14303           update notes
14304         * win32/common/gstenumtypes.c: (register_gst_object_flags),
14305         (gst_object_flags_get_type), (register_gst_bin_flags),
14306         (gst_bin_flags_get_type), (register_gst_buffer_flag),
14307         (gst_buffer_flag_get_type), (register_gst_bus_flags),
14308         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14309         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
14310         (gst_caps_flags_get_type), (register_gst_clock_return),
14311         (gst_clock_return_get_type), (register_gst_clock_entry_type),
14312         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14313         (gst_clock_flags_get_type), (register_gst_state),
14314         (gst_state_get_type), (register_gst_state_change_return),
14315         (gst_state_change_return_get_type), (register_gst_state_change),
14316         (gst_state_change_get_type), (register_gst_element_flags),
14317         (gst_element_flags_get_type), (register_gst_core_error),
14318         (gst_core_error_get_type), (register_gst_library_error),
14319         (gst_library_error_get_type), (register_gst_resource_error),
14320         (gst_resource_error_get_type), (register_gst_stream_error),
14321         (gst_stream_error_get_type), (register_gst_event_type_flags),
14322         (gst_event_type_flags_get_type), (register_gst_event_type),
14323         (gst_event_type_get_type), (register_gst_seek_type),
14324         (gst_seek_type_get_type), (register_gst_seek_flags),
14325         (gst_seek_flags_get_type), (register_gst_format),
14326         (gst_format_get_type), (register_gst_index_certainty),
14327         (gst_index_certainty_get_type), (register_gst_index_entry_type),
14328         (gst_index_entry_type_get_type),
14329         (register_gst_index_lookup_method),
14330         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14331         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14332         (gst_index_resolver_method_get_type), (register_gst_index_flags),
14333         (gst_index_flags_get_type), (register_gst_debug_level),
14334         (gst_debug_level_get_type), (register_gst_debug_color_flags),
14335         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14336         (gst_iterator_result_get_type), (register_gst_iterator_item),
14337         (gst_iterator_item_get_type), (register_gst_message_type),
14338         (gst_message_type_get_type), (register_gst_mini_object_flags),
14339         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14340         (gst_pad_link_return_get_type), (register_gst_flow_return),
14341         (gst_flow_return_get_type), (register_gst_activate_mode),
14342         (gst_activate_mode_get_type), (register_gst_pad_direction),
14343         (gst_pad_direction_get_type), (register_gst_pad_flags),
14344         (gst_pad_flags_get_type), (register_gst_pad_presence),
14345         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14346         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14347         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14348         (gst_plugin_error_get_type), (register_gst_plugin_flags),
14349         (gst_plugin_flags_get_type), (register_gst_rank),
14350         (gst_rank_get_type), (register_gst_query_type),
14351         (gst_query_type_get_type), (register_gst_tag_merge_mode),
14352         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14353         (gst_tag_flag_get_type), (register_gst_task_state),
14354         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14355         (gst_alloc_trace_flags_get_type),
14356         (register_gst_type_find_probability),
14357         (gst_type_find_probability_get_type), (register_gst_uri_type),
14358         (gst_uri_type_get_type), (register_gst_parse_error),
14359         (gst_parse_error_get_type):
14360         * win32/common/gstenumtypes.h:
14361         * win32/common/gstversion.h:
14362           update visual studio generated files
14363
14364 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14365
14366         * win32/vs6/libgstbase.dsp:
14367         * win32/vs6/libgstelements.dsp:
14368           update project files for new locations
14369
14370 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14371
14372         * Makefile.am:
14373           remove some files
14374         * README:
14375           reinstate and update
14376         * DEVEL:
14377         * REQUIREMENTS:
14378           removed
14379         * LICENSE:
14380         * docs/random/LICENSE:
14381           moved to random
14382
14383 2005-11-30  Edward Hervey  <edward@fluendo.com>
14384
14385         * gst/gsttypefind.c: (gst_type_find_register):
14386         * gst/gsttypefind.h:
14387         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14388         (gst_type_find_factory_dispose):
14389         * gst/gsttypefindfactory.h:
14390         Fix memory leak in GstTypeFindFactory.
14391
14392 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14393
14394         * gst/gst.c:
14395         * plugins/elements/Makefile.am:
14396         * plugins/elements/gstelements.c:
14397         * plugins/elements/gstqueue.c:
14398           move queue from core to the elements plugin
14399
14400 2005-11-29  Andy Wingo  <wingo@pobox.com>
14401
14402         * libs/gst/base/gstbasetransform.h: 
14403         * libs/gst/base/gstbasesrc.h: 
14404         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14405
14406         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14407         of pointers by which to pad very extensible base classes (like the
14408         ones in libs/gst/base).
14409
14410 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14411
14412         * docs/gst/gstreamer-docs.sgml:
14413         * docs/gst/gstreamer-sections.txt:
14414         * docs/libs/gstreamer-libs-docs.sgml:
14415         * docs/libs/gstreamer-libs-sections.txt:
14416           moving documentation from core to lib
14417
14418 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14419
14420         * check/Makefile.am:
14421         * configure.ac:
14422         * docs/gst/Makefile.am:
14423         * gst/Makefile.am:
14424         * gst/base/.cvsignore:
14425         * gst/base/Makefile.am:
14426         * gst/base/README:
14427         * gst/base/gstadapter.c:
14428         * gst/base/gstadapter.h:
14429         * gst/base/gstbasesink.c:
14430         * gst/base/gstbasesink.h:
14431         * gst/base/gstbasesrc.c:
14432         * gst/base/gstbasesrc.h:
14433         * gst/base/gstbasetransform.c:
14434         * gst/base/gstbasetransform.h:
14435         * gst/base/gstcollectpads.c:
14436         * gst/base/gstcollectpads.h:
14437         * gst/base/gstpushsrc.c:
14438         * gst/base/gstpushsrc.h:
14439         * gst/base/gsttypefindhelper.c:
14440         * gst/base/gsttypefindhelper.h:
14441         * gst/check/Makefile.am:
14442         * gst/check/gstcheck.c:
14443         * gst/check/gstcheck.h:
14444         * gst/net/Makefile.am:
14445         * gst/net/gstnet.h:
14446         * gst/net/gstnetclientclock.c:
14447         * gst/net/gstnetclientclock.h:
14448         * gst/net/gstnettimepacket.c:
14449         * gst/net/gstnettimepacket.h:
14450         * gst/net/gstnettimeprovider.c:
14451         * gst/net/gstnettimeprovider.h:
14452         * libs/gst/Makefile.am:
14453         * libs/gst/base/Makefile.am:
14454         * libs/gst/base/gstbasetransform.c:
14455         * libs/gst/check/Makefile.am:
14456         * plugins/elements/Makefile.am:
14457         * po/POTFILES.in:
14458           CVS surgery + support to move base, check, and net out of gst
14459           and into libs/gst
14460
14461 2005-11-29  Andy Wingo  <wingo@pobox.com>
14462
14463         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14464
14465         * gst/gststructure.h (struct _GstStructure): Only one pointer of
14466         padding.
14467
14468         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14469
14470         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14471
14472         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14473
14474         * gst/gstobject.h: (struct _GstObject): Only one pointer of
14475         padding; reduces object size by about 30%. We don't expect
14476         anything else to go into gstobject.
14477
14478         * gst/gstminiobject.h (struct _GstMiniObject)
14479         (struct _GstMiniObjectClass): Only one pointer of padding; the
14480         payload is only a pointer and two ints anyway. For the class there
14481         are only two methods as well.
14482         
14483         * gst/gstelement.h (struct _GstElementClass): Removed
14484         the state_changed signal callback, it is not used.
14485
14486 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14487
14488         * docs/gst/gstreamer.types:
14489           fix includes, though they are a little dinky
14490
14491 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14492
14493         * check/Makefile.am:
14494           look in the right place for elements, a lot more chance of
14495           success
14496         * gst/Makefile.am:
14497           remove indexers and elements subdirs
14498         * plugins/Makefile.am:
14499           make indexers conditional
14500
14501 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14502
14503         * Makefile.am:
14504         * configure.ac:
14505         * plugins/elements/Makefile.am:
14506         * plugins/elements/gstcapsfilter.c:
14507         * plugins/elements/gstfilesink.c:
14508         * plugins/elements/gstfilesrc.c:
14509         * plugins/elements/gstidentity.c:
14510         * plugins/indexers/Makefile.am:
14511           do CVS surgery and related build fixery to move elements
14512           and indexers in a new gstreamer/plugins directory, out of the
14513           gst/ directory
14514
14515 2005-11-29  Andy Wingo  <wingo@pobox.com>
14516
14517         * check/Makefile.am:
14518         * pkgconfig/gstreamer-net-uninstalled.pc.in:
14519         * pkgconfig/gstreamer-net.pc.in:
14520         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14521         #322257.
14522
14523 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14524
14525         * tools/Makefile.am:
14526         * tools/gst-complete.1.in:
14527         * tools/gst-complete.c:
14528         * tools/gst-compprep.1.in:
14529         * tools/gst-compprep.c:
14530           removing -compprep and -complete
14531
14532 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14533
14534         * gst/gstevent.c: (gst_event_new_new_segment),
14535         (gst_event_parse_new_segment):
14536         * gst/gstevent.h:
14537           fix #320529 - clean up new_segment API and structure.
14538           Let's hope everyone was using the methods, and not the structure.
14539
14540 2005-11-29  Edward Hervey  <edward@fluendo.com>
14541
14542         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14543         (gst_base_sink_event), (gst_base_sink_do_sync),
14544         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14545         Properly handle non GST_FORMAT_TIME segment
14546         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14547         Properly handle non GST_FORMAT_TIME segment
14548         * gst/gstsegment.c:
14549         This function is valid if the accumulator is 0 and the format
14550         is different from the requested format.
14551         
14552 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14553
14554         * docs/gst/gstreamer-sections.txt:
14555         Add gst_query_new_seeking and gst_query_parse_seeking to the
14556         docs.
14557
14558 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14559
14560         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14561           Treat a pad alloc with new caps the same as if we were not
14562           negotiated, in order to allow a changing upstream output
14563           to produce a new format of data.
14564
14565 2005-11-29  Edward Hervey  <edward@fluendo.com>
14566
14567         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14568         (gst_base_transform_event), (gst_base_transform_eventfunc):
14569         The event virtual method is now properly implemented, with a default
14570         handler
14571         Sub classes should call the parent_class event method. They should
14572         return FALSE if they had a problem handling the given event, or don't
14573         want GstBaseTransform to send that even downstream
14574         * gst/elements/gstidentity.c: (gst_identity_class_init),
14575         (gst_identity_init), (gst_identity_event),
14576         (gst_identity_transform_ip), (gst_identity_set_property),
14577         (gst_identity_get_property):
14578         * gst/elements/gstidentity.h:
14579         Added the single-segment boolean property.
14580         If set to TRUE, it will output a single segment of data, starting from
14581         0, will eat up all incoming newsegment, and modify the timestamp of the
14582         buffers accordingly
14583
14584 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
14585
14586         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14587           Don't ref NULL target pad (#322751). Improve docs.
14588
14589 2005-11-29  Michael Smith  <msmith@fluendo.com>
14590
14591         * gst/gstregistryxml.c: (load_plugin):
14592           Don't crash if we failed to load a feature from a plugin. 
14593
14594 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14595
14596         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14597         (GST_START_TEST):
14598           use more check API and less GLib API
14599
14600 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14601
14602         * Makefile.am:
14603           don't run checks if we don't have check
14604         * common/check.mak:
14605           remove the registry when running make torture
14606         * docs/gst/gstreamer-sections.txt:
14607           remove second multiply
14608         * gst/gstqueue.c: (gst_queue_loop):
14609           fix a compile warning when disabling debug
14610
14611 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14612
14613         * gst/gstinfo.h:
14614         Hey! Let's print the pad name if the pointer != NULL instead
14615         of when it == NULL :-)
14616
14617 2005-11-28  Wim Taymans  <wim@fluendo.com>
14618
14619         * check/gst/gstutils.c: (GST_START_TEST):
14620         Updated check, add some scaling accuracy checking code.
14621
14622         * gst/gstutils.c: (gst_util_div128_64),
14623         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14624         (gst_util_uint64_scale_int):
14625         Fix 6 times faster division code. Optimize for common 
14626         1/1 and less common X/1 cases.
14627
14628 2005-11-28  Wim Taymans  <wim@fluendo.com>
14629
14630         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14631         More checks.
14632
14633         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14634         (do_linear_regression), (gst_clock_add_observation):
14635         Cleanups.
14636         Release lock when the clock cannot be slaved.
14637         Catch the case where the regression returned an invalid denominator.
14638
14639         * gst/gstutils.c: (gst_util_div128_64_iterate),
14640         (gst_util_div128_64), (gst_util_uint64_scale_int64),
14641         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14642         Add protentially more performant non-iterative 128/64 divide function
14643         that unfortunatly does not work yet.
14644         Shortcut the trivial 0/X = 0 case.
14645         Remove the warnings on overflow.
14646
14647 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14648
14649         * gst/gstplugin.c: (gst_plugin_register_func):
14650           everything causing a plugin not to load should be at least a WARNING
14651
14652 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
14653
14654         * docs/random/ensonic/dparams.txt:
14655           some TODOs for the next dev cycle
14656         * libs/gst/controller/gstcontroller.c:
14657         (gst_controlled_property_set_interpolation_mode),
14658         (gst_controlled_property_new):
14659         * libs/gst/controller/gstcontroller.h:
14660           use base type to assign acccessor functions
14661
14662 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14663
14664         * check/Makefile.am:
14665         Oops, that should have been top_srcdir
14666
14667 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14668
14669         * check/Makefile.am:
14670         * check/elements/fdsrc.c: (GST_START_TEST):
14671         Use a cmdline define to specify the location of a file to use for
14672         testing, to avoid breaking distcheck.
14673
14674 2005-11-28  Andy Wingo  <wingo@pobox.com>
14675
14676         * gst/gstpad.c (fixate_value): Use array functions for arrays.
14677
14678 2005-11-28  Edward Hervey  <edward@fluendo.com>
14679
14680         * tools/gst-launch.c: (main):
14681         Clarify the output strings, makes it easier to translate.
14682         Fixes #322626
14683
14684 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14685
14686         * gst/Makefile.am:
14687           don't try and build net if we don't even have <sys/socket.h>
14688
14689 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
14690
14691         * check/Makefile.am:
14692         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14693         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14694           Add tests for fdsrc seekability
14695
14696         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14697         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14698         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14699         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14700         * gst/elements/gstfdsrc.h:
14701           fdsrc should not be a 'live' source.
14702           Implement seeking on seekable fd's.
14703
14704         * gst/gstquery.c: (gst_query_new_seeking),
14705         (gst_query_parse_seeking):
14706         * gst/gstquery.h:
14707           Implement SEEKING query functions: 
14708             *_new_seeking and *_parse_seeking
14709
14710 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14711
14712         * gst/gstelement.c: (gst_element_dispose):
14713           don't loop forever
14714
14715         * gst/gstiterator.c:
14716         * gst/gststructure.c:
14717           doc fixes
14718
14719         * libs/gst/controller/gstcontroller.c:
14720         (gst_controlled_property_set_interpolation_mode):
14721         * libs/gst/controller/gstcontroller.h:
14722         * libs/gst/controller/gstinterpolation.c:
14723         (interpolate_none_get_enum_value_array):
14724           support controlling enums
14725
14726 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14727
14728         * gst/gstvalue.c:
14729           Improve documentation for gst_value_union().
14730
14731         * gst/gstvalue.h:
14732           Change return value for union, intersect and subtract functions
14733           from gint to gboolean.
14734
14735 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14736
14737         * gst/gstvalue.c: (gst_value_serialize_any_list),
14738         (gst_value_transform_any_list_string),
14739         (gst_value_deserialize_list), (gst_value_deserialize_array),
14740         (gst_value_set_int_range), (gst_value_deserialize_int_range),
14741         (gst_value_set_double_range), (gst_value_deserialize_double_range),
14742         (gst_value_set_fraction_range_full),
14743         (gst_value_deserialize_fraction_range),
14744         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14745         (gst_value_deserialize_boolean),
14746         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14747         (gst_value_serialize_float), (gst_value_deserialize_float),
14748         (gst_string_wrap), (gst_value_deserialize_string),
14749         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14750         (gst_value_union_int_range_int_range),
14751         (gst_value_intersect_int_range_int_range),
14752         (gst_value_intersect_double_range_double_range),
14753         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14754         (gst_value_subtract_int_range_int_range),
14755         (gst_value_subtract_double_double_range),
14756         (gst_value_subtract_double_range_double_range),
14757         (gst_value_deserialize_fraction):
14758         * gst/gstvalue.h:
14759           Use gint, gdouble and gchar in our API instead of int, double and
14760           char (and make usage in gstvalue.c more consistent).
14761
14762 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14763
14764         * check/Makefile.am:
14765         * libs/gst/controller/Makefile.am:
14766         * libs/gst/dataprotocol/Makefile.am:
14767           fix up Makefile.am and remove GST_ENABLE_NEW
14768
14769 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14770
14771         * configure.ac:
14772         * gst/Makefile.am:
14773         * gst/base/Makefile.am:
14774         * gst/check/Makefile.am:
14775         * gst/elements/Makefile.am:
14776         * gst/net/Makefile.am:
14777           update LDFLAGS use some more
14778
14779 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14780
14781         * common/m4/gst-doc.m4:
14782           Fixes #312589
14783
14784 2005-11-26  Edward Hervey  <edward@fluendo.com>
14785
14786         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14787         This shouldn't issue a g_warning since it returns NULL if it
14788         couldn't find the plugin, and all functions using this behave
14789         properly on a NULL return. Switching to a GST_WARNING.
14790
14791 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
14792
14793         * gst/gstbin.c: (gst_bin_handle_message_func):
14794         Don't leak clock messages.
14795
14796 2005-11-25  Wim Taymans  <wim@fluendo.com>
14797
14798         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14799         (gst_util_uint64_scale_int):
14800         Optimisations, remove unneeded vars.
14801
14802 2005-11-25  Wim Taymans  <wim@fluendo.com>
14803
14804         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14805         Added more checks for the high precision uint64 cases.
14806
14807         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14808         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14809         Implement high precision (guint64 * guint64) / guint64.
14810
14811 2005-11-24  Wim Taymans  <wim@fluendo.com>
14812
14813         * gst/base/gstbasesrc.c: (gst_base_src_query):
14814         Fix wrong percentage query.
14815
14816         * gst/gstutils.c: (gst_util_uint64_scale),
14817         (gst_util_uint64_scale_int):
14818         Add some more common cases that can be handled 
14819         efficiently to _scale.
14820
14821 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14822
14823         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14824         (gst_mini_object_suite):
14825           don't use check calls from threads; check probably isn't
14826           threadsafe and using a lock to make it threadsafe would
14827           defeat the purpose of this check
14828         * gst/check/gstcheck.c:
14829         * gst/check/gstcheck.h:
14830           use GST_DEBUG some more
14831
14832 2005-11-24  Wim Taymans  <wim@fluendo.com>
14833
14834         * gst/gstutils.c: (gst_util_uint64_scale),
14835         (gst_util_uint64_scale_int):
14836         Chain trivial case to _scale_int.
14837
14838 2005-11-24  Wim Taymans  <wim@fluendo.com>
14839
14840         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14841         Added test for scaling.
14842
14843         * gst/gstclock.h:
14844         Small doc fix.
14845
14846         * gst/gstutils.c: (gst_util_uint64_scale_int):
14847         Implemented high precision scaling code.
14848
14849 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
14850
14851         * gst/gstinfo.h:
14852           do not crash on pad==NULL
14853
14854 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14855
14856         Patch by: Stefan Kost
14857
14858         * common/gtk-doc.mak:
14859         * docs/gst/Makefile.am:
14860         * docs/libs/Makefile.am:
14861           Fix distcheck issues for the libraries docs build
14862           Closes #319599.
14863
14864 2005-11-24  Michael Smith <msmith@fluendo.com>
14865
14866         * docs/manual/basics-helloworld.xml:
14867           Fix bug #315027: memory leak in example code in docs.
14868
14869 2005-11-24  Michael Smith <msmith@fluendo.com>
14870
14871         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14872           Unlock the PREROLL_LOCK in a failure case.
14873
14874 2005-11-24  Wim Taymans  <wim@fluendo.com>
14875
14876         * docs/gst/gstreamer-sections.txt:
14877         * gst/base/gstadapter.h:
14878         * gst/base/gstbasesink.h:
14879         * gst/base/gstbasesrc.h:
14880         * gst/base/gstbasetransform.h:
14881         * gst/base/gstpushsrc.h:
14882         * gst/elements/gstfakesink.h:
14883         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14884         * gst/elements/gstfakesrc.h:
14885         * gst/elements/gstfilesink.h:
14886         * gst/elements/gstfilesrc.h:
14887         * gst/gst.c:
14888         * gst/gstbin.c:
14889         * gst/gstbuffer.c: (_gst_buffer_copy):
14890         * gst/gstbus.h:
14891         * gst/gstcaps.c:
14892         * gst/gstchildproxy.c:
14893         * gst/gstclock.c:
14894         * gst/gstelement.c:
14895         * gst/gstelementfactory.c:
14896         * gst/gstelementfactory.h:
14897         * gst/gstevent.c:
14898         * gst/gstghostpad.h:
14899         * gst/gstindex.h:
14900         * gst/gstinterface.h:
14901         * gst/gstminiobject.c:
14902         * gst/gstminiobject.h:
14903         * gst/gstpad.c:
14904         * gst/gstpad.h:
14905         * gst/gstpadtemplate.h:
14906         * gst/gstpipeline.h:
14907         * gst/gstpluginfeature.h:
14908         * gst/gstquery.h:
14909         * gst/gstqueue.h:
14910         * gst/gsttaglist.c:
14911         * gst/gsttaglist.h:
14912         * gst/gsttagsetter.c:
14913         * gst/gsttagsetter.h:
14914         * gst/gsttrace.c:
14915         * gst/gsttrace.h:
14916         * gst/gsttypefind.h:
14917         * gst/gsturi.h:
14918         * gst/gstvalue.c:
14919         * gst/net/gstnetclientclock.c:
14920         * gst/net/gstnetclientclock.h:
14921         * gst/net/gstnettimepacket.c:
14922         * gst/net/gstnettimeprovider.c:
14923         * gst/net/gstnettimeprovider.h:
14924         Doc fixes.
14925
14926 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14927
14928         * configure.ac: back to HEAD
14929
14930 === release 0.9.6 ===
14931
14932 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
14933
14934         * configure.ac:
14935           releasing 0.9.6, "Always On Time"
14936
14937 2005-11-23  Wim Taymans  <wim@fluendo.com>
14938
14939         * docs/gst/gstreamer-sections.txt:
14940         * gst/glib-compat.c:
14941         * gst/gsttagsetter.c:
14942         * gst/gstvalue.c:
14943         * gst/net/gstnetclientclock.c:
14944         * gst/net/gstnettimepacket.h:
14945         Doc updates.
14946
14947 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14948
14949         * docs/faq/using.xml:
14950         * docs/libs/tmpl/gstcontrol.sgml:
14951         * docs/manual/advanced-dparams.xml:
14952         * docs/manual/appendix-checklist.xml:
14953         * docs/manual/basics-elements.xml:
14954         * docs/pwg/other-source.xml:
14955         * docs/random/moving-plugins:
14956         * gst/gstpad.c:
14957         * tools/gst-launch.1.in:
14958           remove mentions of sinesrc
14959
14960 2005-11-23  Michael Smith <msmith@fluendo.com>
14961
14962         * docs/gst/gstreamer-sections.txt:
14963           Update for new API and API changes.
14964         * gst/gstobject.h:
14965           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14966         * gst/gstvalue.c:
14967           Documentation typo fix.
14968         * gst/net/gstnettimepacket.c:
14969           Documentation fixes for arguments.
14970
14971 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
14972
14973         * gst/gststructure.c: (gst_structure_get_fraction),
14974         (gst_structure_parse_value),
14975         (gst_structure_fixate_field_nearest_fraction):
14976         * gst/gststructure.h:
14977         * gst/gstutils.c: (gst_util_uint64_scale_int):
14978         * gst/gstutils.h:
14979         * scripts/update-funcnames:
14980         API Changes. 
14981         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14982         Make gst_structure_fixate_field_nearest_fraction take a numerator
14983         and denominator argument instead of a GValue
14984         add gst_structure_get_fraction helper function.
14985
14986 2005-11-23  Wim Taymans  <wim@fluendo.com>
14987
14988         * docs/design/part-TODO.txt:
14989         Update TODO.
14990
14991         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14992         * gst/net/gstnetclientclock.h:
14993         Use parent fields for timeout and window_size.
14994
14995 2005-11-23  Andy Wingo  <wingo@pobox.com>
14996
14997         * check/net/gstnetclientclock.c (test_functioning): Adjust to
14998         rate_num/rate_denom change.
14999
15000         * gst/net/gstnetclientclock.c
15001         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
15002         OBJECT_LOCK. Don't call add_observation with the lock.
15003
15004         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
15005         fraction.
15006         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
15007         rate fraction.
15008         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
15009         deal with rate as a fraction whose numerator and denominator are
15010         GstClockTime values.
15011         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
15012         master; the other fields are protected by the SLAVE_LOCK.
15013         (do_linear_regression): Note that this must be called with the
15014         SLAVE_LOCK.
15015         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
15016         OBJECT_LOCK. Call set_calibration instead of touching the
15017         variables directly.
15018         (gst_clock_set_property, gst_clock_get_property): Protect
15019         master/slave parameters with the SLAVE_LOCK.
15020
15021         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
15022         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
15023         note that all of the instance variables that add_observation and
15024         the set_master functions use are protected by that lock and not
15025         the OBJECT_LOCK.
15026         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
15027
15028         * gst/gstclock.c (gst_clock_add_observation): No longer requires
15029         the caller to take the object lock.
15030
15031 2005-11-23  Wim Taymans  <wim@fluendo.com>
15032
15033         * gst/gsterror.c: (_gst_core_errors_init):
15034         * gst/gsterror.h:
15035         Add error for clock stuff.
15036
15037         * gst/gstpipeline.c: (gst_pipeline_change_state),
15038         (gst_pipeline_set_clock):
15039         Post clock error when clock cannot be used in a pipeline.
15040
15041 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
15042
15043         * docs/gst/gstreamer-sections.txt:
15044           make two symbols from gstinfo private for the docs
15045         * gst/base/gstcollectpads.h:
15046         * gst/gstutils.c:
15047           fix doc typos, update docs
15048
15049 2005-11-22  Wim Taymans  <wim@fluendo.com>
15050
15051         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15052         (gst_base_sink_wait), (gst_base_sink_do_sync),
15053         (gst_base_sink_handle_event):
15054         * gst/base/gstbasesink.h:
15055         No need to store the clock, the parent element class already
15056         has it.
15057
15058         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
15059         Updates for clock_set returning a gboolean
15060
15061         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
15062         (gst_clock_id_wait_async), (gst_clock_class_init),
15063         (gst_clock_init), (gst_clock_finalize),
15064         (gst_clock_get_internal_time), (gst_clock_get_time),
15065         (gst_clock_slave_callback), (gst_clock_set_master),
15066         (gst_clock_get_master), (do_linear_regression),
15067         (gst_clock_add_observation), (gst_clock_set_property),
15068         (gst_clock_get_property):
15069         * gst/gstclock.h:
15070         Implement master/slave. When setting a clock as a slave, a
15071         periodic timeout is scheduled to sample master and slave times.
15072         Then the slave clock is recalibrated to match offset and rate
15073         of the master clock.
15074         Update logging a bit.
15075         Add flag so that a clock can state that is cannot be slaved to
15076         another clock.
15077
15078         * gst/gstelement.c: (gst_element_set_clock):
15079         * gst/gstelement.h:
15080         The set clock returns a gboolean for when an element cannot
15081         deal with the selected clock in the pipeline. 
15082
15083         * gst/gstpipeline.c: (gst_pipeline_change_state),
15084         (gst_pipeline_set_clock):
15085         * gst/gstpipeline.h:
15086         Handle the case where the selected clock cannot be set on
15087         the pipeline.
15088
15089         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
15090         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
15091         (gst_net_client_clock_set_property),
15092         (gst_net_client_clock_get_property),
15093         (gst_net_client_clock_observe_times):
15094         * gst/net/gstnetclientclock.h:
15095         Use regression code in GstClock parent, remove duplicated
15096         functionality.
15097
15098 2005-11-22  Michael Smith <msmith@fluendo.com>
15099
15100         * gst/gstutils.c: (gst_util_clock_time_scale):
15101         * gst/gstutils.h:
15102         * docs/gst/gstreamer-sections.txt:
15103           Rename method to have extra underscore.
15104
15105 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15106
15107         * gst/elements/Makefile.am:
15108         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
15109         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15110         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15111         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
15112         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
15113         * gst/elements/gstfakesrc.h:
15114         * gst/gstqueue.c: (queue_leaky_get_type):
15115           correctly fix GEnumValues so that nick is the short lowercase
15116           dashed tag
15117         * tools/gst-inspect.c: (print_element_properties_info):
15118           also show the nick, since it's useful to use from parse_launch
15119           syntax
15120           Fixes #322139
15121
15122 2005-11-22  Michael Smith <msmith@fluendo.com>
15123
15124         * gst/gstutils.c: (gst_util_clocktime_scale):
15125         * gst/gstutils.h:
15126         * docs/gst/gstreamer-sections.txt:
15127           Add util method for scaling a clocktime by a fraction. Useful 
15128           implementation is left as an exercise for the reader.
15129
15130 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15131
15132         * gst/gstvalue.c: (gst_value_collect_fraction_range):
15133         If needed, allocate storage in the destination value during
15134         collection.
15135
15136 2005-11-22  Edward Hervey  <edward@fluendo.com>
15137
15138         * docs/gst/gstreamer-sections.txt:
15139         * gst/Makefile.am:
15140         * gst/gst.h:
15141         * gst/gsturitype.c:
15142         * gst/gsturitype.h:
15143         * gst/gstutils.c: (gst_util_set_object_arg):
15144         * tools/gst-compprep.c: (main):
15145         * tools/gst-inspect.c: (print_element_properties_info):
15146         Removed GstURI, closes bug #321061
15147
15148 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15149
15150         * check/gst/gststructure.c: (GST_START_TEST):
15151         * gst/gststructure.c: (gst_structure_parse_value):
15152           Oops, broke automatic string type parsing.
15153           Add a test to catch it in future.
15154
15155 2005-11-22  Andy Wingo  <wingo@pobox.com>
15156
15157         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
15158         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
15159         Actually rename the function implementations. Grr.
15160
15161 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15162
15163         * check/gst/capslist.h:
15164           Comment test cases
15165         * check/gst/gststructure.c: (GST_START_TEST),
15166         (gst_structure_suite):
15167           Test automatic value type detection in gst_structure_from_string.
15168         * gst/gststructure.c: (gst_structure_parse_value):
15169           Add fraction as a type we try and guess automatically in
15170           caps/structure strings.
15171
15172 2005-11-22  Andy Wingo  <wingo@pobox.com>
15173
15174         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
15175
15176         * gst/gsttagsetter.h:
15177         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
15178         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
15179         (gst_tag_setter_add_tag_valist)
15180         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
15181         _add_values, _add_valist, and _add_valist_values. Since this is an
15182         interface the function suffixes should be more explicit so
15183         language binding don't end up with element.add_valist ->
15184         gst_tag_setter_add_valist, for example. Fixes #322069.
15185
15186 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15187
15188         * check/gst/gstcaps.c: (GST_START_TEST):
15189           Extend caps string tests to check that a caps to string
15190           conversion is reversible and produces the same caps.
15191
15192         * gst/gststructure.c: (gst_structure_value_get_generic_type):
15193           Output "fraction" as the generic type fraction range, so caps
15194           serialisation and deserialisation works.
15195         * check/gst/capslist.h:
15196         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15197           Support 'MIN' and 'MAX' for deserialising fractions.
15198
15199 2005-11-22  Andy Wingo  <wingo@pobox.com>
15200
15201         * gst/gstevent.h (gst_event_new_new_segment)
15202         (gst_event_parse_new_segment, gst_event_new_buffer_size)
15203         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
15204         Renamed from *_newsegment, *_buffersize, *_notarget.
15205
15206         * scripts/update-funcnames: New script, performs the changes
15207         listed above.
15208
15209 2005-11-22  Wim Taymans  <wim@fluendo.com>
15210
15211         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15212         Make sure the GstFlowReturn is returned.
15213
15214         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
15215         (gst_bus_add_signal_watch):
15216         * gst/gstbus.h:
15217         add gst_bus_add_signal_watch_full.
15218
15219         * gst/gstplugin.c: (gst_plugin_load_file):
15220         Small style cleanup.
15221
15222 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15223
15224         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
15225           Block the fakesrc srcpad when we send an event, to avoid
15226           contention on the stream_lock causing random test failures.
15227
15228 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15229
15230         * check/gst/gstvalue.c: (GST_START_TEST):
15231         * gst/gstvalue.c: (gst_value_fraction_subtract):
15232           Fix subtraction.
15233
15234 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
15235
15236         * gst/gst.h:
15237           include "gstchildproxy.h"
15238         * gst/gstchildproxy.h:
15239         * libs/gst/controller/gstcontroller.h:
15240           use G_GNUC_NULL_TERMINATED
15241
15242 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15243
15244         * check/gst/capslist.h:
15245         * check/gst/gstcaps.c: (GST_START_TEST):
15246         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15247         * gst/gststructure.c: (gst_structure_parse_range),
15248         (gst_structure_fixate_field_nearest_fraction):
15249         * gst/gststructure.h:
15250         * gst/gstvalue.c: (gst_value_init_fraction_range),
15251         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
15252         (gst_value_collect_fraction_range),
15253         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
15254         (gst_value_set_fraction_range_full),
15255         (gst_value_get_fraction_range_min),
15256         (gst_value_get_fraction_range_max),
15257         (gst_value_serialize_fraction_range),
15258         (gst_value_transform_fraction_range_string),
15259         (gst_value_compare_fraction_range),
15260         (gst_value_deserialize_fraction_range),
15261         (gst_value_intersect_fraction_fraction_range),
15262         (gst_value_intersect_fraction_range_fraction_range),
15263         (gst_value_subtract_fraction_fraction_range),
15264         (gst_value_subtract_fraction_range_fraction),
15265         (gst_value_subtract_fraction_range_fraction_range),
15266         (gst_value_collect_fraction), (gst_value_fraction_multiply),
15267         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
15268         (gst_value_transform_string_fraction), (_gst_value_initialize):
15269         * gst/gstvalue.h:
15270           Implement fraction ranges and extend GstFraction to support
15271           arithmetic subtraction, as well as deserialization from integer
15272           strings such as "100"
15273           Add a testsuite as for int and double range set operations
15274
15275 2005-11-21  Andy Wingo  <wingo@pobox.com>
15276
15277         * gst/gsttaglist.h: 
15278         * gst/gstcaps.h: 
15279         * gst/gststructure.h: Add glib-compat.h.
15280
15281 2005-11-21  Wim Taymans  <wim@fluendo.com>
15282
15283         * gst/gstbin.c: (gst_bin_change_state_func):
15284         Fix for #321595
15285
15286 2005-11-21  Wim Taymans  <wim@fluendo.com>
15287
15288         * gst/gstsegment.h:
15289         And add a nice define too.
15290
15291 2005-11-21  Wim Taymans  <wim@fluendo.com>
15292
15293         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
15294         (gst_segment_new), (gst_segment_free), (gst_segment_init),
15295         (gst_segment_set_duration), (gst_segment_set_last_stop),
15296         (gst_segment_set_seek), (gst_segment_set_newsegment),
15297         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15298         (gst_segment_clip):
15299         * gst/gstsegment.h:
15300         Make binding friendly.
15301
15302 2005-11-21  Andy Wingo  <wingo@pobox.com>
15303
15304         * gst/gsttagsetter.h: 
15305         * gst/gsttaglist.h: 
15306         * gst/gststructure.h: 
15307         * gst/gstcaps.h: 
15308         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
15309         #319940.
15310
15311         * gst/gsterror.c (_gst_core_errors_init):
15312         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
15313         category.
15314
15315         * gst/Makefile.am (gst_headers): Add glib-compat.h.
15316         (noinst_HEADERS): noinst the -private.
15317
15318 2005-11-21  Michael Smith <msmith@fluendo.com>
15319
15320         * gst/gstplugin.h:
15321         * gst/gstregistry.h:
15322           Remove unimplemented declarations for which we can see no sensible
15323           use.
15324
15325 2005-11-21  Andy Wingo  <wingo@pobox.com>
15326
15327         * gst/gst.h: Include glib-compat.h.
15328
15329         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15330
15331         * gst/glib-compat.c: Include the public and the private header.
15332
15333         * gst/glib-compat-private.h: Copied here from glib-compat.h.
15334
15335         * gst/gstvalue.c: 
15336         * gst/gstpad.c: 
15337         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15338
15339         * check/gst/gstevent.c (create_custom_events): Check that
15340         FLUSH_STOP is serialized.
15341
15342         * check/elements/identity.c (event_func): 
15343         * check/elements/fakesrc.c (event_func): No stream lock, the core
15344         takes it.
15345
15346         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15347         stream lock taking, yay.
15348
15349         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15350         ensure that core takes the stream lock.
15351
15352         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15353         lock name change.
15354
15355         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15356         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15357         it already. For the flush start we do take it though so we get the
15358         right preroll state change messages.
15359
15360         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15361         the stream lock here, the core does it for us.
15362
15363         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15364         GST_STREAM_GET_LOCK.
15365         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
15366         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
15367         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15368         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15369         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
15370         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15371
15372         * gst/gstpad.c: Update for stream lock name change.
15373
15374         * gst/base/gstbasesink.c: Update for preroll lock name change.
15375
15376 2005-11-21  Wim Taymans  <wim@fluendo.com>
15377
15378         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15379         (gst_clock_get_master):
15380         * gst/gstclock.h:
15381         * gst/gstsystemclock.c: (gst_system_clock_init):
15382         Convert Clock flags to object flags.
15383         Added methods to manage master/slave clocks.
15384
15385 2005-11-21  Wim Taymans  <wim@fluendo.com>
15386
15387         * check/gst/gstsegment.c: (GST_START_TEST):
15388         * docs/design/part-TODO.txt:
15389         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15390         (gst_base_sink_event), (gst_base_sink_do_sync),
15391         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15392         (gst_base_sink_query), (gst_base_sink_change_state):
15393         * gst/base/gstbasesink.h:
15394         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15395         (gst_base_src_default_newsegment),
15396         (gst_base_src_configure_segment), (gst_base_src_do_seek),
15397         (gst_base_src_get_range), (gst_base_src_loop),
15398         (gst_base_src_change_state):
15399         * gst/base/gstbasesrc.h:
15400         * gst/base/gstbasetransform.c:
15401         (gst_base_transform_prepare_output_buf),
15402         (gst_base_transform_event), (gst_base_transform_change_state):
15403         * gst/base/gstbasetransform.h:
15404         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15405         (gst_collect_pads_event):
15406         * gst/base/gstcollectpads.h:
15407         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15408         (gst_fake_src_create):
15409         * gst/elements/gstfakesrc.h:
15410         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15411         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15412         (gst_segment_set_last_stop), (gst_segment_set_seek),
15413         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15414         (gst_segment_to_running_time), (gst_segment_clip):
15415         * gst/gstsegment.h:
15416         More segment updates, replace code in plugins with segment
15417         helper functions.
15418
15419 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15420
15421         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15422         Don't ignore sscanf results
15423
15424 2005-11-21  Andy Wingo  <wingo@pobox.com>
15425
15426         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15427
15428         * *.h:
15429         * *.c: Ran scripts/update-macros. Oh yes.
15430
15431         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15432         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15433         GST_GET_LOCK, etc.
15434
15435         * scripts/update-macros: New script. Run it on your files to
15436         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15437         well.
15438
15439 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15440
15441         * docs/gst/Makefile.am:
15442         * docs/gst/gstreamer-docs.sgml:
15443         * docs/gst/gstreamer-sections.txt:
15444         * docs/gst/gstreamer.types:
15445         * gst/gstinfo.h:
15446           more docs fixes, add new api to the docs
15447
15448 2005-11-21  Andy Wingo  <wingo@pobox.com>
15449
15450         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15451         state_broadcast call.
15452
15453         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15454
15455 2005-11-21  Julien MOUTTE  <julien@moutte.net>
15456
15457         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15458         function calls for arrays.
15459
15460 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15461
15462         * docs/random/ensonic/media-device-daemon.txt:
15463           wild idea, can this be done?
15464         * docs/gst/gstreamer-sections.txt:
15465         * gst/gsterror.h:
15466         * gst/gstfilter.c:
15467         * gst/gstfilter.h:
15468         * gst/gstplugin.h:
15469         * gst/gstpluginfeature.c:
15470         * gst/gsttrace.c:
15471         * gst/gstvalue.c:
15472         * gst/gstvalue.h:
15473           doc fixes and additions
15474
15475 2005-11-21  Andy Wingo  <wingo@pobox.com>
15476
15477         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
15478         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
15479         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
15480         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15481         private to the basesrc implementation.
15482
15483         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15484         behalf of event function if necessary. It should no longer be
15485         necessary to take the stream lock in pad's event functions. Fixes
15486         #320299.
15487
15488 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15489         * docs/gst/gstreamer-sections.txt:
15490         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15491         (gst_structure_fixate_field_nearest_double),
15492         (gst_structure_fixate_field_boolean):
15493         * gst/gststructure.h:
15494         * win32/common/libgstreamer.def:
15495         * win32/gstreamer.def:
15496
15497         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15498         (#322027)
15499
15500 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15501
15502         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15503         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15504         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15505         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15506         (gst_fdsrc_uri_handler_init):
15507         * gst/elements/gstfdsrc.h:
15508           Port fd:// URI handler from 0.8 to fdsrc
15509
15510 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15511
15512         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15513         (gst_value_serialize_fourcc):
15514         * gst/gstvalue.h:
15515           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15516           consistent with our other format defines (#320324).
15517
15518 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15519
15520         * gst/gstvalue.c: (gst_value_is_fixed):
15521           Revert previous commit. Value lists are by definition
15522           not fixed, as they are a list of possible values.
15523
15524 2005-11-21  Andy Wingo  <wingo@pobox.com>
15525
15526         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15527         during the stable series if we need it. Fixes #319178.
15528
15529         * gst/gstevent.c (gst_event_new_filler): Removed.
15530
15531         * check/gst/gstevent.c: Update comment about filler events.
15532
15533 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15534
15535         * gst/gstvalue.c: (gst_value_is_fixed):
15536           Should handle both value arrays and value lists.
15537
15538 2005-11-21  Andy Wingo  <wingo@pobox.com>
15539
15540         patch by: Alessandro Dessina <alessandro nnva org>
15541
15542         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15543         functions to access arrays. Fixes #321962.
15544
15545 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15546
15547         * docs/gst/gstreamer.types:
15548           gst_collectpads_get_type => gst_collect_pads_get_type.
15549           
15550         * gst/base/gstbasetransform.c:
15551           Remove unused SIGNAL_HANDOFF enum.
15552
15553 2005-11-21  Andy Wingo  <wingo@pobox.com>
15554
15555         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15556         the event type (upstream, downstream, serialized). Renamed
15557         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15558         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15559         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15560
15561         * gst/gstevent.c: Update for new CUSTOM event names.
15562
15563         * check/gst/gstevent.c: Update check for new CUSTOM event names.
15564
15565         * gst/gstevent.h:
15566         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15567         bug #319392.
15568
15569 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15570
15571         * docs/gst/gstreamer-sections.txt:
15572         * win32/common/libgstbase.def:
15573         * win32/libgstbase.def:
15574         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15575         (gst_collect_pads_class_init), (gst_collect_pads_init),
15576         (gst_collect_pads_finalize), (gst_collect_pads_new),
15577         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15578         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15579         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15580         (gst_collect_pads_start), (gst_collect_pads_stop),
15581         (gst_collect_pads_peek), (gst_collect_pads_pop),
15582         (gst_collect_pads_available), (gst_collect_pads_read),
15583         (gst_collect_pads_flush), (gst_collect_pads_event),
15584         (gst_collect_pads_chain):
15585         * gst/base/gstcollectpads.h:
15586           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15587           unimplemented functions as unimplemented. Add padding to
15588           GstCollectData. (#320766, #320423)
15589
15590 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15591
15592         * gst/gstmessage.c:
15593           Improve docs for DURATION message (usage of duration parameter)
15594           (#320113)
15595
15596 2005-11-20  Wim Taymans  <wim@fluendo.com>
15597
15598         * check/Makefile.am:
15599         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15600         (main):
15601         * gst/Makefile.am:
15602         * gst/gst.h:
15603         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15604         (gst_segment_set_seek), (gst_segment_set_newsegment),
15605         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15606         (gst_segment_clip):
15607         * gst/gstsegment.h:
15608         Added segment helper structure and methods. Not fully implemented
15609         yet.
15610         Added segment check.
15611
15612 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
15613
15614         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15615           Add a deserialisation test for fractions
15616         * examples/metadata/read-metadata.c: (message_loop),
15617         (make_pipeline), (main):
15618           Fix up metadata reading sample.
15619         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15620           Debug format fix
15621         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15622           Don't try and fixate empty caps
15623         * gst/gst_private.h:
15624           Wrap in G_BEGIN_DECLS/G_END_DECLS
15625         * gst/gstvalue.c: (gst_value_collect_fraction),
15626         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15627         (gst_value_transform_string_fraction),
15628         (gst_value_compare_fraction):
15629           Add some extra guards to ensure that we don't end up 
15630           with an invalid denominator of 0 in a gstfraction and
15631           that fractions always get reduced.
15632
15633 2005-11-20  Wim Taymans  <wim@fluendo.com>
15634
15635         * docs/gst/gstreamer-sections.txt:
15636         * gst/gstbuffer.h:
15637         * gst/gstelement.c:
15638         * gst/gstformat.c:
15639         * gst/gstformat.h:
15640         * gst/gstindex.h:
15641         * gst/gstquery.c:
15642         * gst/gstquery.h:
15643         * gst/gstvalue.c:
15644         Doc fixes.
15645
15646 2005-11-20  Wim Taymans  <wim@fluendo.com>
15647
15648         * docs/design/part-TODO.txt:
15649         * gst/gstcaps.h:
15650         Make a proper enum of the flag.
15651
15652 2005-11-19  Wim Taymans  <wim@fluendo.com>
15653
15654         * docs/design/part-TODO.txt:
15655         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15656         (gst_format_to_quark), (gst_format_register):
15657         * gst/gstformat.h:
15658         * gst/gstquery.c: (_gst_query_initialize),
15659         (gst_query_type_get_name), (gst_query_type_to_quark),
15660         (gst_query_type_register):
15661         * gst/gstquery.h:
15662         Add type to quark and type to string conversions.
15663
15664 2005-11-19  Andy Wingo  <wingo@pobox.com>
15665
15666         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15667         #320097.
15668
15669 2005-11-19  Wim Taymans  <wim@fluendo.com>
15670
15671         * docs/design/part-TODO.txt:
15672         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15673         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15674         (gst_bin_handle_message_func):
15675         * gst/gstbin.h:
15676         Make message handling overridable.
15677
15678 2005-11-19  Andy Wingo  <wingo@pobox.com>
15679
15680         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15681
15682         * gst/gstclock.h:
15683         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15684         be a GstClockTime.
15685         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15686         is a GstClockTime. Fixes #321710.
15687
15688         * gst/gstclock.h (GstClock): Remove offset property. Add
15689         internal_calibration and external_calibration. Fix padding. Pad
15690         also by GstClockTime so we don't run into problems.
15691
15692         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15693         (gst_clock_get_rate_offset): Remove.
15694         (gst_clock_set_time_adjust): Remove. Fixes #321712.
15695
15696         * gst/gstutils.h:
15697         * gst/gstutils.c (g_static_rec_cond_wait)
15698         (g_static_rec_cond_timed_wait): Removed, no longer needed.
15699
15700         * gst/gstbin.c: Remove terrible continue_state prototype.
15701
15702         * gst/gstelement.h (gst_element_continue_state): Make public.
15703
15704         * gst/gstelement.h:
15705         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15706         by continue_state. Fixes #319389.
15707
15708         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15709         Really fixes #168438. However I don't see anywhere where the
15710         filter function is called... stupid GStreamer...
15711         
15712         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15713         don't have a dispose function, so it won't get called when the
15714         object is unreffed, but oh well!
15715
15716         * gst/gstindex.c (gst_index_set_filter_full): New API function,
15717         allows a destroy function to be set so user_data can be freed.
15718         Fixes #168438.
15719         (gst_index_set_filter): Call gst_index_set_filter_full.
15720
15721         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15722
15723         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15724         string should produce an error, given the lack of a way to
15725         represent NULL strings. Fixes #165650.
15726         
15727         * gst/gstvalue.h: 
15728         * gst/gstvalue.c (gst_value_array_append_value) 
15729         (gst_value_array_prepend_value, gst_value_array_get_size) 
15730         (gst_value_array_get_value): New API, copied from
15731         gst_value_list_*, only operates on arrays.
15732         (gst_value_list_append_value, gst_value_list_prepend_value) 
15733         (gst_value_list_concat, gst_value_list_get_size) 
15734         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15735
15736         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15737         init_list, because it works on both.
15738         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15739         (gst_value_copy_list_or_array): Renamed from copy_list.
15740         (gst_value_free_list_or_array): Renamed from free_list.
15741         (gst_value_collect_list_or_array): Renamed from collect_list.
15742         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15743         (gst_value_list_or_array_peek_pointer): Renamed from
15744         list_peek_pointer.
15745         (_gst_value_array_value_table, _gst_value_list_value_table):
15746         Update value table functions.
15747         (gst_value_compare_list_or_array): Renamed from compare_list.
15748
15749         * gsttaglist.h: Whoops, foreach function returns void. Also fix
15750         some constness.
15751
15752         * gst/gsttaglist.c:
15753         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15754         GstTagList*. Fixes #143472.
15755
15756         * gst/gststructure.h: Clarify what the foreach/map functions can
15757         or can't do to their arguments.
15758
15759 2005-11-18  Wim Taymans  <wim@fluendo.com>
15760
15761         * gst/gstclock.c: (gst_clock_set_calibration),
15762         (gst_clock_get_calibration):
15763         Doc and API fixes.
15764         Calibration can be set with internal time equal to current
15765         internal time too.
15766
15767 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15768
15769         * gst/gsterror.c:
15770         * gst/gsterror.h:
15771           document
15772
15773 2005-11-18  Andy Wingo  <wingo@pobox.com>
15774
15775         * configure.ac: 
15776         * pkgconfig/gstreamer-net.pc.in:
15777         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15778         * pkgconfig/Makefile.am: Add net pkgconfig files.
15779
15780 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
15781
15782         * gst/gstcaps.c:
15783         * gst/gstghostpad.c:
15784         * gst/gsttrace.c:
15785         * gst/gstvalue.c:
15786         * gst/gstvalue.h:
15787           docs fixes
15788
15789 2005-11-18  Andy Wingo  <wingo@pobox.com>
15790
15791         * gst/net/gstnetclientclock.c: Turn off debugging.
15792
15793         * check/net/gstnetclientclock.c (test_functioning): Assert that the
15794         times connverge somewhat. Can't make a real test.
15795
15796         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15797         integer arithmetic. Return the minimum of the domain, which can be
15798         set as "internal" for gst_clock_set_calibration.
15799         (gst_net_client_clock_observe_times): Call _set_calibration.
15800         (gst_net_client_clock_new): Call _set_calibration instead of
15801         rate_offset.
15802
15803         * check/net/gstnetclientclock.c (test_functioning): Use the right
15804         adjustment api.
15805
15806         * gst/gstclock.h:
15807         * gst/gstclock.c (gst_clock_get_calibration) 
15808         (gst_clock_set_calibration): New functions, obsolete the ones I
15809         added yesterday. Doh. Precision issues mean we have to extrapolate
15810         from a point in the more recent past than 1970.
15811         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15812         obsolete.
15813         (gst_clock_adjust_unlocked): Use the right calibration data.
15814
15815 2005-11-18  Edward Hervey  <edward@fluendo.com>
15816
15817         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
15818         Also reset the ->current_* values in READY->PAUSED
15819
15820 2005-11-18  Andy Wingo  <wingo@pobox.com>
15821
15822         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15823         Whoops, check the right fd. Also add some debugging.
15824         (gst_net_client_clock_observe_times): Adjust for int64 offset.
15825         (do_linear_regression): Add a crapload of debugging. Subtract off
15826         the minimum values from the input series to discard unneeded bits.
15827         Use only int arithmetic. There is still double arithmetic when
15828         calculating the intercept that needs fixing. Return boolean to
15829         indicate success; FALSE would mean the domain or range is too
15830         great. Still needs fixes.
15831
15832 2005-11-18  Wim Taymans  <wim@fluendo.com>
15833
15834         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15835         For the current position in stream time, we need to subtract
15836         accumulated time.
15837         
15838         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15839         Release lock before calling the callback function of async
15840         entries.
15841
15842 2005-11-18  Andy Wingo  <wingo@pobox.com>
15843
15844         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15845         Port goes all the way to MAXUINT16.
15846
15847         * gst/net/gstnettimeprovider.c: Make the port range the same as
15848         for the kernel: 0 assigns, otherwise ports are less than
15849         MAXUINT16.
15850
15851         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15852         port change.
15853
15854         * check/net/gstnetclientclock.c (test_functioning): Add the start
15855         of another test. 
15856
15857 2005-11-18  Wim Taymans  <wim@fluendo.com>
15858
15859         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15860         (gst_bin_remove_func), (bin_bus_handler):
15861         * gst/gstbin.h:
15862         Removing a clock provider from a bin, triggers a clock lost message
15863         so that a new clock will be selected.
15864         Adding a clock to a bin triggers a clock provider message.
15865         Make sure we reselect a clock when we received a clock lost message.
15866         Keep a reference to the element that provided the clock.
15867
15868 2005-11-18  Andy Wingo  <wingo@pobox.com>
15869
15870         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15871         the clock initially so it produces values around the base time.
15872         (gst_net_client_clock_class_init): Typo fix.
15873         (gst_net_client_clock_thread): Add note on when the socket gets
15874         closed.
15875
15876 2005-11-17  Wim Taymans  <wim@fluendo.com>
15877
15878         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15879         Free remote and local time arrays.
15880
15881 2005-11-17  Wim Taymans  <wim@fluendo.com>
15882
15883         * gst/net/gstnetclientclock.c: (do_linear_regression),
15884         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15885         Fix compilation, uninitialized vars and a forgotten continue.
15886
15887 2005-11-17  Andy Wingo  <wingo@pobox.com>
15888
15889         * check/Makefile.am (check_PROGRAMS): 
15890         * check/net/gstnetclientclock.c: Add a most minimal test for the
15891         net client clock. More to come later.
15892
15893         * gst/net/gstnet.h: 
15894         * gst/net/Makefile.am: Add netclientclock.
15895
15896         * gst/net/gstnetclientclock.h:
15897         * gst/net/gstnetclientclock.c: New files, implement an untested
15898         GstClock that takes its time from a network time provider.
15899         Implements the algorithm in network-clock.scm.
15900
15901         * tests/network-clock.scm (*window-size*): Rename from
15902         *queue-length*.
15903         * tests/network-clock.scm (network-time): 
15904         * tests/network-clock-utils.scm (q-push): Update callers.
15905
15906 2005-11-17  Wim Taymans  <wim@fluendo.com>
15907
15908         * gst/gstbin.c: (gst_bin_provide_clock_func),
15909         (gst_bin_sort_iterator_new):
15910         And unref the child too..
15911
15912 2005-11-17  Wim Taymans  <wim@fluendo.com>
15913
15914         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15915         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15916         Refactor the sort iterator so it can be used while holding the
15917         LOCK too.
15918         Make clock selection select a clock closest to the source.
15919
15920 2005-11-17  Michael Smith <msmith@fluendo.com>
15921
15922         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15923         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15924         * gst/gstclock.h:
15925           Anonymous structs are a gcc (and some other compilers) extension, so
15926           don't use them. Since this is only for ABI-compatibility, and our
15927           API/ABI freeze is over in a few days, this whole thing will only
15928           last a few days, so don't bother trying to think up a meaningful
15929           name for the struct.
15930
15931 2005-11-17  Andy Wingo  <wingo@pobox.com>
15932
15933         * gst/gstclock.h (GstClock): Add rate and offset properties,
15934         preserving ABI stability. Add rate/offset accessors. Will file bug
15935         for the freeze break.
15936
15937         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15938         and offset, trying to keep precision and avoiding
15939         underflow/overflow.
15940         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15941         functions. Make gst_clock_set_time_adjust obsolete.
15942         (gst_clock_set_time_adjust): Note that this function is obsolete.
15943         Will file bug soon.
15944
15945         * gst/base/gstbasetransform.h: Make the ABI-stability hack
15946         greppable by using GST_PADDING-1+1.
15947
15948 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
15949
15950         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15951
15952         * gst/gstmessage.c: (gst_message_parse_clock_lost):
15953           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15954
15955         * gst/gstpadtemplate.h:
15956         * gst/gstpluginfeature.h:
15957           Don't use c++ style comments in headers (#321638).
15958
15959 2005-11-16  Andy Wingo  <wingo@pobox.com>
15960
15961         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15962         buffer.
15963
15964         * check/net/gstnettimeprovider.c: Check to see that the time
15965         provider actually provides times. Works, yo!
15966
15967 2005-11-16  Wim Taymans  <wim@fluendo.com>
15968
15969         * check/Makefile.am:
15970         Enable more tests.
15971
15972         * check/elements/fakesrc.c: (GST_START_TEST):
15973         Set element to NULL before disposing it.
15974
15975 2005-11-16  Andy Wingo  <wingo@pobox.com>
15976
15977         * gst/net/Makefile.am:
15978         * gst/net/gstnet.h:
15979         * gst/net/gstnettimeprovider.c: 
15980         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15981         provider, include it from gstnet.h, and add it to the build.
15982
15983         * gst/net/gstnettimepacket.h: 
15984         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15985         sending and receiving.
15986
15987 2005-11-16  Wim Taymans  <wim@fluendo.com>
15988
15989         * check/Makefile.am:
15990         Enable valgrind check.
15991
15992         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15993         (gst_fake_src_alloc_buffer):
15994         Fix memleak.
15995
15996 2005-11-16  Wim Taymans  <wim@fluendo.com>
15997
15998         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15999         Call parent finalize too.
16000
16001 2005-11-16  Wim Taymans  <wim@fluendo.com>
16002
16003         * check/Makefile.am:
16004         Enable valgrind check that should work fine now.
16005
16006         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16007         * gst/gstqueue.c: (gst_queue_init):
16008         Fix memleaks in pad allocation.
16009
16010 2005-11-16  Andy Wingo  <wingo@pobox.com>
16011
16012         * gst/net/Makefile.am:
16013         * gst/net/gstnet.h: New part of core to hold network elements and
16014         objects. Put in core because it exposes API that applications want
16015         to use. The library is named libgstnet-tempname right now because
16016         of the existing libgstnet in gst-plugins-base. Solution is
16017         probably to rename the one in plugins-base; will file a bug for
16018         the freeze break.
16019
16020         * gst/net/gstnettimeprovider.c: 
16021         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
16022         get_time call over the network.
16023
16024         * configure.ac: 
16025         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
16026
16027         * check/Makefile.am:
16028         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
16029         get additions shortly.
16030
16031 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16032
16033         * gst/gstpad.c: (gst_pad_new_from_static_template):
16034         * gst/gstpad.h:
16035           add gst_pad_new_from_static_template functions
16036         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
16037         (gst_check_setup_sink_pad):
16038         * gst/elements/gsttee.c: (gst_tee_init):
16039           and use them
16040
16041 2005-11-16  Wim Taymans  <wim@fluendo.com>
16042
16043         * gst/gstpad.c: (gst_pad_pause_task):
16044         Removed warning, it's not really an error either.
16045
16046 2005-11-16  Wim Taymans  <wim@fluendo.com>
16047
16048         * gst/base/gstbasetransform.c:
16049         (gst_base_transform_prepare_output_buf),
16050         (gst_base_transform_event):
16051         Check if the caps are NULL, this can happen if the element
16052         is shutting down and the pad caps are set to NULL.
16053
16054 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16055
16056         * gst/elements/gsttee.c: (gst_tee_init):
16057           fix pad template leak in tee
16058
16059 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16060
16061         * gst/glib-compat.c: (g_value_dup_gst_object):
16062         * gst/glib-compat.h:
16063         * gst/gstpad.c: (gst_pad_set_property):
16064           use gst_object_ref when setting the pad template; this will
16065           trigger the pad template leaks on GLib 2.6 and the slaves
16066
16067 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16068
16069         * gst/glib-compat.c: (gst_flags_get_first_value):
16070         * gst/glib-compat.h:
16071         * gst/gstregistryxml.c:
16072           remove functions copied from GLib 2.6
16073
16074 2005-11-16  Michael Smith <msmith@fluendo.com>
16075
16076         * gst/Makefile.am:
16077           Don't link against VALGRIND_LIBS. That was always the wrong thing to
16078           do, but only breaks with newer valgrind versions. We're not a
16079           valgrind tool, we have no link-time dependencies on libcoregrind.
16080
16081 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16082
16083         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16084           some debug changes
16085         * gst/gstmessage.h:
16086           typo fixes
16087
16088 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16089
16090         * gst/base/gstbasesrc.c: (gst_base_src_init):
16091         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16092         * gst/gstqueue.c: (gst_queue_init):
16093         * gst/gstregistryxml.c: (load_feature):
16094           Revert all these unrefs, they don't even pass make check !
16095
16096 2005-11-15  Johan Dahlin  <johan@gnome.org>
16097
16098         * gst/base/gstbasesrc.c: (gst_base_src_init):
16099         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16100         * gst/gstqueue.c: (gst_queue_init): 
16101         Free pad templates, fixes a couple of leaks.
16102
16103 2005-11-15  Daniel Fischer  <dan at f3c dot com>
16104
16105         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16106
16107         * gst/gstpad.c: (gst_pad_get_property):
16108           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
16109           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
16110           (#321452)
16111
16112 2005-11-15  Wim Taymans  <wim@fluendo.com>
16113
16114         * gst/gstevent.c:
16115         Small doc update.
16116
16117 2005-11-15  Andy Wingo  <wingo@pobox.com>
16118
16119         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
16120
16121         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
16122         using GST_CLOCK_TIME_NONE to disable base time management.
16123         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
16124         time if it was NONE before.
16125         (gst_pipeline_change_state): Only munge the base time if
16126         stream_time != GST_CLOCK_TIME_NONE.
16127
16128         * check/gst/gstpipeline.c (test_base_time): Punt around the
16129         problem of the probe not being called, because that's not the
16130         issue I'm looking at. Add a check that setting stream_time to NONE
16131         disables base time management.
16132         
16133 2005-11-15  Wim Taymans  <wim@fluendo.com>
16134
16135         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16136         segment_stop == -1 at startup.
16137
16138         * gst/base/gstbasetransform.c: (gst_base_transform_event),
16139         (gst_base_transform_change_state):
16140         Init segment values at start.
16141
16142 2005-11-15  Wim Taymans  <wim@fluendo.com>
16143
16144         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16145         0 segment values are 0 in any format.
16146
16147         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16148         * gst/base/gstbasetransform.h:
16149         Parse newsegment correctly in basetransform
16150
16151         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16152         Sync to clock using updated segment values.
16153
16154 2005-11-15  Andy Wingo  <wingo@pobox.com>
16155
16156         * check/gst/gstpipeline.c (test_base_time): Add check that the
16157         base time and stream time are reset correctly.
16158
16159 2005-11-15  Wim Taymans  <wim@fluendo.com>
16160
16161         * docs/design/part-TODO.txt:
16162         Some more TODO items.
16163
16164 2005-11-15  Andy Wingo  <wingo@pobox.com>
16165
16166         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
16167         error if the user selected "no clock" as the clocking method.
16168
16169         * check/gst/gstpipeline.c (test_base_time): New test for buffer
16170         timestamps with live capture.
16171
16172         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
16173         is 0 but we are a live source, timestamp the buffers using the
16174         element's clock.
16175
16176 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
16177
16178         * docs/gst/gstreamer-sections.txt:
16179         * gst/gsterror.c:
16180         * gst/gstghostpad.c:
16181         * gst/gstobject.h:
16182         * gst/gstxml.c:
16183           more section docs
16184
16185 2005-11-14  Wim Taymans  <wim@fluendo.com>
16186
16187         * common/gst.supp:
16188           add suppressions from Wim's Debian machine
16189
16190 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16191
16192         * common/gst.supp:
16193           add suppressions from Andy's AMD64 Ubuntu machine
16194
16195 2005-11-14  Andy Wingo  <wingo@pobox.com>
16196
16197         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
16198         STATE_LOCK not necessary. Fixes #311489.
16199
16200         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
16201         #305291.
16202
16203         * gst/gstindex.c (gst_index_add_object): Note in the docs that
16204         this function is not implemented.
16205
16206 2005-11-14  Julien MOUTTE  <julien@moutte.net>
16207
16208         * gst/base/gstbasetransform.c:
16209         (gst_base_transform_prepare_output_buf):
16210         Ref the source pad caps while we need them.
16211         Fixes (#321386)
16212
16213 2005-11-11  Wim Taymans  <wim@fluendo.com>
16214
16215         * docs/gst/gstreamer-sections.txt:
16216         Added some docs for GstCollectData.
16217
16218         * gst/base/gstadapter.c:
16219         Some small code example fix.
16220
16221         * gst/base/gstcollectpads.c:
16222         * gst/base/gstcollectpads.h:
16223         Document some more.
16224
16225 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16226
16227         * configure.ac: back to HEAD
16228
16229 === release 0.9.5 ===
16230
16231 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
16232
16233         * configure.ac:
16234           releasing 0.9.5, "Bike Lunch Day"
16235
16236 2005-11-11  Wim Taymans  <wim@fluendo.com>
16237
16238         * gst/gstbuffer.c: (_gst_buffer_copy):
16239         Copy more flags.
16240
16241         * gst/gstcaps.c: (gst_caps_is_equal):
16242         Fix some docs.
16243         Make _is_equal fast in the trivial cases.
16244
16245         * gst/gstminiobject.c:
16246         * gst/gstminiobject.h:
16247         More docs. Spifify .h file.
16248
16249         * gst/gstutils.c:
16250         Small doc update.
16251
16252 2005-11-11  Wim Taymans  <wim@fluendo.com>
16253
16254         * gst/base/gstbasetransform.c:
16255         (gst_base_transform_prepare_output_buf),
16256         (gst_base_transform_handle_buffer):
16257         Small cleanups.
16258         If we're processing a buffer and need to allocate an output
16259         buffer, we cannot accept a format change. If we did get a 
16260         format change, we have to alloc a buffer ourselves of the 
16261         right size.
16262
16263 2005-11-11  Wim Taymans  <wim@fluendo.com>
16264
16265         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
16266         While checking the flag for reentrancy in the gstcaps function
16267         is nice to detect recursive invocations, it also makes it 
16268         impossible to call getcaps from multiple threads, which must be
16269         possible. So, checking for recursive calls has to go.
16270
16271 2005-11-11  Michael Smith <msmith@fluendo.com>
16272
16273         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16274           Don't sync on buffers that fall partially outside our current
16275           segment. Prevents an assertion failure/abort playing some files.
16276
16277 2005-11-10  Andy Wingo  <wingo@pobox.com>
16278
16279         * check/gst/gstbin.c (test_message_state_changed_children): Style
16280         fix..
16281
16282         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
16283         gst_bus_poll with the signal watch. Ensures that poll and a signal
16284         watch see the same messages.
16285
16286         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
16287         a poll and a watch at the same time get the same messages.
16288
16289 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16290
16291         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
16292         * gst/gstcaps.c: (gst_caps_intersect):
16293           Don't call gst_caps_do_simplify - it doesn't respect order of caps
16294           and it's not needed.
16295
16296 2005-11-10  Wim Taymans  <wim@fluendo.com>
16297
16298         * docs/design/part-TODO.txt:
16299         Updated todo.
16300
16301 2005-11-10  Wim Taymans  <wim@fluendo.com>
16302
16303         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16304         * gst/base/gstbasesrc.c: (gst_base_src_wait),
16305         (gst_base_src_do_sync), (gst_base_src_get_range):
16306         Implement clock sync in base class.
16307
16308 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16309
16310         patch by: Tim-Philipp Müller <tim at centricular dot net>
16311
16312         * gst/gststructure.c: (gst_structure_parse_field),
16313         (gst_structure_from_string):
16314           Forward-port a 0.8 patch to handle escaped spaces in structure string,
16315           so that gst_parse_launch() can deal with spaces in filtered link
16316           caps (fixes #164479)
16317         * check/gst/capslist.h:
16318         * check/gst/gststructure.c: (GST_START_TEST):
16319           add unit tests for this change
16320
16321 2005-11-10  Wim Taymans  <wim@fluendo.com>
16322
16323         * docs/gst/gstreamer-sections.txt:
16324         * gst/gstelement.c:
16325         * gst/gstelement.h:
16326         Fix docs, move some STATE macros to private.
16327
16328 2005-11-10  Wim Taymans  <wim@fluendo.com>
16329
16330         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16331         Added check for bug #317341
16332
16333         * gst/gstbuffer.c:
16334         * gst/gstbuffer.h:
16335         Some more spiffifying.
16336
16337         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16338         Call peer linkfunction if we are a source pad. Totally fixes
16339         #317341
16340
16341         * gst/gstpad.c:
16342         Update docs, source pads should call the peer linkfunction
16343         so they can atomically perform the pad link.
16344
16345 2005-11-09  Wim Taymans  <wim@fluendo.com>
16346
16347         * gst/gstbuffer.c:
16348         * gst/gstbuffer.h:
16349         Uber-spiffy-spiffify some more.
16350
16351 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
16352
16353         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16354         * gst/elements/gstfilesink.c: (gst_file_sink_init):
16355         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16356         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16357         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16358         * gst/gstpad.c: (gst_pad_init):
16359           Use GST_DEBUG_FUNCPTR() more extensively.
16360
16361 2005-11-09  Wim Taymans  <wim@fluendo.com>
16362
16363         * gst/gstobject.c: (gst_object_class_init):
16364         * gst/gstobject.h:
16365         Documentation fixes.
16366
16367 2005-11-09  Edward Hervey  <edward@fluendo.com>
16368
16369         * gst/gsttypefindfactory.c:
16370         Fix docs.
16371         
16372 2005-11-09  Edward Hervey  <edward@fluendo.com>
16373
16374         * gst/base/gsttypefindhelper.c:
16375         * gst/gsttypefind.c:
16376         * gst/gsttypefind.h:
16377         Fix docs.
16378
16379 2005-11-09  Wim Taymans  <wim@fluendo.com>
16380
16381         * gst/gstiterator.c:
16382         Fix revision data.
16383
16384         * gst/gsttask.c:
16385         * gst/gsttask.h:
16386         Fix docs.
16387
16388 2005-11-09  Wim Taymans  <wim@fluendo.com>
16389
16390         * gst/gstevent.h:
16391         * gst/gsturi.h:
16392         Fix docs.
16393
16394 2005-11-09  Wim Taymans  <wim@fluendo.com>
16395
16396         * docs/gst/gstreamer-sections.txt:
16397         Moved the message async delivery private lock and cond
16398         to the private section.
16399
16400         * gst/gstmessage.c:
16401         * gst/gstmessage.h:
16402         Fixed docs.
16403
16404 2005-11-09  Edward Hervey  <edward@fluendo.com>
16405
16406         * docs/gst/gstreamer-sections.txt:
16407         * gst/gsturi.c:
16408         * gst/gsturi.h:
16409         Document GstURIHandler
16410
16411 2005-11-09  Wim Taymans  <wim@fluendo.com>
16412
16413         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16414         (gst_iterator_find_custom):
16415         * gst/gstiterator.h:
16416         Fix iterator docs.
16417
16418 2005-11-09  Wim Taymans  <wim@fluendo.com>
16419
16420         * gst/gstbin.h:
16421         Document another field.
16422
16423         * gst/gststructure.c:
16424         * gst/gststructure.h:
16425         Document.
16426
16427 2005-11-09  Wim Taymans  <wim@fluendo.com>
16428
16429         * gst/gstbin.h:
16430         Documented structs.
16431
16432 2005-11-09  Wim Taymans  <wim@fluendo.com>
16433
16434         * docs/gst/gstreamer-sections.txt:
16435         Added some new macros.
16436
16437         * gst/gstclock.c:
16438         * gst/gstclock.h:
16439         * gst/gstobject.h:
16440         Docs updates.
16441
16442 2005-11-09  Wim Taymans  <wim@fluendo.com>
16443
16444         * docs/design/part-TODO.txt:
16445         Some more items for the TODO
16446
16447         * gst/gstcaps.c:
16448         * gst/gstcaps.h:
16449         Document GstCaps.
16450
16451 2005-11-09  Andy Wingo  <wingo@pobox.com>
16452
16453         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16454         to work on something else now tho...
16455
16456         * gst/base/gstadapter.c: More adapter docs.
16457
16458         * gst/elements/gstfilesink.c (gst_file_sink_start) 
16459         (gst_file_sink_stop): New functions, replace the state change
16460         handler.
16461         (gst_file_sink_class_init): Hook up the start and stop functions.
16462         (gst_file_sink_base_init): Don't set the state change handler any
16463         more. It was a bit ugly too, being set from here...
16464         (gst_file_sink_get_property, gst_file_sink_set_property):
16465         Cleanups...
16466         (gst_file_sink_set_location): More robust check that doesn't call
16467         GST_STATE. Ugggggg.
16468
16469 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
16470
16471         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16472           Hold STREAM_LOCK while pushing newsegment or tag events as well.
16473
16474 2005-11-08  Wim Taymans  <wim@fluendo.com>
16475
16476         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16477         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16478         (gst_base_sink_chain), (gst_base_sink_change_state):
16479         * gst/base/gstbasesink.h:
16480         * gst/base/gstbasesrc.h:
16481         * gst/gstelement.h:
16482         * gst/gstevent.h:
16483         Avoid excessive typechecking in macros.
16484
16485         * gst/gstminiobject.c: (gst_mini_object_get_type),
16486         (gst_mini_object_init), (gst_mini_object_new),
16487         (gst_mini_object_free):
16488         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16489         (gst_object_finalize):
16490         Remove cruft code, optimize alloc_trace.
16491
16492 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16493
16494         * docs/faq/gst-uninstalled:
16495           fix up PS1 for systems that try to reset it
16496
16497 2005-11-07  Wim Taymans  <wim@fluendo.com>
16498
16499         * gst/base/gstbasesrc.c: (gst_base_src_init),
16500         (gst_base_src_get_range):
16501         Set the segment_end to -1 initially. Fixed typefind.
16502
16503 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
16504
16505         * gst/base/gstadapter.c:
16506           Debug category should be 'adapter', not 'GstAdapter'.
16507           
16508         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16509         (gst_collectpads_class_init), (gst_collectpads_init),
16510         (gst_collectpads_peek), (gst_collectpads_pop),
16511         (gst_collectpads_event), (gst_collectpads_chain):
16512           Add debug category and some debugging output. Use boilerplate
16513           macros. Remove some extraneous words from docs.
16514
16515 2005-11-05  Andy Wingo  <wingo@pobox.com>
16516
16517         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16518         macro.
16519
16520 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16521
16522         * docs/gst/gstreamer-sections.txt:
16523         * gst/gstcaps.h:
16524         * gst/gstinfo.c:
16525         * gst/gstminiobject.h:
16526         * gst/gstobject.h:
16527         * gst/gstutils.h:
16528           more docs added
16529
16530 2005-11-04  Wim Taymans  <wim@fluendo.com>
16531
16532         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16533         Small update to stop at the configured segment_end
16534         position.
16535
16536 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16537
16538         * gst/gstregistry.c:
16539         * gst/gstregistry.h:
16540           added missing docs
16541
16542 2005-11-04  Edward Hervey  <edward@fluendo.com>
16543
16544         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16545         Check if we are doing a segment seek and have arrived at the
16546         end of that segment.
16547
16548 2005-11-04  Wim Taymans  <wim@fluendo.com>
16549
16550         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16551         Don't leak a mutex unlock in case of an error.
16552
16553         * gst/gstbus.h:
16554         Doc fixes.
16555
16556 2005-11-04  Wim Taymans  <wim@fluendo.com>
16557
16558         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16559         (gst_bus_post):
16560         Get the context to wake up only once.
16561
16562 2005-11-03  Wim Taymans  <wim@fluendo.com>
16563
16564         * check/states/sinks.c: (GST_START_TEST):
16565         Uncomment fixed check.
16566
16567         * docs/design/part-TODO.txt:
16568         Updated TODO.
16569
16570         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16571         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16572         (gst_base_sink_get_position):
16573         If we are going to PLAYING, post the right pending state
16574         when we post the intermediate paused message.
16575
16576         * gst/gstelement.c: (gst_element_continue_state),
16577         (gst_element_set_state_func), (gst_element_change_state):
16578         Don't post state changes that were between the same state
16579         and were not ASYNC.
16580
16581 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16582
16583         * docs/gst/gstreamer-sections.txt:
16584         * gst/gstcaps.h:
16585         * gst/gstinfo.c:
16586         * gst/gstminiobject.h:
16587         * gst/gstobject.h:
16588         * gst/gstutils.h:
16589           more docs and doc style fixes
16590
16591 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16592
16593         * docs/gst/gstreamer-sections.txt:
16594         * gst/gstelement.c:
16595         * gst/gstminiobject.c:
16596         doc fixes
16597
16598 2005-11-03  Andy Wingo  <wingo@pobox.com>
16599
16600         * check/states/sinks.c (test_livesrc_sink): Add checks that the
16601         state-changed messages actually have the right order and the right
16602         values.
16603
16604 2005-11-03  Wim Taymans  <wim@fluendo.com>
16605
16606         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16607         Added some more checks. Specifically the case where NO_PREROLL
16608         elements are in the pipeline.
16609
16610         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16611         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16612         (gst_base_sink_get_position):
16613         Post READY->PAUSED state change messages too.
16614         Fix bug where VOID was posted as pending state...
16615
16616         * gst/gstbin.c: (gst_bin_recalc_state):
16617         use _element_continue_state() to continue the state change.
16618
16619         * gst/gstelement.c: (gst_element_continue_state),
16620         (gst_element_commit_state), (gst_element_set_state_func),
16621         (gst_element_change_state), (gst_element_change_state_func):
16622         Lots of state change cleanups, assign the STATE_RETURN in
16623         a new continue_state() function that also propagates the
16624         last return value from a state change to the app.
16625         Update some debug statements with proper category.
16626
16627 2005-11-03  Wim Taymans  <wim@fluendo.com>
16628
16629         * docs/design/part-events.txt:
16630         * docs/design/part-gstpipeline.txt:
16631         * docs/design/part-messages.txt:
16632         * docs/design/part-overview.txt:
16633         * docs/design/part-seeking.txt:
16634         * docs/design/part-states.txt:
16635         * docs/design/part-trickmodes.txt:
16636         * docs/manual/advanced-position.xml:
16637         Small docs updates.
16638
16639         * gst/gstobject.h:
16640         People think !! is ugly, this looks better.
16641
16642         * gst/gstpad.c: (gst_pad_set_blocked_async):
16643         Remove !! since it's fixed elsewhere now.
16644
16645 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16646
16647         * gst/gstminiobject.h:
16648         * gst/gstobject.h:
16649           Add !! to _FLAG_IS_SET macros to make the result boolean.
16650
16651 2005-11-03  Edward Hervey  <edward@fluendo.com>
16652
16653         * gst/gstpad.c: (gst_pad_set_blocked_async):
16654         comparing a flag and a gboolean rarely returns coherent results...
16655         Added two characters (!!) to make that work correctly.
16656         
16657 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16658
16659         * gst/gstbus.c: (gst_bus_class_init):
16660           Fix some typos.
16661           
16662         * gst/gstqueue.c: (gst_queue_loop):
16663           Don't assume a miniobject that isn't a buffer is an
16664           event (it could be that there is a refcounting
16665           problem somewhere and the pointer is stale and
16666           refers to an already destroyed miniobject).
16667
16668 2005-11-03  Julien MOUTTE  <julien@moutte.net>
16669
16670         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16671
16672 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16673
16674         * docs/manual/advanced-position.xml:
16675           Update seek example and explanations to current 0.9 API.
16676
16677         * gst/elements/gsttypefindelement.c:
16678         (gst_type_find_element_activate):
16679           Remove FIXME comment now that the found caps
16680           are unreffed.
16681
16682 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16683
16684         * gst/gstregistryxml.c: (load_feature):
16685           Add another GST_STR_NULL instance
16686
16687 2005-11-02  Edward Hervey  <edward@fluendo.com>
16688
16689         * gst/gstpad.c: (handle_pad_block):
16690         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16691         
16692 2005-11-02  Wim Taymans  <wim@fluendo.com>
16693
16694         * gst/gstbin.c:
16695         Fix typo in docs.
16696
16697         * gst/gstelement.c: (gst_element_commit_state):
16698         Remove unused value.
16699
16700         * gst/gstiterator.c:
16701         Mention that the returned element is reffed in the docs.
16702
16703 2005-11-02  Wim Taymans  <wim@fluendo.com>
16704
16705         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16706         (gst_pad_push), (gst_pad_push_event):
16707         Unlock blocked pads when they are flushed.
16708
16709 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16710
16711         * docs/README:
16712         * docs/gst/gstreamer-sections.txt:
16713         * gst/gstbin.c:
16714           doc updates
16715         * gst/gstregistry.c: (gst_registry_scan_path_level):
16716           fix for a nasty little missed situation where an installed plug-in
16717           which was in the cache did not get overridden by an uninstalled one
16718           which was earlier in the plugin path because the newly created plugin
16719           for the uninstalled one (not in the registry) didn't get its
16720           ->registered set to TRUE
16721
16722 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16723
16724         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16725         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16726         (gst_collectpads_is_active), (gst_collectpads_collect),
16727         (gst_collectpads_collect_range), (gst_collectpads_start),
16728         (gst_collectpads_stop), (gst_collectpads_peek),
16729         (gst_collectpads_pop), (gst_collectpads_available),
16730         (gst_collectpads_read), (gst_collectpads_flush):
16731           Guard public API with assertions.
16732         
16733         * gst/gstpad.c:
16734           Fix docs for gst_pad_set_link_function().
16735
16736 2005-11-02  Johan Dahlin  <johan@gnome.org>
16737
16738         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
16739         Unref found_caps after we used it.
16740
16741 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16742
16743         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16744           Don't try to ref NULL.
16745
16746 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16747
16748         * win32/common/config.h.in:
16749           provide a GST_FUNCTION that just gives a string for now
16750
16751 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16752
16753         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16754         (gst_object_flags_get_type), (register_gst_bin_flags),
16755         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16756         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16757         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16758         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16759         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16760         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16761         (gst_clock_flags_get_type), (register_gst_state),
16762         (gst_state_get_type), (register_gst_state_change_return),
16763         (gst_state_change_return_get_type), (register_gst_state_change),
16764         (gst_state_change_get_type), (register_gst_element_flags),
16765         (gst_element_flags_get_type), (register_gst_core_error),
16766         (gst_core_error_get_type), (register_gst_library_error),
16767         (gst_library_error_get_type), (register_gst_resource_error),
16768         (gst_resource_error_get_type), (register_gst_stream_error),
16769         (gst_stream_error_get_type), (register_gst_event_type),
16770         (gst_event_type_get_type), (register_gst_seek_type),
16771         (gst_seek_type_get_type), (register_gst_seek_flags),
16772         (gst_seek_flags_get_type), (register_gst_format),
16773         (gst_format_get_type), (register_gst_index_certainty),
16774         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16775         (gst_index_entry_type_get_type),
16776         (register_gst_index_lookup_method),
16777         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16778         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16779         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16780         (gst_index_flags_get_type), (register_gst_debug_level),
16781         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16782         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16783         (gst_iterator_result_get_type), (register_gst_iterator_item),
16784         (gst_iterator_item_get_type), (register_gst_message_type),
16785         (gst_message_type_get_type), (register_gst_mini_object_flags),
16786         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16787         (gst_pad_link_return_get_type), (register_gst_flow_return),
16788         (gst_flow_return_get_type), (register_gst_activate_mode),
16789         (gst_activate_mode_get_type), (register_gst_pad_direction),
16790         (gst_pad_direction_get_type), (register_gst_pad_flags),
16791         (gst_pad_flags_get_type), (register_gst_pad_presence),
16792         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16793         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16794         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16795         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16796         (gst_plugin_flags_get_type), (register_gst_rank),
16797         (gst_rank_get_type), (register_gst_query_type),
16798         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16799         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16800         (gst_tag_flag_get_type), (register_gst_task_state),
16801         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16802         (gst_alloc_trace_flags_get_type),
16803         (register_gst_type_find_probability),
16804         (gst_type_find_probability_get_type), (register_gst_uri_type),
16805         (gst_uri_type_get_type), (register_gst_parse_error),
16806         (gst_parse_error_get_type):
16807         * win32/common/gstversion.h:
16808           update win32 copies
16809
16810 2005-11-01  Luca Ognibene  <luogni@tin.it>
16811
16812         * gst/gst.c:
16813           fix docs. popt is dead, long live GOption.
16814
16815 2005-10-31  Wim Taymans  <wim@fluendo.com>
16816
16817         * gst/gstbuffer.h:
16818         Small doc fix.
16819
16820 2005-10-31  Andy Wingo  <wingo@pobox.com>
16821
16822         * Boo!
16823
16824         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16825
16826         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16827         need to serialize property notifications on GLib 2.8. GLib 2.6 has
16828         the possibility of deadlocks here if code calling notify() or
16829         set() has a lock that can be taken in another notify handler (ABBA
16830         with class lock and e.g. python GIL state lock).
16831
16832 2005-10-28  Julien MOUTTE  <julien@moutte.net>
16833
16834         * gst/gstbus.c: Doc updates.
16835
16836 2005-10-28  Wim Taymans  <wim@fluendo.com>
16837
16838         * docs/design/part-TODO.txt:
16839         * gst/gstiterator.c:
16840         * gst/gstsystemclock.c:
16841         * gst/gstsystemclock.h:
16842         Doc updates.
16843
16844 2005-10-28  Edward Hervey  <edward@fluendo.com>
16845
16846         * docs/gst/gstreamer-docs.sgml:
16847         * docs/gst/gstreamer-sections.txt:
16848         the GstURIType documentation page is private, it only defines GstURIType
16849         which should be defined in the GstURIHandler page
16850         
16851 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16852
16853         * gst/gstbin.c: (gst_bin_class_init):
16854         * gst/gstbin.h:
16855         * gst/gstutils.c:
16856         Documentation updates.
16857
16858 2005-10-28  Wim Taymans  <wim@fluendo.com>
16859
16860         * docs/gst/gstreamer-sections.txt:
16861         * gst/gstclock.c:
16862         * gst/gstclock.h:
16863         Documented the clocks.
16864
16865 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
16866
16867         * docs/gst/gstreamer-sections.txt:
16868           move some macros to private sections
16869         * gst/gstminiobject.c:
16870         * gst/gstminiobject.h:
16871           add descriptions provided by ds and some more
16872         * gst/gstpad.h:
16873           mark macro as to be removed
16874
16875 2005-10-28  Wim Taymans  <wim@fluendo.com>
16876
16877         * docs/design/part-TODO.txt:
16878         Add an item to TODO.
16879
16880         * gst/gstiterator.c: (gst_iterator_fold),
16881         (gst_iterator_find_custom):
16882         * gst/gstiterator.h:
16883         Add iterator docs.
16884
16885 2005-10-28  Wim Taymans  <wim@fluendo.com>
16886
16887         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16888         (gst_base_transform_init):
16889         Don't leak class.
16890
16891         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16892         An EOS event marks the queue as completely filled.
16893
16894 2005-10-27  Wim Taymans  <wim@fluendo.com>
16895
16896         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16897         (gst_base_sink_do_sync), (gst_base_sink_get_position):
16898         Some more debugging.
16899
16900         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16901         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16902         (gst_base_transform_event), (gst_base_transform_getrange),
16903         (gst_base_transform_chain):
16904         * gst/base/gstbasetransform.h:
16905         Fix debugging,
16906         Protect transform and concurrent buffer alloc with a new lock.
16907         Try not to break ABI/API.
16908
16909 2005-10-27  Wim Taymans  <wim@fluendo.com>
16910
16911         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16912         (gst_base_src_init), (gst_base_src_query),
16913         (gst_base_src_default_newsegment),
16914         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16915         (gst_base_src_send_event), (gst_base_src_event_handler),
16916         (gst_base_src_pad_get_range), (gst_base_src_loop),
16917         (gst_base_src_unlock), (gst_base_src_default_negotiate),
16918         (gst_base_src_start), (gst_base_src_deactivate),
16919         (gst_base_src_activate_push), (gst_base_src_change_state):
16920         Move some stuff around and cleanup things.
16921
16922 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
16923
16924         * gst/base/gstbasesrc.c: (gst_base_src_query):
16925           Add missing break statements.
16926
16927 2005-10-27  Wim Taymans  <wim@fluendo.com>
16928
16929         * check/gst/gstbin.c: (GST_START_TEST):
16930         An extra refcount is taken in basesrc.
16931
16932         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16933         (gst_base_src_get_range), (gst_base_src_pad_get_range),
16934         (gst_base_src_loop):
16935         Small cleanups, check for flushing after being unlocked from the 
16936         LIVE_LOCK. take refcounts correctly (not yet everywhere).
16937         Don't send out EOS when going to READY.
16938
16939 2005-10-27  Wim Taymans  <wim@fluendo.com>
16940
16941         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16942         (gst_base_sink_get_position):
16943         Some more debug.
16944
16945         * gst/gstbin.c: (message_check), (bin_replace_message),
16946         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16947         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16948         (bin_query_duration_init), (bin_query_duration_fold),
16949         (bin_query_duration_done), (bin_query_generic_fold),
16950         (gst_bin_query):
16951         * tools/gst-launch.c: (main):
16952         Remove old option.
16953
16954 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
16955
16956         * examples/controller/audio-example.c: (main):
16957         * examples/queue/queue.c: (event_loop):
16958         * gst/base/gstbasetransform.h:
16959         * gst/gstelement.c: (gst_element_send_event):
16960         * gst/gstevent.h:
16961         * gst/gstpad.c: (gst_pad_send_event):
16962           fixing examples
16963           fixing docs typos
16964           changing log priority in error situations
16965
16966 2005-10-25  Wim Taymans  <wim@fluendo.com>
16967
16968         * gst/gstbin.c: (message_check), (bin_replace_message),
16969         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16970         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16971         (bin_query_duration_init), (bin_query_duration_fold),
16972         (bin_query_duration_done), (bin_query_generic_fold),
16973         (gst_bin_query):
16974         Some doc and debug updates.
16975         Cache previously requested query DURATION for speed. invalidate
16976         cached duration if element posts a DURATION message.
16977
16978 2005-10-25  Wim Taymans  <wim@fluendo.com>
16979
16980         * docs/design/part-TODO.txt:
16981         Update TODO.
16982
16983         * gst/gstbin.c: (message_check), (bin_replace_message),
16984         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16985         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16986         (bin_query_duration_init), (bin_query_duration_fold),
16987         (bin_query_duration_done), (bin_query_generic_fold),
16988         (gst_bin_query):
16989         Handle SEGMENT_START/DONE messages correctly.
16990         More evolved query algorithm that handles duration queries
16991         correctly.
16992
16993         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16994         (gst_element_get_state_func), (gst_element_abort_state),
16995         (gst_element_commit_state), (gst_element_lost_state):
16996         Some more debugging.
16997
16998         * gst/gstmessage.h:
16999         Added doc.
17000
17001 2005-10-25  Wim Taymans  <wim@fluendo.com>
17002
17003         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
17004         Don't use invalid stream_time.
17005
17006         * gst/gstevent.c: (gst_event_new_newsegment):
17007         stream_time in newsegment cannot be undefined.
17008
17009 2005-10-24  Wim Taymans  <wim@fluendo.com>
17010
17011         * gst/gstbus.c:
17012         Doc fix.
17013
17014         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17015         (gst_queue_loop):
17016         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
17017
17018 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
17019
17020         * docs/libs/tmpl/gstdparam.sgml:
17021         * docs/libs/tmpl/gstdplinint.sgml:
17022         * docs/libs/tmpl/gstdpman.sgml:
17023         * docs/libs/tmpl/gstdpsmooth.sgml:
17024         * docs/libs/tmpl/gstunitconvert.sgml:
17025           these are obsolete
17026
17027 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17028
17029         * configure.ac:
17030           back to HEAD
17031
17032 === release 0.9.4 ===
17033
17034 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17035
17036         * configure.ac:
17037           releasing 0.9.4, "Tyrannosaurus Rex"
17038
17039 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
17040
17041         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17042         (gst_file_sink_get_current_offset):
17043           Use fseeko() and ftello() if available. When falling back on
17044           lseek() to get the current offset, fflush() first to make sure
17045           everything is up-to-date and we get the right offset.
17046
17047 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17048
17049         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17050         * gst/base/gstbasesrc.c: (gst_base_src_loop):
17051         * gst/gsterror.c: (_gst_stream_errors_init):
17052         * gst/gsterror.h:
17053         * gst/gstqueue.c: (gst_queue_loop):
17054         * po/POTFILES.in:
17055           remove prematurely added error category and clean up the instances
17056
17057 2005-10-21  Wim Taymans  <wim@fluendo.com>
17058
17059         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17060         (gst_base_sink_get_position), (gst_base_sink_query),
17061         (gst_base_sink_change_state):
17062         Simply set the right flag when going to playing, that's all
17063         we need to do instead of calling a function inside the object
17064         lock (that could take the lock as well and deadlock)
17065
17066 2005-10-21  Wim Taymans  <wim@fluendo.com>
17067
17068         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
17069         (gst_base_src_loop):
17070         Don't warn, the peer element knows what to do best when
17071         the seek failed, it might try something else.
17072
17073 2005-10-21  Wim Taymans  <wim@fluendo.com>
17074
17075         * gst/base/gstbasesrc.c: (gst_base_src_init),
17076         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
17077         Fix seeking.
17078
17079 2005-10-21  Wim Taymans  <wim@fluendo.com>
17080
17081         * docs/design/part-segments.txt:
17082         More docs.
17083
17084         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17085         Correctly set caps, even on the subbufer.
17086
17087 2005-10-21  Wim Taymans  <wim@fluendo.com>
17088
17089         * docs/gst/gstreamer-docs.sgml:
17090         * docs/gst/gstreamer-sections.txt:
17091         * gst/gstelement.h:
17092         * gst/gstevent.c:
17093         * gst/gstevent.h:
17094         * gst/gstmessage.h:
17095         * gst/gstpad.h:
17096         * gst/gstparse.h:
17097         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
17098         * gst/gsttask.h:
17099         * gst/gstutils.c:
17100         * gst/gstutils.h:
17101         And 2% more doc coverage.
17102
17103 2005-10-21  Andy Wingo  <wingo@pobox.com>
17104
17105         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
17106         position reporting.
17107
17108 2005-10-20  Wim Taymans  <wim@fluendo.com>
17109
17110         * gst/gsterror.c: (gst_error_get_message):
17111         * gst/gstparse.h:
17112         * gst/gstquery.h:
17113         * gst/gststructure.c:
17114         * gst/gsttrace.c:
17115         * gst/gstutils.c:
17116         More docs.
17117
17118 2005-10-20  Wim Taymans  <wim@fluendo.com>
17119
17120         * gst/gstbuffer.h:
17121         * gst/gstpad.c:
17122         * gst/gstparse.c:
17123         Another 1% more coverage.
17124
17125 2005-10-20  Wim Taymans  <wim@fluendo.com>
17126
17127         * docs/gst/gstreamer-sections.txt:
17128         * gst/gstelement.c: (gst_element_get_state_func),
17129         (gst_element_abort_state), (gst_element_commit_state),
17130         (gst_element_lost_state):
17131         * gst/gstevent.h:
17132         * gst/gstquery.c: (gst_query_set_position),
17133         (gst_query_parse_position), (gst_query_set_duration),
17134         (gst_query_parse_duration), (gst_query_new_convert):
17135         * gst/gstutils.c:
17136         Yay! 1% more docs coverage.
17137
17138 2005-10-20  Wim Taymans  <wim@fluendo.com>
17139
17140         * gst/gstpad.h:
17141         * gst/gstquery.c: (gst_query_set_position),
17142         (gst_query_parse_position), (gst_query_set_duration),
17143         (gst_query_parse_duration), (gst_query_new_convert):
17144         * gst/gstquery.h:
17145         * gst/gstutils.c: (gst_element_query_convert):
17146         * gst/gstutils.h:
17147         Docs and consistency fixes.
17148
17149 2005-10-20  Wim Taymans  <wim@fluendo.com>
17150
17151         * gst/gsttask.c:
17152         * gst/gsttask.h:
17153         More docs.
17154
17155 2005-10-20  Wim Taymans  <wim@fluendo.com>
17156
17157         * gst/gstbin.c: (message_check), (bin_replace_message),
17158         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17159         (update_degree), (gst_bin_sort_iterator_next),
17160         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
17161         Reworked the message handling a bit, cache the messages instead of
17162         only the senders. alows us to do more in the future.
17163
17164 2005-10-20  Wim Taymans  <wim@fluendo.com>
17165
17166         * docs/design/part-TODO.txt:
17167         Update TODO
17168
17169         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
17170         (gst_base_sink_query):
17171         Don't use clock time to report position when in EOS.
17172
17173 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
17174
17175         * tools/gst-inspect.c: (print_interfaces),
17176         (print_element_properties_info), (print_element_info):
17177           Fix interface output with gst-inspect -a; don't print
17178           newlines after double/float properties.
17179
17180 2005-10-20  Wim Taymans  <wim@fluendo.com>
17181
17182         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
17183         (gst_base_sink_query):
17184         Speed up current position calculation.
17185
17186         * gst/base/gstbasesrc.c: (gst_base_src_query),
17187         (gst_base_src_default_newsegment):
17188         Correctly set stream position in newsegment.
17189
17190         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
17191         (update_degree), (gst_bin_sort_iterator_next),
17192         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
17193         * gst/gstmessage.c: (gst_message_new_custom):
17194         Clean up debugging info
17195
17196         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
17197         (gst_queue_loop), (gst_queue_handle_src_query):
17198         Pause task faster.
17199
17200 2005-10-19  Wim Taymans  <wim@fluendo.com>
17201
17202         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17203         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
17204         Fix query handling again.
17205
17206 2005-10-19  Wim Taymans  <wim@fluendo.com>
17207
17208         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17209         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
17210         * gst/base/gstbasesrc.c: (gst_base_src_query):
17211         * gst/elements/gstfilesink.c: (gst_file_sink_query):
17212         * gst/elements/gsttypefindelement.c:
17213         (gst_type_find_handle_src_query), (find_element_get_length),
17214         (gst_type_find_element_activate):
17215         API change fix.
17216
17217         * gst/gstquery.c: (gst_query_new_position),
17218         (gst_query_set_position), (gst_query_parse_position),
17219         (gst_query_new_duration), (gst_query_set_duration),
17220         (gst_query_parse_duration), (gst_query_set_segment),
17221         (gst_query_parse_segment):
17222         * gst/gstquery.h:
17223         Bundling query position/duration is not a good idea since duration
17224         does not change much and we don't want to recalculate it for every
17225         position query, so they are separated again..
17226         Base value in segment query is not needed.
17227
17228         * gst/gstqueue.c: (gst_queue_handle_src_query):
17229         * gst/gstutils.c: (gst_element_query_position),
17230         (gst_element_query_duration), (gst_pad_query_position),
17231         (gst_pad_query_duration):
17232         * gst/gstutils.h:
17233         Updates for query API change.
17234         Added some docs here and there.
17235
17236 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17237
17238         * check/gst/gstbin.c: (GST_START_TEST):
17239         * check/gst/gstghostpad.c: (GST_START_TEST):
17240         * check/pipelines/cleanup.c: (GST_START_TEST):
17241           wait on thread to die so we can check refcount correctly
17242
17243 2005-10-18  Wim Taymans  <wim@fluendo.com>
17244
17245         * check/pipelines/stress.c: (GST_START_TEST):
17246         Make check a little more time consuming.
17247
17248 2005-10-18  Wim Taymans  <wim@fluendo.com>
17249
17250         * check/Makefile.am:
17251         * check/pipelines/stress.c: (GST_START_TEST),
17252         (simple_launch_lines_suite), (main):
17253         Small state change torture test.
17254
17255         * docs/design/part-states.txt:
17256         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17257         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
17258         (gst_base_sink_change_state):
17259         Never take state lock from streaming thread, clean up ugly
17260         hacks. Unfortunatly core does not yet support nice ways to
17261         async commit state.
17262         
17263         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
17264         (bin_bus_handler):
17265         Start state recalc if a STATE_DIRTY message is posted, but only
17266         on the toplevel bin.
17267
17268         * gst/gstelement.c: (gst_element_sync_state_with_parent),
17269         (gst_element_get_state_func), (gst_element_abort_state),
17270         (gst_element_commit_state), (gst_element_lost_state),
17271         (gst_element_set_state_func), (gst_element_change_state):
17272         * gst/gstelement.h:
17273         State variables are now protected with the LOCK, the state
17274         lock is only used to serialize _set_state().
17275
17276 2005-10-18  Wim Taymans  <wim@fluendo.com>
17277
17278         * check/gst/gstbin.c: (GST_START_TEST):
17279         * check/gst/gstmessage.c: (GST_START_TEST):
17280         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17281         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
17282         (bin_bus_handler):
17283         * gst/gstelement.c: (gst_element_abort_state),
17284         (gst_element_commit_state), (gst_element_lost_state):
17285         * gst/gstmessage.c: (gst_message_new_state_changed),
17286         (gst_message_new_state_dirty), (gst_message_new_segment_start),
17287         (gst_message_new_segment_done), (gst_message_new_duration),
17288         (gst_message_parse_state_changed),
17289         (gst_message_parse_segment_start),
17290         (gst_message_parse_segment_done), (gst_message_parse_duration):
17291         * gst/gstmessage.h:
17292         * tools/gst-launch.c: (event_loop):
17293         Seriously, this is better than a previous commit as we only need
17294         to notify the fact that an element changed state in a streaming
17295         thread, marking the state of the parents dirty, hence the 
17296         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
17297         message.
17298
17299 2005-10-18  Wim Taymans  <wim@fluendo.com>
17300
17301         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
17302         (gst_bin_recalc_func):
17303         * gst/gstelement.c: (gst_element_set_clock),
17304         (gst_element_abort_state), (gst_element_lost_state):
17305         Cleanups, prepare for state change fixes.
17306
17307 2005-10-18  Wim Taymans  <wim@fluendo.com>
17308
17309         * gst/gstbin.h:
17310         * gst/gstelement.c: (gst_element_class_init),
17311         (gst_element_set_state), (gst_element_set_state_func):
17312         * gst/gstelement.h:
17313         Pending ABI changes.
17314         GThreadPool in GstBinClass to monitor async state changes.
17315         state_cookie in GstElement to detect concurrent gst/set state.
17316         set_state is now virtual too in case a very complicated element
17317         has to be constructed.
17318
17319 2005-10-18  Wim Taymans  <wim@fluendo.com>
17320
17321         * check/gst/gstbin.c: (GST_START_TEST):
17322         * check/gst/gstmessage.c: (GST_START_TEST):
17323         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17324         * gst/gstbin.c: (bin_bus_handler):
17325         * gst/gstelement.c: (gst_element_commit_state),
17326         (gst_element_lost_state):
17327         * gst/gstmessage.c: (gst_message_new_state_changed),
17328         (gst_message_new_segment_start), (gst_message_new_segment_done),
17329         (gst_message_new_duration), (gst_message_parse_state_changed),
17330         (gst_message_parse_segment_start),
17331         (gst_message_parse_segment_done), (gst_message_parse_duration):
17332         * gst/gstmessage.h:
17333         * tools/gst-launch.c: (event_loop):
17334         Make messages future proof.
17335         state-change gets a flag if it was a message comming from the
17336         streaming thread.
17337         segment-start/stop can also be specified in other formats.
17338         A message to notify an app that a pipeline changed playback 
17339         duration.
17340         Also fix a GstMessage leak in -launch
17341
17342 2005-10-18  Andy Wingo  <wingo@pobox.com>
17343
17344         * gst/gstelement.c (gst_element_dispose): More helpful message.
17345
17346 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17347
17348         reviewed by: <delete if not using a buddy>
17349
17350         * common/gtk-doc.mak:
17351
17352 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17353
17354         * gst/gstregistry.c: (gst_registry_scan_path_level):
17355           unref a plug-in we get that was already initialized
17356
17357 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
17358
17359         * docs/gst/gstreamer-sections.txt:
17360         * docs/libs/gstreamer-libs-sections.txt:
17361         * gst/gstelement.h:
17362           add new api entries
17363           hide internal macro
17364
17365 2005-10-17  Andy Wingo  <wingo@pobox.com>
17366
17367         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17368         cleanup.
17369
17370         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17371
17372         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17373
17374         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17375         (gst_element_get_state_func): Better debug message.
17376         (gst_element_commit_state): s/INFO/DEBUG/.
17377         (gst_element_lost_state, gst_element_change_state): 
17378
17379         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17380         (gst_message_new_custom): s/INFO/LOG/.
17381
17382 2005-10-17  Michael Smith <msmith@fluendo.com>
17383
17384         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17385           Check if end time is valid using end time, not start time.
17386
17387 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
17388
17389         * check/gst-libs/controller.c: (GST_START_TEST),
17390         (gst_controller_suite):
17391         * libs/gst/controller/gstcontroller.c:
17392         (gst_controlled_property_set_interpolation_mode):
17393         * libs/gst/controller/gstcontroller.h:
17394         * libs/gst/controller/gstinterpolation.c:
17395         * testsuite/controller/.cvsignore:
17396         * testsuite/controller/Makefile.am:
17397         * testsuite/controller/interpolator.c:
17398           merge controller testsuites
17399           fix broken tests
17400           remove mem-chunk from docs
17401
17402 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17403
17404         * gst/gstmemchunk.c:
17405         * gst/gstmemchunk.h:
17406         * gst/gsttrashstack.c:
17407         * gst/gsttrashstack.h:
17408           out.  get out.  you're fired.  to the Attic !
17409
17410 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17411
17412         * gst/gstcaps.c: (gst_caps_intersect):
17413           fix signedness issues in a (hopefully) correct way
17414         * gst/gstelement.c: (gst_element_pads_activate):
17415           some debugging
17416         * gst/gstobject.c: (gst_object_set_parent):
17417           some debugging
17418
17419 2005-10-17  Julien MOUTTE  <julien@moutte.net>
17420
17421         * gst/gstvalue.h: Fix prototypes.
17422
17423 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17424
17425         * docs/gst/gstreamer-sections.txt:
17426         * gst/gst.c: (gst_version_string):
17427         * gst/gst.h:
17428         * gst/gstversion.h.in:
17429         * win32/common/libgstreamer.def:
17430           add gst_version_string ()
17431
17432 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17433
17434         * configure.ac:
17435           clean up further
17436         * gst/gst.c: (init_post):
17437         * win32/common/config.h.in:
17438           it's PLUGINDIR now
17439         * gst/gstcaps.c: (gst_caps_intersect):
17440           use gint64, the range could be bigger than a guint
17441
17442 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17443
17444         * gst/gstclock.h:
17445           document potential problem in 2038
17446
17447 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17448
17449         * gst/gstcaps.c: (gst_caps_intersect):
17450           Fix guint j diving under 0
17451
17452 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17453
17454         * configure.ac:
17455         * win32/common/config.h:
17456         * win32/common/config.h.in:
17457           check for process.h, declares getpid() on Windows
17458         * gst/gstinfo.c:
17459           include process.h if we have it
17460         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17461         * gst/gstmemchunk.h:
17462           fix signedness issues
17463         * win32/common/libgstreamer.def:
17464           fix get_type's
17465
17466 2005-10-16  Julien MOUTTE  <julien@moutte.net>
17467
17468         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17469         fix. Because of unsigned ints, caps intersection was going nuts and
17470         trying to access structures with G_MAXUINT index. That fixes
17471         videotestsrc ! ffmpegcolorspace ! fakesink
17472         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17473         consistency.
17474
17475 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17476
17477         * configure.ac:
17478           use the gettext macro
17479         * gst/elements/gstelements.c:
17480         * gst/gst.c:
17481         * gst/indexers/gstindexers.c:
17482           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17483         * win32/common/config.h:
17484           updated config.h
17485         * win32/common/config.h.in:
17486           add the template to generate config.h
17487         * win32/common/gstenumtypes.c:
17488         * win32/common/gstversion.h:
17489           updated copies
17490
17491 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17492
17493         * gst/gst.c: (gst_version):
17494         * gst/gstversion.h.in:
17495           add the nano
17496
17497 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17498
17499         * gst/gstevent.h:
17500           Oops, add missing closing bracket.
17501
17502 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17503
17504         * configure.ac:
17505           use common m4's for argument checking
17506
17507 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17508
17509         * docs/gst/gstreamer-sections.txt:
17510         * gst/gstevent.h:
17511           Add GST_EVENT_TYPE_NAME() macro.
17512
17513 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17514
17515         * gst/gstinfo.c:
17516         * gst/gstpluginfeature.c:
17517         * gst/gsttask.c:
17518           privatize more symbols
17519
17520 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17521
17522         * configure.ac:
17523           add srcdir, builddir includes to GST_ALL_CFLAGS, since
17524           everything that uses GStreamer API should have the includes
17525
17526 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17527
17528         * docs/gst/gstreamer-sections.txt:
17529         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17530         * gst/gstvalue.h:
17531           give each value a _get_type, removes the DATA exports
17532
17533 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17534
17535         * gst/gst.c:
17536         * gst/gst.h:
17537           remove _gst_registry_auto_load, not used anymore
17538         * gst/gstbin.c: (gst_bin_get_type):
17539         * gst/gstbin.h:
17540         * gst/gstelement.c: (gst_element_get_type):
17541         * gst/gstelement.h:
17542         * gst/gstobject.c: (gst_object_get_type):
17543         * gst/gstobject.h:
17544         * gst/gstpad.c: (gst_pad_get_type):
17545         * gst/gstpad.h:
17546           make _get_type functions similar, fixes data export from library
17547
17548 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17549
17550         * configure.ac:
17551           correctly make conditionals
17552         * gst/elements/Makefile.am:
17553         * gst/elements/gstelements.c:
17554           fix typo causing fdsrc not to build
17555
17556 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17557
17558         * testsuite/Makefile.am:
17559         * testsuite/bytestream/.cvsignore:
17560         * testsuite/bytestream/Makefile.am:
17561         * testsuite/bytestream/filepadsink.c:
17562         * testsuite/bytestream/gstbstest.c:
17563         * testsuite/bytestream/test1.c:
17564         * testsuite/bytestream/testfile1:
17565         * testsuite/caps/normalisation.c:
17566         * testsuite/caps/random.c: (main):
17567         * testsuite/cleanup/.cvsignore:
17568         * testsuite/cleanup/Makefile.am:
17569         * testsuite/cleanup/cleanup1.c:
17570         * testsuite/cleanup/cleanup2.c:
17571         * testsuite/cleanup/cleanup3.c:
17572         * testsuite/cleanup/cleanup4.c:
17573         * testsuite/cleanup/cleanup5.c:
17574         * testsuite/controller/interpolator.c:
17575         * testsuite/debug/printf_extension.c: (main):
17576         * testsuite/elements/tee.c:
17577         * testsuite/negotiation/.cvsignore:
17578         * testsuite/negotiation/Makefile.am:
17579         * testsuite/negotiation/pad_link.c:
17580         * testsuite/pad/Makefile.am:
17581         * testsuite/pad/chainnopull.c:
17582         * testsuite/pad/getnopush.c:
17583         * testsuite/pad/link.c:
17584         * testsuite/refcounting/sched.c: (create_pipeline):
17585         * testsuite/registry/Makefile.am:
17586         * testsuite/registry/gst-print-formats.c:
17587         * testsuite/schedulers/.cvsignore:
17588         * testsuite/schedulers/142183-2.c:
17589         * testsuite/schedulers/142183.c:
17590         * testsuite/schedulers/143777-2.c:
17591         * testsuite/schedulers/143777.c:
17592         * testsuite/schedulers/147713.c:
17593         * testsuite/schedulers/147819.c:
17594         * testsuite/schedulers/147894-2.c:
17595         * testsuite/schedulers/147894.c:
17596         * testsuite/schedulers/Makefile.am:
17597         * testsuite/schedulers/group_link.c:
17598         * testsuite/schedulers/queue_link.c:
17599         * testsuite/schedulers/relink.c:
17600         * testsuite/schedulers/unlink.c:
17601         * testsuite/schedulers/unref.c:
17602         * testsuite/schedulers/useless_iteration.c:
17603         * testsuite/states/bin.c:
17604           clean out/remove some stuff from the testsuite directories
17605
17606 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17607
17608         * configure.ac:
17609           check for some headers
17610         * gst/elements/Makefile.am:
17611         * gst/elements/gstelements.c:
17612           don't compile fdsrc without sys/socket.h
17613         * gst/indexers/Makefile.am:
17614         * gst/indexers/gstindexers.c: (plugin_init):
17615           don't compile fileindex without mmap
17616
17617 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17618
17619         * configure.ac:
17620           reorganize
17621           clean up
17622           document more
17623           remove cruft
17624         * check/Makefile.am:
17625         * docs/gst/Makefile.am:
17626         * examples/helloworld/Makefile.am:
17627         * gst/Makefile.am:
17628         * gst/base/Makefile.am:
17629         * gst/check/Makefile.am:
17630         * gst/elements/Makefile.am:
17631         * gst/indexers/Makefile.am:
17632         * gst/parse/Makefile.am:
17633         * libs/gst/controller/Makefile.am:
17634         * libs/gst/dataprotocol/Makefile.am:
17635         * examples/helloworld/helloworld.c: (event_loop):
17636           compile fixes, though it's not being compiled currently
17637
17638 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17639
17640         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17641           Add some simple tests for the new taglist date API.
17642
17643 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17644
17645         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17646         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17647           Beautify 'last-message' output: print 'none' for buffer timestamps
17648           and durations if none is set; improve alignment with next messages.
17649
17650 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17651
17652         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17653         * gst/gstpluginfeature.h:
17654         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17655         * gst/gstregistry.h:
17656         * docs/gst/gstreamer-sections.txt:
17657           Add new API to check plugin feature version requirements.
17658
17659         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17660           Some basic tests for the above.         
17661
17662 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17663
17664         * gst/gststructure.c: (gst_structure_to_string):
17665           guard against NULL printf - happens when for example
17666           a message structure with GstClock gets serialized
17667
17668 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17669
17670         * gst/base/gstcollectpads.c: (gst_collectpads_event):
17671           Fix presumable copy'n'pasto.
17672
17673 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17674
17675         * gst/elements/gstfakesrc.h:
17676         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17677         * gst/elements/gsttypefindelement.c:
17678           fix some signedness
17679         * gst/elements/gstfilesink.c: (gst_file_sink_render):
17680           I wonder if this could actually write +2GB files before
17681
17682 2005-10-13  Andy Wingo  <wingo@pobox.com>
17683
17684         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17685         Fix Timmeke Waymans bug.
17686         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17687         string of the proper length to gst_caps_from_string. There's a
17688         potential for, before this fix, that this could cause someone
17689         connecting over the network to cause a segfault if the payload is
17690         not NUL-terminated.
17691
17692 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17693
17694         * docs/design/draft-push-pull.txt:
17695         * docs/design/part-overview.txt:
17696         * docs/random/TODO-pre-0.9:
17697         * docs/random/old/ChangeLog.gstreamer:
17698         * gst/base/gstpushsrc.c:
17699         * gst/gstclock.c:
17700           fixed typos
17701
17702 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17703
17704         * gst/glib-compat.c: (gst_flags_get_first_value):
17705         * gst/glib-compat.h:
17706         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17707         (gst_value_compare_double), (gst_value_serialize_flags):
17708           GLib 2.6 g_flags_get_first_value has a bug that triggers an
17709           infinite loop
17710
17711 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17712
17713         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17714         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17715           fix up debugging
17716         * tools/gst-launch.c: (event_loop):
17717           print out clock nicely
17718
17719 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17720
17721         * docs/gst/gstreamer-sections.txt:
17722         * gst/gsttaglist.h:
17723         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17724         (gst_tag_list_get_date_index):
17725           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17726           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17727
17728 2005-10-13  Julien MOUTTE  <julien@moutte.net>
17729
17730         * gst/base/gstcollectpads.c: (gst_collectpads_event),
17731         (gst_collectpads_chain):
17732         * gst/base/gstcollectpads.h: Handle newsegment and store informations
17733         in CollectData.
17734
17735 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17736
17737         * docs/gst/gstreamer-sections.txt:
17738         * gst/gst.c:
17739         * gst/gsterror.h:
17740         * tools/gst-inspect.c: (main):
17741         * tools/gst-launch.c: (main):
17742         * tools/gst-run.c: (main):
17743         * tools/gst-xmlinspect.c: (main):
17744           fix GOption context leaks
17745           doc fixes
17746
17747 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17748
17749         * gst/gstbus.c:
17750           use HAVE_UNISTD_H
17751         * win32/common/config.h:
17752           update config
17753         * win32/vs6/grammar.dsp:
17754         * win32/vs6/libgstelements.dsp:
17755         * win32/vs6/libgstreamer.dsp:
17756           update vs6 files
17757
17758 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17759
17760         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17761         * gst/base/gstbasesrc.c: (gst_base_src_query):
17762           fix more guint64<->gdouble conversions
17763
17764 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17765
17766         * Makefile.am:
17767           add win32-update target
17768         * win32/common/gstconfig.h:
17769         * win32/common/gstenumtypes.c:
17770         * win32/common/gstenumtypes.h:
17771         * win32/common/gstversion.h:
17772           add files that visual studio can't generate
17773
17774 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17775
17776         * Makefile.am:
17777           add a win32-update target
17778         * configure.ac:
17779
17780 2005-10-12  Wim Taymans  <wim@fluendo.com>
17781
17782         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17783         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17784         * gst/gstelement.c: (gst_element_commit_state),
17785         (gst_element_set_state):
17786         Protect flags with proper lock.
17787         unref provided cached clock in dispose.
17788
17789 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17790
17791         * gst/gst.c:
17792         * gst/gstminiobject.h:
17793         * gst/gstpad.h:
17794         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17795           removed unused flags from miniobject
17796           doc fixes
17797
17798 2005-10-12  Wim Taymans  <wim@fluendo.com>
17799
17800         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17801         (gst_file_sink_event), (gst_file_sink_render):
17802         Flush before seeking.
17803
17804 2005-10-12  Andy Wingo  <wingo@pobox.com>
17805
17806         * gst/gst.c (gst_init_check): Ignore unknown options, as has
17807         always been the case.
17808
17809 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17810
17811         * check/gst/gstbin.c: (GST_START_TEST):
17812         * docs/gst/gstreamer-sections.txt:
17813         * gst/base/gstbasesink.c: (gst_base_sink_init):
17814         * gst/base/gstbasesrc.c: (gst_base_src_init),
17815         (gst_base_src_get_range), (gst_base_src_check_get_range),
17816         (gst_base_src_start), (gst_base_src_stop):
17817         * gst/base/gstbasesrc.h:
17818         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17819         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17820         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17821         (bin_bus_handler):
17822         * gst/gstbin.h:
17823         * gst/gstbuffer.h:
17824         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17825         * gst/gstbus.h:
17826         * gst/gstelement.c: (gst_element_is_locked_state),
17827         (gst_element_set_locked_state), (gst_element_commit_state),
17828         (gst_element_set_state):
17829         * gst/gstelement.h:
17830         * gst/gstindex.c: (gst_index_init):
17831         * gst/gstindex.h:
17832         * gst/gstminiobject.h:
17833         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17834         (gst_object_set_parent):
17835         * gst/gstobject.h:
17836         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17837         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17838         * gst/gstpad.h:
17839         * gst/gstpadtemplate.h:
17840         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17841         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17842         * gst/gstpipeline.h:
17843         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17844         (gst_file_index_commit):
17845         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17846         * testsuite/pad/link.c: (gst_test_src_init),
17847         (gst_test_filter_init), (gst_test_sink_init):
17848         * testsuite/states/locked.c: (main):
17849           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17850           moved bitshift from macro to enum definition
17851
17852 2005-10-12  Wim Taymans  <wim@fluendo.com>
17853
17854         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17855         * gst/elements/gstfilesink.c: (gst_file_sink_event),
17856         (gst_file_sink_render):
17857         Some more debugging info.
17858
17859 2005-10-12  Wim Taymans  <wim@fluendo.com>
17860
17861         * docs/design/part-states.txt:
17862         * tools/gst-launch.c: (main):
17863         Some doc updates.
17864         Revert non-intentional change.
17865
17866 2005-10-12  Wim Taymans  <wim@fluendo.com>
17867
17868         * check/gst/gstbin.c: (GST_START_TEST):
17869         * check/gst/gstelement.c: (GST_START_TEST):
17870         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17871         * check/gst/gstghostpad.c: (GST_START_TEST):
17872         * check/gst/gstpipeline.c: (GST_START_TEST):
17873         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17874         * check/states/sinks.c: (GST_START_TEST):
17875         * gst/elements/gsttypefindelement.c: (stop_typefinding):
17876         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17877         (gst_bin_remove_func), (gst_bin_get_state_func),
17878         (gst_bin_recalc_state), (gst_bin_change_state_func),
17879         (bin_bus_handler):
17880         * gst/gstelement.c: (gst_element_get_state_func),
17881         (gst_element_get_state), (gst_element_abort_state),
17882         (gst_element_commit_state), (gst_element_set_state),
17883         (gst_element_change_state), (gst_element_change_state_func):
17884         * gst/gstelement.h:
17885         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17886         (gst_pipeline_provide_clock_func):
17887         * gst/gstutils.c: (gst_element_link_pads_filtered):
17888         * tools/gst-launch.c: (main):
17889         * tools/gst-typefind.c: (main):
17890         Use GstClockTime in _get_state() instead of GTimeVal.
17891         Remove old code in gstutils.c
17892
17893 2005-10-12  Andy Wingo  <wingo@pobox.com>
17894
17895         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17896         removed.
17897
17898         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17899         there is no task. Shouldn't affect any code, as nothing in our
17900         plugins checks this return value.
17901         (gst_pad_stop_task): Also take the stream lock if the pad has no
17902         task. Docs updated.
17903
17904 2005-10-12  Wim Taymans  <wim@fluendo.com>
17905
17906         * gst/gstpad.c: (pre_activate), (post_activate),
17907         (gst_pad_activate_pull), (gst_pad_activate_push):
17908         Cleanup activation code. Reset old state if
17909         activation failed.
17910
17911 2005-10-12  Wim Taymans  <wim@fluendo.com>
17912
17913         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17914         (gst_base_sink_change_state):
17915         No need to prerol after receiving EOS.
17916
17917         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17918         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17919         * gst/elements/gstidentity.c: (gst_identity_event):
17920         Print events more verbosely.
17921
17922 2005-10-12  Wim Taymans  <wim@fluendo.com>
17923
17924         * check/Makefile.am:
17925         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17926         * check/states/sinks2.c:
17927         Moved sinks2 testcode in sinks check.
17928
17929         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17930         (gst_bin_remove_func), (gst_bin_recalc_state),
17931         (gst_bin_change_state_func), (bin_bus_handler):
17932         Fix potential race condition when _get_state() iterated over an
17933         ASYNC element right before it posted a state completion.
17934
17935         * gst/gstclock.h:
17936         Do proper cast here.
17937
17938         * gst/gstevent.c: (gst_event_new_newsegment),
17939         (gst_event_parse_newsegment):
17940         A playback rate of 0.0 is not allowed.
17941
17942 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17943
17944         * win32/common/config.h:
17945         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17946         (_trewinddir), (_ttelldir), (_tseekdir):
17947         * win32/common/dirent.h:
17948         * win32/common/gtchar.h:
17949         * win32/common/libgstbase.def:
17950         * win32/common/libgstreamer.def:
17951         * win32/vs6/grammar.dsp:
17952         * win32/vs6/gst_inspect.dsp:
17953         * win32/vs6/gst_launch.dsp:
17954         * win32/vs6/gstreamer.dsw:
17955         * win32/vs6/libgstbase.dsp:
17956         * win32/vs6/libgstelements.dsp:
17957         * win32/vs6/libgstreamer.dsp:
17958           Visual Studio 6 project files, and a new common directory.
17959           Phear.
17960
17961 2005-10-11  Wim Taymans  <wim@fluendo.com>
17962
17963         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17964         (gst_base_sink_do_sync), (gst_base_sink_query),
17965         (gst_base_sink_change_state):
17966         * gst/base/gstbasesink.h:
17967         Correctly parse newsegment info.
17968
17969 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17970
17971         * gst/gst.c: (init_post):
17972           split plugin paths correctly
17973
17974 2005-10-11  Wim Taymans  <wim@fluendo.com>
17975
17976         * check/gst/gstevent.c: (GST_START_TEST):
17977         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17978         (gst_base_sink_change_state):
17979         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17980         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17981         * gst/elements/gstfilesink.c: (gst_file_sink_event):
17982         * gst/gstevent.c: (gst_event_new_newsegment),
17983         (gst_event_parse_newsegment):
17984         * gst/gstevent.h:
17985         Added extra flag to newsegment for future API freeze.
17986         Updated check and base elements.
17987
17988 2005-10-11  Julien MOUTTE  <julien@moutte.net>
17989
17990         * gst/base/gstcollectpads.c: (gst_collectpads_init),
17991         (gst_collectpads_add_pad), (gst_collectpads_pop),
17992         (gst_collectpads_event), (gst_collectpads_chain):
17993         * gst/base/gstcollectpads.h: Handle EOS correctly.
17994
17995 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17996
17997         * tools/gst-launch.c: (main):
17998           more null protecting
17999
18000 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18001
18002         * gst/gst-i18n-lib.h:
18003           check for ENABLE_NLS, not GETTEXT_PACKAGE
18004         * gst/gstregistry.c: (gst_registry_add_plugin),
18005         (gst_registry_scan_path_level),
18006         (_gst_registry_remove_cache_plugins):
18007           protect possibly NULL strings
18008         * gst/parse/types.h:
18009           config.h already included before
18010         * tools/gst-inspect.c: (main):
18011           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
18012           check for ENABLE_NLS, not GETTEXT_PACKAGE
18013         * tools/gst-launch.c: (main):
18014           check for ENABLE_NLS, not GETTEXT_PACKAGE
18015
18016 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18017
18018         * configure.ac:
18019           if we don't have glib, fail before testing 2.8
18020         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
18021           fix a leak, should fix plugins-base testsuite
18022
18023 2005-10-11  Andy Wingo  <wingo@pobox.com>
18024
18025         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
18026         take the mode we're going to as an arg. Go head and set the mode
18027         and flushing flags now, so that if the activate function starts a
18028         thread all the flags will be in the right state.
18029         (post_activate): Renamed also. Just handle making sure streaming
18030         finishes for the deactivation case, and setting the deactivated
18031         mode.
18032         (gst_pad_set_active): Complain loudly if deactivation fails.
18033         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
18034         (gst_pad_activate_push): Adapt to pre/post_activate changes,
18035         remove the terrible hack.
18036
18037 2005-10-11  Wim Taymans  <wim@fluendo.com>
18038
18039         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
18040         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
18041         (gst_bin_recalc_state), (gst_bin_change_state_func),
18042         (gst_bin_dispose), (bin_bus_handler):
18043         * gst/gstbin.h:
18044         Prepare to make current EOS message queue more generic.
18045         Fix some typos.
18046
18047         * gst/gstevent.c: (gst_event_new_newsegment),
18048         (gst_event_parse_newsegment):
18049         * gst/gstevent.h:
18050         Rename base to stream_time.
18051
18052         * gst/gstmessage.h:
18053         Fix typo in docs.
18054
18055 2005-10-11  Wim Taymans  <wim@fluendo.com>
18056
18057         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
18058         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
18059         (gst_bin_change_state_func), (bin_bus_handler):
18060         * gst/gstbin.h:
18061         Work on proper clock selection.
18062
18063 2005-10-11  Edward Hervey  <edward@fluendo.com>
18064
18065         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
18066         * libs/gst/controller/gstcontroller.h:
18067         Added GList* version of _remove_properties() in order to be able to wrap
18068         it in bindings.
18069
18070 2005-10-11  Wim Taymans  <wim@fluendo.com>
18071
18072         * docs/design/part-states.txt:
18073         Some more docs.
18074
18075         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
18076         (gst_bin_change_state_func), (bin_bus_handler):
18077         Doc updates. Don't distribute the same clock over and over again.
18078
18079         * gst/gstclock.c:
18080         * gst/gstclock.h:
18081         Doc updates.
18082
18083         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
18084         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
18085         (gst_pad_send_event):
18086         * gst/gstpad.h:
18087         Make probe emission threadsafe again.
18088         Register quarks and move _get_name() from utils.
18089         Doc updates.
18090
18091         * gst/gstpipeline.c: (gst_pipeline_class_init),
18092         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
18093         Only redistribute the clock of it changed.
18094
18095         * gst/gstsystemclock.h:
18096         Doc updates. 
18097
18098         * gst/gstutils.c:
18099         * gst/gstutils.h:
18100         Moved the _flow_get_name() to GstPad.
18101
18102 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18103
18104         * check/gst-libs/gdp.c: (GST_START_TEST):
18105         * check/gst/gstcaps.c: (GST_START_TEST):
18106         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
18107         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
18108         (gst_dp_packet_from_caps):
18109           fix more valgrind warnings before turning up the heat
18110
18111 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18112
18113         * gst/parse/grammar.y:
18114           some cleanup before the hacking
18115
18116 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18117
18118         * gst/base/gstbasesrc.c: (gst_base_src_query):
18119           use conversions
18120         * gst/gstutils.c: (gst_guint64_to_gdouble),
18121         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
18122         * gst/gstutils.h:
18123           externalize, basesrc uses it
18124           obviously the implementation needs testing
18125
18126 2005-10-10  Wim Taymans  <wim@fluendo.com>
18127
18128         * tests/sched/Makefile.am:
18129         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
18130         (make_pipeline3), (make_pipeline4), (print_elem), (main):
18131
18132 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18133
18134         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
18135           apparently converting from guint64 to double is not implemented
18136           on MSVC
18137
18138 2005-10-10  Wim Taymans  <wim@fluendo.com>
18139
18140         * check/Makefile.am:
18141         * check/generic/states.c: (GST_START_TEST):
18142         * check/gst/gstbin.c: (GST_START_TEST):
18143         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18144         * check/states/sinks.c: (GST_START_TEST):
18145         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
18146         (main):
18147         Check fixes, use API as stated in design docs, remove hacks.
18148
18149         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18150         (gst_base_sink_change_state):
18151         Catch stopping our task while we're shutting down.
18152
18153         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
18154         (gst_bin_remove_func), (gst_bin_get_state_func),
18155         (gst_bin_recalc_state), (gst_bin_change_state_func),
18156         (bin_bus_handler):
18157         * gst/gstbin.h:
18158         * gst/gstelement.c: (gst_element_init),
18159         (gst_element_get_state_func), (gst_element_abort_state),
18160         (gst_element_commit_state), (gst_element_lost_state),
18161         (gst_element_set_state), (gst_element_change_state),
18162         (gst_element_change_state_func):
18163         * gst/gstelement.h:
18164         New state change algorithm (see #318116)
18165
18166         * gst/gstpipeline.c: (gst_pipeline_class_init),
18167         (gst_pipeline_init), (gst_pipeline_set_property),
18168         (gst_pipeline_get_property), (do_pipeline_seek),
18169         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
18170         * gst/gstpipeline.h:
18171         Remove crude state change hacks.
18172
18173         * gst/gstutils.h:
18174         Remove crude hacks.
18175
18176         * tools/gst-launch.c: (main):
18177         Fixes for state change. Needs some more work to fully use the
18178         new stuff.
18179
18180 2005-10-10  Andy Wingo  <wingo@pobox.com>
18181
18182         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
18183
18184         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
18185         this flag, but it's not even in GLib 2.6. Odd. Hack around the
18186         issue.
18187
18188 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18189
18190         * gst/gstiterator.c: (gst_iterator_new):
18191           Fix my previous commit: GTypes passed to gst_iterator_new()
18192           can be fundamental types.
18193
18194 2005-10-10  Wim Taymans  <wim@fluendo.com>
18195
18196         * gst/gstelement.c: (gst_element_iterate_pad_list),
18197         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
18198         (gst_element_iterate_sink_pads):
18199         Use src/sink pads lists for the respective iterators instead
18200         of filtering.
18201
18202 2005-10-10  Andy Wingo  <wingo@pobox.com>
18203
18204         Merged in popt removal + GOption addition patch from Ronald, bug
18205         #169772.
18206
18207         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
18208         GstElement macros around, remove popt-related symbols, add goption
18209         stuff.
18210
18211         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
18212         
18213         * docs/gst/Makefile.am:
18214         * docs/libs/Makefile.am: No POPT_CFLAGS.
18215         
18216         * examples/manual/Makefile.am:
18217         * docs/manual/basics-init.xml: Doc updates with an example.
18218         
18219         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
18220         (gst_init), (parse_one_option), (parse_goption_arg):
18221         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
18222         bit of hand merging and debugging to get the GOption stuff working
18223         tho.
18224         
18225         * tests/Makefile.am:
18226         * tools/Makefile.am:
18227         * tools/gst-inspect.c: (main):
18228         * tools/gst-launch.c: (main):
18229         * tools/gst-run.c: (main):
18230         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
18231
18232 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18233
18234         * gst/gstiterator.c: (gst_iterator_new):
18235           Add assertions to make sure passed GType is likely to really
18236           be a GType (as the compiler won't catch it if the size and
18237           GType arguments get mixed up, see #318447).
18238
18239 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
18240
18241         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18242
18243         * gst/gstbin.c: (gst_bin_iterate_sorted):
18244           Pass GType and size arguments to gst_iterator_new() in the right
18245           order (maybe we should make _new() take the GType as first argument
18246           just like _new_list()?) (#318447).
18247           
18248
18249 2005-10-10  Wim Taymans  <wim@fluendo.com>
18250
18251         * gst/gstelement.c: (gst_element_finalize):
18252         And free the GStaticRecMutex too
18253
18254 2005-10-10  Andy Wingo  <wingo@pobox.com>
18255
18256         * gst/gstelement.c (gst_element_init, gst_element_finalize):
18257         Allocate and free the mutex properly.
18258
18259         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
18260         New macros.
18261         (GstElement): The state_lock is now recursive. Rebuild your
18262         plugins, suckers. Old macros adapted.
18263
18264         * docs/gst/gstreamer-sections.txt: Doc updates.
18265
18266         * gst/gstutils.h:
18267         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
18268         (g_static_rec_cond_wait): Ported from state changes patch, while
18269         we wait on bug #317802 to be solved in a well-distributed GLib.
18270
18271         * gst/gstelement.c (gst_element_change_state_func): Renamed from
18272         gst_element_change_state, variable name changes.
18273         (gst_element_change_state): Split out of gst_element_set_state in
18274         preparation for the state change merge. Doesn't pay attention to
18275         the 'transition' argument.
18276         (gst_element_set_state): Updates, hopefully purely cosmetic.
18277         (gst_element_sync_state_with_parent): MT-safety. Ported from the
18278         state change patch.
18279         (gst_element_get_state_func): Renamed from get_state, cosmetic
18280         changes.
18281
18282 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18283
18284         * gst/elements/gstelements.c:
18285         * win32/GStreamer.vcproj:
18286         * win32/config.h:
18287         * win32/dirent.c: (_tseekdir):
18288         * win32/gst-inspect.vcproj:
18289         * win32/gst-launch.vcproj:
18290         * win32/gstconfig.h:
18291         * win32/gstelements.vcproj:
18292         * win32/gstenumtypes.c: (gst_object_flags_get_type):
18293         * win32/gstreamer.def:
18294         * win32/msvc71.sln:
18295           updates for the win32 build (patch from Sebastien Moutte)
18296
18297 2005-10-10  Andy Wingo  <wingo@pobox.com>
18298
18299         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
18300         gst_bin_get_state, cleaned up (but no logic changes).
18301         (bin_element_is_sink): Comment updates.
18302         (sink_iterator_filter): Remove needless cast.
18303         (gst_bin_iterate_sinks): Doc update.
18304         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
18305         cleaned up (but no logic changes).
18306
18307         * check/states/sinks.c (test_src_sink): Cleanups from the state
18308         change patch.
18309         (test_livesrc_sink): Sync on the state.
18310
18311         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
18312         the state change patch.
18313
18314         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
18315         change patch.
18316
18317         * check/gst/gstbin.c: Merge in some style fixes and additional
18318         checks from Wim's state change patch.
18319
18320 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18321
18322         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18323         (gst_type_find_helper):
18324           Check whether we have the requested data already in our list of
18325           cached buffers before pulling a new buffer; also make the buffer
18326           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18327
18328 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18329
18330         * gst/gstcaps.c:
18331         * gst/gstevent.c:
18332           doc updates
18333         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18334           don't use long long, it's not portable.  Replacing with
18335           gint64 seems to work; let's hope no skeletons fall out of the closet.
18336
18337 2005-10-10  Andy Wingo  <wingo@pobox.com>
18338
18339         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18340
18341 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
18342
18343         * docs/gst/gstreamer-sections.txt:
18344         * gst/gstevent.c:
18345         * gst/gstevent.h:
18346         * gst/gstinfo.c:
18347         * gst/gstinfo.h:
18348         * gst/gstmessage.c: (gst_message_parse_state_changed):
18349         * gst/gstpad.c:
18350         * gst/gstpad.h:
18351           more docs, fix compilation
18352
18353 2005-10-09  Philippe Khalaf <burger@speedy.org>
18354         * gst/gstmessage.c:
18355           Fixed a few forgotten variables on previous commit
18356
18357 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
18358
18359         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18360           Fix evil typefind crasher: getrange() might return a short
18361           buffer at the end of a file, but gst_type_find_peek() must
18362           either return the full data as requested or NULL, but
18363           never a short buffer.
18364
18365 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18366
18367         * gst/gstmessage.c: (gst_message_new_state_changed),
18368         (gst_message_parse_state_changed):
18369         * gst/gstmessage.h:
18370           don't use "new", it's a C++ keyword
18371
18372 2005-10-08  Wim Taymans  <wim@fluendo.com>
18373
18374         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18375         * gst/gstelement.c: (gst_element_post_message):
18376         * gst/gstpipeline.c: (gst_pipeline_change_state):
18377         Small docs and debug updates.
18378
18379 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18380
18381         * docs/gst/gstreamer-sections.txt:
18382         * gst/gstelementfactory.c:
18383         * gst/gstevent.c:
18384         * gst/gsttaglist.c:
18385           more docs
18386
18387 2005-10-08  Wim Taymans  <wim@fluendo.com>
18388
18389         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18390         (gst_bin_dispose), (bin_bus_handler):
18391         Fix typos, add comments.
18392         Clear EOS list when going to PAUSED from any direction and do it
18393         in a threadsafe way.
18394         Get base time in a threadsafe way too.
18395         Fix confusing debug in the change_state function.
18396         Various other small cleanups.
18397         
18398         * gst/gstelement.c: (gst_element_post_message):
18399         Fix very verbose bus posting code.
18400
18401         * gst/gstpipeline.c: (gst_pipeline_class_init),
18402         (gst_pipeline_set_property), (gst_pipeline_get_property),
18403         (gst_pipeline_change_state):
18404         Small ARG_ -> PROP_ cleanup
18405
18406 2005-10-08  Wim Taymans  <wim@fluendo.com>
18407
18408         * gst/gstbin.c: (is_eos), (bin_bus_handler):
18409         Do a less CPU demanding EOS check because we can.
18410
18411 2005-10-08  Wim Taymans  <wim@fluendo.com>
18412
18413         * libs/gst/dataprotocol/dataprotocol.c:
18414         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18415         (gst_dp_packet_from_event):
18416         * libs/gst/dataprotocol/dataprotocol.h:
18417         * libs/gst/dataprotocol/dp-private.h:
18418         It's about time we bump the version number.
18419         Since event types don't fit in the guint8 anymore describing
18420         the payload type, make payload type 16 bits wide.
18421
18422 2005-10-08  Wim Taymans  <wim@fluendo.com>
18423
18424         * docs/design/part-TODO.txt:
18425         * docs/design/part-clocks.txt:
18426         * docs/design/part-events.txt:
18427         * docs/design/part-gstbin.txt:
18428         * docs/design/part-gstelement.txt:
18429         * docs/design/part-gstpipeline.txt:
18430         * docs/design/part-live-source.txt:
18431         * docs/design/part-messages.txt:
18432         * docs/design/part-overview.txt:
18433         * docs/design/part-states.txt:
18434         Many doc updates.
18435
18436 2005-10-08  Wim Taymans  <wim@fluendo.com>
18437
18438         * gst/gstevent.c:
18439         * gst/gstevent.h:
18440         Fix event quark registration.
18441         Add some space between events so we can insert them in the
18442         right groups.
18443
18444 2005-10-08  Wim Taymans  <wim@fluendo.com>
18445
18446         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18447         (gst_base_sink_handle_buffer):
18448         Better log message.
18449
18450         * gst/gstbus.h:
18451         * gst/gstelement.h:
18452         More docs.
18453
18454         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18455         (gst_queue_set_property), (gst_queue_get_property):
18456         * gst/gstqueue.h:
18457         Remove old unused properties.
18458
18459 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18460         * docs/gst/gstreamer-sections.txt:
18461         * gst/gstmessage.c:
18462         * gst/gstmessage.h:
18463         * gst/gstminiobject.c:
18464         * gst/gstminiobject.h:
18465         * gst/gstobject.h:
18466         * gst/gstpad.h:
18467         * gst/gstutils.h:
18468           lots of new docs and doc fixes
18469
18470 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18471
18472         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18473         * gst/gstplugin.h:
18474         * gst/gstregistry.c: (gst_registry_lookup_locked),
18475         (gst_registry_scan_path_level):
18476         * gst/gstregistryxml.c: (load_plugin):
18477           Only ever load one plugin for a given plugin basename.
18478           This ensures correct overriding of GST_PLUGIN_PATH over
18479           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18480           system installed plugins.
18481
18482 2005-10-08  Wim Taymans  <wim@fluendo.com>
18483
18484         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18485         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18486         Prepare for doing QOS.
18487
18488 2005-10-08  Wim Taymans  <wim@fluendo.com>
18489
18490         * check/gst/gstbin.c: (GST_START_TEST):
18491         * check/pipelines/cleanup.c: (GST_START_TEST):
18492         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18493         Allow new clock message too.
18494
18495 2005-10-08  Wim Taymans  <wim@fluendo.com>
18496
18497         * gst/gstmessage.c: (gst_message_new_error),
18498         (gst_message_new_warning), (gst_message_new_tag),
18499         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18500         (gst_message_new_clock_lost), (gst_message_new_new_clock),
18501         (gst_message_new_segment_start), (gst_message_new_segment_done),
18502         (gst_message_parse_state_changed),
18503         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18504         (gst_message_parse_new_clock):
18505         * gst/gstmessage.h:
18506         Also carry the clock in question.
18507
18508 2005-10-08  Wim Taymans  <wim@fluendo.com>
18509
18510         * gst/gstmessage.c: (gst_message_new_custom),
18511         (gst_message_new_eos), (gst_message_new_error),
18512         (gst_message_new_warning), (gst_message_new_tag),
18513         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18514         (gst_message_new_new_clock), (gst_message_new_segment_start),
18515         (gst_message_new_segment_done), (gst_message_parse_state_changed),
18516         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18517         * gst/gstmessage.h:
18518         Clean up.
18519         Added clock related messages.
18520
18521         * gst/gstpipeline.c: (gst_pipeline_change_state):
18522         Post message when the clock changed.
18523
18524         * tools/gst-launch.c: (event_loop):
18525         Print new clock.
18526
18527 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
18528
18529         * tools/gst-inspect.c: (print_element_properties_info):
18530           Can't pass NULL strings to g_print() on windows.
18531
18532 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18533
18534         * docs/Makefile.am:
18535         * docs/gst/Makefile.am:
18536         * docs/gst/gstreamer-docs.sgml:
18537         * docs/gst/running.xml:
18538         * docs/version.entities.in:
18539           add a chapter on running GStreamer.
18540           document GST_DEBUG and GST_PLUGIN* env vars
18541
18542 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18543
18544         * Makefile.am:
18545           remove include dir
18546         * configure.ac:
18547           remove PLUGINS_BUILDDIR stuff
18548         * gst/gst.c: (init_post):
18549           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18550         * idiottest.mak:
18551           remove, it was condescending and not needed
18552
18553 2005-10-08  Wim Taymans  <wim@fluendo.com>
18554
18555         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18556         (gst_base_sink_handle_object), (gst_base_sink_event),
18557         (gst_base_sink_wait), (gst_base_sink_handle_event),
18558         (gst_base_sink_change_state):
18559         * gst/base/gstbasesink.h:
18560         Repost EOS message while going to PLAYING if still EOS.
18561         Make sure that when receiving a FLUSH_START we don't attempt
18562         to sync on the clock anymore.
18563
18564 2005-10-08  Wim Taymans  <wim@fluendo.com>
18565
18566         * tools/gst-launch.c: (event_loop):
18567         Better message printout.
18568
18569 2005-10-08  Wim Taymans  <wim@fluendo.com>
18570
18571         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18572         (gst_bin_child_proxy_get_children_count):
18573         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18574         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18575         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18576         (gst_child_proxy_set_valist):
18577         * gst/parse/grammar.y:
18578         Make ChildProxy threadsafe and fix mem leaks.
18579
18580 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18581
18582         * gst/gst.c: (init_post):
18583           debug the GST_PLUGIN_ env vars
18584
18585 2005-10-08  Wim Taymans  <wim@fluendo.com>
18586
18587         * check/gst/gstbin.c: (GST_START_TEST):
18588         * check/gst/gstmessage.c: (GST_START_TEST):
18589         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18590         * gst/gstelement.c: (gst_element_commit_state),
18591         (gst_element_lost_state):
18592         * gst/gstmessage.c: (gst_message_new_state_changed),
18593         (gst_message_parse_state_changed):
18594         * gst/gstmessage.h:
18595         * tools/gst-launch.c: (event_loop):
18596         Added extra field to STATE_CHANGE message with the pending
18597         state, which will be different from the new state soon.
18598
18599 2005-10-08  Wim Taymans  <wim@fluendo.com>
18600
18601         * gst/gstbus.c: (gst_bus_pop):
18602         * gst/gstclock.c:
18603         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18604         Small cleanups and doc updates.
18605
18606 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18607
18608         * gst/gst.c: (init_pre):
18609         * gst/gstbin.c: (gst_bin_add_func):
18610           log distributing clocks and base time
18611         * gst/gstregistry.c: (gst_registry_add_plugin),
18612         (gst_registry_scan_path_level), (gst_registry_scan_path):
18613           clean up the debugging output a little
18614         * gst/gstutils.c: (gst_element_state_get_name):
18615           warn about a memleak (I've actually seen this be used, though
18616           it was probably a bug)
18617
18618 2005-10-07  Wim Taymans  <wim@fluendo.com>
18619
18620         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18621         (gst_base_src_init), (gst_base_src_default_newsegment),
18622         (gst_base_src_newsegment), (gst_base_src_do_seek),
18623         (gst_base_src_loop), (gst_base_src_start):
18624         * gst/base/gstbasesrc.h:
18625         Make the newsegment event customizable by subclasses.
18626
18627 2005-10-07  Wim Taymans  <wim@fluendo.com>
18628
18629         * gst/gstevent.c: (gst_event_new_buffersize),
18630         (gst_event_parse_buffersize):
18631         * gst/gstevent.h:
18632         New event for future idea.
18633
18634 2005-10-07  Andy Wingo  <wingo@pobox.com>
18635
18636         * gst/gstelement.c (gst_element_post_message): Doc update.
18637
18638         * docs/gst/gstreamer-sections.txt: Update.
18639
18640         * gst/gstmessage.c (gst_message_new_application): Made into a
18641         function like honest API calls.
18642         (gst_message_new_element): New message type.
18643
18644         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18645
18646         * check/elements/fakesrc.c (test_no_preroll): New check, checks
18647         that setting a live fakesrc to PAUSED returns NO_PREROLL both
18648         times.
18649
18650         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18651         NO_PREROLL from gst_element_change_state to fall through.
18652
18653 2005-10-07  Wim Taymans  <wim@fluendo.com>
18654
18655         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18656         (gst_ghost_pad_do_activate_push):
18657         Activating a ghostpad with no internal pad in push mode
18658         is ok.
18659
18660 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18661
18662         * gst/gstobject.h:
18663           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18664           Fixes compilation on Windows.
18665
18666 2005-10-07  Michael Smith <msmith@fluendo.com>
18667
18668         * tools/gst-inspect.c:
18669           Print out feature and plugin count at the end when printing out
18670           all features.
18671
18672 2005-10-04  Michael Smith <msmith@fluendo.com>
18673
18674         * gst/gsterror.c: (_gst_stream_errors_init):
18675           Add another error string used in a few existing plugins.
18676
18677         * gst/gstplugin.c:
18678         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18679         * tools/gst-inspect.c: (print_element_info):
18680           When a feature disappears from a plugin (and the feature exists in
18681           the cached registry file), things went horribly wrong. This isn't a
18682           complete fix, we should actually be removing the 'missing' features
18683           from the features list when we load the actual plugin. That's not
18684           yet implemented. 
18685
18686 2005-10-04  Johan Dahlin  <johan@gnome.org>
18687
18688         * check/gst/gstiterator.c: (GST_START_TEST):
18689         * gst/gstbin.c: (gst_bin_iterate_elements),
18690         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18691         * gst/gstelement.c: (gst_element_iterate_pads):
18692         * gst/gstformat.c: (gst_format_iterate_definitions):
18693         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18694         (gst_iterator_new_list), (gst_iterator_filter):
18695         * gst/gstiterator.h:
18696         * gst/gstquery.c: (gst_query_type_iterate_definitions):
18697         Add a GType to GstIterator, update callsites and tests.
18698
18699 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18700
18701         * gst/gstpad.c: (gst_pad_event_default_dispatch):
18702           give events a chance to be handled by event probes when the pad
18703           is not linked
18704
18705 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18706
18707         * gst/gstevent.c: (gst_event_type_get_name),
18708         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18709         * gst/gstevent.h:
18710           add string representations for event types
18711
18712 2005-10-06  Wim Taymans  <wim@fluendo.com>
18713
18714         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18715         Don't use NULL pointers.
18716
18717 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18718
18719         * gst/gst_private.h:
18720         * gst/gstbus.c:
18721         * gst/gstelement.c:
18722         * gst/gstinfo.c:
18723         * gst/gstpluginfeature.c:
18724           widen the debug category in output to fit the biggest one we have
18725           add a bus category and use it
18726           play with the colors
18727           fix up some categories
18728
18729 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18730
18731         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18732           add push activation of sink ghost pads.
18733           Andye, please verify
18734
18735 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18736
18737         * gst/gstutils.c: (gst_element_link_pads):
18738           fix a bug in the case where neither element has a pad
18739         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18740           add a test for that case
18741
18742 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18743
18744         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18745           emit have-data before checking for peers.  This allows
18746           for probe handlers to connect elements.  This helps autopluggers.
18747         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18748         (gst_pad_suite):
18749           add six checks, linked/unlinked with no/true/false probe
18750
18751 2005-10-04  Wim Taymans  <wim@fluendo.com>
18752
18753         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18754         (gst_fake_sink_event), (gst_fake_sink_preroll),
18755         (gst_fake_sink_render), (gst_fake_sink_change_state):
18756         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18757         (gst_fake_src_get_property), (gst_fake_src_create),
18758         (gst_fake_src_stop):
18759         * gst/elements/gstidentity.c: (gst_identity_stop):
18760         Protect last_message with lock.
18761
18762 2005-10-04  Edward Hervey  <edward@fluendo.com>
18763
18764         * gst/gstformat.h: 
18765         Added precision in the comments for GST_FORMAT_DEFAULT
18766
18767 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
18768
18769         * tools/gst-launch.c: (main):
18770           Don't try to run erroneous pipelines.
18771
18772 2005-10-04  Julien MOUTTE  <julien@moutte.net>
18773
18774         * gst/gstbus.c: We don't need this header.
18775
18776 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18777
18778         * configure.ac:
18779           back to development
18780
18781 === release 0.9.3 ===
18782
18783 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18784
18785         * README:
18786         * configure.ac:
18787           Releasing 0.9.3, "Unregistered"
18788
18789 2005-10-03  Andy Wingo  <wingo@pobox.com>
18790
18791         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18792         whereby calling a pad's activatepush() function can start a thread
18793         that starts to push or pull before the pad gets the FLUSHING flag
18794         unset. Hack around it by holding the stream lock until the flag is
18795         set. Need to replace this with a proper solution. Together with
18796         the ghost pad fixes, this fixes mp3 playing/tagreading.
18797
18798         * docs/design/part-gstghostpad.txt: Add a note about activation of
18799         proxy pads outside of ghost pads.
18800
18801         * gst/gstghostpad.c: Implement the ghost pad activation design.
18802
18803 2005-10-02  Andy Wingo  <wingo@pobox.com>
18804
18805         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18806         It is volatile, after all.
18807
18808         * docs/design/part-gstghostpad.txt: Flesh out activation with
18809         ghost pads.
18810
18811         * gst/base/gstbasesrc.c (gst_base_src_init): Use
18812         GST_DEBUG_FUNCPTR.
18813
18814 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
18815
18816         * configure.ac:
18817           Fix (unused) AM_CONDITIONAL tests.
18818
18819 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
18820
18821         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18822
18823         * gst/gstutils.c: (gst_pad_query_convert):
18824           Add assertion that makes sure src_val is >=0, just like
18825           gst_query_new_convert() has. (#315895)
18826
18827 2005-09-30  Edward Hervey  <edward@fluendo.com>
18828
18829         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18830         Let's not iterate pads we're not interested in, it avoids getting 
18831         sky-high refcounts on sinkpad.
18832
18833 2005-09-30  Wim Taymans  <wim@fluendo.com>
18834
18835         * gst/gstelement.c: (gst_element_set_state),
18836         (gst_element_change_state):
18837         Small tweak, element in ASYNC remains ASYNC.
18838
18839 2005-09-30  Wim Taymans  <wim@fluendo.com>
18840
18841         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18842         Only error is an error.
18843
18844         * gst/gstbin.c: (gst_bin_change_state):
18845         Better debugging.
18846
18847         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18848         Also call pad_block in pad alloc.
18849
18850         * gst/gstutils.c: (gst_flow_get_name):
18851         Better debugging.
18852
18853 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18854
18855         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18856         (gst_base_src_get_range):
18857           Fix documentation typos. Add some more debug info.
18858
18859 2005-09-29  David Schleef  <ds@schleef.org>
18860
18861         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18862           more end-user friendly.
18863         * tools/gst-inspect.c: (main): Check if command-line argument is
18864           a file and attempt to load that file as a plugin.
18865
18866 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18867
18868         * check/gst/gstbin.c:
18869         * check/states/sinks.c:
18870           fix tests for the new warning
18871         * check/gst/gstpipeline.c:
18872           add a test for pipeline and bus interaction
18873         * gst/gstelement.c:
18874           elements should be NULL if they get disposed; add a warning if not
18875
18876 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18877
18878         * gst/gstobject.c:
18879           for 2.6 refcounting, make debug log more correct by printing
18880           the actual refcounts at the time of swap (Wim)
18881
18882 2005-09-29  Andy Wingo  <wingo@pobox.com>
18883
18884         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18885         removes signal watches previously added via
18886         gst_bus_add_signal_watch.
18887         (gst_bus_add_signal_watch): Don't return the source id, just store
18888         it on the bus if there wasn't an id already.
18889
18890         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18891         add_signal_watch and remove_signal_watch.
18892
18893 2005-09-29  Edward Hervey  <edward@fluendo.com>
18894
18895         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
18896         Better if we actually iterate the list :)
18897
18898 2005-09-29  Wim Taymans  <wim@fluendo.com>
18899
18900         * check/gst/gstbin.c: (GST_START_TEST):
18901         Change for new bus API.
18902
18903         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18904         (send_messages), (GST_START_TEST), (gstbus_suite):
18905         Change for new bus signal API.
18906
18907         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18908         (gst_bus_source_prepare), (gst_bus_source_check),
18909         (gst_bus_create_watch), (gst_bus_add_watch_full),
18910         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18911         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18912         * gst/gstbus.h:
18913         Remove support for multiple GSources operating on different
18914         message types as it is too complex and unneeded when using
18915         signals.
18916         Added support for receiving signals from the bus.
18917
18918 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18919
18920         * docs/libs/tmpl/gstdataprotocol.sgml:
18921         * docs/manual/advanced-dataaccess.xml:
18922         * gst/elements/gstcapsfilter.c:
18923         * gst/gstutils.c:
18924           rename filter-caps to caps property
18925
18926 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18927
18928         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18929           More robust fraction string parsing.
18930
18931         * docs/pwg/appendix-porting.xml:
18932           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18933
18934 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18935
18936         * gst/gstcaps.c: (gst_caps_do_simplify):
18937           Thou shalt not free a structure and then continue using it
18938           in the next loop iteration.
18939
18940         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18941         (gst_caps_suite):
18942           Add test case for caps simplification.
18943
18944 2005-09-29  Wim Taymans  <wim@fluendo.com>
18945
18946         * check/gst/gstbin.c: (GST_START_TEST):
18947         Oops.
18948
18949 2005-09-29  Wim Taymans  <wim@fluendo.com>
18950
18951         * check/gst/gstbin.c: (GST_START_TEST):
18952         Add bus to bin.
18953
18954         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18955         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18956         (find_element), (gst_bin_sort_iterator_next),
18957         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18958         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18959         (gst_bin_change_state), (gst_bin_dispose):
18960         A bin does not have a bus, it gets the bus from the parent.
18961
18962         * gst/gstelement.c: (gst_element_requires_clock),
18963         (gst_element_provides_clock), (gst_element_is_indexable),
18964         (gst_element_is_locked_state), (gst_element_change_state),
18965         (gst_element_set_bus_func):
18966         Small cleanups.
18967
18968         * gst/gstpipeline.c: (gst_pipeline_class_init),
18969         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18970         The pipeline provides a bus.
18971
18972 2005-09-28  Johan Dahlin  <johan@gnome.org>
18973
18974         * gst/gstmessage.c (gst_message_parse_state_changed): Use
18975         gst_structure_get_enum instead of gst_structure_get_int
18976
18977         * gst/gststructure.c (gst_structure_get_enum): Impl.
18978
18979         * gst/gststructure.h (gst_structure_get_enum): Add
18980
18981         * docs/gst/gstreamer-sections.txt: Ditto
18982
18983         * gst/gstmessage.c (gst_message_new_state_changed): Use
18984         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18985         which does introspection.
18986         Reviewed by Christian Schaller
18987
18988 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18989
18990         * gst/gstinfo.c: (gst_debug_log_default):
18991           don't do dummy g_strdup()s
18992         * libs/gst/controller/gstcontroller.c:
18993         (on_object_controlled_property_changed),
18994         (gst_controlled_property_new), (gst_controller_new_valist),
18995         (gst_controller_new_list),
18996         (gst_controller_remove_properties_valist), (gst_controller_set),
18997         (gst_controller_get), (gst_controller_sync_values),
18998         (gst_controller_get_value_array), (_gst_controller_class_init),
18999         (gst_controller_get_type):
19000         * libs/gst/controller/gstcontroller.h:
19001         * libs/gst/controller/gstinterpolation.c:
19002         (gst_controlled_property_find_timed_value_node):
19003           convert // to /**/ comments
19004
19005 2005-09-28  Wim Taymans  <wim@fluendo.com>
19006
19007         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
19008         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
19009         (gst_bus_sync_signal_handler):
19010         * gst/gstbus.h:
19011         Added async-message and sync-message signals to the bus.
19012         Added helper BusFunc to emit signals for all posted messages.
19013
19014         * gst/gstmessage.c: (gst_message_type_get_name),
19015         (gst_message_type_to_quark), (gst_message_get_type):
19016         * gst/gstmessage.h:
19017         Register quarks for message names.
19018
19019 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
19020
19021         * docs/libs/gstreamer-libs-sections.txt:
19022         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
19023         (gst_controller_new_list):
19024         * libs/gst/controller/gstcontroller.h:
19025           added another constructor for language bindings
19026
19027 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19028
19029         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19030           add another check
19031         * gst/gstbus.c:
19032           add some doc
19033         * gst/gstinfo.c: (_gst_debug_init):
19034           slightly more readable color for refcount debugging
19035
19036 2005-09-28  Wim Taymans  <wim@fluendo.com>
19037
19038         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19039         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
19040         (find_element), (gst_bin_sort_iterator_next),
19041         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19042         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19043         (gst_bin_change_state), (gst_bin_dispose):
19044         Small doc fixes. get_clock -> provide_clock.
19045
19046         * gst/gstelement.c: (gst_element_class_init),
19047         (gst_element_provides_clock), (gst_element_provide_clock),
19048         (gst_element_get_clock), (gst_element_commit_state),
19049         (gst_element_lost_state):
19050         * gst/gstelement.h:
19051         Make get/set_clock() symetric. Add provide_clock vmethod since
19052         that is actually what this function does.
19053
19054         * gst/gstpipeline.c: (gst_pipeline_class_init),
19055         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
19056         (gst_pipeline_get_clock):
19057         get_clock -> provide_clock.
19058
19059 2005-09-28  Andy Wingo  <wingo@pobox.com>
19060
19061         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
19062         lieu of real docs...
19063
19064         * gst/elements/gstfdsrc.c: Cleaned up a bit.
19065
19066 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
19067
19068         * gst/elements/gstcapsfilter.c:
19069         * gst/elements/gstfakesink.c:
19070         * gst/elements/gstfakesrc.c:
19071         * gst/elements/gstfdsink.c:
19072         * gst/elements/gstfdsrc.c:
19073         * gst/elements/gstfilesink.c:
19074         * gst/elements/gstfilesrc.c:
19075         * gst/elements/gstidentity.c:
19076         * gst/elements/gsttee.c:
19077         * gst/elements/gsttypefindelement.c:
19078           Make element details static.
19079
19080 2005-09-28  Wim Taymans  <wim@fluendo.com>
19081
19082         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19083         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19084         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19085         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19086         (gst_bin_change_state), (gst_bin_dispose):
19087         Some documentation updates.
19088         Clean up dispose handlers.
19089
19090         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
19091         * gst/gstpad.c: (gst_pad_dispose):
19092         Clean up dispose handler.
19093
19094         * gst/gstpipeline.c: (gst_pipeline_change_state):
19095         Removed spurious UNLOCK.
19096
19097 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
19098
19099         * docs/gst/gstreamer-sections.txt:
19100         * gst/base/gstbasesrc.h:
19101         * gst/gstelement.h:
19102         * gst/gstevent.h:
19103         * gst/gstobject.h:
19104         * gst/gstpad.h:
19105         * gst/gstpipeline.c:
19106         * gst/gstpipeline.h:
19107         * gst/gstutils.h:
19108         * gst/gstxml.h:
19109           added two new functions to the docs
19110                 documents all undocumented GstXXXFlags
19111                 completed some incomplete docs 
19112
19113 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19114
19115         * gst/gstbin.c: (gst_bin_dispose):
19116         * gst/gstelement.c: (gst_element_dispose):
19117           remove now useless and leaky resurrection code in dispose
19118         * gst/base/gstbasesrc.c: (gst_base_src_init):
19119         * gst/gstelementfactory.c: (gst_element_factory_create):
19120         * gst/gstobject.c: (gst_object_set_parent):
19121           add some debugging
19122
19123 2005-09-27  Wim Taymans  <wim@fluendo.com>
19124
19125         * docs/design/part-TODO.txt:
19126         Update TODO.
19127
19128         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19129         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19130         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19131         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19132         (gst_bin_change_state):
19133         * gst/gstelement.h:
19134         Remove element variable, we keep element info in the iterator now.
19135
19136 2005-09-27  Andy Wingo  <wingo@pobox.com>
19137
19138         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
19139         values.
19140
19141 2005-09-27  Wim Taymans  <wim@fluendo.com>
19142
19143         * check/gst/gstbin.c: (GST_START_TEST):
19144         Enable check that works now.
19145
19146         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19147         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19148         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19149         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19150         (gst_bin_change_state):
19151         * gst/gstbin.h:
19152         Redid the state change algorithm using a topological sort algo.
19153         Handles all cases correctly.
19154         Exposed iterator for state change order.
19155
19156         * gst/gstelement.h:
19157         Temp storage for state changes. Need to get rid of this soon.
19158
19159 2005-09-27  Wim Taymans  <wim@fluendo.com>
19160
19161         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
19162         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
19163         (link_fold_func), (gst_pad_proxy_setcaps):
19164         Leak fixes, the fold functions need to unref the passed object and
19165         _get_parent_*() returns ref to parent.
19166
19167 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
19168
19169         * check/gst/gstbuffer.c: (test_make_writable):
19170           Plug leak in test case and fix 'make check-valgrind'
19171
19172 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
19173
19174         * gst/gstbuffer.c: (gst_subbuffer_init):
19175           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
19176           works correctly in all circumstances (we could have just copied
19177           the parent buffer's readonly flag, but conceptually it seems
19178           cleaner to mark all subbuffers as read-only). (based on patch
19179           by Alessandro Decina, #314710).
19180         
19181         * check/gst/gstbuffer.c: (create_read_only_buffer),
19182         (test_make_writable), (test_subbuffer_make_writable),
19183         (gst_test_suite):
19184           Add some tests for gst_buffer_make_writable().
19185
19186 2005-09-27  Wim Taymans  <wim@fluendo.com>
19187
19188         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
19189         use gst_object_has_ancestor().
19190
19191         * gst/gstobject.c: (gst_object_has_ancestor):
19192         * gst/gstobject.h:
19193         gst_object_has_ancestor() copied from gstbin.c as it is a
19194         useful function.
19195
19196         * tests/instantiate/create.c: (create_all_elements):
19197         * tests/lat.c: (handoff_src), (handoff_sink):
19198         * tests/sched/runxml.c: (main):
19199         * tests/seeking/seeking1.c: (main):
19200         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
19201         (main):
19202         Fix compilation of some tests.
19203
19204 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
19205
19206         * gst/gsterror.h:
19207           Remove comment. GST_TYPE_G_ERROR is here to stay,
19208           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
19209           (#316961, #300610).
19210
19211 2005-09-26  Wim Taymans  <wim@fluendo.com>
19212
19213         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19214         Added check that shows error in state change order.
19215
19216 2005-09-26  Wim Taymans  <wim@fluendo.com>
19217
19218         * gst/gstbin.c: (gst_bin_change_state):
19219         Make state change function use 3 queues again, we were
19220         adding elements in the wrong order.
19221
19222         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
19223         Some debug info,
19224
19225         * gst/gstpad.c: (gst_pad_dispose):
19226         Added some debug info first.
19227
19228 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
19229
19230         * docs/design/draft-push-pull.txt:
19231         * docs/design/part-events.txt:
19232         * docs/design/part-overview.txt:
19233         * docs/design/part-scheduling.txt:
19234           Replace all _pull_region() with _pull_range()
19235           
19236 2005-09-26  Andy Wingo  <wingo@pobox.com>
19237
19238         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
19239
19240         * check/gst-libs/controller.c: Update for controller api change.
19241
19242         * configure.ac: 
19243         * tests/Makefile.am:
19244         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
19245         over by GLib bug 118439.
19246         
19247         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
19248         routines to a function.
19249
19250         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
19251
19252         * libs/gst/controller/gsthelper.c:
19253         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
19254         (gst_object_sync_values): Renamed from sink_values. Ugh.
19255
19256         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
19257
19258         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
19259         Renamed from controller_key, as it is exported.
19260
19261         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
19262
19263 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
19264
19265         * gst/Makefile.am:
19266         * gst/gst.h:
19267         * gst/gstpad.h:
19268         * gst/gstpadtemplate.h:
19269         * gst/gstquery.c:
19270         * gst/gstquery.h:
19271         * gst/gstqueryutils.c:
19272         * gst/gstqueryutils.h:
19273           remove queryutils headers after moving the two used functions
19274           to gstquery.  also fixes build problem for gstsiddec
19275
19276 2005-09-26  Michael Smith <msmith@fluendo.com>
19277
19278         * tools/gst-launch.1.in:
19279         Correct documentation in manpage of debug syntax
19280
19281 2005-09-26  Wim Taymans  <wim@fluendo.com>
19282
19283         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19284         (gst_base_src_is_seekable), (gst_base_src_change_state):
19285         Some more debugging info.
19286
19287 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19288
19289         * docs/gst/gstreamer-sections.txt:
19290         * gst/base/gstbasetransform.h:
19291         * gst/gstindex.h:
19292           added more docs
19293
19294 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19295
19296         * docs/gst/.cvsignore:
19297         * docs/gst/tmpl/.cvsignore:
19298         * docs/gst/tmpl/gstpipeline.sgml:
19299         * docs/gst/tmpl/gstplugin.sgml:
19300         * gst/gstpipeline.c:
19301         * gst/gstplugin.c:
19302         * gst/gstplugin.h:
19303           inlined the last two docs files
19304           removed the tmpl directory from cvs (no more conflicts here!)
19305
19306 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19307
19308         * docs/gst/gstreamer-sections.txt:
19309         * docs/gst/tmpl/.cvsignore:
19310         * docs/gst/tmpl/gstpad.sgml:
19311         * docs/gst/tmpl/gstpadtemplate.sgml:
19312         * gst/Makefile.am:
19313         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
19314         (gst_pad_finalize), (gst_pad_set_pad_template):
19315         * gst/gstpad.h:
19316         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
19317         (gst_pad_template_class_init), (gst_pad_template_init),
19318         (gst_pad_template_dispose), (name_is_valid),
19319         (gst_static_pad_template_get), (gst_pad_template_new),
19320         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19321         (gst_pad_template_pad_created):
19322         * gst/gstpadtemplate.h:
19323           inlined two more docs
19324           factored gstpadtemplate out of gstpad
19325
19326 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
19327
19328         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19329         (test_children_state_change_order_semi_sink):
19330           Fix test case: we can't rely on a fixed state change order when
19331           going from READY => PAUSED because the sink might commit its 
19332           new state first when the first buffer created by the source 
19333           reaches the sink before the source has finished its change state.
19334           (Test case still fails at times, see #316856, comment 5 onwards)
19335
19336 2005-09-24  Wim Taymans  <wim@fluendo.com>
19337
19338         * docs/design/part-events.txt:
19339         * docs/design/part-gstbus.txt:
19340         * docs/design/part-gstpipeline.txt:
19341         * docs/design/part-messages.txt:
19342         * docs/design/part-overview.txt:
19343         * docs/design/part-segments.txt:
19344         * gst/gstbin.c:
19345         * gst/gstbuffer.c:
19346         * gst/gstclock.c:
19347         * gst/gstelement.c:
19348         * gst/gstevent.c:
19349         * gst/gstfilter.c:
19350         * gst/gstiterator.c:
19351         Various documentation updates.
19352
19353 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19354
19355         * gst/gstclock.h:
19356           Well, that's embarassing.  Luckily we weren't using
19357           GST_CLOCK_DIFF anywhere.
19358
19359 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19360
19361         * common/gtk-doc.mak:
19362           don't fail on building XML, FC4 slave shows a bunch of doc
19363           missing bits that I don't get
19364         * gst/gstpad.c:
19365         * gst/gstpipeline.c:
19366         * gst/gststructure.c:
19367           some doc updates
19368
19369 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19370
19371         * docs/design/part-gstbin.txt:
19372         * docs/design/part-gstbus.txt:
19373         * gst/gstbus.c:
19374           Add blurb about how the bus goes into flushing mode and
19375           drops all messages when its bin goes from READY into NULL 
19376           state.
19377
19378 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19379
19380         * docs/gst/gstreamer-sections.txt:
19381         * gst/gststructure.c: (gst_structure_get_clock_time):
19382         * gst/gststructure.h:
19383           add a method to get a GstClockTime out of a structure
19384
19385 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19386
19387         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19388         (test_children_state_change_order_semi_sink), (gst_bin_suite):
19389           Added test to check state change order in bins (can still be made
19390           to fail here under heavy disk load; bails out with 'Push on pad
19391           fakesink:sink0, but it was not activated in push mode').
19392
19393         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19394           Fix state change order when there is only a semi sink (#316856)
19395
19396         * gst/gstbus.c: (gst_bus_class_init):
19397           Use _class_peek_parent(), not _class_ref(); fix docs to say
19398           'default main context' instead of 'mainloop' where that is
19399           what's meant.
19400
19401         * gst/gstelement.c: (gst_element_commit_state),
19402         (gst_element_set_state):
19403           Fix typos in debug messages
19404
19405 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19406
19407         * docs/README:
19408         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19409         * gst/gstpluginfeature.c:
19410         * gst/gstutils.c:
19411           various doc updates
19412         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19413           change an assert into an error until it gets fixed properly
19414
19415 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
19416
19417         * docs/gst/gstreamer-sections.txt:
19418         * docs/gst/tmpl/.cvsignore:
19419         * docs/gst/tmpl/gstelement.sgml:
19420         * docs/gst/tmpl/gstinfo.sgml:
19421         * docs/gst/tmpl/gstobject.sgml:
19422         * gst/gstelement.c:
19423         * gst/gstelement.h:
19424         * gst/gstinfo.c:
19425         * gst/gstinfo.h:
19426         * gst/gstobject.c: (gst_object_class_init):
19427         * gst/gstobject.h:
19428           inlined 3 more biiiig doc files and added some missing docs on the fly
19429
19430 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19431
19432         * check/gst/.cvsignore:
19433         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19434         * gst/gstregistryxml.c: (load_plugin),
19435         (gst_registry_xml_save_plugin):
19436           put back source in registry.  add checks for find_plugin.
19437         * testsuite/states/bin.c: (assert_state), (empty_bin),
19438         (test_adding_one_element), (main):
19439         * testsuite/states/locked.c: (main):
19440           some compile/run fixes
19441
19442 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19443
19444         * check/gst/gstvalue.c: (GST_START_TEST):
19445           fix leaks in the test itself
19446
19447 2005-09-22  Wim Taymans  <wim@fluendo.com>
19448
19449         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19450         (gst_base_sink_send_event), (gst_base_sink_peer_query),
19451         (gst_base_sink_query):
19452         Prepare for more accurate position reporting and query
19453         handling.
19454
19455         * gst/gstelement.c: (gst_element_send_event),
19456         (gst_element_set_state):
19457         Add some comment.
19458
19459 2005-09-22  Wim Taymans  <wim@fluendo.com>
19460
19461         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19462         (gst_query_parse_segment):
19463         * gst/gstquery.h:
19464         More documentation.
19465         Add segment query for future use.
19466
19467 2005-09-22  Wim Taymans  <wim@fluendo.com>
19468
19469         * gst/gstbin.c: (gst_bin_add_func):
19470         Some more debug info.
19471
19472         * gst/gstelement.c: (gst_element_send_event):
19473         Simplify send_event
19474
19475         * gst/gstelement.h:
19476         Don't know how flags got broken.
19477
19478         * gst/gstquery.h:
19479         Added new query.
19480
19481 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19482
19483         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19484           Add simplistic test suite for GST_TYPE_DATE serialisation and
19485           deserialisation.
19486
19487 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19488
19489         * docs/gst/gstreamer-sections.txt:
19490         * gst/gststructure.c: (gst_structure_set_valist),
19491         (gst_structure_get_date):
19492         * gst/gststructure.h:
19493         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19494         (gst_date_copy), (gst_value_compare_date),
19495         (gst_value_serialize_date), (gst_value_deserialize_date),
19496         (gst_value_transform_date_string),
19497         (gst_value_transform_string_date), (_gst_value_initialize):
19498         * gst/gstvalue.h:
19499           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19500           bunch of utility functions along with a hack that checks that
19501           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19502           is required. Part of the grand scheme in #170777.
19503
19504 2005-09-22  Andy Wingo  <wingo@pobox.com>
19505
19506         * gst/gstconfig.h.in: Psych out gtk-doc.
19507
19508         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19509
19510         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19511
19512         * tools/gst-inspect.c (print_element_list): Plug some
19513         inconsequential leaks.
19514
19515         * gst/gstregistry.c (gst_registry_get_default): Doc.
19516
19517         * check/gst/gstplugin.c: 
19518         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19519         * gst/gstelementfactory.c (gst_element_factory_create): 
19520         * gst/gstindexfactory.c (gst_index_factory_create): Update for
19521         refcount changes.
19522
19523         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19524         (gst_plugin_feature_load): Doc, don't eat refs.
19525
19526         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19527         (gst_plugin_list_free): Doc.
19528         (gst_plugin_load_file): Doc updates.
19529
19530         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19531         accessors returning refcounted objects, return a ref.
19532
19533         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19534         accessor for caps. IDEMPOTENCE. Oh yes.
19535
19536 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
19537
19538         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19539
19540         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19541         (_gst_debug_register_funcptr):
19542           Add mutex to serialise access to the hash table with
19543           the function pointer => function name string mapping;
19544           make that hash table static scope (#316809).
19545
19546         * gst/registries/.cvsignore:
19547           Remove left-over file.
19548
19549 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19550
19551         * docs/pwg/appendix-porting.xml:
19552           And something about newsegment events and caps-on-buffers to
19553           the porting guide (feel free to improve).
19554
19555 2005-09-21  Andy Wingo  <wingo@pobox.com>
19556
19557         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19558         data and event probes on the same pad.
19559         (test_buffer_probe_once): Test that removing probes from within
19560         the probe functions works.
19561
19562 2005-09-21  Andy Wingo  <wingo@pobox.com>
19563
19564         * check/gst/gstutils.c: New file.
19565         (test_buffer_probe_n_times): A simple buffer probe test. More to
19566         come, foolios.
19567
19568         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19569         have-data::buffer, not have-data.
19570         (gst_pad_add_event_probe): Likewise for have-data::event.
19571         (gst_pad_add_data_probe): More docs. The part about 'resolving the
19572         peer' isn't quite right yet though.
19573         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
19574         (gst_pad_remove_data_probe): Change to take the guint handler_id
19575         as their arg, not the function+data, which is more glib-like.
19576
19577         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19578         the signal emission to indicate if the data is a buffer or an
19579         event.
19580         (gst_pad_get_type): Initialize buffer and event quarks.
19581         (gst_pad_class_init): have-data is now a detailed signal, yes it
19582         is.
19583
19584 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19585
19586         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19587         * gst/gstutils.c: (gst_util_set_value_from_string),
19588         (gst_util_set_object_arg):
19589           Don't put functional code in g_return_if_fail() or
19590           g_return_val_if_fail() statements, otherwise things will 
19591           break when G_DISABLE_CHECKS is defined during compilation.
19592
19593 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19594
19595         * docs/gst/tmpl/.cvsignore:
19596         * docs/gst/tmpl/gstvalue.sgml:
19597         * gst/gstvalue.c:
19598         * gst/gstvalue.h:
19599           inlied another one and added  some obvious docs
19600
19601 2005-09-21  Wim Taymans  <wim@fluendo.com>
19602
19603         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19604         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19605         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19606         (gst_fdsrc_get_property), (gst_fdsrc_create):
19607         * gst/elements/gstfdsrc.h:
19608         Properly implement fdsrc. Removed signal and timeout,
19609         better implemented somewhere else.
19610
19611 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19612
19613         * docs/gst/tmpl/.cvsignore:
19614         * docs/gst/tmpl/gstimplementsinterface.sgml:
19615         * gst/gstinterface.c:
19616           inlined more docs
19617
19618 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19619
19620         * docs/gst/gstreamer-sections.txt:
19621         * docs/gst/tmpl/.cvsignore:
19622         * docs/gst/tmpl/gstenumtypes.sgml:
19623           remove obsolete doc file
19624
19625 2005-09-21  David Schleef  <ds@schleef.org>
19626
19627         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19628         little beer, fix a little leak.
19629
19630 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19631
19632         * docs/gst/gstreamer-docs.sgml:
19633         * docs/gst/gstreamer-sections.txt:
19634         * docs/gst/tmpl/.cvsignore:
19635         * gst/Makefile.am:
19636         * gst/gst.h:
19637         * gst/gstbin.c:
19638         * gst/gstelement.h:
19639         * gst/gstindex.c: (gst_index_class_init):
19640         * gst/gstindex.h:
19641         * gst/gstindexfactory.c: (gst_index_factory_get_type),
19642         (gst_index_factory_class_init), (gst_index_factory_init),
19643         (gst_index_factory_finalize), (gst_index_factory_new),
19644         (gst_index_factory_destroy), (gst_index_factory_find),
19645         (gst_index_factory_create), (gst_index_factory_make):
19646         * gst/gstindexfactory.h:
19647         * gst/gstpluginfeature.c:
19648         * gst/gstpluginfeature.h:
19649         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19650           more docs inlined, splitted gstindex.{c,h}
19651
19652 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19653
19654         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19655           fix a leak
19656
19657 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19658
19659         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19660           Set sync to FALSE by default.
19661
19662 2005-09-20  Wim Taymans  <wim@fluendo.com>
19663
19664         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19665         (gst_base_sink_init):
19666         Make sync property settable from subclass.
19667
19668         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19669         (gst_fake_sink_change_state):
19670         Set sync to FALSE by default.
19671
19672 2005-09-20  Wim Taymans  <wim@fluendo.com>
19673
19674         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19675         * tools/gst-launch.c: (main):
19676         The timeout handler should have lower priority than the source
19677         so we don't timeout before popping a message with 0 timeout.
19678         Dump error messages after failed state change.
19679
19680 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19681
19682         * tools/gst-inspect.c: (print_element_properties_info):
19683           Fix two typos.
19684
19685 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19686
19687         * check/gst/gstevent.c:
19688         * gst/elements/gstfakesink.c:
19689         * gst/elements/gstfakesink.h:
19690           remove the sync property from fakesink.
19691           has the side effect of setting sync TRUE
19692           for fakesink, which is a change.  Anyone who knows how
19693           to fix this nicely in a GObject-y way, feel free.
19694
19695 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19696
19697         * docs/gst/gstreamer-docs.sgml:
19698           remove probe refsection
19699
19700 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19701
19702         * check/Makefile.am:
19703           disable valgrinding the controller test again
19704         * docs/gst/gstreamer-sections.txt:
19705           update for api-changes
19706
19707 2005-09-20  Wim Taymans  <wim@fluendo.com>
19708
19709         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19710         (gst_base_sink_set_property), (gst_base_sink_get_property),
19711         (gst_base_sink_do_sync):
19712         * gst/base/gstbasesink.h:
19713         Added sync property to basesink to disable clock sync.
19714
19715 2005-09-20  Andy Wingo  <wingo@pobox.com>
19716
19717         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19718         eating the caller's refcount.
19719
19720         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
19721         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19722         refcount.
19723
19724         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19725         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19726         of GLib 2.8 public, so we can know which refcount to check in
19727         tests.
19728
19729         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19730         (gst_object_init): Only set the gst refcount if we're going ahead
19731         with the refcount hack.
19732
19733 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19734
19735         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19736         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19737           more leaks plumbed, added more debug-logging
19738         * gst/gstmacros.h:
19739           whitespace fix
19740
19741 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19742
19743         * gst/gstmessage.c:
19744           remove include of gstmemchunk.h
19745
19746 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19747
19748         * gst/gstclock.c: (_gst_clock_id_free):
19749           Commit from the Political Party For More Atomic CVS Commits,
19750           so that people don't waste too much of their day fishing
19751           out obvious leaks out of massive commits.
19752           Oh, and fix a pretty damn obvious leak in the memchunk
19753           removal code.
19754
19755 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19756
19757         * check/Makefile.am:
19758         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19759           plug mem-leak, re-add to valgrindable tests
19760
19761 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19762
19763         * gst/gstplugin.h:
19764           unbreak the build for those who have chronic arthritis
19765           and typing "make check" is just too taxing on the hands
19766
19767 2005-09-20  Andy Wingo  <wingo@pobox.com>
19768
19769         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19770         really want it out, you should fix plugins at the same time.
19771
19772 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
19773
19774         * configure.ac:
19775         * docs/gst/gstreamer-sections.txt:
19776         * gst/gstobject.c:
19777           added missing symbols to api docs
19778           disable ref-count hack if we have glib >= 2.8
19779
19780 2005-09-19  David Schleef  <ds@schleef.org>
19781
19782         * docs/gst/Makefile.am: Ignore a few more internal headers
19783         * docs/gst/gstreamer-docs.sgml: Remove old sections
19784         * docs/gst/gstreamer-sections.txt: Remove old sections
19785         * docs/gst/tmpl/gstobject.sgml: update
19786         * docs/gst/tmpl/gstplugin.sgml: update
19787         * docs/gst/tmpl/gstpluginfeature.sgml: update
19788         * docs/random/ds/0.9-suggested-changes: update.
19789         * gst/Makefile.am: remove memchunk and trashstack, since they're
19790           not used.
19791         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19792         * gst/gst.h: don't include some headers
19793         * gst/gstchildproxy.c: add gstmarshal.h
19794         * gst/gstclock.c: Don't use memchunks
19795         * gst/gstminiobject.c: Add some docs
19796         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19797         * gst/gstobject.h: same
19798         * gst/gstplugin.c: include gstmacros.h
19799         * gst/gstplugin.h: don't include gstmacros.h, since it's private
19800         * gst/gstquery.c: don't use memchunks
19801         * gst/gstregistry.c: rename gst_registry_deinit()
19802         * gst/gstregistry.h: same
19803
19804 2005-09-19  David Schleef  <ds@schleef.org>
19805
19806         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19807         * docs/libs/gstreamer-libs-sections.txt:
19808         * docs/libs/tmpl/gstgetbits.sgml:
19809         * docs/libs/tmpl/gstputbits.sgml:
19810
19811 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
19812
19813         * win32/gstenumtypes.c:
19814         * win32/gstenumtypes.h:
19815           Update.
19816
19817 2005-09-19  Wim Taymans  <wim@fluendo.com>
19818
19819         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19820         Automatically PAUSE and RESUME a pipeline when a flushing seek
19821         is performed.
19822
19823 2005-09-19  Andy Wingo  <wingo@pobox.com>
19824
19825         * gst/gstregistry.h: Spacing fixen.
19826
19827 2005-09-19  Wim Taymans  <wim@fluendo.com>
19828
19829         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19830         Handle state change failure more correctly.
19831
19832 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19833
19834         * check/Makefile.am:
19835         * check/pipelines/cleanup.c: (run_pipeline):
19836         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19837         (GST_START_TEST):
19838           enable cleanup again after fixing the leak
19839         * docs/README:
19840           some more info on docs
19841
19842 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19843
19844         * check/Makefile.am:
19845           re-enable tests now that leaks are plugged
19846         * check/gst/gst.c:
19847         * check/gst/gstbin.c:
19848         * check/gst/gstpipeline.c:
19849           add some more tests while fixing leaks
19850         * common/check.mak:
19851           make sure binaries are uptodate when valgrinding/gdbing
19852         * gst/gst.c:
19853         * gst/gstelementfactory.c:
19854           remove a ref too many, and add a FIXME for when we get
19855           round to disposing of classes
19856         * gst/gstplugin.c:
19857           fix the refcounting when loading a plugin from a file and
19858           the code pretends that the pointer is the same even though
19859           of course it can change
19860         * gst/gstpluginfeature.c:
19861           unref plugins marked cached (a bit confusing as a name)
19862           as the docs state should be done
19863           various doc additions to explain refcounting
19864         * gst/gstregistry.c:
19865         * gst/gstregistryxml.c:
19866           debugging
19867
19868 2005-09-19  Wim Taymans  <wim@fluendo.com>
19869
19870         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19871         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19872         (send_messages), (GST_START_TEST), (gstbus_suite):
19873         * check/gst/gstpipeline.c: (GST_START_TEST):
19874         * check/pipelines/cleanup.c: (run_pipeline):
19875         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19876         (GST_START_TEST):
19877         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19878         (gst_bus_source_check), (gst_bus_source_dispatch),
19879         (gst_bus_create_watch), (gst_bus_add_watch_full),
19880         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19881         * gst/gstbus.h:
19882         * tools/gst-launch.c: (event_loop):
19883         * tools/gst-md5sum.c: (event_loop):
19884         GstBusHandler -> GstBusFunc, return value has the same meaning as
19885         any other GSource (FALSE == remove source).
19886         _add_watch() and _add_watch_full() now take a MessageType mask to
19887         only handle specific types of messages.
19888         _poll() returns the GstMessage instead of the message type to avoid
19889         race conditions.
19890         _have_pending() takes a MessageType mask now too.
19891         Added testsuite for multiple bus watches.
19892         Fix testsuites and applications for new bus API.
19893
19894 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19895
19896         * check/Makefile.am:
19897           mark a bunch of the tests as to fix until we fix them
19898
19899 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19900
19901         * common/check.mak:
19902           use GST_PLUGIN settings for valgrind tests as well, so we're
19903           valgrinding the correct thing
19904         * gst/gst.c: (init_post):
19905           plug another leak
19906
19907 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19908
19909         * gst/gst.c: (init_post), (gst_deinit):
19910         * gst/gstelementfactory.c: (gst_element_factory_class_init),
19911         (gst_element_factory_finalize), (gst_element_factory_cleanup):
19912         * gst/gstindex.c: (gst_index_factory_class_init),
19913         (gst_index_factory_finalize):
19914         * gst/gstobject.c: (gst_object_dispose):
19915         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19916         (gst_plugin_load_file), (gst_plugin_desc_free):
19917         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19918         (gst_plugin_feature_finalize):
19919         * gst/gstregistry.c: (gst_registry_class_init),
19920         (gst_registry_init), (gst_registry_finalize),
19921         (gst_registry_get_default), (gst_registry_deinit):
19922         * gst/gstregistry.h:
19923         * gst/gstregistryxml.c: (load_feature), (load_plugin):
19924           various cleanups and memleak plugging.  make valgrind is happy now.
19925
19926 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19927
19928         * common/check.mak:
19929           add a check-valgrind target
19930
19931 2005-09-18  David Schleef  <ds@schleef.org>
19932
19933         * tools/gst-inspect.c: Revert the GOption code.
19934
19935 2005-09-17  David Schleef  <ds@schleef.org>
19936
19937         * check/Makefile.am: Fix environment variables.
19938         * check/gst/gstplugin.c: Fix for API changes.
19939         * tools/gst-inspect.c: Fix for API changes.
19940         * tools/gst-xmlinspect.c: Fix for API changes.
19941         * gst/gstelementfactory.c:
19942         * gst/gstplugin.c:
19943         * gst/gstplugin.h:
19944         * gst/gstpluginfeature.c:
19945         * gst/gstpluginfeature.h:
19946         * gst/gstregistry.c:
19947         * gst/gstregistry.h:
19948         * gst/gstregistryxml.c:
19949         * gst/gsttypefind.c:
19950         * gst/gsttypefindfactory.c:
19951         * gst/indexers/gstfileindex.c:
19952         * gst/indexers/gstmemindex.c:
19953         * gst/schedulers/Makefile.am:
19954           Change registry to keep track of both plugins and features,
19955           removing the feature tracking from plugins themselves.
19956
19957 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19958
19959         * check/Makefile.am:
19960         * tools/gst-register.1.in:
19961           remove gst-register
19962
19963 2005-09-15  David Schleef  <ds@schleef.org>
19964
19965         * check/gst/gstplugin.c:
19966         * gst/gstelementfactory.c:
19967         * gst/gstplugin.c:
19968         * gst/gstpluginfeature.c:
19969         * gst/gstregistry.c:
19970           Getting tired of debugging.  Disabled all the unreffing of
19971           plugins and features, which fixes the segfaults, but of
19972           course leaks like crazy.  At least playbin works.
19973
19974 2005-09-15  David Schleef  <ds@schleef.org>
19975
19976         * check/gst/gstplugin.c: (register_check_elements),
19977         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19978         More testing
19979         * gst/elements/gsttypefindelement.c: Fix refcounting.
19980         * gst/gsttypefind.c:
19981         * gst/gsttypefindfactory.c:
19982         * gst/gsttypefindfactory.h:
19983
19984 2005-09-15  David Schleef  <ds@schleef.org>
19985
19986         * gst/gstindex.c: get refcounting correct.
19987         * gst/gstregistry.c: Handle the case where a feature/plugin is
19988           not found.
19989
19990 2005-09-15  David Schleef  <ds@schleef.org>
19991
19992         * check/Makefile.am:
19993         * check/gst/gstplugin.c: Add test
19994         * gst/gstplugin.c: Fix problems noticed by testsuite
19995         * gst/gstplugin.h:
19996         * gst/gstregistry.c: 
19997         * gst/gstregistry.h:
19998
19999 2005-09-15  David Schleef  <ds@schleef.org>
20000
20001         * gst/gstplugin.c: Implement semi-decent recounting and locking
20002           in plugins and plugin features.
20003         * gst/gstplugin.h:
20004         * gst/gstpluginfeature.c:
20005         * gst/gstpluginfeature.h:
20006         * gst/gstregistry.c:
20007
20008 2005-09-15  Michael Smith <msmith@fluendo.com>
20009
20010         * gst/gstregistry.c: (gst_registry_get_feature_list):
20011           Implement this. Makes oggdemux work; decodebin still broken.
20012
20013 2005-09-14  David Schleef  <ds@schleef.org>
20014
20015         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
20016           #316076)
20017         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
20018         * gst/check/Makefile.am:
20019         * libs/gst/controller/Makefile.am:
20020         * libs/gst/dataprotocol/Makefile.am:
20021
20022 2005-09-14  David Schleef  <ds@schleef.org>
20023
20024         * configure.ac: Remove getbits library.  Nothing uses it, and
20025           it should be in something like liboil if someone did want
20026           to use it.
20027         * libs/gst/Makefile.am:
20028         * libs/gst/getbits/Makefile.am:
20029         * libs/gst/getbits/gbtest.c:
20030         * libs/gst/getbits/getbits.c:
20031         * libs/gst/getbits/getbits.h:
20032         * libs/gst/getbits/gstgetbits_generic.c:
20033         * libs/gst/getbits/gstgetbits_i386.s:
20034         * libs/gst/getbits/gstgetbits_inl.h:
20035
20036 2005-09-14  David Schleef  <ds@schleef.org>
20037
20038         * gst/Makefile.am: Dist glib-compat.h
20039
20040 2005-09-14  David Schleef  <ds@schleef.org>
20041
20042         * configure.ac: Remove gst/registries, since it's no longer used.
20043         * gst/registries/Makefile.am:
20044         * gst/registries/gstlibxmlregistry.c:
20045         * gst/registries/gstlibxmlregistry.h:
20046         * gst/registries/gstxmlregistry.c:
20047         * gst/registries/gstxmlregistry.h:
20048         * gst/registries/registrytest.c:
20049
20050 2005-09-14  David Schleef  <ds@schleef.org>
20051
20052         * gst/glib-compat.h:
20053         * gst/gstregistryxml.c:
20054           Convergence is near.  Seriously.
20055
20056 2005-09-14  David Schleef  <ds@schleef.org>
20057
20058         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20059         * gst/glib-compat.h:
20060           Attempt #4 to appease the buildbots.
20061
20062 2005-09-14  David Schleef  <ds@schleef.org>
20063
20064         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20065           Attempt #3.
20066
20067 2005-09-14  David Schleef  <ds@schleef.org>
20068
20069         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20070         Attempt #2.
20071
20072 2005-09-14  David Schleef  <ds@schleef.org>
20073
20074         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
20075           the new functions.
20076
20077 2005-09-14  David Schleef  <ds@schleef.org>
20078
20079         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20080         * gst/glib-compat.h: Add some functions that are in newer versions
20081           of glib than we care to require.
20082         * gst/gstregistryxml.c: Use them.
20083
20084 2005-09-14  David Schleef  <ds@schleef.org>
20085
20086         * po/POTFILES.in: remove gst-register.c
20087
20088 2005-09-14  David Schleef  <ds@schleef.org>
20089
20090         * docs/gst/gstreamer-docs.sgml:
20091         * docs/gst/gstreamer-sections.txt:
20092         * docs/gst/gstreamer.types:
20093         * docs/gst/tmpl/gstelement.sgml:
20094         * docs/gst/tmpl/gstplugin.sgml:
20095         * docs/gst/tmpl/gstpluginfeature.sgml:
20096           Documentation updates for registry changes.
20097
20098 2005-09-14  David Schleef  <ds@schleef.org>
20099
20100         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
20101           because we don't require glib-2.8.
20102
20103 2005-09-14  David Schleef  <ds@schleef.org>
20104
20105         * gst/gstregistryxml.c: Added.  Essentially moved out of the
20106           registries directory.
20107
20108 2005-09-14  David Schleef  <ds@schleef.org>
20109
20110         * check/Makefile.am:
20111         * check/generic/states.c:
20112         * gst/Makefile.am:
20113         * gst/gst.c:
20114         * gst/gst.h:
20115         * gst/gst_private.h:
20116         * gst/gstelementfactory.c:
20117         * gst/gstindex.c:
20118         * gst/gstinfo.c:
20119         * gst/gstplugin.c:
20120         * gst/gstplugin.h:
20121         * gst/gstpluginfeature.c:
20122         * gst/gstpluginfeature.h:
20123         * gst/gstregistry.c:
20124         * gst/gstregistry.h:
20125         * gst/gstregistrypool.c: remove
20126         * gst/gstregistrypool.h: remove
20127         * gst/gsttypefind.c:
20128         * gst/gsttypefindfactory.c:
20129         * gst/gsturi.c:
20130         * tools/Makefile.am:
20131         * tools/gst-compprep.c:
20132         * tools/gst-inspect.c:
20133         * tools/gst-register.c: remove
20134         * tools/gst-xmlinspect.c:
20135           Registry rewrite.  Changes registry from being a file created
20136           by a tool into a simple cache file created automatically by 
20137           libgstreamer.  Removed gst-register (because it's no longer
20138           needed).  Remove registry pools, because we only have one
20139           registry implementation (XML).  Fix up other subsystems as
20140           necessary.
20141
20142 2005-09-13  Michael Smith <msmith@fluendo.com>
20143
20144         * gst/gstconfig.h.in:
20145           Don't Use windows linking attributes for MinGW. Fixes #316157
20146
20147 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20148
20149         * gst/gstutils.c: (set_state_async_thread_func),
20150         (gst_element_set_state_async):
20151           Apparently people think it's better if this function doesn't
20152           try to set the state to whatever state was asked for on the first
20153           call to this function for any object.  Seriously.
20154
20155 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20156
20157         * check/gst/gstpipeline.c: (GST_START_TEST):
20158         * docs/gst/gstreamer-sections.txt:
20159         * gst/gstutils.c: (set_state_async_thread_func),
20160         (gst_element_set_state_async):
20161         * gst/gstutils.h:
20162           add a "gst_element_set_state_async" method that
20163           sets the state and starts a thread to make sure the state
20164           change completes as best as it can
20165
20166 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20167
20168         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20169           codify design+behaviour in testsuite after discussion
20170
20171 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20172
20173         * docs/gst/tmpl/gstelement.sgml:
20174         * docs/manual/appendix-quotes.xml:
20175           add a quote
20176         * gst/gstelement.c: (gst_element_set_state):
20177           add some debug
20178
20179 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
20180
20181         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20182         (gst_base_transform_prepare_output_buf),
20183         (gst_base_transform_handle_buffer):
20184         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
20185         (gst_capsfilter_prepare_buf):
20186           Remove the requirement for sub-classes to call the parent
20187           implementation of prepare_output_buffer with a wrapper function.
20188           
20189         * gst/gsttaglist.h:
20190         * gst/gsttagsetter.h:
20191           Fix #define wrapper
20192
20193 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
20194
20195         * docs/gst/gstreamer-sections.txt:
20196           more doc cleanups
20197
20198 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20199
20200         * docs/gst/gstreamer-sections.txt:
20201         * docs/gst/tmpl/gstelement.sgml:
20202         * docs/gst/tmpl/gstplugin.sgml:
20203         * gst/gstminiobject.c:
20204         * gst/gstvalue.h:
20205           docs now stop throwing warnings
20206
20207 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20208
20209         * docs/gst/gstreamer-sections.txt:
20210         * docs/gst/gstreamer.types:
20211         * docs/gst/tmpl/gstpad.sgml:
20212         * docs/gst/tmpl/gsttypes.sgml:
20213         * gst/base/gstadapter.h:
20214         * gst/base/gstbasesink.h:
20215         * gst/base/gstbasesrc.h:
20216         * gst/gstbin.h:
20217         * gst/gstbuffer.h:
20218         * gst/gstbus.h:
20219         * gst/gstcaps.h:
20220         * gst/gstclock.h:
20221         * gst/gstelement.h:
20222         * gst/gstevent.h:
20223         * gst/gstmessage.h:
20224         * gst/gstpad.h:
20225         * gst/gststructure.c:
20226         * gst/registries/gstlibxmlregistry.h:
20227           various documentation fixes
20228
20229 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20230
20231         * docs/gst/gstreamer-sections.txt:
20232         * docs/gst/tmpl/gstvalue.sgml:
20233           rearrange gstvalue section
20234         * gst/gstutils.c: (gst_element_state_get_name):
20235           NONE -> VOID
20236         * gst/gstvalue.c: (_gst_value_initialize):
20237         * gst/gstvalue.h:
20238           doc updates
20239
20240 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
20241
20242         * check/gst-libs/controller.c:
20243           Header include fix.
20244         * gst/base/gstbasetransform.c:
20245         (gst_base_transform_default_prepare_buf),
20246         (gst_base_transform_handle_buffer):
20247         * gst/base/gstbasetransform.h:
20248           Some more basetransform changes and fixes to enable sub-classes
20249           that modify buffer metadata only.
20250         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20251         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
20252         (gst_capsfilter_prepare_buf):
20253           If the output pad has fixed allowed caps and input buffers 
20254           don't have any, set the fixed caps on outgoing buffers.
20255
20256 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
20257         * check/elements/identity.c: (GST_START_TEST):
20258           Make the error a little clearer when the test fails because
20259           identity made a copy of the buffer.
20260         * docs/gst/gstreamer-sections.txt:
20261           New symbols in gstbasetransform.h
20262         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20263         (gst_base_transform_init), (gst_base_transform_transform_size),
20264         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20265         (gst_base_transform_default_prepare_buf),
20266         (gst_base_transform_get_unit_size),
20267         (gst_base_transform_buffer_alloc),
20268         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
20269         (gst_base_transform_change_state),
20270         (gst_base_transform_set_passthrough),
20271         (gst_base_transform_set_in_place),
20272         (gst_base_transform_is_in_place):
20273         * gst/base/gstbasetransform.h:
20274           Change BaseTransform to separate in_place operate from same_caps
20275           output. in_place implies that the element can perform the transform
20276           on incoming buffers in-place, even if the caps on the output are
20277           different.
20278           Sub-class elements can now implement special buffer allocation
20279           methods for outgoing buffers if they wish to.
20280           Big documentation addition.
20281         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
20282         * gst/elements/gstelements.c:
20283           Changes for basetransform modifications.
20284         * gst/elements/Makefile.am:
20285         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
20286           Compile fix. Extra debug output.
20287
20288 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20289
20290         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
20291         (gst_pad_suite):
20292           add tests for valid pad naming
20293         * gst/check/gstcheck.c: (gst_check_log_message_func),
20294         (gst_check_log_critical_func):
20295           add ASSERT_WARNING
20296           remove printing of code, it is fragile when the code contains
20297           % and the line number is enough info
20298         * gst/check/gstcheck.h:
20299         * gst/gstpad.c: (gst_pad_template_new):
20300           fix memleaks
20301
20302 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20303
20304         * configure.ac:
20305           say what CHECK flags we use
20306         * docs/libs/gstreamer-libs.types:
20307         * libs/gst/controller/Makefile.am:
20308         * libs/gst/controller/gst-controller.c:
20309         * libs/gst/controller/gst-controller.h:
20310         * libs/gst/controller/gst-helper.c:
20311         * libs/gst/controller/gst-interpolation.c:
20312         * libs/gst/controller/gstcontroller.c:
20313         * libs/gst/controller/gsthelper.c:
20314         * libs/gst/controller/gstinterpolation.c:
20315         * tools/gst-inspect.c: (print_plugin_info):
20316           we don't use dashes in header names
20317
20318 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20319
20320         * check/Makefile.am:
20321         * check/gst/.cvsignore:
20322         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20323         (gst_pipeline_suite), (main):
20324           adding a test for pipelines and state changes
20325         * gst/gstutils.c: (get_state_func):
20326           add some debugging
20327         * gstreamer.spec.in:
20328           fix up spec file
20329
20330 2005-09-08  Michael Smith <msmith@fluendo.com>
20331
20332         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20333         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20334         (gst_file_src_is_seekable), (gst_file_src_get_size),
20335         (gst_file_src_start):
20336         * gst/elements/gstfilesrc.h:
20337           Various fixes for unseekable, unmmapable, and non-normal files, so
20338           that fallback to read() rather than mmap() works.
20339         * gst/gstevent.c: (gst_event_new_newsegment):
20340           Allow newsegment events with segment_start == segment_end, as will
20341           correctly happen if you use filesrc on a zero-size file, for
20342           example.
20343
20344 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20345
20346         * gst/gstplugin.c: (gst_plugin_load_file):
20347           Call g_module_close when we don't load the module
20348
20349         * gst/registries/gstlibxmlregistry.c:
20350         (gst_xml_registry_get_property):
20351           Port leak fix from 0.8
20352
20353 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20354
20355         * docs/gst/gstreamer-docs.sgml:
20356         * docs/gst/tmpl/.cvsignore:
20357         * docs/gst/tmpl/gsttrace.sgml:
20358         * docs/gst/tmpl/gsttrashstack.sgml:
20359         * gst/Makefile.am:
20360         * gst/gst.h:
20361         * gst/gstelement.h:
20362         * gst/gstevent.h:
20363         * gst/gstmessage.c:
20364         * gst/gstmessage.h:
20365         * gst/gsttag.c:
20366         * gst/gsttag.h:
20367         * gst/gsttaginterface.c:
20368         * gst/gsttaginterface.h:
20369         * gst/gsttaglist.c:
20370         * gst/gsttaglist.h:
20371         * gst/gsttagsetter.c:
20372         * gst/gsttagsetter.h:
20373         * gst/gsttrace.c:
20374         * gst/gsttrace.h:
20375         * gst/gsttrashstack.c:
20376           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20377           inlined docs for gsttrace, gsttrashstack
20378
20379 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20380
20381         * gst/Makefile.am:
20382         * gst/elements/gstbufferstore.h:
20383         * gst/elements/gsttypefindelement.c:
20384         * gst/elements/gsttypefindelement.h:
20385         * gst/gst.h:
20386         * gst/gsttypefind.c:
20387         * gst/gsttypefind.h:
20388         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20389         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20390         (gst_type_find_factory_dispose),
20391         (gst_type_find_factory_unload_thyself),
20392         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20393         (gst_type_find_factory_get_caps),
20394         (gst_type_find_factory_get_extensions),
20395         (gst_type_find_factory_call_function):
20396         * gst/gsttypefindfactory.h:
20397         * gst/registries/gstlibxmlregistry.c:
20398         * gst/registries/gstxmlregistry.c:
20399           splitted gsttypefind into gsttypefind, gsttypefindfactory
20400
20401 2005-09-07  Andy Wingo  <wingo@pobox.com>
20402
20403         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20404         condition whereby the pad's task function is entered before the
20405         pad_mode variable was set.
20406
20407 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20408
20409         * gst/gstpad.c: (gst_pad_alloc_buffer):
20410           Catch misbehaving pad_alloc functions that don't
20411           set up caps and do it for them.
20412
20413 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20414
20415         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20416           test for pipe!=NULL
20417         * docs/gst/tmpl/.cvsignore:
20418         * docs/gst/tmpl/gstmemchunk.sgml:
20419         * docs/gst/tmpl/gstparse.sgml:
20420         * docs/gst/tmpl/gsttaglist.sgml:
20421         * docs/gst/tmpl/gsttagsetter.sgml:
20422         * docs/gst/tmpl/gsttypefind.sgml:
20423         * docs/gst/tmpl/gsttypefindfactory.sgml:
20424         * gst/gstmemchunk.c:
20425         * gst/gstparse.c:
20426         * gst/gsttag.c:
20427         * gst/gsttaginterface.c:
20428         * gst/gsttypefind.c:
20429         * gst/gsttypefind.h:
20430           inlined more docs
20431
20432 === release 0.9.2 ===
20433
20434 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20435
20436         * NEWS:
20437         * RELEASE:
20438         * configure.ac:
20439           releasing 0.9.2, "South"
20440
20441 2005-09-05  Andy Wingo  <wingo@pobox.com>
20442
20443         * gst/registries/gstxmlregistry.h:
20444         * gst/registries/gstxmlregistry.c: Um... resurrect...
20445         
20446         * gst/registries/gstxmlregistry.h:
20447         * gst/registries/gstxmlregistry.c: and update to newer API.
20448         Incidentally they should be a bit faster now that they don't have
20449         to parse the caps.
20450         
20451 2005-09-05  Andy Wingo  <wingo@pobox.com>
20452
20453         * gst/registries/gstxmlregistry.h:
20454         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20455         replaced by the libxml registry a while back
20456
20457 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20458
20459         * docs/gst/tmpl/gstplugin.sgml:
20460         * gst/elements/gstelements.c:
20461         * gst/gst.c:
20462         * gst/gstplugin.c: (gst_plugin_register_func),
20463         (gst_plugin_desc_copy), (gst_plugin_desc_free),
20464         (gst_plugin_get_source):
20465         * gst/gstplugin.h:
20466         * gst/registries/gstlibxmlregistry.c: (load_plugin),
20467         (gst_xml_registry_save_plugin):
20468         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20469         (gst_xml_registry_save_plugin):
20470         * tools/gst-inspect.c: (print_plugin_info):
20471           add a "source" plugin description field, to represent the source
20472           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
20473           will set it to PACKAGE, which is automake's idea of the name of
20474           the source project.
20475
20476 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20477
20478         * Makefile.am:
20479         * autogen.sh:
20480         * configure.ac:
20481         * docs/Makefile.am:
20482         * docs/faq/Makefile.am:
20483         * docs/gst/tmpl/gstelement.sgml:
20484         * docs/gst/tmpl/gsttypes.sgml:
20485         * docs/htmlinstall.mak:
20486         * docs/manual/Makefile.am:
20487         * docs/pwg/Makefile.am:
20488           reorganize doc build a little
20489           split out docbook and gtk-doc stuff
20490           have two separate --enable's and enable them through autogen
20491           but disable by default in configure (to be similar to other
20492           projects)
20493         * gstreamer.spec.in:
20494           clean up docs install
20495         * po/af.po:
20496         * po/az.po:
20497         * po/ca.po:
20498         * po/cs.po:
20499         * po/de.po:
20500         * po/en_GB.po:
20501         * po/fr.po:
20502         * po/it.po:
20503         * po/nb.po:
20504         * po/nl.po:
20505         * po/ru.po:
20506         * po/sq.po:
20507         * po/sr.po:
20508         * po/sv.po:
20509         * po/tr.po:
20510         * po/uk.po:
20511         * po/vi.po:
20512           translation updates
20513
20514 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
20515
20516         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20517           Add comment.
20518           
20519         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20520         (gst_fake_sink_change_state):
20521           Make state change function thread-safe.
20522           
20523         * gst/gstpad.c: (gst_pad_alloc_buffer):
20524           Set offset on generic buffer allocated by fallback.
20525
20526 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
20527
20528         * docs/gst/gstreamer-sections.txt:
20529         * docs/gst/tmpl/gstelement.sgml:
20530         * gst/gstpad.c:
20531         * libs/gst/controller/gst-controller.c:
20532         (gst_controlled_property_set_interpolation_mode),
20533         (gst_controlled_property_new),
20534         (gst_controller_find_controlled_property):
20535          run the wingo-magic script against the docs
20536
20537 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20538
20539         * docs/gst/gstreamer-docs.sgml:
20540         * docs/gst/gstreamer-sections.txt:
20541         * docs/gst/tmpl/.cvsignore:
20542         * docs/gst/tmpl/gstelementdetails.sgml:
20543         * docs/gst/tmpl/gstelementfactory.sgml:
20544         * gst/gst.c:
20545         * gst/gstbus.c:
20546         * gst/gstelementfactory.c:
20547         * gst/gstelementfactory.h:
20548           merged elementdetails docs into elementfactory docs
20549           inlined both
20550
20551 2005-09-02  Andy Wingo  <wingo@pobox.com>
20552
20553         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20554         consider this enum an enum and not a flags.
20555
20556 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20557
20558         * docs/gst/gstreamer-docs.sgml:
20559         * docs/gst/tmpl/.cvsignore:
20560         * docs/gst/tmpl/gstghostpad.sgml:
20561         * docs/gst/tmpl/gstiterator.sgml:
20562         * docs/gst/tmpl/gstmacros.sgml:
20563         * docs/gst/tmpl/gstrealpad.sgml:
20564         * docs/gst/tmpl/gstregistry.sgml:
20565         * docs/gst/tmpl/gstregistrypool.sgml:
20566         * docs/gst/tmpl/gststructure.sgml:
20567         * docs/gst/tmpl/gstsystemclock.sgml:
20568         * docs/gst/tmpl/gsttrace.sgml:
20569         * gst/gstghostpad.c:
20570         * gst/gstmacros.h:
20571         * gst/gstmemchunk.c:
20572         * gst/gstmemchunk.h:
20573         * gst/gstqueue.c:
20574         * gst/gstregistry.c:
20575         * gst/gstregistrypool.c:
20576         * gst/gststructure.c:
20577         * gst/gstsystemclock.c:
20578           more docs inlined
20579
20580 2005-09-02  Andy Wingo  <wingo@pobox.com>
20581
20582         * gst/gstelement.h (GstState): Renamed from GstElementState,
20583         changed to be a normal enum instead of flags.
20584         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20585         munged to be GST_STATE_CHANGE_*.
20586         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20587         work with the new state representation.
20588         (GstStateChange): New enumeration of possible state transitions.
20589         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20590         (GstElementClass::change_state): Pass the GstStateChange along as
20591         an argument. Helps language bindings, so they don't have to use
20592         tricky lock-needing macros like GST_STATE_CHANGE ().
20593
20594         * scripts/update-states (file): New script. Run it on a file to
20595         update it for state naming and API changes. Updates files in
20596         place.
20597
20598         * All files updated for the new API.
20599
20600 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20601
20602         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20603         * gst/gstutils.c: (gst_util_set_value_from_string),
20604         (gst_util_set_object_arg):
20605           fix a bunch of unchecked return values
20606         * tools/gst-complete.c: (main):
20607         * gstreamer.spec.in:
20608           clean up a little
20609
20610 2005-09-01  Wim Taymans  <wim@fluendo.com>
20611
20612         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20613         (gst_base_sink_event), (gst_base_sink_do_sync),
20614         (gst_base_sink_handle_event):
20615         * gst/base/gstbasesink.h:
20616         Handle newsegments more correctly.
20617
20618         * gst/gstbus.c:
20619         Fix docs.
20620
20621         * gst/gstevent.c: (gst_event_new_newsegment):
20622         A newsegment cannot have a start_time of -1
20623
20624 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
20625
20626         * win32/gstenumtypes.c:
20627         * win32/gstenumtypes.h:
20628           Update
20629
20630 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20631
20632         * libs/gst/controller/gst-controller.c:
20633         (gst_controlled_property_set_interpolation_mode),
20634         (gst_controlled_property_new):
20635          fixed boolean again
20636
20637 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
20638
20639         * docs/faq/gst-uninstalled:
20640           add -good
20641         * gst/gstevent.c:
20642         * gst/gstevent.h:
20643           remove wrong docs
20644         * gst/gstutils.c: (gst_element_link_filtered):
20645         * gst/gstutils.h:
20646           add gst_element_link_filtered
20647
20648 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20649
20650         * docs/gst/gstreamer-docs.sgml:
20651         * docs/gst/gstreamer-sections.txt:
20652         * docs/gst/tmpl/.cvsignore:
20653         * docs/gst/tmpl/gsterror.sgml:
20654         * docs/gst/tmpl/gstfilter.sgml:
20655         * docs/gst/tmpl/gsturihandler.sgml:
20656         * docs/gst/tmpl/gsturitype.sgml:
20657         * docs/gst/tmpl/gstutils.sgml:
20658         * docs/gst/tmpl/gstxml.sgml:
20659         * gst/gsterror.c:
20660         * gst/gsterror.h:
20661         * gst/gstfilter.c:
20662         * gst/gsturi.c:
20663         * gst/gsturitype.c:
20664         * gst/gstutils.c:
20665         * gst/gstxml.c:
20666           inlined more docs, fixed double id-ref
20667
20668 2005-08-31  Wim Taymans  <wim@fluendo.com>
20669
20670         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20671         (gst_base_transform_handle_buffer):
20672         Passthrough elements don't need the caps as they don't care.
20673
20674 2005-08-31  Wim Taymans  <wim@fluendo.com>
20675
20676         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20677         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20678         Don't leak refcounts on buffers.
20679
20680 2005-08-31  Wim Taymans  <wim@fluendo.com>
20681
20682         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20683         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20684         (gst_base_transform_chain), (gst_base_transform_change_state):
20685         * gst/base/gstbasetransform.h:
20686         Handle the case where we are not negotiated more gracefully.
20687
20688 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
20689
20690         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20691         (gst_file_src_map_region):
20692           Set READONLY flag on mmap'ed buffers, otherwise
20693           gst_buffer_make_writable() won't work properly (#314708).
20694
20695 2005-08-31  Wim Taymans  <wim@fluendo.com>
20696
20697         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20698         passthrough elements can even do inplace on non writable
20699         buffers (as they don't touch them).
20700
20701 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20702
20703         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20704         (gst_test_mono_source_set_property),
20705         (gst_test_mono_source_class_init), (GST_START_TEST),
20706         (gst_controller_suite):
20707           more tests (hehe I have the most)
20708         * gst/gstbus.c:
20709           describe popping messages whenusing mulltiple sources
20710         * libs/gst/controller/gst-controller.c:
20711         (gst_controlled_property_set_interpolation_mode),
20712         (gst_controlled_property_new):
20713         * libs/gst/controller/gst-controller.h:
20714         * libs/gst/controller/gst-interpolation.c:
20715           implement boolean properties
20716
20717 2005-08-31  Wim Taymans  <wim@fluendo.com>
20718
20719         * gst/gstminiobject.c: (gst_mini_object_ref):
20720         Cannot assert that the refcount has to be positive
20721         since a disposed object can be resurrected.
20722
20723 2005-08-31  Wim Taymans  <wim@fluendo.com>
20724
20725         * gst/gstpad.c: (gst_pad_init):
20726         Revert change, need to first fix badly behaving 
20727         apps.
20728
20729 2005-08-30  Wim Taymans  <wim@fluendo.com>
20730
20731         * check/elements/fakesrc.c: (setup_fakesrc):
20732         * check/elements/identity.c: (setup_identity):
20733         Activate pads before using them.
20734
20735 2005-08-30  Wim Taymans  <wim@fluendo.com>
20736
20737         * gst/base/gstadapter.c: (gst_adapter_flush):
20738         Flushing out 0 bytes is ok for this function.
20739
20740         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20741         no newsegment gives a warning and sets the start/stop to 
20742         invalid.
20743
20744         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20745         (gst_base_transform_set_passthrough):
20746         Some debug info.
20747
20748         * gst/gstminiobject.c: (gst_mini_object_ref):
20749         Check refcount here too.
20750
20751         * gst/gstpad.c: (gst_pad_init):
20752         Pads are initially flushing and refusing data.
20753
20754         * gst/gstutils.c: (gst_element_link_pads_filtered):
20755         When adding a capsfilter element make sure it has the
20756         same state as the parent bin.
20757
20758 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20759
20760         * docs/gst/tmpl/.cvsignore:
20761         * docs/gst/tmpl/gstformat.sgml:
20762         * docs/gst/tmpl/gstversion.sgml:
20763         * gst/gstbus.h:
20764         * gst/gstformat.c:
20765         * gst/gstformat.h:
20766         * gst/gstversion.h.in:
20767           more docs and two more inlined
20768
20769 2005-08-30  Wim Taymans  <wim@fluendo.com>
20770
20771         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20772         Don't sync to clock.
20773
20774 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20775
20776         * docs/gst/gstreamer-sections.txt:
20777           ultral33t func10ns deserve to appear in the docs actually
20778         * docs/gst/tmpl/.cvsignore:
20779         * docs/gst/tmpl/gstcompat.sgml:
20780         * docs/gst/tmpl/gstconfig.sgml:
20781         * gst/check/gstcheck.c:
20782         * gst/gstcompat.h:
20783         * gst/gstconfig.h.in:
20784           inlined more docs
20785
20786 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20787
20788         * docs/gst/tmpl/.cvsignore:
20789         * docs/gst/tmpl/gstquery.sgml:
20790         * docs/gst/tmpl/gstutils.sgml:
20791         * gst/gstquery.c:
20792         * gst/gstquery.h:
20793           inlined and extended docs
20794
20795 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20796
20797         * check/gst-libs/controller.c: (GST_START_TEST),
20798         (gst_controller_suite):
20799           more tests
20800         * docs/gst/tmpl/gstutils.sgml:
20801         * docs/libs/gstreamer-libs-sections.txt:
20802         * docs/libs/tmpl/gstdataprotocol.sgml:
20803           include path fixes
20804         * examples/controller/audio-example.c: (main):
20805           controller example works now
20806         * gst/gstclock.h:
20807           doc fixes
20808         * tools/gst-inspect.c: (print_element_properties_info):
20809           show param spec flags
20810
20811 2005-08-29  Andy Wingo  <wingo@pobox.com>
20812
20813         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20814
20815 2005-08-28  Andy Wingo  <wingo@pobox.com>
20816
20817         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20818         as having two arguments instead of just one. Allows superclasses
20819         to access information on subclasses -- see the terrible for() loop
20820         in gtype.c:g_type_create_instance for the reason why. All callers
20821         changed.
20822
20823 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20824
20825         * docs/design/part-messages.txt:
20826           update info
20827         * docs/gst/tmpl/.cvsignore:
20828         * docs/gst/tmpl/gstcaps.sgml:
20829         * docs/gst/tmpl/gstclock.sgml:
20830         * gst/gstbus.c:
20831         * gst/gstcaps.c:
20832         * gst/gstcaps.h:
20833         * gst/gstclock.c:
20834         * gst/gstclock.h:
20835         * gst/gstmessage.c:
20836           added descriptions for bus and message
20837           inline caps and clock docs
20838
20839 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20840
20841         * gst/gstmessage.c:
20842         * gst/gstmessage.h:
20843           doc fixes
20844
20845 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20846
20847         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20848           fix div-by-zero
20849
20850 2005-08-26  Andy Wingo  <wingo@pobox.com>
20851
20852         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20853         element_set_state's return val.
20854         (test_2_elements): Add test that's been disabled for months.
20855
20856         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20857         can-activate-pull properties.
20858
20859         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20860         can-activate-pull properties. Implement is_seekable so fakesrc can
20861         operate in pull mode.
20862
20863         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20864         properties.
20865         (gst_base_sink_activate, gst_base_sink_activate_pull)
20866         (gst_base_sink_activate_push): Make activation mode choosing work.
20867         Cleanups.
20868         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20869         is right. Make pull mode work. Post an eos before pausing in pull
20870         mode.
20871         (gst_base_sink_change_state): Pay attention to the core's
20872         change_state() return val.
20873         
20874         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20875         has-getrange properties. Cleanups.
20876         
20877         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20878         has_getrange and replace with can_activate_pull and
20879         can_activate_push.
20880
20881         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20882         locking comments. Remove has_loop, has_chain and replace with
20883         can_activate_pull and can_activate_push.
20884
20885 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
20886
20887         * configure.ac:
20888         * examples/Makefile.am:
20889         * examples/metadata/Makefile.am:
20890         * examples/metadata/read-metadata.c: (message_loop),
20891         (have_pad_handler), (make_pipeline), (print_tag), (main):
20892           Add metadata reading example that loops over a list of filenames,
20893           dumping any tags found.
20894
20895         * gst/gstbus.c: (gst_bus_dispose):
20896         * gst/gstelement.c: (gst_element_dispose):
20897           Release a few potentially-held references in dispose.
20898
20899 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20900
20901         * docs/gst/tmpl/gstminiobject.sgml:
20902           do *not* add tmpl/*.sgml files to CVS!
20903
20904 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20905
20906         * libs/gst/bytestream/.cvsignore:
20907         * libs/gst/bytestream/Makefile.am:
20908         * libs/gst/bytestream/adapter.c:
20909         * libs/gst/bytestream/adapter.h:
20910         * libs/gst/bytestream/bytestream.c:
20911         * libs/gst/bytestream/bytestream.h:
20912         * libs/gst/bytestream/filepad.c:
20913         * libs/gst/bytestream/filepad.h:
20914           removing obsolete files
20915
20916 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20917
20918         * docs/gst/gstreamer-docs.sgml:
20919         * docs/libs/gstreamer-libs-docs.sgml:
20920           disabed additional index entries again, as this makes docs-gen just
20921           slow and they aren't useful yet
20922         * docs/libs/gstreamer-libs-sections.txt:
20923           little -section.txt cleanup for libs
20924
20925 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20926
20927         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20928         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20929           fix up some debugging
20930         (gst_base_transform_get_unit_size),
20931         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20932         (gst_base_transform_handle_buffer):
20933         * gst/base/gstbasetransform.h:
20934           handle and store timed NEWSEGMENT events so that subclasses that
20935           calculate time by counting samples have a segment_start time they
20936           need to add to their timestamps - see audioresample
20937
20938 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20939
20940         * gst/gstbin.h:
20941           removed ';' from the end of macro defs
20942         * docs/gst/gstreamer-docs.sgml:
20943         * docs/gst/gstreamer-sections.txt:
20944         * docs/gst/tmpl/.cvsignore:
20945         * gst/gstbus.h:
20946         * gst/gstelement.c: (gst_element_class_init),
20947         (gst_element_set_state), (activate_pads),
20948         (gst_element_save_thyself):
20949         * gst/gstevent.c: (gst_event_new_newsegment):
20950         * gst/gstevent.h:
20951         * gst/gstiterator.c:
20952         * gst/gstiterator.h:
20953         * gst/gstpad.c:
20954         * gst/gstprobe.h:
20955         * gst/gstutils.c: (gst_pad_query_convert):
20956         * gst/gstutils.h:
20957           fixed parameter name mismatches between source, header and docs
20958           added some more docs, resolved the last batch of unused elements in
20959           docs (now someone needs to doc them)
20960
20961 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20962
20963         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20964         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20965           don't walk through the plugins backwards.  Where is all this
20966           reversed logic coming from ?
20967
20968 2005-08-25  Wim Taymans  <wim@fluendo.com>
20969
20970         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20971         (gst_base_transform_transform_size),
20972         (gst_base_transform_configure_caps),
20973         (gst_base_transform_get_unit_size),
20974         (gst_base_transform_buffer_alloc),
20975         (gst_base_transform_change_state):
20976         * gst/base/gstbasetransform.h:
20977         Cache caps unit_size.
20978         Make sure we cannot negotiate up and downstream at the
20979         same time.
20980
20981 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20982
20983         * gst/gst.c: (init_pre), (init_post):
20984           register the installed plugin path after the env var
20985         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20986         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20987           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20988           directories, so the tests can prefer uninstalled over installed
20989
20990 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20991
20992         * gst/base/gstbasetransform.h:
20993           comment
20994         * gst/gstpad.c:
20995           add to docs
20996
20997 2005-08-25  Wim Taymans  <wim@fluendo.com>
20998
20999         * gst/gstbin.c: (bin_bus_handler):
21000         Be a bit more conservative about the posted message.
21001         
21002         * gst/gstbus.c: (gst_bus_post):
21003         Some cleanups, warn wrong return values.
21004
21005 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
21006
21007         * check/gst/gstbin.c: (GST_START_TEST):
21008         * gst/gstbin.c: (bin_bus_handler):
21009         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
21010         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
21011         (gst_message_new_warning), (gst_message_new_tag),
21012         (gst_message_new_state_changed), (gst_message_new_segment_start),
21013         (gst_message_new_segment_done), (gst_message_new_custom):
21014         * gst/gstmessage.h:
21015         * tools/gst-launch.c: (event_loop):
21016         * tools/gst-md5sum.c: (event_loop):
21017           Revert unpopular change for GST_MESSAGE_SRC to GObject.
21018
21019 2005-08-25  Wim Taymans  <wim@fluendo.com>
21020
21021         * check/generic/states.c: (GST_START_TEST):
21022         Cleanup can be done at the end.
21023
21024         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
21025         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
21026         (gst_task_get_state), (gst_task_start), (gst_task_pause):
21027         Oh boy.. Thanks for finding this, Thomas. 
21028
21029 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
21030
21031         * docs/gst/gstreamer.types:
21032           added missing types
21033
21034 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
21035
21036         * docs/gst/gstreamer-docs.sgml:
21037         * docs/gst/gstreamer-sections.txt:
21038         * docs/gst/tmpl/.cvsignore:
21039         * gst/gstbin.c:
21040         * gst/gstiterator.c:
21041         * gst/gstutils.c:
21042         * gst/registries/gstxmlregistry.h:
21043           added missing classes and symbols (123 more to go)
21044           removed removed symbols from section file
21045           fixed many doc-comments
21046
21047 2005-08-24  Wim Taymans  <wim@fluendo.com>
21048
21049         * check/generic/states.c: (GST_START_TEST):
21050         Make sure all tasks are stopped.
21051
21052         * check/gst/gstbin.c: (GST_START_TEST):
21053         Unref after usage for proper valgrinding.
21054
21055         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
21056         Really wait for the task to stop before destroying the
21057         mutex.
21058
21059         * gst/gstqueue.c: (gst_queue_sink_activate_push),
21060         (gst_queue_src_activate_push):
21061         Small cleanups. Don't stop the task when we did not start
21062         it.
21063
21064         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
21065         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
21066         (gst_task_get_state), (gst_task_start), (gst_task_pause),
21067         (gst_task_join):
21068         * gst/gsttask.h:
21069         Protect the stream lock with the object lock.
21070         Disallow setting the stream lock when running.
21071         Add cleanup_all to wait for the threadpool to finish.
21072         Remove code to autoallocate a mutex if none was provided.
21073         Add _join() to wait for a task to stop.
21074         Protect the thread pool with a global lock.
21075
21076 2005-08-24  Wim Taymans  <wim@fluendo.com>
21077
21078         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21079         (gst_base_sink_get_times), (gst_base_sink_do_sync),
21080         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
21081         * gst/base/gstbasesink.h:
21082         Handle newsegment events correctly.
21083         Drop buffers out of the segment range.
21084
21085 2005-08-22  Andy Wingo  <wingo@pobox.com>
21086
21087         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
21088         macro, implements an interface and gstimplementsinterface for a
21089         new type.
21090
21091 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21092
21093         * check/Makefile.am:
21094         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
21095           add a test that does a bunch of state changes on elements
21096           needs some fixing for valgrind
21097         * check/states/sinks.c: (gst_object_suite):
21098           whitespace
21099         * gst/gstcaps.h:
21100           add prototype for gst_caps_is_equal_fixed
21101         * gst/gstplugin.c:
21102         * gst/gstregistrypool.c:
21103           doc fixes
21104
21105 2005-08-24  Andy Wingo  <wingo@pobox.com>
21106
21107         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
21108         convert a negative value. Doesn't make much sense. Mostly this is
21109         here to force callers to ensure -1 maps to -1.
21110
21111 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
21112
21113         * docs/pwg/advanced-types.xml:
21114           Well done to Michael for catching my deliberate introduction
21115           of this spelling mistake. 
21116         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
21117         * gst/gstelement.h:
21118           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
21119           unlink pads before removing the element from the bin.
21120
21121 2005-08-24  Andy Wingo  <wingo@pobox.com>
21122
21123         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
21124         the same thing as GST_DEBUG=*:4.
21125         (parse_debug_level, parse_debug_category): New helper parsers.
21126
21127 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21128
21129         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21130         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
21131         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
21132         (gst_base_transform_buffer_alloc),
21133         (gst_base_transform_handle_buffer):
21134           use gboolean return values and pointers to size so we can use the
21135           full GST_BUFFER_SIZE range (guint) for buffer sizes
21136           use GstPadDirection for transform_caps
21137         * gst/base/gstbasetransform.h:
21138           rename get_size to get_unit_size since that's what it is
21139         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
21140           use GstPadDirection for transform_caps
21141         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21142         * gst/gstutils.h:
21143           cleanup and debugging
21144
21145 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
21146
21147         * gst/gstelement.c: (gst_element_class_init),
21148         (gst_element_set_state), (activate_pads),
21149         (gst_element_save_thyself):
21150         * tools/gst-compprep.c: (main):
21151         * tools/gst-inspect.c: (print_element_properties_info):
21152         * tools/gst-xmlinspect.c: (print_element_properties):
21153           Fixed long standing mem-leak
21154
21155 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
21156
21157         * check/gst/gstbin.c: (GST_START_TEST):
21158         * gst/gstbin.c: (bin_bus_handler):
21159         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
21160         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
21161         (gst_message_new_warning), (gst_message_new_tag),
21162         (gst_message_new_state_changed), (gst_message_new_segment_start),
21163         (gst_message_new_segment_done), (gst_message_new_custom):
21164         * gst/gstmessage.h:
21165         * tools/gst-launch.c: (event_loop):
21166         * tools/gst-md5sum.c: (event_loop):
21167           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
21168           that applications can sensibly post custom messages with references
21169           to their own objects.
21170
21171 2005-08-24  Andy Wingo  <wingo@pobox.com>
21172
21173         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
21174         already.
21175
21176 2005-08-24  Wim Taymans  <wim@fluendo.com>
21177
21178         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21179         (gst_base_transform_transform_caps),
21180         (gst_base_transform_transform_size),
21181         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21182         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21183         (gst_base_transform_handle_buffer):
21184         * gst/base/gstbasetransform.h:
21185         Many fixes and new features added by Thomas. Can now also do
21186         transforms with variable sizes and a custom fixate_caps function.
21187
21188 2005-08-24  Wim Taymans  <wim@fluendo.com>
21189
21190         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21191         Some debugging.
21192
21193         * gst/gstclock.h:
21194         Cast to ClockTime before formatting to time.
21195
21196         * gst/gstutils.h:
21197         Cleanups.
21198
21199 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
21200
21201         * check/gst-libs/controller.c: (GST_START_TEST),
21202         (gst_controller_suite):
21203         * docs/gst/tmpl/gstcaps.sgml:
21204         * docs/gst/tmpl/gstghostpad.sgml:
21205         * docs/gst/tmpl/gstquery.sgml:
21206         * docs/gst/tmpl/gstutils.sgml:
21207         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
21208         (gst_object_sink_values), (gst_object_get_value_arrays),
21209         (gst_object_get_value_array):
21210           gracefully handle helper method calls to objects that are not beeing
21211           controlled, added test case for that          
21212
21213 2005-08-23  Wim Taymans  <wim@fluendo.com>
21214
21215         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
21216         (gst_event_new_newsegment), (gst_event_parse_newsegment),
21217         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
21218         (gst_event_parse_qos), (gst_event_new_seek),
21219         (gst_event_parse_seek):
21220         * gst/gstevent.h:
21221         Some more debugging output and doc cleanups.
21222
21223         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21224         Fix possible deadlock.
21225
21226 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21227
21228         * docs/gst/gstreamer-docs.sgml:
21229         * docs/gst/gstreamer-sections.txt:
21230         * docs/gst/gstreamer.types:
21231         * docs/gst/tmpl/.cvsignore:
21232         * gst/gstbin.h:
21233         * gst/gstbus.c:
21234         * gst/gstelement.c:
21235         * gst/gstevent.h:
21236           added 100 symbols from gstreamer-unused.txt to the right sections
21237           fixed more broken comments
21238           added GstBus to docs
21239
21240 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21241
21242         * docs/gst/gstreamer-sections.txt:
21243         * docs/gst/tmpl/.cvsignore:
21244         * docs/gst/tmpl/gstbin.sgml:
21245         * docs/gst/tmpl/gstbuffer.sgml:
21246         * gst/base/gstbasesrc.c:
21247         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
21248         * gst/gstbuffer.c:
21249         * gst/gstbuffer.h:
21250         * tools/gst-launch.1.in:
21251           inlined more doc comments, added missing comments and fixed comments
21252           fixed typos
21253
21254 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21255
21256         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21257           some debugging
21258         * gst/gstcaps.h:
21259           whitespace fixes
21260         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
21261           more debugging
21262         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
21263         * gst/gststructure.h:
21264           add a fixate function for booleans; add a FIXME that these func
21265           names should probably be gst_structure_fixate_*
21266
21267 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21268
21269         * docs/gst/gstreamer-docs.sgml:
21270         * docs/gst/gstreamer-sections.txt:
21271         * gst/Makefile.am:
21272         * gst/gstbin.c: (gst_bin_get_type),
21273         (gst_bin_child_proxy_get_child_by_index),
21274         (gst_bin_child_proxy_get_children_count),
21275         (gst_bin_child_proxy_init):
21276         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21277         (gst_child_proxy_get_child_by_index),
21278         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
21279         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
21280         (gst_child_proxy_get), (gst_child_proxy_set_property),
21281         (gst_child_proxy_set_valist), (gst_child_proxy_set),
21282         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
21283         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
21284         * gst/gstchildproxy.h:
21285         * gst/parse/grammar.y:
21286         * tools/gst-inspect.c: (print_interfaces),
21287         (print_element_properties_info), (print_element_info):
21288           ported gstchildproxy over from 0.8
21289           ported gst-inspect fixes and enhancements over from 0.8
21290
21291 2005-08-22  Wim Taymans  <wim@fluendo.com>
21292
21293         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21294         (gst_base_transform_handle_buffer):
21295         Also call the transform function if we have ANY caps.
21296
21297         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
21298         Fix debug info.
21299
21300 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21301
21302         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
21303           Don't pretend to handle seek events if the source is not seekable
21304
21305 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21306
21307         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21308           Remove extra parameter to debug output
21309
21310         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21311         (gst_base_src_do_seek), (gst_base_src_activate_push):
21312           Fix seek event handling.
21313
21314         * gst/gstpipeline.c: (gst_pipeline_change_state):
21315         * gst/gstqueue.c: (gst_queue_handle_sink_event),
21316         (gst_queue_src_activate_push):
21317           Don't start the src pad task on FLUSH_STOP if the pad
21318           isn't linked.
21319           Debug changes.
21320
21321 2005-08-22  Wim Taymans  <wim@fluendo.com>
21322
21323         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21324         Added check for gst_static_caps_get() refcounting.
21325
21326 2005-08-22  Wim Taymans  <wim@fluendo.com>
21327
21328         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21329         Make _static_caps_get() refcounting sane.
21330         
21331         * gst/gstelement.c: (gst_element_set_state):
21332         Add g_return_val_if_fail() to protect against segfaults.
21333
21334 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
21335
21336         * docs/gst/tmpl/gstevent.sgml:
21337         * gst/gstevent.c:
21338         * gst/gstevent.h:
21339           inlined remaining docs, added missing doc comments
21340
21341 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21342
21343         * check/gst/gstbin.c: (GST_START_TEST):
21344           since we don't know when preroll is done, use refcount range
21345           check for the sink
21346         * gst/check/gstcheck.h:
21347           add macro for checking refcount range
21348
21349 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21350
21351         * check/Makefile.am:
21352           clean up environment for when registry gets built versus
21353           when actual tests are run; valgrind seems to not report
21354           leaks if GST_PLUGIN_PATH is set to some specific values
21355         * check/gst/gstbin.c: (GST_START_TEST):
21356           add more refcounting checks; maybe this exposes a
21357           preroll lock bug ?
21358         * common/check.mak:
21359         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21360         * gst/check/gstcheck.h:
21361         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21362         (gst_bin_change_state):
21363         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21364           add/fix debugging/whitespace
21365
21366 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21367
21368         * check/gst/gstevent.c: (event_probe), (test_event),
21369         (GST_START_TEST):
21370          Er, don't call gst_bin_watch_for_state_change you idiot.
21371
21372 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21373
21374         * check/Makefile.am:
21375           Use CHECK_CFLAGS and CHECK_LIBS
21376         * check/gst/gstevent.c: (event_probe), (test_event),
21377         (GST_START_TEST):
21378           Don't leak events.
21379         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21380         (gst_base_src_start), (gst_base_src_stop),
21381         (gst_base_src_activate_push), (gst_base_src_activate_pull),
21382         (gst_base_src_change_state):
21383           Sprinkle gst_base_src_stop liberally around error paths to fix
21384           problems reusing a source after failed state changes.
21385         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21386         (helper_find_suggest), (gst_type_find_helper):
21387           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21388         * gst/gstevent.h:
21389         * docs/gst/tmpl/gstevent.sgml:
21390           Migrate part of the docs from the SGML file. Wait for ensonic to
21391           tell me how I did it wrong ;)
21392         * tools/gst-typefind.c: (main):
21393           Extra robustness to state changes between files.
21394
21395 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21396
21397         * check/Makefile.am:
21398           don't valgrind the controller test - it's leaking - Stefan, HELP
21399         * gst/check/gstcheck.c: (gst_check_message_error),
21400         (gst_check_chain_func), (gst_check_setup_element),
21401         (gst_check_teardown_element), (gst_check_setup_src_pad),
21402         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21403         (gst_check_teardown_sink_pad):
21404         * gst/check/gstcheck.h:
21405           add a bunch of methods to set up elements, and src and sink pads
21406         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21407         * check/elements/identity.c: (setup_identity), (cleanup_identity),
21408         (GST_START_TEST):
21409           use them
21410         * gst/gstmessage.c:
21411         * gst/gsttag.h:
21412           whitespace/doc fixes
21413
21414 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21415
21416         * gst/gstelement.h:
21417           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21418           be handled by the application and not always printed as well
21419
21420 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21421
21422         * check/Makefile.am:
21423           set GST_TOOLS_DIR
21424         * gst/check/gstcheck.c: (gst_check_message_error):
21425         * gst/check/gstcheck.h:
21426           add a fail_unless_equals_int
21427           add fail_unless for error messages
21428
21429 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21430
21431         * check/Makefile.am:
21432         * check/gst.supp:
21433         * common/Makefile.am:
21434         * common/check.mak:
21435         * common/gst.supp:
21436           factor out some of the common stuff so we can use it
21437
21438 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21439
21440         * check/Makefile.am:
21441         * check/gst/gstiterator.c: (GST_START_TEST):
21442         * check/gst/gstsystemclock.c: (GST_START_TEST),
21443         (gst_systemclock_suite):
21444         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21445         * gst/gstclock.c:
21446           valgrind more tests
21447
21448 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21449
21450         * check/elements/.cvsignore:
21451         * check/elements/gstfakesrc.c:
21452           rename to name of element
21453         * check/elements/identity.c: (chain_func), (event_func),
21454         (setup_identity), (cleanup_identity), (GST_START_TEST),
21455         (identity_suite), (main):
21456           add a test for identity
21457         * check/Makefile.am:
21458         * pkgconfig/Makefile.am:
21459         * pkgconfig/gstreamer-check.pc.in:
21460         * pkgconfig/gstreamer-check-uninstalled.pc.in:
21461         * gst/check:
21462         * gst/Makefile.am:
21463         * configure.ac:
21464           move the check stuff to a library that gets installed
21465         * check/gst-libs/controller.c: (GST_START_TEST):
21466         * check/gst-libs/gdp.c:
21467         * check/gst/gst.c: (GST_START_TEST):
21468         * check/gst/gstbin.c:
21469         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21470         * check/gst/gstbus.c:
21471         * check/gst/gstcaps.c: (GST_START_TEST):
21472         * check/gst/gstelement.c:
21473         * check/gst/gstghostpad.c:
21474         * check/gst/gstiterator.c:
21475         * check/gst/gstmessage.c:
21476         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21477         * check/gst/gstobject.c:
21478         * check/gst/gstpad.c: (GST_START_TEST):
21479         * check/gst/gststructure.c: (GST_START_TEST):
21480         * check/gst/gstsystemclock.c: (GST_START_TEST),
21481         (gst_systemclock_suite):
21482         * check/gst/gsttag.c: (gst_tag_suite):
21483         * check/gst/gstvalue.c:
21484         * check/pipelines/cleanup.c:
21485         * check/pipelines/simple_launch_lines.c:
21486         * check/states/sinks.c:
21487           change include statement
21488
21489         * docs/gst/gstreamer-sections.txt:
21490         * docs/gst/tmpl/gstpad.sgml:
21491           document more pad stuff
21492         * gst/gstminiobject.c: (gst_mini_object_ref),
21493         (gst_mini_object_unref):
21494           debug refcounting
21495
21496 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
21497
21498         * docs/gst/tmpl/gst.sgml:
21499         * gst/gst.c:
21500           eliminate another tmpl file, fix spelling in the long-description
21501
21502 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21503
21504         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21505         (test_event), (timediff), (gstevents_suite):
21506           Should fix build on 64-bit arch's
21507
21508 2005-08-18  Andy Wingo  <wingo@pobox.com>
21509
21510         Make sure that when a pipeline goes to PLAYING, that data has
21511         actually hit the sink.
21512
21513         * check/states/sinks.c (test_sink): A sink that doesn't get any
21514         data shouldn't return SUCCESS for going to either PLAYING or
21515         PAUSED. Test also the return values on the way back down.
21516
21517         * gst/gstelement.c (gst_element_set_state): When changing the
21518         state of an element currently changing state asynchronously, go to
21519         lost-state after commiting the pending state. Makes future calls
21520         to get_state continue to return ASYNC.
21521
21522         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21523         ASYNC when going to PLAYING if we still don't have preroll, as can
21524         happen with live sources.
21525
21526 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21527
21528         * docs/pwg/advanced-types.xml:
21529           Hack long paragraph into 2 chunks as a workaround for buggy
21530           jadetex version in sid and breezy that loops infinitely and
21531           eats all RAM.
21532
21533 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21534
21535         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21536         (test_event), (timediff), (gstevents_suite):
21537           Provide more error margin in clock measurements to allow for 
21538           g_get_current_time inaccuracies.
21539
21540 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21541
21542         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21543         (test_event), (timediff), (gstevents_suite):
21544            Fix error message output so I might be able to tell why the
21545            test works here but fails on the build farm.
21546
21547 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21548
21549         * check/Makefile.am:
21550         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21551         (test_event), (timediff), (gstevents_suite), (main):
21552           I wrote a test!
21553
21554         * docs/design/part-seeking.txt:
21555           Spelling correction
21556
21557         * docs/gst/tmpl/gstevent.sgml:
21558         * docs/gst/tmpl/gstfakesrc.sgml:
21559           Docs updates.
21560
21561         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21562           Treat a buffer-without-newsegment the same as a receiving 
21563           a newsegment not in time format, and disable syncing to the clock
21564           with a warning.
21565
21566         * gst/gstbus.c: (gst_bus_set_sync_handler):
21567           Assert if anyone tries to replace the existing sync_handler for bus, 
21568           as only the owner should be setting it.
21569
21570         * gst/gstevent.h:
21571           Have a fixed set of custom event enums with events identified by
21572           their structure name (as in 0.8), rather than a free-for-all
21573           allowing collisions between enum values from different plugins.
21574
21575         * gst/gstpad.c: (gst_pad_class_init):
21576           Docs change.
21577           
21578         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21579           Handle out-of-band downstream events from the sending thread.
21580
21581 2005-08-17  Andy Wingo  <wingo@pobox.com>
21582
21583         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21584         play-timeout==0 to mean no timeout at all. In that case, don't
21585         bother with a get_state or a warning, just return directly, even
21586         if it's ASYNC.
21587
21588         * gst/base/gstbasetransform.c: Debug changes.
21589
21590         * gst/gstutils.h:
21591         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21592         ensure bins post state change messages. A bit of a hack but I can't
21593         think of a way to avoid it.
21594
21595         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21596
21597 2005-08-16  Andy Wingo  <wingo@pobox.com>
21598
21599         * gst/base/gstadapter.h:
21600         * gst/base/gstadapter.c (gst_adapter_take): New function, like
21601         peek() but you own the data. Not terribly efficient atm.
21602
21603 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21604
21605         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21606         (gst_element_found_tags):
21607         * gst/gstutils.h:
21608           Add two utility functions for tag handling.
21609
21610 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21611
21612         * docs/manual/advanced-dataaccess.xml:
21613         * docs/manual/basics-helloworld.xml:
21614           Fix docs to use _bin_add() before _link(), which fixes the examples
21615           with recent core versions (reported by Madhan Raj M
21616           <raj_madan@rediffmail.com>, #313199).
21617
21618 2005-08-16  Wim Taymans  <wim@fluendo.com>
21619
21620         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21621         Added subtract checks.
21622
21623         * docs/design/part-events.txt:
21624         Some more docs about newsegment
21625
21626         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21627         Fix FIXME
21628
21629         * gst/gstcaps.c: (gst_caps_to_string):
21630         Add comments, cleanups.
21631         
21632         * gst/gstelement.c: (gst_element_save_thyself):
21633         cleanups
21634         
21635         * gst/gstvalue.c: (gst_value_collect_int_range),
21636         (gst_string_unwrap), (gst_value_union_int_int_range),
21637         (gst_value_union_int_range_int_range),
21638         (gst_value_intersect_int_int_range),
21639         (gst_value_intersect_int_range_int_range),
21640         (gst_value_intersect_double_double_range),
21641         (gst_value_intersect_double_range_double_range),
21642         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21643         (gst_value_subtract_int_range_int),
21644         (gst_value_subtract_double_range_double),
21645         (gst_value_subtract_double_range_double_range),
21646         (gst_value_subtract_from_list), (gst_value_subtract_list),
21647         (gst_value_can_compare), (gst_value_compare_fraction):
21648         Cleanups, add comments, remove unneeded asserts.
21649
21650 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21651
21652         * tools/gst-launch.c: (event_loop):
21653           don't convert NULL structures to strings
21654
21655 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
21656
21657         * docs/gst/gstreamer-sections.txt:
21658           made some defines private
21659         * docs/gst/tmpl/gstconfig.sgml:
21660         * docs/gst/tmpl/gstqueue.sgml:
21661         * docs/gst/tmpl/gsttaglist.sgml:
21662         * docs/gst/tmpl/gsttypes.sgml:
21663         * docs/gst/tmpl/gstutils.sgml:
21664         * docs/pwg/appendix-porting.xml:
21665         * gst/base/gstbasesink.h:
21666         * gst/base/gstbasesrc.c:
21667         * gst/base/gstbasesrc.h:
21668         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21669         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21670         * gst/gstelement.c: (gst_element_class_init):
21671         * gst/gstpad.c: (gst_pad_class_init):
21672         * gst/gstqueue.c: (gst_queue_class_init):
21673         * gst/gstxml.c: (gst_xml_class_init):
21674           documented all undocumented signal inline
21675         * libs/gst/controller/gst-controller.h:
21676           added padding
21677
21678 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21679
21680         * docs/pwg/appendix-porting.xml:
21681           Document _set_link_function -> _set_setcaps_function.
21682
21683 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21684
21685         * check/Makefile.am:
21686           add a .check target for running the check
21687         * check/gst-libs/controller.c: (GST_START_TEST):
21688           cosmetic fixups
21689         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21690           complete checks for gstbuffer; would be nice if I could get the
21691           gcov stuff to work so I can see if I actually completed gstbuffer.c
21692         * check/gstcheck.h:
21693           add ASSERT_BUFFER_REFCOUNT
21694
21695 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
21696
21697         * docs/gst/gstreamer-sections.txt:
21698         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21699         * gst/gsttag.h:
21700           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21701           spew out a warning if a tag that is already registered
21702           is re-registered, unless it is re-registered with a 
21703           different type (#308438).
21704
21705 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
21706
21707         * docs/pwg/appendix-porting.xml:
21708         * docs/pwg/building-state.xml:
21709           Add some paragraphs about state changes in 0.9 to the PWG
21710           and the porting guide, in particular about the new meaning
21711           of GST_STATE_PAUSED and how to write state change functions
21712           with concurrent access by multiple threads in mind.
21713
21714 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21715
21716         * docs/gst/gstreamer-docs.sgml:
21717         * docs/libs/gstreamer-libs-docs.sgml:
21718           added deprecation and since indexes
21719         * libs/gst/controller/gst-controller.c:
21720         * libs/gst/controller/gst-helper.c:
21721           added since tags
21722
21723
21724 2005-08-11  Wim Taymans  <wim@fluendo.com>
21725
21726         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21727         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21728         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21729         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21730         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21731         (gst_ghost_pad_set_target):
21732         Actually implement (re)setting the target on a ghostpad
21733         as described in the docs.
21734
21735 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21736
21737         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21738           Check whether GST_DEBUG_NO_COLOR environment variable is
21739           set and disable coloured debug output if that is the case.
21740
21741 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21742
21743         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21744         (gst_type_find_helper):
21745           The memory returned by gst_type_find_peek() needs to
21746           stay valid until the end of a typefind function, and
21747           typefind functions may keep results from different 
21748           offsets around, so we can't just unref the buffer from
21749           the previous _peek(), but have to save all buffers 
21750           returned by _peek() until typefinding is done and only
21751           free them then.
21752
21753 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
21754
21755         * docs/gst/gstreamer-sections.txt:
21756         * gst/gstutils.h:
21757           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21758
21759 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21760
21761         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21762           Fix a pretty good memleak.
21763
21764 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21765
21766         * gst/gstiterator.h:
21767           Fix wrong include and 'make distcheck'.
21768
21769 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21770
21771         * gst/gstbin.c: (bin_bus_handler):
21772           Use gst_element_post_message() instead.
21773
21774 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21775
21776         * gst/base/gstadapter.h:
21777         * gst/base/gstbasesink.h:
21778         * gst/base/gstbasesrc.h:
21779         * gst/base/gstbasetransform.h:
21780         * gst/base/gstcollectpads.h:
21781         * gst/base/gstpushsrc.h:
21782         * gst/gstiterator.h:
21783           Add padding to our base elements' class and instance structs and
21784           to GstIterator (you will need to rebuild all plugins and apps!)
21785
21786 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21787
21788         * gst/gstbin.c: (bin_bus_handler):
21789           Make default message forwarding from child->bus to bin->bus
21790           threadsafe and make it not emit warnings if the parent has no bus.
21791
21792 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21793
21794         * gst/gstelement.c: (activate_pads):
21795           On paused->ready, set pad->caps to NULL, as is the documented
21796           behaviour in this state change. Fixes playback of series of
21797           media files when visualization is enabled in Totem.
21798
21799 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21800
21801         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21802           Allow NULL as filter-caps (which means "any").
21803
21804 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21805
21806         * docs/libs/gstreamer-libs-sections.txt:
21807         * libs/gst/controller/gst-controller.c:
21808         * libs/gst/controller/gst-controller.h:
21809         * libs/gst/controller/gst-helper.c:
21810           adding more entries to the docs and fix small doc-bugs
21811
21812 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21813
21814         * docs/gst/gstreamer-docs.sgml:
21815         * docs/gst/gstreamer-sections.txt:
21816         * docs/gst/gstreamer.types:
21817         * docs/gst/tmpl/gstbasesink.sgml:
21818         * docs/gst/tmpl/gstbasesrc.sgml:
21819         * docs/gst/tmpl/gstbasetransform.sgml:
21820         * docs/gst/tmpl/gstfakesrc.sgml:
21821         * gst/base/gstcollectpads.c:
21822         * gst/base/gstcollectpads.h:
21823         * libs/gst/controller/gst-controller.c:
21824         * libs/gst/controller/gst-controller.h:
21825         * libs/gst/controller/gst-helper.c:
21826         * libs/gst/controller/gst-interpolation.c:
21827         * libs/gst/controller/lib.c:
21828           added long/short desc for controller docs
21829           added collectpads base class docs
21830           added correct includes to base-class docs
21831
21832 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21833
21834         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21835         (gst_test_mono_source_set_property),
21836         (gst_test_mono_source_class_init), (GST_START_TEST),
21837         (gst_controller_suite):
21838         * docs/gst/gstreamer-docs.sgml:
21839         * docs/gst/gstreamer-sections.txt:
21840         * docs/gst/gstreamer.types:
21841         * docs/libs/gstreamer-libs-docs.sgml:
21842         * docs/libs/gstreamer-libs-sections.txt:
21843         * gst/base/gstadapter.c:
21844         * libs/gst/controller/gst-controller.c:
21845         (gst_controlled_property_new), (gst_controlled_property_free),
21846         (gst_controller_new_valist),
21847         (gst_controller_remove_properties_valist),
21848         (gst_controller_sink_values), (_gst_controller_finalize):
21849         * libs/gst/controller/gst-controller.h:
21850         * libs/gst/controller/gst-helper.c:
21851         (gst_object_control_properties), (gst_object_uncontrol_properties),
21852         (gst_object_get_controller), (gst_object_set_controller),
21853         (gst_object_sink_values), (gst_object_get_value_arrays),
21854         (gst_object_get_value_array):
21855           more tests (and fixes) for the controller
21856           more docs for the controller
21857           integrated companies docs for the adapter 
21858
21859 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21860
21861         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21862         (GST_START_TEST), (fakesrc_suite):
21863           add tests for sizetype
21864
21865 2005-08-04  Andy Wingo  <wingo@pobox.com>
21866
21867         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21868         fixes buffer_alloc proxying among other things.
21869
21870         * gst/base/gstbasetransform.c:
21871         * gst/base/gstbasetransform.h:
21872         Revert patch to gstbasetransform from 7-28 removing
21873         delay_configure.
21874
21875         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21876         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21877         Semantics changed, should return not the size of the output buffer
21878         but the byte size of a buffer with a given caps.
21879
21880         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21881         debug object.
21882         (gst_base_transform_configure_caps): Don't set out_size here: (in,
21883         out) are not the pad caps until setcaps finishes.
21884         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21885         not-in-place case as well. Deal with changing from in-place to
21886         not-in-place within calling pad_alloc_buffer. Still a bit
21887         concerned about the overhead here...
21888
21889 2005-08-03  Andy Wingo  <wingo@pobox.com>
21890
21891         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21892         fixating is an error.
21893
21894 2005-08-04  Edward Hervey  <edward@fluendo.com>
21895
21896         * gst/base/gstadapter.h: 
21897         Added gst_adapter_get_type() to the header
21898
21899 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21900
21901         * check/Makefile.am:
21902         * check/gst-libs/controller.c:
21903         * libs/gst/controller/gst-controller.c:
21904         (gst_controller_new_valist):
21905           added check test suite for the controller
21906         * gst/base/gstpushsrc.c:
21907           fixed a doc typo
21908
21909 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21910
21911         * docs/gst/Makefile.am:
21912         * docs/gst/gstreamer-docs.sgml:
21913         * docs/gst/gstreamer-sections.txt:
21914         * docs/gst/gstreamer.types:
21915         * docs/gst/tmpl/gstfakesrc.sgml:
21916         * gst/base/README:
21917         * gst/base/gstbasesink.c:
21918         * gst/base/gstbasesink.h:
21919         * gst/base/gstbasesrc.c:
21920         * gst/base/gstbasesrc.h:
21921         * gst/base/gstbasetransform.c:
21922         * gst/base/gstpushsrc.c:
21923         * gst/base/gstpushsrc.h:
21924           add short/long description docs to base classes
21925           add pushsrc to the docs
21926           remove consolidated doc fragments
21927
21928 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21929
21930         * configure.ac:
21931         * docs/libs/Makefile.am:
21932         * docs/libs/gstreamer-libs-docs.sgml:
21933         * docs/libs/gstreamer-libs-sections.txt:
21934         * docs/libs/gstreamer-libs.types:
21935         * examples/Makefile.am:
21936         * examples/controller/.cvsignore:
21937         * examples/controller/Makefile.am:
21938         * examples/controller/audio-example.c: (main):
21939         * libs/gst/Makefile.am:
21940         * libs/gst/controller/.cvsignore:
21941         * libs/gst/controller/Makefile.am:
21942         * libs/gst/controller/gst-controller.c:
21943         (on_object_controlled_property_changed), (gst_timed_value_compare),
21944         (gst_timed_value_find),
21945         (gst_controlled_property_set_interpolation_mode),
21946         (gst_controlled_property_new), (gst_controlled_property_free),
21947         (gst_controller_find_controlled_property),
21948         (gst_controller_new_valist), (gst_controller_new),
21949         (gst_controller_remove_properties_valist),
21950         (gst_controller_remove_properties), (gst_controller_set),
21951         (gst_controller_set_from_list), (gst_controller_unset),
21952         (gst_controller_get), (gst_controller_get_all),
21953         (gst_controller_sink_values), (gst_controller_get_value_arrays),
21954         (gst_controller_get_value_array),
21955         (gst_controller_set_interpolation_mode),
21956         (_gst_controller_finalize), (_gst_controller_init),
21957         (_gst_controller_class_init), (gst_controller_get_type):
21958         * libs/gst/controller/gst-controller.h:
21959         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21960         (g_object_uncontrol_properties), (g_object_get_controller),
21961         (g_object_set_controller), (g_object_sink_values),
21962         (g_object_get_value_arrays), (g_object_get_value_array):
21963         * libs/gst/controller/gst-interpolation.c:
21964         (gst_controlled_property_find_timed_value_node),
21965         (interpolate_none_get), (interpolate_trigger_get),
21966         (interpolate_trigger_get_value_array):
21967         * libs/gst/controller/lib.c: (gst_controller_init):
21968         * pkgconfig/Makefile.am:
21969         * pkgconfig/gstreamer-control-uninstalled.pc.in:
21970         * pkgconfig/gstreamer-control.pc.in:
21971         * testsuite/Makefile.am:
21972         * testsuite/controller/.cvsignore:
21973         * testsuite/controller/Makefile.am:
21974         * testsuite/controller/interpolator.c: (main):
21975           added controller code
21976           removed dparam pc files
21977
21978 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21979         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21980         (gst_collectpads_stop):
21981           Broadcast the condition when shutting down, to make sure we wake all
21982           threads up. Shut down pads on finalize, for safety.
21983
21984 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21985         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21986         (gst_base_transform_handle_buffer),
21987         (gst_base_transform_change_state):
21988           Handle PAUSED->READY->PAUSED transition after negotiation
21989           occurred already.
21990         * gst/gstmessage.c: (gst_message_init):
21991           Extra piece of debug for new messages.
21992
21993 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
21994
21995         * configure.ac:
21996         * docs/gst/tmpl/gstbasesrc.sgml:
21997         * docs/gst/tmpl/gstelement.sgml:
21998         * docs/gst/tmpl/gstevent.sgml:
21999         * docs/gst/tmpl/gstfakesrc.sgml:
22000         * docs/gst/tmpl/gstformat.sgml:
22001         * docs/gst/tmpl/gstghostpad.sgml:
22002         * docs/gst/tmpl/gstpad.sgml:
22003         * docs/gst/tmpl/gstquery.sgml:
22004         * docs/gst/tmpl/gststructure.sgml:
22005         * docs/gst/tmpl/gsttaglist.sgml:
22006         * docs/gst/tmpl/gstvalue.sgml:
22007         * docs/libs/gstreamer-libs-docs.sgml:
22008         * docs/libs/gstreamer-libs-sections.txt:
22009         * docs/libs/gstreamer-libs.types:
22010         * libs/gst/Makefile.am:
22011         * libs/gst/control/.cvsignore:
22012         * libs/gst/control/Makefile.am:
22013         * libs/gst/control/control.c:
22014         * libs/gst/control/control.h:
22015         * libs/gst/control/dparam.c:
22016         * libs/gst/control/dparam.h:
22017         * libs/gst/control/dparam_smooth.c:
22018         * libs/gst/control/dparam_smooth.h:
22019         * libs/gst/control/dparamcommon.h:
22020         * libs/gst/control/dparammanager.c:
22021         * libs/gst/control/dparammanager.h:
22022         * libs/gst/control/dplinearinterp.c:
22023         * libs/gst/control/dplinearinterp.h:
22024         * libs/gst/control/unitconvert.c:
22025         * libs/gst/control/unitconvert.h:
22026         * testsuite/Makefile.am:
22027         * testsuite/dynparams/.cvsignore:
22028         * testsuite/dynparams/Makefile.am:
22029         * testsuite/dynparams/dparamstest.c:
22030         * tools/Makefile.am:
22031         * tools/gst-inspect.c: (print_element_info), (main):
22032         * tools/gst-xmlinspect.c: (print_element_info), (main):
22033           deactivate and remove dparams (libgstcontrol)
22034
22035 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
22036
22037         * gst/elements/gsttypefindelement.c:
22038         (gst_type_find_element_have_type), (gst_type_find_element_init),
22039         (stop_typefinding), (gst_type_find_element_handle_event),
22040         (gst_type_find_element_chain), (gst_type_find_element_getrange):
22041         * gst/elements/gsttypefindelement.h:
22042           Set caps on all outgoing buffers, not just the first one.
22043
22044 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
22045
22046         * gst/elements/gsttypefindelement.c:
22047         (gst_type_find_element_have_type),
22048         (gst_type_find_element_check_set_buffer_caps),
22049         (gst_type_find_element_init), (stop_typefinding),
22050         (gst_type_find_element_handle_event),
22051         (gst_type_find_element_chain), (gst_type_find_element_getrange):
22052         * gst/elements/gsttypefindelement.h:
22053           Set caps on first outgoing buffer when we've found the type.
22054
22055 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
22056
22057         * docs/gst/gstreamer-docs.sgml:
22058         * docs/gst/gstreamer-sections.txt:
22059         * docs/gst/tmpl/gstscheduler.sgml:
22060         * docs/gst/tmpl/gstschedulerfactory.sgml:
22061           Remove some old cruft from docs.
22062
22063 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
22064
22065         * gst/gstpad.h:
22066           Fix inline docs for GstPadLinkReturn.
22067           
22068         * gst/gststructure.c: (gst_structure_has_name):
22069         * gst/gststructure.h:
22070         * docs/gst/gstreamer-sections.txt:
22071           New API: gst_structure_has_name().
22072
22073 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
22074
22075         * configure.ac:
22076           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
22077           and _LARGEFILE_SOURCE in config.h as required. Do not 
22078           export those flags in our .pc files any longer (#142209).
22079
22080           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
22081
22082         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
22083         (gst_file_sink_do_seek), (gst_file_sink_event),
22084         (gst_file_sink_get_current_offset), (gst_file_sink_render):
22085           Redo seek/tell calls with large file support in mind; add some
22086           debugging messages; add log message that tells us when large
22087           file support is unavailable or not enabled for some reason.
22088
22089         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
22090           Add log message that tells us when large file support 
22091           is unavailable or not enabled for some reason.
22092
22093 2005-07-29  Wim Taymans  <wim@fluendo.com>
22094
22095         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
22096         Added test for removing an element with ghostpad from a bin.
22097         Fixed test as current implementation does the right thing.
22098
22099         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
22100         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
22101         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
22102         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
22103         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
22104         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
22105         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
22106         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22107         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
22108         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
22109         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
22110         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
22111         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
22112         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
22113         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
22114         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
22115         * gst/gstghostpad.h:
22116         Clean up ghostpads, remove properties for internal stuff.
22117         Make threadsafe.
22118         Fix refcounting.
22119         Prepare for switching targets, not all use cases work yet.
22120
22121 2005-07-29  Wim Taymans  <wim@fluendo.com>
22122
22123         * docs/design/part-gstghostpad.txt:
22124         Small update.
22125
22126         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
22127         (gst_bin_remove_func):
22128         Unlinking pads while holding the bin LOCK is not a good
22129         idea.
22130
22131         * gst/gstpad.c: (gst_pad_class_init),
22132         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
22133         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
22134         No prob setting template after creating the pad.
22135
22136 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
22137
22138         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
22139         (gst_bus_peek), (gst_bus_source_dispatch),
22140         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
22141         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
22142           gst_bus_poll may be called from other threads. Handle
22143           this nicely by not making poll_data disappear off the
22144           stack once gst_bus_poll returns.
22145           gst_bus_peek now increments the refcount on the returned
22146           message.
22147
22148 2005-07-29  Wim Taymans  <wim@fluendo.com>
22149
22150         * docs/design/part-gstghostpad.txt:
22151         Overview of current GhostPad datastructures and use
22152         cases for changing the target.
22153
22154 2005-07-28  Wim Taymans  <wim@fluendo.com>
22155
22156         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22157         Added checks for hierarchy consistency whan adding linked
22158         elements to bins.
22159
22160         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22161         Added check to test element scheduling without bin/pipeline.
22162
22163         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22164         First add elements to bin, then link.
22165         
22166         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
22167         (gst_bin_remove_func):
22168         Unlink pads from elements added/removed from bin to maintain
22169         hierarchy consistency.
22170
22171 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22172
22173         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22174         (gst_base_transform_handle_buffer):
22175         * gst/base/gstbasetransform.h:
22176           Remove broken delay_configure (fixes renegotiation of software
22177           scaling pipelines); remove some leftover printf()s.
22178
22179 2005-07-28  Wim Taymans  <wim@fluendo.com>
22180
22181         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
22182         Added some more tests for wrong hierarchy
22183
22184         * docs/design/part-overview.txt:
22185         Some updates.
22186
22187         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
22188         Cleanups.
22189
22190         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
22191         (gst_element_dispose):
22192         Some more cleanups.
22193
22194         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22195         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
22196         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22197         (gst_pad_set_caps), (gst_pad_send_event):
22198         Check for correct hierarchy when linking pads. Moving to
22199         strict requirement for ghostpads when linking elements in
22200         different bins.
22201
22202         * gst/gstpad.h:
22203         Clean ups. Added WRONG_HIERARCHY return value.
22204
22205 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22206
22207         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22208           Better debug if no transform is possible.
22209
22210 2005-07-27  Wim Taymans  <wim@fluendo.com>
22211
22212         * docs/random/wtay/network-transp:
22213         Some old doc I had.
22214
22215 2005-07-27  Wim Taymans  <wim@fluendo.com>
22216
22217         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22218         (gst_dp_event_from_packet):
22219         Fix serialization of seek events.
22220
22221 2005-07-27  Wim Taymans  <wim@fluendo.com>
22222
22223         * check/gst-libs/gdp.c: (GST_START_TEST):
22224         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22225         Fix compilation and fix event serialization.
22226
22227 2005-07-27  Wim Taymans  <wim@fluendo.com>
22228
22229         * CHANGES-0.9:
22230         * docs/design/part-TODO.txt:
22231         * docs/design/part-events.txt:
22232         Some docs updates
22233
22234         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22235         (gst_base_sink_event), (gst_base_sink_do_sync),
22236         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22237         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22238         (gst_base_src_do_seek), (gst_base_src_event_handler),
22239         (gst_base_src_loop):
22240         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22241         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22242         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22243         (gst_base_transform_event), (gst_base_transform_handle_buffer),
22244         (gst_base_transform_set_passthrough),
22245         (gst_base_transform_is_passthrough):
22246         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22247         * gst/elements/gstfilesink.c: (gst_file_sink_event):
22248         Event updates.
22249
22250         * gst/gstbuffer.h:
22251         Use faster casts.
22252
22253         * gst/gstelement.c: (gst_element_seek):
22254         * gst/gstelement.h:
22255         Update gst_element_seek.
22256
22257         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
22258         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
22259         (gst_event_new_flush_start), (gst_event_new_flush_stop),
22260         (gst_event_new_eos), (gst_event_new_newsegment),
22261         (gst_event_parse_newsegment), (gst_event_new_tag),
22262         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
22263         (gst_event_parse_qos), (gst_event_new_seek),
22264         (gst_event_parse_seek), (gst_event_new_navigation):
22265         * gst/gstevent.h:
22266         Make GstEvent use GstStructure. Add parsing code, make sure the
22267         API is sufficiently generic.
22268         Mark possible directions of events and serialization.
22269
22270         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
22271         (_gst_message_copy), (gst_message_new_segment_start),
22272         (gst_message_new_segment_done), (gst_message_new_custom),
22273         (gst_message_parse_segment_start),
22274         (gst_message_parse_segment_done):
22275         Small cleanups.
22276
22277         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22278         (gst_pad_set_caps), (gst_pad_send_event):
22279         Update for new events. 
22280         Catch events sent in wrong directions.
22281
22282         * gst/gstqueue.c: (gst_queue_link_src),
22283         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22284         (gst_queue_handle_src_query):
22285         Event updates.
22286
22287         * gst/gsttag.c:
22288         * gst/gsttag.h:
22289         Remove event code from this file.
22290
22291         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22292         (gst_dp_event_from_packet):
22293         Event updates.
22294
22295 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22296
22297         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
22298         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22299         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
22300           Make debugging actually useful.
22301
22302 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22303
22304         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
22305         (gst_pad_fixate_caps):
22306           Implement default fixation once again, so that gst_pad_fixate()
22307           actually does anything at all. This probably needs to be some
22308           sort of a last resort, and use profile-based fixation first, but
22309           since that doesn't exist yet, this is the best we have. Fixes
22310           visualization in Totem.
22311
22312 2005-07-22  Wim Taymans  <wim@fluendo.com>
22313
22314         * docs/design/part-events.txt:
22315         Small update.
22316
22317         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22318         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
22319         (gst_base_sink_activate_pull):
22320         Some more comments.
22321
22322         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22323         (gst_fake_src_create):
22324         Fix handoff marshall.
22325
22326         * gst/elements/gstidentity.c: (gst_identity_class_init),
22327         (gst_identity_transform_ip):
22328         We're a real inplace element.
22329
22330         * gst/gstbus.c: (gst_bus_post):
22331         Added some comments.
22332
22333         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22334         * tests/muxing/case1.c: (main):
22335         * tests/sched/dynamic-pipeline.c: (main):
22336         * tests/sched/interrupt1.c: (main):
22337         * tests/sched/interrupt2.c: (main):
22338         * tests/sched/interrupt3.c: (main):
22339         * tests/sched/runxml.c: (main):
22340         * tests/sched/sched-stress.c: (main):
22341         * tests/seeking/seeking1.c: (event_received), (main):
22342         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22343         (main):
22344         * tests/threadstate/threadstate3.c: (main):
22345         * tests/threadstate/threadstate4.c: (main):
22346         * tests/threadstate/threadstate5.c: (main):
22347         Fix the tests.
22348
22349 2005-07-21  Wim Taymans  <wim@fluendo.com>
22350
22351         * docs/design/part-seeking.txt:
22352         Some small additions.
22353
22354         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22355         (gst_base_sink_get_times), (gst_base_sink_do_sync),
22356         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22357         * gst/base/gstbasesink.h:
22358         discont values are gint64, handle the math correctly.
22359
22360         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22361         Make the basesrc report error if the source pad is not linked.
22362
22363         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22364         (gst_queue_loop), (gst_queue_handle_src_query),
22365         (gst_queue_src_activate_push):
22366         Make queue collect data even if the srcpad is not linked.
22367         Start pushing out data as soon as it is linked.
22368
22369         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22370         * gst/gstutils.h:
22371         Added gst_flow_get_name() to ease error reporting.
22372
22373 2005-07-20  Wim Taymans  <wim@fluendo.com>
22374
22375         * gst/gstmessage.c: (gst_message_new_segment_start),
22376         (gst_message_new_segment_done), (gst_message_parse_segment_start),
22377         (gst_message_parse_segment_done):
22378         * gst/gstmessage.h:
22379         Added a bunch of messages for advanced seeking.
22380
22381         * gst/parse/grammar.y:
22382         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22383         (gst_dpman_state_changed):
22384         Fix some new-pad -> pad-added signals
22385
22386 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22387
22388         * docs/manual/appendix-porting.xml:
22389         * docs/pwg/appendix-porting.xml:
22390           Document new-pad/state-change signal renames and the FixedList
22391           type rename.
22392
22393 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22394
22395         * docs/manual/advanced-autoplugging.xml:
22396         * docs/manual/basics-helloworld.xml:
22397         * docs/manual/basics-pads.xml:
22398         * docs/random/ds/0.9-suggested-changes:
22399         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22400         * gst/gstelement.h:
22401         * gst/gstevent.h:
22402         * gst/gstformat.h:
22403         * gst/gstquery.h:
22404         * gst/gststructure.c: (gst_structure_value_get_generic_type),
22405         (gst_structure_parse_array), (gst_structure_parse_value):
22406         * gst/gstvalue.c: (gst_type_is_fixed),
22407         (gst_value_list_prepend_value), (gst_value_list_append_value),
22408         (gst_value_list_get_size), (gst_value_list_get_value),
22409         (gst_value_transform_array_string), (gst_value_serialize_array),
22410         (gst_value_deserialize_array), (gst_value_intersect_array),
22411         (gst_value_is_fixed), (_gst_value_initialize):
22412         * gst/gstvalue.h:
22413           GstElement::new-pad -> pad-added, GstElement::state-change ->
22414           state-changed, GstValueFixedList -> GstValueArray, add format and
22415           flags as their own arguments in gst_element_seek() (should improve
22416           "bindeability"), remove function generators since they don't work
22417           under a whole bunch of compilers (they were deprecated already
22418           anyway).
22419
22420 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22421
22422         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22423         (_gst_debug_register_funcptr):
22424         * gst/gstinfo.h:
22425           Fix illegal cast on some platforms (#309253).
22426
22427 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22428
22429         * gst/gstmessage.c: (gst_message_new_custom):
22430         * gst/gstmessage.h:
22431           Add _new_custom, make _new_application a macro to _new_custom.
22432
22433 2005-07-20  Wim Taymans  <wim@fluendo.com>
22434
22435         * gst/base/gstbasesrc.c: (gst_base_src_init),
22436         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22437         * gst/base/gstbasesrc.h:
22438         Add a gboolean to decide when to push out a discont.
22439
22440         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22441         (gst_queue_loop), (gst_queue_handle_src_query),
22442         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22443         (gst_queue_set_property), (gst_queue_get_property):
22444         Some cleanups.
22445
22446         * tests/threadstate/threadstate1.c: (main):
22447         Make a thread test compile and run... very silly..
22448
22449
22450 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22451
22452         * docs/manual/appendix-porting.xml:
22453           Mention removal of libgstgconf-0.9.la and existence of gconf
22454           elements.
22455
22456 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22457
22458         * docs/pwg/advanced-clock.xml:
22459         * docs/pwg/appendix-porting.xml:
22460         * docs/pwg/intro-preface.xml:
22461         * docs/pwg/other-base.xml:
22462         * docs/pwg/other-manager.xml:
22463         * docs/pwg/other-nton.xml:
22464         * docs/pwg/other-ntoone.xml:
22465         * docs/pwg/other-oneton.xml:
22466         * docs/pwg/pwg.xml:
22467           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22468           demuxer), remove n-to-n (was never written), fix some code examples
22469           and links and update the porting section to include all this.
22470
22471 2005-07-19  Wim Taymans  <wim@fluendo.com>
22472
22473         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22474         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22475         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22476         (gst_queue_src_activate_push), (gst_queue_change_state),
22477         (gst_queue_get_property):
22478         * gst/gstqueue.h:
22479         Propagate GstFlowReturn more intelligently upstream and output
22480         an ERROR/EOS when streaming stopped due to fatal error.
22481
22482 2005-07-19  Wim Taymans  <wim@fluendo.com>
22483
22484         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22485         Don't block forever for the state change to complete, the
22486         pipeline already did with a sensible timeout.
22487
22488 2005-07-19  Wim Taymans  <wim@fluendo.com>
22489
22490         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22491         Make sure we never call the create function is we
22492         got deactivated.
22493
22494 2005-07-19  Andy Wingo  <wingo@pobox.com>
22495
22496         * gst/parse/parse.l: Attempt to solve bug #172815.
22497
22498 2005-07-19  Wim Taymans  <wim@fluendo.com>
22499
22500         * docs/design/part-clocks.txt:
22501         * docs/design/part-events.txt:
22502         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22503         Small docs updates.
22504         Only update the seeking values when we are not
22505         busy streaming.
22506
22507 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22508
22509         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22510           Oops, ignore the result of gst_pad_push_event here.
22511
22512 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22513
22514         * gst/base/gstbasesrc.c: (gst_base_src_loop),
22515         (gst_base_src_activate_push):
22516           Send discont event from the loop function, as pads
22517           aren't activated yet in the activate_push handler.
22518
22519         * gst/gstbin.c: (bin_bus_handler):
22520           Don't leak element name.
22521
22522 2005-07-18  Andy Wingo  <wingo@pobox.com>
22523
22524         * configure.ac: Use AS_LIBTOOL_TAGS.
22525
22526 2005-07-18  Wim Taymans  <wim@fluendo.com>
22527
22528         * docs/gst/gstreamer.types:
22529         Remove deleted types.
22530
22531 2005-07-18  Wim Taymans  <wim@fluendo.com>
22532
22533         * check/elements/gstfakesrc.c: (GST_START_TEST):
22534         * configure.ac:
22535         * gst/Makefile.am:
22536         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22537         (init_popt_callback):
22538         * gst/gst.h:
22539         * gst/gst_private.h:
22540         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22541         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22542         * gst/gstbin.h:
22543         * gst/gstbus.h:
22544         * gst/gstconfig.h.in:
22545         * gst/gstelement.c: (gst_element_class_init),
22546         (gst_element_set_base_time), (gst_element_get_base_time),
22547         (iterator_fold_with_resync), (gst_element_change_state),
22548         (gst_element_dispose), (gst_element_get_bus):
22549         * gst/gstelement.h:
22550         * gst/gstelementfactory.h:
22551         * gst/gsterror.c: (_gst_core_errors_init):
22552         * gst/gsterror.h:
22553         * gst/gstevent.h:
22554         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22555         * gst/gstindex.c:
22556         * gst/gstinfo.c: (_gst_debug_init):
22557         * gst/gstmessage.c: (_gst_message_copy):
22558         * gst/gstmessage.h:
22559         * gst/gstminiobject.h:
22560         * gst/gstobject.c:
22561         * gst/gstobject.h:
22562         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22563         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22564         * gst/gstpad.h:
22565         * gst/gstparse.h:
22566         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22567         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22568         (gst_pipeline_get_last_stream_time):
22569         * gst/gstpipeline.h:
22570         * gst/gstpluginfeature.h:
22571         * gst/gstquery.h:
22572         * gst/gstscheduler.c:
22573         * gst/gstscheduler.h:
22574         * gst/gststructure.h:
22575         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22576         (gst_task_finalize), (gst_task_func), (gst_task_create),
22577         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22578         (gst_task_stop), (gst_task_pause):
22579         * gst/gsttask.h:
22580         * gst/gsttypefind.h:
22581         * gst/gsttypes.h:
22582         * gst/registries/gstlibxmlregistry.c: (load_feature),
22583         (gst_xml_registry_load), (gst_xml_registry_save_feature):
22584         * gst/registries/gstxmlregistry.c:
22585         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22586         * gst/schedulers/threadscheduler.c:
22587         * libs/gst/control/dparammanager.h:
22588         * tools/gst-inspect.c: (print_element_list),
22589         (print_plugin_features), (print_element_features):
22590         * tools/gst-xmlinspect.c: (print_element_list),
22591         (print_plugin_info), (main):
22592         Removed plugable schedulers.
22593         Removed Scheduler/Manager from elements.
22594         Removed gsttypes.h, rearranged includes.
22595         Removed dependency pad<->element, element<>pipeline, and
22596         various others,  fix includes.
22597         implement gst_pad_get_parent() with gst_object_get_parent()
22598         Make GstTask sefcontained.
22599         Fix _get_state() on GstBin, it did not return ASYNC with a 0
22600         timeout.
22601         Fix endless loop in iterator_fold_with_resync.
22602
22603
22604 2005-07-18  Wim Taymans  <wim@fluendo.com>
22605
22606         * gst/Makefile.am:
22607         * gst/gstarch.h:
22608         Remove old file.
22609
22610 2005-07-18  Wim Taymans  <wim@fluendo.com>
22611
22612         * gst/Makefile.am:
22613         No more cothreads.h
22614
22615 2005-07-18  Wim Taymans  <wim@fluendo.com>
22616
22617         * gst/cothreads.c:
22618         * gst/cothreads.h:
22619         Let's remove these.
22620
22621 2005-07-18  Wim Taymans  <wim@fluendo.com>
22622
22623         * docs/design/part-dynamic.txt:
22624         * docs/design/part-events.txt:
22625         * docs/design/part-seeking.txt:
22626         Some more docs in the works.
22627
22628         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22629         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22630         (gst_base_transform_setcaps), (gst_base_transform_get_size),
22631         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22632         (gst_base_transform_handle_buffer),
22633         (gst_base_transform_sink_activate_push),
22634         (gst_base_transform_src_activate_pull),
22635         (gst_base_transform_set_passthrough),
22636         (gst_base_transform_is_passthrough):
22637         Refcounting fixes.
22638
22639         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22640         Cleanups.
22641
22642         * gst/gstevent.c: (gst_event_finalize):
22643         Set SRC to NULL.
22644
22645         * gst/gstutils.c: (gst_element_unlink),
22646         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22647         (gst_pad_proxy_setcaps):
22648         * gst/gstutils.h:
22649         Add _get_parent_element() to get a pads parent as an element.
22650
22651 2005-07-18  Wim Taymans  <wim@fluendo.com>
22652
22653         * check/gst/gstbin.c: (GST_START_TEST):
22654         Remove bogus test.
22655
22656 2005-07-18  Wim Taymans  <wim@fluendo.com>
22657
22658         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22659         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22660         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22661         (gst_base_sink_event), (gst_base_sink_do_sync),
22662         (gst_base_sink_chain), (gst_base_sink_loop),
22663         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22664         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22665         Refcounting fixes.
22666         Fix logic for returning ASYNC when not prerolled.
22667
22668 2005-07-18  Wim Taymans  <wim@fluendo.com>
22669
22670         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22671         Fix nasty refcount bug.
22672
22673 2005-07-16 Philippe Khalaf <burger@speedy.org>
22674
22675         * gst/elements/gstfdsrc.c:
22676         * gst/elements/gstfdsrc.h:
22677         * gst/elements/gstelements.c:
22678         * gst/elements/Makefile.am:
22679         Ported fdsrc to 0.9.
22680
22681 2005-07-16  Wim Taymans  <wim@fluendo.com>
22682
22683         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22684         (gst_base_sink_do_sync):
22685         Fix compile error.
22686
22687 2005-07-16  Wim Taymans  <wim@fluendo.com>
22688
22689         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22690         (gst_base_sink_event), (gst_base_sink_get_times),
22691         (gst_base_sink_do_sync), (gst_base_sink_change_state):
22692         * gst/base/gstbasesink.h:
22693         Store and use discont values when syncing buffers as described
22694         in design docs.
22695         
22696         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22697         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22698         (gst_base_src_activate_push):
22699         Push discont event when starting.
22700
22701         * gst/elements/gstidentity.c: (gst_identity_transform):
22702         Small cleanups.
22703
22704         * gst/gstbin.c: (gst_bin_change_state):
22705         Small cleanups in base_time  distribution.
22706
22707         * gst/gstelement.c: (gst_element_set_base_time),
22708         (gst_element_get_base_time), (gst_element_change_state):
22709         * gst/gstelement.h:
22710         Added methods for the base_time of the element.
22711         Some MT fixes.
22712
22713         * gst/gstpipeline.c: (gst_pipeline_send_event),
22714         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22715         (gst_pipeline_get_last_stream_time):
22716         * gst/gstpipeline.h:
22717         MT fixes.
22718         Handle seeking as described in design doc, remove stream_time
22719         hack.
22720         Cleanups clock and stream_time selection code. Added accessors
22721         for the stream_time.
22722         
22723
22724 2005-07-16  Andy Wingo  <wingo@pobox.com>
22725
22726         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22727         (#305291).
22728
22729 2005-07-16  Wim Taymans  <wim@fluendo.com>
22730
22731         * check/gst/gstbin.c: (GST_START_TEST):
22732         Make elements silent as the deep_notify refs the
22733         parent, which might make the test fail.
22734
22735         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22736         Don't hold the lock for too long.
22737
22738 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
22739
22740         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22741           Don't unref the caps we passed to gst_caps_make_writable() after
22742           passing them. gst_caps_make_writable() will do that for us.
22743
22744 2005-07-15  Andy Wingo  <wingo@pobox.com>
22745
22746         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22747         (#157311).
22748
22749         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22750         own marshalling function for the handoff signal. Properly type the
22751         buffer as a buffer. Fixes some warnings. Should do a more general
22752         solution.
22753         (gst_identity_class_init): Plug into the right marshaller.
22754
22755 2005-07-15  Wim Taymans  <wim@fluendo.com>
22756
22757         * docs/design/part-TODO.txt:
22758         * docs/design/part-clocks.txt:
22759         * docs/design/part-element-sink.txt:
22760         * docs/design/part-events.txt:
22761         * docs/design/part-gstpipeline.txt:
22762         Updated docs, mostly DISCONT related.
22763
22764 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
22765
22766         * docs/pwg/building-pads.xml:
22767           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22768
22769 2005-07-15  Andy Wingo  <wingo@pobox.com>
22770
22771         * tools/gst-typefind.c: Update, add copyright block.
22772
22773         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22774         Normalize and truncate caps before fixation.
22775
22776         * gst/gstcaps.h:
22777         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22778         discards all but the first structure from its argument.
22779
22780 2005-07-15  Wim Taymans  <wim@fluendo.com>
22781
22782         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22783         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22784         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22785         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22786         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22787         (gst_base_transform_chain), (gst_base_transform_change_state),
22788         (gst_base_transform_set_passthrough),
22789         (gst_base_transform_is_passthrough):
22790         * gst/base/gstbasetransform.h:
22791         Make passthrough work using the bufferpools.
22792         Changed API a bit, subclasses have to write into a buffer
22793         provided by the base class.
22794         More debug info in nego functions.
22795         
22796         * gst/elements/gstidentity.c: (gst_identity_init),
22797         (gst_identity_transform):
22798         Port to new base class.
22799
22800 2005-07-15  Wim Taymans  <wim@fluendo.com>
22801
22802         * gst/gstmessage.c: (gst_message_new_state_changed):
22803         * tools/gst-launch.c: (event_loop), (main):
22804         Totally dump messages in -launch with the -m option.
22805         Fix message name for State messages,
22806
22807 2005-07-14  Wim Taymans  <wim@fluendo.com>
22808
22809         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22810         Post error messages on errors.
22811
22812 2005-07-14  Wim Taymans  <wim@fluendo.com>
22813
22814         * gst/gstcaps.c: (gst_caps_do_simplify):
22815         Remove debug info.
22816
22817         * gst/gsterror.h:
22818         Define error for stream stopped.
22819
22820         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22821         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22822         Do proper return values.
22823
22824         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22825         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22826         (gst_pad_get_range):
22827         Better return values.
22828
22829         * gst/gstpad.h:
22830         Reorganise return values, add macro to check for fatal errors.
22831
22832         * gst/gstqueue.c: (gst_queue_chain):
22833         Return proper GstFlowReturn values,
22834
22835 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
22836
22837         * docs/gst/gstreamer-sections.txt:
22838         * docs/gst/gstreamer.types:
22839         * docs/gst/tmpl/gst.sgml:
22840         * docs/gst/tmpl/gstbasesink.sgml:
22841         * docs/gst/tmpl/gstbasesrc.sgml:
22842         * docs/gst/tmpl/gstbasetransform.sgml:
22843         * docs/gst/tmpl/gstbin.sgml:
22844         * docs/gst/tmpl/gstbuffer.sgml:
22845         * docs/gst/tmpl/gstcaps.sgml:
22846         * docs/gst/tmpl/gstclock.sgml:
22847         * docs/gst/tmpl/gstcompat.sgml:
22848         * docs/gst/tmpl/gstconfig.sgml:
22849         * docs/gst/tmpl/gstelement.sgml:
22850         * docs/gst/tmpl/gstelementdetails.sgml:
22851         * docs/gst/tmpl/gstelementfactory.sgml:
22852         * docs/gst/tmpl/gstenumtypes.sgml:
22853         * docs/gst/tmpl/gsterror.sgml:
22854         * docs/gst/tmpl/gstevent.sgml:
22855         * docs/gst/tmpl/gstfakesink.sgml:
22856         * docs/gst/tmpl/gstfakesrc.sgml:
22857         * docs/gst/tmpl/gstfilesink.sgml:
22858         * docs/gst/tmpl/gstfilesrc.sgml:
22859         * docs/gst/tmpl/gstfilter.sgml:
22860         * docs/gst/tmpl/gstformat.sgml:
22861         * docs/gst/tmpl/gstghostpad.sgml:
22862         * docs/gst/tmpl/gstimplementsinterface.sgml:
22863         * docs/gst/tmpl/gstindex.sgml:
22864         * docs/gst/tmpl/gstindexfactory.sgml:
22865         * docs/gst/tmpl/gstinfo.sgml:
22866         * docs/gst/tmpl/gstiterator.sgml:
22867         * docs/gst/tmpl/gstmacros.sgml:
22868         * docs/gst/tmpl/gstmemchunk.sgml:
22869         * docs/gst/tmpl/gstminiobject.sgml:
22870         * docs/gst/tmpl/gstobject.sgml:
22871         * docs/gst/tmpl/gstpad.sgml:
22872         * docs/gst/tmpl/gstpadtemplate.sgml:
22873         * docs/gst/tmpl/gstparse.sgml:
22874         * docs/gst/tmpl/gstpipeline.sgml:
22875         * docs/gst/tmpl/gstplugin.sgml:
22876         * docs/gst/tmpl/gstpluginfeature.sgml:
22877         * docs/gst/tmpl/gstquery.sgml:
22878         * docs/gst/tmpl/gstqueue.sgml:
22879         * docs/gst/tmpl/gstregistry.sgml:
22880         * docs/gst/tmpl/gstregistrypool.sgml:
22881         * docs/gst/tmpl/gstscheduler.sgml:
22882         * docs/gst/tmpl/gstschedulerfactory.sgml:
22883         * docs/gst/tmpl/gststructure.sgml:
22884         * docs/gst/tmpl/gstsystemclock.sgml:
22885         * docs/gst/tmpl/gsttaglist.sgml:
22886         * docs/gst/tmpl/gsttagsetter.sgml:
22887         * docs/gst/tmpl/gsttrace.sgml:
22888         * docs/gst/tmpl/gsttrashstack.sgml:
22889         * docs/gst/tmpl/gsttypefind.sgml:
22890         * docs/gst/tmpl/gsttypefindfactory.sgml:
22891         * docs/gst/tmpl/gsttypes.sgml:
22892         * docs/gst/tmpl/gsturihandler.sgml:
22893         * docs/gst/tmpl/gsturitype.sgml:
22894         * docs/gst/tmpl/gstutils.sgml:
22895         * docs/gst/tmpl/gstvalue.sgml:
22896         * docs/gst/tmpl/gstversion.sgml:
22897         * docs/gst/tmpl/gstxml.sgml:
22898         * docs/libs/tmpl/gstcontrol.sgml:
22899         * docs/libs/tmpl/gstdataprotocol.sgml:
22900         * docs/libs/tmpl/gstdparam.sgml:
22901         * docs/libs/tmpl/gstdplinint.sgml:
22902         * docs/libs/tmpl/gstdpman.sgml:
22903         * docs/libs/tmpl/gstdpsmooth.sgml:
22904         * docs/libs/tmpl/gstgetbits.sgml:
22905         * docs/libs/tmpl/gstunitconvert.sgml:
22906         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22907         (gst_push_src_base_init), (gst_push_src_class_init),
22908         (gst_push_src_init), (gst_push_src_create):
22909         * gst/base/gstpushsrc.h:
22910         * gst/elements/gstelements.c:
22911         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22912         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22913         (gst_fake_sink_init), (gst_fake_sink_set_property),
22914         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22915         (gst_fake_sink_event), (gst_fake_sink_preroll),
22916         (gst_fake_sink_render), (gst_fake_sink_change_state):
22917         * gst/elements/gstfakesink.h:
22918         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22919         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22920         (gst_fake_src_base_init), (gst_fake_src_class_init),
22921         (gst_fake_src_init), (gst_fake_src_event_handler),
22922         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22923         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22924         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22925         (gst_fake_src_create_buffer), (gst_fake_src_create),
22926         (gst_fake_src_start), (gst_fake_src_stop):
22927         * gst/elements/gstfakesrc.h:
22928         * gst/elements/gstfilesink.c: (_do_init),
22929         (gst_file_sink_base_init), (gst_file_sink_class_init),
22930         (gst_file_sink_init), (gst_file_sink_dispose),
22931         (gst_file_sink_set_location), (gst_file_sink_set_property),
22932         (gst_file_sink_get_property), (gst_file_sink_open_file),
22933         (gst_file_sink_close_file), (gst_file_sink_query),
22934         (gst_file_sink_event), (gst_file_sink_render),
22935         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22936         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22937         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22938         * gst/elements/gstfilesink.h:
22939         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22940         (gst_file_src_class_init), (gst_file_src_init),
22941         (gst_file_src_finalize), (gst_file_src_set_location),
22942         (gst_file_src_set_property), (gst_file_src_get_property),
22943         (gst_file_src_map_region), (gst_file_src_map_small_region),
22944         (gst_file_src_create_mmap), (gst_file_src_create_read),
22945         (gst_file_src_create), (gst_file_src_is_seekable),
22946         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22947         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22948         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22949         (gst_file_src_uri_handler_init):
22950         * gst/elements/gstfilesrc.h:
22951           more autistic cleanliness in functions/names/defines
22952
22953 2005-07-13  Andy Wingo  <wingo@pobox.com>
22954
22955         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22956         source couldn't negotiate.
22957
22958         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22959         connections again.
22960
22961         * gst/gstutils.h:
22962         * gst/gstutils.c (gst_element_link_pads_filtered): New old
22963         function. I am channeling Hades. Put your boots on suckers!!!
22964
22965 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22966
22967         * testsuite/caps/Makefile.am:
22968         * testsuite/caps/value_compare.c:
22969         * testsuite/caps/value_intersect.c:
22970         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22971           move two testsuite apps over to the check dir
22972
22973 2005-07-12  Wim Taymans  <wim@fluendo.com>
22974
22975         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22976         Added more debug info in the negotiate process.
22977
22978         * gst/gstmessage.h:
22979         Prepare for segment playback.
22980
22981         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22982         Better debugging.
22983
22984         * gst/gstutils.c:
22985         Some more docs.
22986
22987         * tools/gst-launch.c: (main):
22988         NULL pipeline on errors.
22989
22990 2005-07-12  Andy Wingo  <wingo@pobox.com>
22991
22992         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22993         not it comes from a malloc region. Make sure our copy gets freed.
22994
22995 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22996
22997         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22998         * check/gst/gstmessage.c: (GST_START_TEST):
22999         * check/gst/gststructure.c: (GST_START_TEST),
23000         (gst_structure_suite), (main):
23001           more testing
23002         * gst/gstelement.c: (gst_element_message_full):
23003           clean up GError and debug string now that they get copied
23004         * gst/gstmessage.c: (gst_message_new_error),
23005         (gst_message_new_warning), (gst_message_parse_error),
23006         (gst_message_parse_warning):
23007           use GST_TYPE_G_ERROR for structure_new, and take copies of
23008           arguments, so that we don't mess up refcounting
23009
23010 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23011
23012         * check/Makefile.am:
23013           add per-test valgrind targets
23014         * check/gst-libs/gdp.c: (GST_START_TEST),
23015         (gst_data_protocol_suite), (main):
23016           clean up
23017
23018 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23019
23020         * check/Makefile.am:
23021           instate more valgrindable tests
23022         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23023         (GST_START_TEST), (fakesrc_suite):
23024         * check/gst/gstpad.c: (GST_START_TEST):
23025         * check/gst/gststructure.c: (GST_START_TEST):
23026           fix test leaks
23027         * docs/gst/tmpl/gstminiobject.sgml:
23028         * gst/gstpad.c: (gst_pad_finalize):
23029           fix the static mutex leak
23030
23031 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23032
23033         * check/Makefile.am:
23034           add two more tests for valgrinding
23035         * check/gst/gstvalue.c: (GST_START_TEST):
23036           test refcount of deserialized buffer, found a leak
23037         * docs/gst/gstreamer-docs.sgml:
23038         * docs/gst/gstreamer-sections.txt:
23039         * docs/gst/gstreamer.types:
23040         * docs/gst/tmpl/gstminiobject.sgml:
23041           add miniobject to docs
23042         * gst/gstminiobject.c:
23043           add some docs
23044         * gst/gstvalue.c: (gst_value_deserialize_buffer),
23045         (gst_string_unwrap):
23046           fix a hard-to-find invalid write for one of the tests
23047           fix a leak for deserialized buffers
23048
23049 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23050
23051         * docs/pwg/advanced-events.xml:
23052         * docs/pwg/advanced-request.xml:
23053         * docs/pwg/advanced-scheduling.xml:
23054         * docs/pwg/appendix-porting.xml:
23055         * docs/pwg/building-boiler.xml:
23056         * docs/pwg/intro-preface.xml:
23057         * docs/pwg/other-ntoone.xml:
23058           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
23059           of example code and explanation for pad activation, loop() and
23060           getrange() functions and a bit more. Remove old comments pointing
23061           to loop-functions.
23062         * examples/pwg/Makefile.am:
23063           Add loop/getrange examples.
23064
23065 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23066
23067         * configure.ac:
23068           check for valgrind binary + some fixes
23069         * check/gst.supp:
23070           valgrind suppressions for the tests
23071         * check/Makefile.am:
23072           add a valgrind: target that valgrinds the unit tests
23073         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
23074         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23075         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23076         * check/gst/gstghostpad.c:
23077           added some cleanup
23078         * check/gst/gstdata.c:
23079           removed
23080         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
23081         (thread_unref), (gst_mini_object_suite), (main):
23082           added
23083         * gst/gst.c: (gst_deinit):
23084         * gst/gst.h:
23085           add a method to clean up.
23086         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23087         (gst_system_clock_obtain):
23088           allow for disposing the system clock.
23089         * tools/gst-launch.c: (main):
23090           deinit
23091
23092 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23093
23094         * docs/gst/tmpl/gstbasesrc.sgml:
23095         * docs/gst/tmpl/gstfakesrc.sgml:
23096         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23097         (gst_base_src_init), (gst_base_src_set_property),
23098         (gst_base_src_get_property), (gst_base_src_get_range),
23099         (gst_base_src_start):
23100         * gst/base/gstbasesrc.h:
23101           add num-buffers property
23102         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23103         (gst_fakesrc_init), (gst_fakesrc_set_property),
23104         (gst_fakesrc_get_property), (gst_fakesrc_create),
23105         (gst_fakesrc_start):
23106           remove num-buffers property
23107
23108 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23109
23110         * docs/gst/gstreamer-sections.txt:
23111         * docs/gst/tmpl/gstbasesink.sgml:
23112         * docs/gst/tmpl/gstbasesrc.sgml:
23113         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
23114         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
23115         (gst_base_sink_finalize), (gst_base_sink_set_clock),
23116         (gst_base_sink_set_property), (gst_base_sink_get_property),
23117         (gst_base_sink_handle_object), (gst_base_sink_event),
23118         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
23119         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
23120         (gst_base_sink_loop), (gst_base_sink_deactivate),
23121         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
23122         (gst_base_sink_change_state):
23123         * gst/base/gstbasesink.h:
23124         * gst/base/gstbasesrc.h:
23125         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
23126         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23127         (gst_filesink_init):
23128           more macro splitting
23129
23130 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23131
23132         * gst/gstelement.c: (gst_element_get_bus):
23133           add debug
23134         * tools/gst-launch.c: (check_intr), (event_loop):
23135           fix bus leaks
23136
23137 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23138
23139         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
23140           fix a caps leak
23141
23142 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23143
23144         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23145         (gst_base_src_finalize):
23146           add finalize method and clean up properly
23147         * gst/gstpipeline.c: (gst_pipeline_dispose):
23148           add debug
23149
23150 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23151
23152         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
23153         (gst_bin_suite):
23154           add more things to check
23155         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
23156         * gst/gstelement.c:
23157           more debug
23158
23159 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23160
23161         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23162         (GST_START_TEST), (fakesrc_suite):
23163         * check/gst-libs/gdp.c: (GST_START_TEST):
23164         * check/gst/gst.c: (GST_START_TEST):
23165         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23166         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23167         * check/gst/gstbus.c: (GST_START_TEST):
23168         * check/gst/gstcaps.c: (GST_START_TEST):
23169         * check/gst/gstdata.c: (GST_START_TEST):
23170         * check/gst/gstelement.c: (GST_START_TEST):
23171         * check/gst/gstghostpad.c: (GST_START_TEST):
23172         * check/gst/gstiterator.c: (GST_START_TEST):
23173         * check/gst/gstmessage.c: (GST_START_TEST):
23174         * check/gst/gstobject.c: (GST_START_TEST):
23175         * check/gst/gstpad.c: (GST_START_TEST):
23176         * check/gst/gststructure.c: (GST_START_TEST):
23177         * check/gst/gstsystemclock.c: (GST_START_TEST),
23178         (gst_systemclock_suite):
23179         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
23180         * check/gst/gstvalue.c: (GST_START_TEST):
23181         * check/pipelines/cleanup.c: (GST_START_TEST):
23182         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23183         * check/states/sinks.c: (GST_START_TEST):
23184         * check/gstcheck.c: (gst_check_init):
23185         * check/gstcheck.h:
23186           add debugging category
23187           use GST_START_TEST now, so we add a debug line
23188
23189 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23190
23191         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
23192           add test for state change message on a bin
23193         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
23194           add another test
23195         * gst/gstbin.c: (gst_bin_init):
23196         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
23197         * gst/gstelement.c: (gst_element_post_message),
23198         (gst_element_set_state):
23199         * gst/gstelementfactory.c: (gst_element_factory_create):
23200         * gst/gstmessage.c: (gst_message_new):
23201         * gst/gstscheduler.c:
23202           various debugging additions and cleanups
23203
23204 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23205
23206         * check/Makefile.am:
23207         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
23208         (main):
23209           adding tests for elements
23210         * gst/gstelement.c: (gst_element_dispose):
23211
23212 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23213
23214         * gst/registries/gstlibxmlregistry.c: (load_feature):
23215           plug more leaks.  A simple gst_init() now is leakfree, yay.
23216
23217 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23218
23219         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
23220         (gst_xml_registry_load):
23221           plug another memleak
23222
23223 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23224
23225         * configure.ac:
23226           use GST_SET_ERROR_CFLAGS
23227         * docs/faq/cvs.xml:
23228           change to ERROR_CFLAGS
23229
23230 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23231
23232         * configure.ac:
23233           make GST_ERROR_CFLAGS overridable and re-enable Werror
23234         * docs/faq/cvs.xml:
23235           add a note about error CFLAGS
23236         * docs/gst/tmpl/gstfakesrc.sgml:
23237         * gst/elements/gstfakesrc.c:
23238           comment out some unused code
23239         * gst/gst.c: (split_and_iterate):
23240         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
23241         (load_feature):
23242           plug some memleaks
23243
23244 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23245
23246         * common/Makefile.am:
23247         * common/gtk-doc.mak:
23248         * docs/gst/Makefile.am:
23249           factor out gtk-doc.mak
23250
23251 2005-07-07  Wim Taymans  <wim@fluendo.com>
23252
23253         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
23254         (gst_thread_scheduler_dispose):
23255         Unlock the STREAM_LOCK completely.
23256
23257 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23258
23259         * check/Makefile.am:
23260         * check/elements/.cvsignore:
23261         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23262         (START_TEST), (fakesrc_suite), (main):
23263         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23264         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23265         (gst_fakesrc_create), (gst_fakesrc_start):
23266         * gst/elements/gstfakesrc.h:
23267           adding a first element test
23268
23269 2005-07-07  Andy Wingo  <wingo@pobox.com>
23270
23271         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
23272         debug message.
23273
23274 2005-07-07  Wim Taymans  <wim@fluendo.com>
23275
23276         * gst/gstquery.c:
23277         * gst/gstquery.h:
23278         Remove old types
23279
23280 2005-07-07  Wim Taymans  <wim@fluendo.com>
23281
23282         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23283         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
23284         Allow subclasses to implement their own negotiation.
23285
23286 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23287
23288         * docs/design/part-gstbin.txt:
23289         * docs/design/part-gstpipeline.txt:
23290           Update design notes to reflect the movement of
23291           responsibility for bus handling from GstPipeline to
23292           GstBin
23293
23294 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23295
23296         * configure.ac:
23297           Remove unnecessary queue2/3/4 examples.
23298
23299 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23300
23301         * examples/Makefile.am:
23302         * examples/helloworld/helloworld.c: (event_loop), (main):
23303         * examples/queue/queue.c: (event_loop), (main):
23304         * examples/queue2/queue2.c: (main):
23305           Update a couple of the examples to work again.
23306
23307         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23308         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
23309          Spelling corrections and extra debug.
23310         
23311         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
23312         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
23313         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
23314         * gst/gstbin.h:
23315         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23316         (gst_pipeline_change_state):
23317         * gst/gstpipeline.h:
23318           Move the bus handler for children to the GstBin, and create a
23319           separate bus for receiving messages from children to the one the
23320           bus sends 'upwards' on.
23321
23322 2005-07-06  Wim Taymans  <wim@fluendo.com>
23323
23324         * gst/base/README:
23325         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23326         (gst_base_sink_handle_object), (gst_base_sink_loop),
23327         (gst_base_sink_change_state):
23328         * gst/base/gstbasesink.h:
23329         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23330         (gst_base_src_init), (gst_base_src_setcaps),
23331         (gst_base_src_getcaps), (gst_base_src_loop),
23332         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23333         (gst_base_src_start), (gst_base_src_change_state):
23334         * gst/base/gstbasesrc.h:
23335         Make basesrc negotiate.
23336         Handle the case where preroll fails in basesink.
23337         Update README.
23338
23339 2005-07-06  Wim Taymans  <wim@fluendo.com>
23340
23341         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23342         Implement the fixate function.
23343         Clean up acceptcaps.
23344
23345 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23346
23347         * docs/pwg/building-filterfactory.xml:
23348         * docs/pwg/pwg.xml:
23349           Remove never-written filter-factory chapter; I'll add the various
23350           base classes to part 4 ("other element types") later on.
23351
23352 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23353
23354         * docs/pwg/advanced-negotiation.xml:
23355         * docs/pwg/building-boiler.xml:
23356         * docs/pwg/building-pads.xml:
23357         * docs/pwg/pwg.xml:
23358         * examples/pwg/Makefile.am:
23359           Add a chapter on caps negotiation, simplify the original code
23360           samples a bit w.r.t. caps negotiation, add link to the advanced
23361           section. Add a bunch of examples showing different use cases of
23362           different types of caps negotiation. Upstream renegotiation isn't
23363           fully documented yet since nobody knows how that works.
23364
23365 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23366
23367         * check/gst/gstpad.c:
23368         * check/gstcheck.c:
23369         * gst/gstpad.c: (gst_pad_get_internal_links_default):
23370           if pad has no parent, return NULL as list of internal links
23371
23372 2005-07-05  Andy Wingo  <wingo@pobox.com>
23373
23374         * gst/elements/gstfilesrc.c:
23375         * gst/elements/gstfakesrc.c: 
23376         * gst/base/gstpushsrc.c:
23377         * gst/base/gstbasesrc.h: 
23378         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23379         
23380 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
23381
23382         * Makefile.am:
23383           better report generation target (lcov needs a patch)
23384
23385 2005-07-05  Andy Wingo  <wingo@pobox.com>
23386
23387         * gst/elements, testsuite: Null if we got it...
23388
23389 2005-07-05  Wim Taymans  <wim@fluendo.com>
23390
23391         * configure.ac:
23392         * libs/gst/dataprotocol/Makefile.am:
23393         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23394         * libs/gst/dataprotocol/dataprotocol.h:
23395         * pkgconfig/Makefile.am:
23396         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23397         * pkgconfig/gstreamer-dataprotocol.pc.in:
23398         Ported dataprotol to 0.9. 
23399         Added pkgconfig files.
23400
23401 2005-07-05  Andy Wingo  <wingo@pobox.com>
23402
23403         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23404         Default to returning TRUE for the case when tranform_caps returns
23405         a fixed caps, like for identity or volume.
23406
23407         * check/gst/gstbus.c (pound_bus_with_messages): 
23408         * check/gst/gstmessage.c (START_TEST): 
23409         * check/pipelines/simple_launch_lines.c (got_handoff): Application
23410         message API change.
23411
23412         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23413         logic weaks here: always run transform_caps, trying passthrough
23414         operation only if the original caps intersects with the transform.
23415
23416         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23417         source and sink caps.
23418
23419         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23420         Intersect the peer caps with the pad template before going into
23421         transform_caps.
23422         (gst_base_transform_transform_caps): More debugging.
23423
23424         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23425         src argument.
23426
23427 2005-07-04  Edward Hervey  <edward@fluendo.com>
23428
23429         * gst/gstutils.c:
23430         * gst/gstutils.h:
23431         (gst_pad_add_*_probe): now returns the signal id for better wrapping
23432         in bindings.
23433
23434 2005-07-04  Andy Wingo  <wingo@pobox.com>
23435
23436         * check/gst/gstpad.c: Only set explicit caps on pads.
23437
23438 2005-07-01  Andy Wingo  <wingo@pobox.com>
23439
23440         * tests/network-clock.scm: Commentary update.
23441
23442         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23443         Didn't really make sense, not implementable with basetransform,
23444         etc.
23445         (gst_identity_transform): Unref inbuf via make_writable. Feeble
23446         attempt at implementing the sync property, needs an unlock method.
23447
23448         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23449         New func, by default returns the same caps (the identity
23450         transformation).
23451         (gst_base_transform_getcaps): Uses transform_caps to return
23452         something sensible.
23453         (gst_base_transform_setcaps): Complicated logic to get caps on
23454         both pads, even if they are different, and to call set_caps once
23455         for every time both pads get their caps set.
23456         (gst_base_transform_handle_buffer): Give the ref to the transform
23457         function. Allows in-place modification of the buffer.
23458
23459         * gst/base/gstbasetransform.h (transform_caps): New class method.
23460         Given caps on one side, what can I do on the other.
23461         (set_caps): Take two caps, one for each side of the element.
23462
23463         * gst/gstpad.h:
23464         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23465         caps in place. This is safe because we can check the mutability of
23466         the caps, and a good idea because fixate functions are just called
23467         as a matter of last resort. (Not actually implemented.)
23468         (gst_pad_set_caps): If the caps we're setting is actually the same
23469         as the existing pad caps, just update the pointer without calling
23470         setcaps. Assert that caps is either NULL or fixed, as per the
23471         docs.
23472
23473         * gst/gstghostpad.c: Update for fixate changes.
23474
23475 2005-07-02  Andy Wingo  <wingo@pobox.com>
23476
23477         * gst/gstcaps.c:
23478         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23479         two refcounts makes it immutable, which is enough. Doc more.
23480
23481 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
23482
23483         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23484           Put the mini_object into GValue as a mini_object,
23485           not a gpointer, since that's how we declared
23486           the signal.
23487
23488 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23489
23490         * examples/pwg/Makefile.am:
23491           Fix buildbot again.
23492
23493 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23494
23495         * docs/pwg/building-testapp.xml:
23496           Add extra check.
23497         * examples/pwg/Makefile.am:
23498           Fix buildbot.
23499
23500 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23501
23502         * configure.ac:
23503         * examples/Makefile.am:
23504         * examples/pwg/Makefile.am:
23505         * examples/pwg/extract.pl:
23506           Enable building the PWG examples.
23507         * docs/pwg/advanced-interfaces.xml:
23508           Add URI interface stub.
23509         * docs/pwg/advanced-types.xml:
23510         * docs/pwg/other-autoplugger.xml:
23511         * docs/pwg/appendix-porting.xml:
23512         * docs/pwg/pwg.xml:
23513           Add porting guide (mostly stubs), remove autoplugging (see ADM).
23514         * docs/pwg/building-boiler.xml:
23515         * docs/pwg/building-chainfn.xml:
23516         * docs/pwg/building-pads.xml:
23517         * docs/pwg/building-props.xml:
23518         * docs/pwg/building-state.xml:
23519         * docs/pwg/building-testapp.xml:
23520           Update the building-*.xml parts for 0.9 changes. All examples
23521           code blocks compile in examples/pwg/*.
23522
23523 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23524
23525         * docs/manual/advanced-autoplugging.xml:
23526         * docs/manual/appendix-checklist.xml:
23527         * docs/manual/appendix-integration.xml:
23528         * docs/manual/highlevel-components.xml:
23529           Fix playbin/decodebin examples, update docs a bit, mention bus
23530           instead of signals in various places, mention kmplayer and
23531           kaffeine since they have a working GStreamer backend in the KDE
23532           section.
23533
23534 2005-06-30  Wim Taymans  <wim@fluendo.com>
23535
23536         * CHANGES-0.9:
23537         * docs/design/draft-ghostpads.txt:
23538         * docs/design/draft-push-pull.txt:
23539         * docs/design/draft-query.txt:
23540         * docs/design/part-TODO.txt:
23541         * docs/design/part-query.txt:
23542         Added CHANGES-0.9 doc, updated status of other docs.
23543         
23544         * gst/gstquery.h:
23545         Remove "hmm" macro
23546
23547 2005-06-30  Wim Taymans  <wim@fluendo.com>
23548
23549         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23550         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23551         (gst_base_sink_change_state):
23552         * gst/base/gstbasesink.h:
23553         Some tweaks, only EOS and a buffer complete a preroll.
23554
23555 2005-06-30  Andy Wingo  <wingo@pobox.com>
23556
23557         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23558         activate_push down to the internal pad as well.
23559
23560 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
23561
23562         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23563
23564         * gst/gsttaginterface.c:
23565           Some documentation fixes (#307394 and #307397).
23566
23567 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
23568
23569         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23570
23571         * gst/gstvalue.c: (gst_value_intersect_list):
23572           Fix memleak (#309125).
23573
23574 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23575
23576         * docs/manual/advanced-dataaccess.xml:
23577           Fix fakesrc example to compile; doesn't work, bug somewhere...?
23578         * docs/manual/basics-pads.xml:
23579           Add reference for filtered caps to above chapter.
23580
23581 2005-06-30  Wim Taymans  <wim@fluendo.com>
23582
23583         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23584         (gst_bin_change_state):
23585         Probes are gone.
23586         Lame attempt at making the state change function a bit
23587         more readable.
23588
23589 2005-06-30  Wim Taymans  <wim@fluendo.com>
23590
23591         * docs/design/part-clocks.txt:
23592         * docs/design/part-element-sink.txt:
23593         * docs/design/part-events.txt:
23594         * docs/design/part-preroll.txt:
23595         * docs/design/part-states.txt:
23596         Some more tweeks and additions to the docs.
23597
23598 2005-06-30  Wim Taymans  <wim@fluendo.com>
23599
23600         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23601         (default_have_data), (gst_pad_class_init), (gst_pad_init),
23602         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23603         (gst_pad_check_pull_range), (gst_pad_get_range),
23604         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23605         * gst/gstpad.h:
23606         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23607         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23608         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23609         (gst_pad_remove_buffer_probe):
23610         Removed atomic operations, use existing LOCK.
23611         Move exception handling out of main code path.
23612
23613 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23614
23615         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23616         (silly_return_true_function), (gst_pad_class_init),
23617         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23618         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23619         (gst_pad_send_event):
23620           Fix accumulator, add default value by using _emitv() instead
23621           of _emit() for signal emission.
23622
23623 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23624
23625         * docs/manual/advanced-dataaccess.xml:
23626         * examples/manual/Makefile.am:
23627           Add probe example.
23628         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23629           Make work (??).
23630
23631 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
23632
23633         * gst/elements/gstfilesink.c: (gst_filesink_render):
23634           Simplify code so that we don't have to handle short
23635           writes and return GST_FLOW_ERROR if an error occured.
23636
23637 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23638
23639         * docs/gst/gstreamer-docs.sgml:
23640           Remove probes more.
23641
23642 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23643
23644         * docs/gst/gstreamer-sections.txt:
23645         * docs/gst/tmpl/gstpad.sgml:
23646         * docs/gst/tmpl/gstprobe.sgml:
23647         * gst/Makefile.am:
23648         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23649         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23650         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23651         (gst_pad_push_event), (gst_pad_send_event):
23652         * gst/gstpad.h:
23653         * gst/gstutils.c: (gst_pad_add_data_probe),
23654         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23655         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23656         (gst_pad_remove_buffer_probe):
23657         * gst/gstutils.h:
23658           Remove old probes, add new g-signal-based probes and some utility
23659           functions.
23660
23661 2005-06-29  Edward Hervey  <edward@fluendo.com>
23662
23663         * gst/gstelementfactory.c:
23664         * gst/gstutils.h:
23665         * gst/gstutils.c:
23666         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23667         the definition to the header file.
23668
23669 2005-06-29  Andy Wingo  <wingo@pobox.com>
23670
23671         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23672         plugins from the source directory.
23673
23674 2005-06-29  Wim Taymans  <wim@fluendo.com>
23675
23676         * docs/gst/tmpl/gstbuffer.sgml:
23677         * docs/gst/tmpl/gstclock.sgml:
23678         Some fixings for blantently wrong text.
23679
23680 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23681
23682         * check/Makefile.am:
23683         * gst/gst.c: (add_path_func), (init_pre):
23684         * gst/gstregistry.c: (gst_registry_add_path):
23685           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23686           only scan the GST_PLUGIN_PATH locations, and not add
23687           system locations
23688
23689 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23690
23691         * docs/gst/gstreamer-sections.txt:
23692         * docs/gst/tmpl/gstbasesrc.sgml:
23693         * gst/gstelement.c:
23694         * gst/gstelement.h:
23695         * gst/gstevent.c:
23696         * gst/gstutils.c:
23697           doc fixes
23698
23699 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23700
23701         * docs/manual/advanced-autoplugging.xml:
23702           Fix autoplugging example.
23703
23704 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23705
23706         * docs/manual/advanced-autoplugging.xml:
23707         * docs/manual/mime-world.fig:
23708           Try to get autoplugging working, fix type detection. Fix text
23709           in hello-world image.
23710
23711 2005-06-29  Wim Taymans  <wim@fluendo.com>
23712
23713         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23714         (gst_base_sink_change_state):
23715         Small debug line.
23716
23717         * gst/gstclock.h:
23718         map SIGNAL and BROADCAST to the right function.
23719
23720         * gst/gstobject.h:
23721         Remove redundant braces.
23722
23723         * gst/gstpad.c: (gst_pad_set_caps):
23724         Don't call setcaps function when reseting caps to NULL.
23725
23726         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23727         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23728         (gst_system_clock_id_unschedule):
23729         Use BROADCAST as this is what we do.
23730
23731 2005-06-29  Wim Taymans  <wim@fluendo.com>
23732
23733         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23734         We are actually prerolling before commiting the state
23735         change. 
23736
23737 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23738
23739         * docs/manual/advanced-clocks.xml:
23740         * docs/manual/advanced-interfaces.xml:
23741         * docs/manual/advanced-metadata.xml:
23742         * docs/manual/advanced-position.xml:
23743         * docs/manual/advanced-schedulers.xml:
23744         * docs/manual/advanced-threads.xml:
23745         * docs/manual/appendix-porting.xml:
23746         * docs/manual/basics-bins.xml:
23747         * docs/manual/basics-bus.xml:
23748         * docs/manual/basics-elements.xml:
23749         * docs/manual/basics-helloworld.xml:
23750         * docs/manual/basics-pads.xml:
23751         * docs/manual/highlevel-components.xml:
23752         * docs/manual/manual.xml:
23753         * docs/manual/thread.fig:
23754           Update (until threads/scheduling) Application Development Manual;
23755           remove GstThread, add GstBus, add simple porting checklist, add
23756           documentation for tag writing, clocks, make all examples until this
23757           part compile and run.
23758         * examples/manual/Makefile.am:
23759           Update from changes to Application Development Manual; add bus
23760           example, remove thread example.
23761
23762 2005-06-28  Wim Taymans  <wim@fluendo.com>
23763
23764         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23765         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23766         (gst_bus_source_dispatch):
23767         Add debugging messages.
23768         Make internal methods static.
23769         Handle the case where the bus is flushed in the handler.
23770         
23771         * gst/gstelement.c: (gst_element_get_bus):
23772         Fix refcount in _get_bus();
23773
23774         * gst/gstpipeline.c: (gst_pipeline_change_state),
23775         (gst_pipeline_get_clock_func):
23776         Clock refcounting fixes.
23777         Handle the case where preroll timed out more gracefully.
23778         
23779         * gst/gstsystemclock.c: (gst_system_clock_dispose):
23780         Clean up the internal thread in dispose. This is needed
23781         for subclasses that actually get disposed.
23782         
23783         * gst/schedulers/threadscheduler.c:
23784         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23785         (gst_thread_scheduler_dispose):
23786         Free thread pool in dispose.
23787
23788 2005-06-28  Andy Wingo  <wingo@pobox.com>
23789
23790         * tests/network-clock-utils.scm (debug, print-event): New utils.
23791
23792         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23793         (*packet-loss*): Unified loss probability.
23794         (network-time): Report out-of-band events.
23795
23796         * tests/plot-data: Add support for out-of-band events. Hack it
23797         into this script instead of passing it down the pipe; should fix
23798         this later.
23799
23800 2005-06-28  Wim Taymans  <wim@fluendo.com>
23801
23802         * docs/gst/gstreamer.types:
23803         * docs/gst/tmpl/gstbasesrc.sgml:
23804         * docs/gst/tmpl/gstpad.sgml:
23805         Docs fixes.
23806
23807 2005-06-28  Wim Taymans  <wim@fluendo.com>
23808
23809         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23810         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23811         (gst_proxy_pad_do_fixatecaps):
23812         Correctly proxy the check_pull_range function.
23813
23814 2005-06-28  Andy Wingo  <wingo@pobox.com>
23815
23816         * tests/network-clock.scm: Removed need for slib.
23817         
23818 2005-06-28  Wim Taymans  <wim@fluendo.com>
23819
23820         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23821         (gst_basesink_preroll_queue_flush):
23822         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23823         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23824         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23825         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23826         (gst_proxy_pad_set_property):
23827         * gst/gstpad.c:
23828         * gst/gstpad.h:
23829         * gst/gstqueue.c: (gst_queue_init):
23830         The deprecated pad loop function is removed now.
23831
23832 2005-06-28  Andy Wingo  <wingo@pobox.com>
23833
23834         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23835         New parameters, simulate network packet loss.
23836
23837         * tests/network-clock-utils.scm: Initialize the RNG.
23838
23839 2005-06-28  Wim Taymans  <wim@fluendo.com>
23840
23841         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23842         (gst_basesink_event), (gst_basesink_deactivate):
23843         Flushing the preroll queue always needs to unlock the waiters.
23844
23845 2005-06-28  Edward Hervey  <edward@fluendo.com>
23846
23847         * gst/gstpipeline.c: (gst_pipeline_send_event): 
23848         Wheen a seek was successful on a pipeline, set the stream_time to the
23849         seek offset in order to have a synchronized stream_time.
23850
23851 2005-06-28  Wim Taymans  <wim@fluendo.com>
23852
23853         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23854         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23855         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23856         (gst_proxy_pad_do_fixatecaps):
23857         Call wrapper function instead of just calling the function
23858         pointers. This takes care of any locking and whatmore.
23859
23860 2005-06-28  Wim Taymans  <wim@fluendo.com>
23861
23862         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23863         (gst_pad_pull_range):
23864         * gst/gstpad.h:
23865         CONNECTED -> LINKED.
23866
23867 2005-06-28  Andy Wingo  <wingo@pobox.com>
23868
23869         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23870         source-munging commit!!!
23871
23872         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
23873         (gst_object_sink): Take gpointer arguments, not GstObject --
23874         avoids casts. Like GLib.
23875
23876         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23877         activate.
23878
23879 2005-06-27  Andy Wingo  <wingo@pobox.com>
23880
23881         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23882         remaining buffer.
23883
23884         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23885         returns a sorted copy of the trace list.
23886         (gst_alloc_trace_print_live): New API, only prints traces with
23887         live objects. Sort the list.
23888         (gst_alloc_trace_print_all): Sort the list.
23889         (gst_alloc_trace_print): Align columns.
23890
23891         * gst/elements/gstttypefindelement.c:
23892         * gst/elements/gsttee.c:
23893         * gst/base/gstbasesrc.c:
23894         * gst/base/gstbasesink.c:
23895         * gst/base/gstbasetransform.c:
23896         * gst/gstqueue.c: Adapt for pad activation changes.
23897
23898         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23899         sched.
23900         (gst_pipeline_dispose): Drop ref on sched.
23901
23902         * gst/gstpad.c (gst_pad_init): Set the default activate func.
23903         (gst_pad_activate_default): Push mode by default.
23904         (pre_activate_switch, post_activate_switch): New stubs, things to
23905         do before and after switching activation modes on pads.
23906         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23907         the pad's activate function to choose which mode to activate.
23908         Shortcut on deactivation and call the right function directly.
23909         (gst_pad_activate_pull): New API, (de)activates a pad in pull
23910         mode.
23911         (gst_pad_activate_push): New API, same for push mode.
23912         (gst_pad_set_activate_function) 
23913         (gst_pad_set_activatepull_function) 
23914         (gst_pad_set_activatepush_function): Setters for new API.
23915
23916         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23917         Trace all miniobjects.
23918         (gst_mini_object_make_writable): Unref the arg if we copy, like
23919         gst_caps_make_writable.
23920
23921         * gst/gstmessage.c (_gst_message_initialize): No trace init.
23922
23923         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
23924         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23925         Adapt for new pad API.
23926
23927         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23928
23929         * gst/gstelement.h:
23930         * gst/gstelement.c (gst_element_iterate_src_pads) 
23931         (gst_element_iterate_sink_pads): New API functions.
23932         
23933         * gst/gstelement.c (iterator_fold_with_resync): New utility,
23934         should fold into gstiterator.c in some form.
23935         (gst_element_pads_activate): Simplified via use of fold and
23936         delegation of decisions to gstpad->activate.
23937
23938         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23939         help in debugging.
23940
23941         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23942         class once in init, like gstmessage. Didn't run into this issue
23943         but it seems correct. Don't initialize a trace, gstminiobject does
23944         that.
23945
23946         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23947         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23948         to the bus.
23949         (assert_live_count): New util function, uses alloc traces to check
23950         cleanup.
23951
23952         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23953         To be modified when unlink drops the internal pad.
23954
23955 2005-06-27  Wim Taymans  <wim@fluendo.com>
23956
23957         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23958         (gst_bin_change_state):
23959         Cleanup the get_state() function a little, make sure it
23960         iterates the same set of elements.
23961         Added stub iterate_state_order().
23962
23963 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
23964
23965         * docs/gst/gstreamer-docs.sgml:
23966         * docs/gst/gstreamer-sections.txt:
23967         * docs/gst/gstreamer.types:
23968         * docs/gst/tmpl/gstbasesink.sgml:
23969         * docs/gst/tmpl/gstbasesrc.sgml:
23970         * docs/gst/tmpl/gstbasetransform.sgml:
23971         * docs/gst/tmpl/gstelement.sgml:
23972         * docs/gst/tmpl/gstiterator.sgml:
23973         * gst/base/gstbasesrc.c:
23974         * gst/base/gstbasesrc.h:
23975         * gst/base/gstbasetransform.h:
23976         * gst/gstelement.c:
23977         * gst/gstiterator.h:
23978           adding basetransform and iterator docs
23979
23980 2005-06-27  Andy Wingo  <wingo@pobox.com>
23981
23982         * docs/design/part-activation.txt: Notes on how activation should
23983         work -- not quite implemented yet.
23984
23985 2005-06-25  Wim Taymans  <wim@fluendo.com>
23986
23987         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23988         At least get the chain function correct, needs more
23989         fixing.
23990
23991 2005-06-25  Wim Taymans  <wim@fluendo.com>
23992
23993         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23994         (gst_basesink_handle_object), (gst_basesink_event),
23995         (gst_basesink_do_sync), (gst_basesink_handle_event),
23996         (gst_basesink_change_state):
23997         * gst/gsttask.h:
23998         Right, two problems here: ghostpads don't take locks and
23999         glib _rec_mutex_lock_full() with depth==0 still locks.
24000         Catch illegal locking and g_warn them.
24001
24002 2005-06-25  Wim Taymans  <wim@fluendo.com>
24003
24004         * check/states/sinks.c: (START_TEST), (gst_object_suite):
24005         Have to check for completion now...
24006
24007 2005-06-25  Wim Taymans  <wim@fluendo.com>
24008
24009         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24010         (gst_basesink_handle_object), (gst_basesink_event),
24011         (gst_basesink_do_sync), (gst_basesink_handle_event),
24012         (gst_basesink_change_state):
24013         * gst/gstpad.h:
24014         Unlock STREAM_LOCK whatever the recursion was.
24015
24016 2005-06-25  Wim Taymans  <wim@fluendo.com>
24017
24018         * gst/base/gstbasesink.c: (gst_basesink_set_property),
24019         (gst_basesink_preroll_queue_empty),
24020         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
24021         (gst_basesink_event), (gst_basesink_do_sync),
24022         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
24023         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
24024         (gst_basesink_change_state):
24025         Reworked the base sink, handle event and buffer serialisation
24026         correctly and removed possible deadlock.
24027         Handle EOS correctly.
24028
24029 2005-06-25  Wim Taymans  <wim@fluendo.com>
24030
24031         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
24032         (gst_pipeline_change_state):
24033         * tools/gst-launch.c: (check_intr), (event_loop), (main):
24034         Allow elements to post EOS in the state change function.
24035         Fix up -launch, make it exit the poll loop when the
24036         pipeline actually changed state.
24037         Fix up warning parsing in -launch.
24038
24039 2005-06-25  Wim Taymans  <wim@fluendo.com>
24040
24041         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
24042         (gst_tee_sink_activate):
24043         Core takes STREAM_LOCK for us now.
24044
24045 2005-06-25  Wim Taymans  <wim@fluendo.com>
24046
24047         * gst/gstelement.c: (gst_element_get_state_func),
24048         (gst_element_set_state):
24049         * gst/gstelement.h:
24050         * gst/gstmessage.c: (gst_message_parse_error),
24051         (gst_message_parse_warning):
24052         Keep track of current target state while performing a state
24053         change so that subclasses can do something interesting.
24054         Fix parsing of warning/error messages when GError is NULL.
24055
24056 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24057
24058         * docs/gst/Makefile.am:
24059         * docs/gst/gstreamer-docs.sgml:
24060         * docs/gst/gstreamer-sections.txt:
24061         * docs/gst/gstreamer.types:
24062         * docs/gst/tmpl/gstbasesink.sgml:
24063         * docs/gst/tmpl/gstbasesrc.sgml:
24064         * docs/gst/tmpl/gstbin.sgml:
24065         * docs/gst/tmpl/gstcompat.sgml:
24066         * docs/gst/tmpl/gstfakesink.sgml:
24067         * docs/gst/tmpl/gstfakesrc.sgml:
24068         * docs/gst/tmpl/gstfilesink.sgml:
24069         * docs/gst/tmpl/gstfilesrc.sgml:
24070         * docs/gst/tmpl/gstindex.sgml:
24071         * docs/manual/appendix-quotes.xml:
24072         * gst/base/gstbasesrc.h:
24073         * gst/elements/gstfakesrc.h:
24074         * gst/gstmessage.h:
24075           start pulling in base classes and elements in our docs
24076
24077 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
24078
24079         * docs/gst/Makefile.am:
24080         * docs/libs/Makefile.am:
24081           fixed make distcheck with gtk-doc 1.3
24082
24083 2005-06-23  Wim Taymans  <wim@fluendo.com>
24084
24085         * gst/gstelement.c: (gst_element_get_state_func),
24086         (gst_element_set_state), (gst_element_change_state):
24087         When the state did not change, also report NO_PREROLL
24088         when it matters.
24089
24090 2005-06-23  Wim Taymans  <wim@fluendo.com>
24091
24092         * gst/gstpad.c: (gst_pad_event_default):
24093         * gst/gstqueue.c: (gst_queue_loop):
24094         No unsafe task pausing please.
24095
24096 2005-06-23  Wim Taymans  <wim@fluendo.com>
24097
24098         * gst/schedulers/threadscheduler.c:
24099         (gst_thread_scheduler_task_start),
24100         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
24101         Ref the task before pushing it on the threadpool. This
24102         makes sure that we have a ref when the threadfunction is
24103         actually called.
24104
24105 2005-06-23  Andy Wingo  <wingo@pobox.com>
24106
24107         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
24108         offset is greater than the file's size.
24109
24110         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
24111         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
24112         * gst/gstobject.c (gst_object_class_init): Make the class lock
24113         recursive. Wim won't let me drop deep_notify. Decodebin works
24114         again, whoopdy doo.
24115
24116         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
24117         internal pad, and hacks accordingly. Doesn't do it on the target
24118         pad because we change its caps. Probably catches all cases of
24119         interest tho.
24120         (gst_ghost_pad_set_property): Connect to notify::caps as
24121         appropritate.
24122
24123         * tests/network-clock.scm (plot-simulation): Pipe data to the
24124         elite python skript.
24125
24126         * tests/network-clock-utils.scm (define-parameter): New macro,
24127         defines a parameter that can be set via the command line.
24128         (set-parameter!, parse-parameter-arguments): Command line args
24129         parser.
24130
24131         * tests/plot-data: Simple matplotlib-based plotter, takes input on
24132         stdin.
24133
24134 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
24135
24136         * gst/elements/gsttypefindelement.c:
24137         (gst_type_find_element_handle_event):
24138           Don't restart typefinding on a discont.
24139         * gst/gstelement.c: (gst_element_set_state):
24140           Debug spelling fix.
24141         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
24142           Allow changing mode of an active pad.
24143           Debug output fixes.
24144         * gst/registries/gstlibxmlregistry.c: (load_feature):
24145           Don't cast a static pad template to a normal pad template.
24146
24147 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24148
24149         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24150         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
24151           remove gst_strtoll completely, since it didn't actually do
24152           anything more than what g_ascii_strtoull already does.
24153           check for range errors when deserializing
24154           do a cast for the unsigned cases; but further fixing needs
24155           a decision on what the interpretation of "(int)" and
24156           deserialization should be for values that fall outside the
24157           type's boundaries (ie, refuse, or interpret as casting)
24158
24159 2005-06-23  Wim Taymans  <wim@fluendo.com>
24160
24161         * check/Makefile.am:
24162         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
24163         * docs/design/part-live-source.txt:
24164         * docs/design/part-states.txt:
24165         * gst/base/gstbasesrc.c: (gst_basesrc_init),
24166         (gst_basesrc_set_live), (gst_basesrc_is_live),
24167         (gst_basesrc_get_range), (gst_basesrc_activate),
24168         (gst_basesrc_change_state):
24169         * gst/base/gstbasesrc.h:
24170         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24171         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24172         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
24173         * gst/gstelement.c: (gst_element_get_state_func),
24174         (gst_element_set_state):
24175         * gst/gstelement.h:
24176         * gst/gsttypes.h:
24177         * tools/gst-launch.c: (event_loop), (main):
24178         Added support for live sources and other elements that
24179         cannot do preroll.
24180         Updated design docs, added live-source design doc.
24181         Implemented live source functionality in basesrc
24182         Fix error condition in _bin_get_state()
24183         Implement live source handling in -launch.
24184         Added check for live sources.
24185         Fixed case in GstBin where elements were changed state
24186         multiple times.
24187
24188
24189 2005-06-23  Andy Wingo  <wingo@pobox.com>
24190
24191         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
24192         borken refcounting.
24193
24194         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
24195         gst_caps_replace takes care of this for us.
24196
24197         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
24198         gst_pad_set_caps on the target, not just its setcaps() function.
24199
24200         * tests/network-clock.scm: 
24201         * tests/network-clock-utils.scm: A network clock simulator.
24202         Something of an algorithmic testbed before doing something in C.
24203
24204 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24205
24206         * check/Makefile.am:
24207         * check/gst/capslist.h:
24208           copy over from 0.8, and add two with bitmasks specified with
24209           (int) 0xFF...
24210         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24211           add test to parse everything from capslist.h
24212         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
24213         (main):
24214           add test for structure deserialization
24215         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24216           add tests for deserialization of strings to int types
24217         * gst/gststructure.c: (gst_structure_nth_field_name):
24218         * gst/gststructure.h:
24219           add a way to get the name of a field referenced by index
24220         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
24221           instead of checking if the resulting long long lies between
24222           min and max, we check if the long long would fit into
24223           a number of bytes for the final type.
24224           This fixes cases where a string represents 2^32 - 1, which
24225           when cast to int would be the (valid) -1, but is bigger than
24226           G_MAXINT
24227
24228 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24229
24230         * gst/parse/grammar.y:
24231           add a log line for type deserialization
24232
24233 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24234
24235         * check/gst/gstvalue.c: (START_TEST):
24236         * gst/gstvalue.c: (gst_value_deserialize):
24237           return long long, not int, so gint64 deserialization actually
24238           works.  Is there any flag that makes the compiler check this ?
24239           Fixes #308559
24240
24241 2005-06-22  Wim Taymans  <wim@fluendo.com>
24242
24243         * gst/gstbuffer.h:
24244         Added convenience macros for setting buffers in GValue.
24245
24246 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24247
24248         * check/gst/.cvsignore:
24249         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24250           add a test deserializing int64, and comment part out because
24251           it fails, yay !
24252
24253 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24254
24255         * check/Makefile.am:
24256         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
24257         * testsuite/Makefile.am:
24258         * testsuite/caps/Makefile.am:
24259         * testsuite/caps/value_serialize.c:
24260         * testsuite/test_gst_init.c:
24261           move a value_serialize test over
24262
24263 2005-06-20  Wim Taymans  <wim@fluendo.com>
24264
24265         * gst/gstpad.c:
24266         Small doc updates.
24267         
24268         * gst/gstvalue.c: (gst_value_compare_buffer),
24269         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
24270         (gst_value_compare_flags), (gst_value_serialize_flags),
24271         (gst_value_deserialize_flags), (_gst_value_initialize):
24272         Fix serialisation of buffers, they are not boxed types anymore
24273
24274 2005-06-20  Wim Taymans  <wim@fluendo.com>
24275
24276         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24277         Testcase to show error in buffer-on-caps serialisation.
24278
24279 2005-06-20  Andy Wingo  <wingo@pobox.com>
24280
24281         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
24282         will be adding to later.
24283
24284         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
24285         if its socks fill with rocks.
24286         (gst_system_clock_obtain): Set the name on object construction.
24287         Avoid double-checked locking.
24288
24289 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
24290
24291         * gst/gsturi.c: (gst_element_make_from_uri):
24292           Fix potential endless loop.
24293
24294 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24295
24296         * check/Makefile.am:
24297           add gsttag
24298         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
24299         (main):
24300           move over from testsuite dir and clean up
24301         * configure.ac:
24302         * gst/gsttag.c:
24303         * testsuite/Makefile.am:
24304         * testsuite/tags/.cvsignore:
24305         * testsuite/tags/Makefile.am:
24306         * testsuite/tags/merge.c:
24307           remove testsuite/tags
24308
24309 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24310
24311         * docs/gst/gstreamer-sections.txt:
24312         * docs/gst/tmpl/gstenumtypes.sgml:
24313         * win32/gstenumtypes.c:
24314           clean up documentation build a little
24315
24316 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24317
24318         * check/gstcheck.h:
24319           add macros for checking refcounts on objects and caps
24320         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24321           add some more unit tests
24322         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24323         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24324           fix leaked refcounts (I hope :)) so unittest works
24325         * gst/gstpad.h:
24326           whitespace removal
24327
24328 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24329
24330         * configure.ac: back to HEAD
24331
24332 === release 0.9.1 ===
24333
24334 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24335
24336         * NEWS:
24337         * RELEASE:
24338           updated
24339
24340 2005-06-17  Andy Wingo  <wingo@pobox.com>
24341
24342         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24343         assert; it's always possible that the pad gets deactivated in
24344         between the checks in gstpad.c and the implementation. Rely on
24345         finish_preroll() to return a FLUSHING or similar instead of on the
24346         assert.
24347         
24348         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24349         clock and post an EOS message if we come out of finish_preroll in
24350         the playing state.
24351
24352 2005-06-16  David Schleef  <ds@schleef.org>
24353
24354         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24355         (gst_capsfilter_set_property): Allow NULL as possible value
24356         for filter_caps property, indicating GST_CAPS_ANY.
24357
24358 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24359
24360         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24361           fix debug output
24362         * gst/schedulers/Makefile.am:
24363           use libgst prefix
24364         * gstreamer.spec.in:
24365           fix spec for it
24366
24367 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24368
24369         * gstreamer.spec.in:
24370           clean up
24371
24372 2005-06-08  Andy Wingo  <wingo@pobox.com>
24373
24374         * gst/gstutils.c: RPAD fixes all around.
24375         (gst_element_link_pads): Refcounting fixes.
24376
24377         * tools/gst-inspect.c:
24378         * tools/gst-xmlinspect.c:
24379         * parse/grammar.y:
24380         * gst/base/gsttypefindhelper.c:
24381         * gst/base/gstbasesink.c:
24382         * gst/gstqueue.c: RPAD fixes.
24383
24384         * gst/gstghostpad.h:
24385         * gst/gstghostpad.c: New ghost pad implementation as full proxy
24386         pads. The tricky thing is they provide both source and sink
24387         interfaces, since they proxy the internal pad for the external
24388         pad, and vice versa. Implement with lower-level ProxyPad objects,
24389         with the interior proxy pad as a child of the exterior ghost pad.
24390         Should write a doc on this.
24391         
24392         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24393         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24394         gst_object API.
24395         
24396         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24397         pads are real pads. No ghost pads in this file. Not documenting
24398         the myriad s/RPAD/PAD/ and REALIZE fixes.
24399         (gst_pad_class_init): Add properties for "direction" and
24400         "template". Both are construct-only, so they can't change during
24401         the life of the pad. Fixes properly deriving from GstPad.
24402         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24403         derived objects, just set properties when creating the objects via
24404         g_object_new.
24405         (gst_pad_get_parent): Implement as a function, return NULL if the
24406         parent is not an element.
24407         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24408         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24409         
24410         * gst/gstobject.c (gst_object_class_init): Make name a construct
24411         property. Don't set it in the object init.
24412
24413         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24414         with UNKNOWN direction.
24415         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24416         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24417         (gst_element_remove_pad): Remove ghost-pad special cases.
24418         (gst_element_pads_activate): Remove rpad cruft.
24419
24420         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24421         catch the pad's-parent-not-an-element case.
24422
24423         * gst/gst.h: Include gstghostpad.h.
24424
24425         * gst/gst.c (init_post): No more real, ghost pads.
24426
24427         * gst/Makefile.am: Add gstghostpad.[ch].
24428
24429         * check/Makefile.am:
24430         * check/gst/gstbin.c:
24431         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24432         into a bin creates ghost pads, and that the refcounts are right.
24433         Partly moved from gstbin.c.
24434
24435 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24436
24437         * check/gst-libs/.cvsignore:
24438         * check/gst/.cvsignore:
24439         * check/pipelines/.cvsignore:
24440           ignore more
24441         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24442         (START_TEST), (cleanup_suite), (main):
24443           add some tests related to cleanup after running pipelines
24444
24445 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24446
24447         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24448           add a testsuite for GstBuffer
24449
24450 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24451
24452         * gst/gstminiobject.h:
24453           add defines for accessing the refcount
24454
24455 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
24456
24457         * Makefile.am: added support for html unit test coverage reports
24458
24459 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
24460
24461         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24462           Free existing caps if the capsfilter changes. Add a FIXME about
24463           setting those caps on the pads.
24464
24465         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24466           Before adding a ghost pad to a parent bin, check that there isn't
24467           already one for the element on the bin. Prevents infinite recursion
24468           when using decodebin in parse pipelines. Andy says he'll rewrite the
24469           way this works anyway, so ignore the hack.
24470
24471 2005-06-02  Andy Wingo  <wingo@pobox.com>
24472
24473         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24474         file size, pass it on to the type find helper.
24475
24476         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24477         segment_start and segment_end properly according to the seek
24478         method. Segment_end is still a bit flaky because offset can be
24479         negative for CUR and END cases, but it takes -1 as an "unset"
24480         value.
24481
24482 2005-06-02  Wim Taymans  <wim@fluendo.com>
24483
24484         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24485         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24486         (gst_basesink_activate):
24487         * gst/base/gstbasesink.h:
24488         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24489         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24490         (gst_pad_query), (gst_pad_start_task):
24491         * gst/gstpad.h:
24492         * gst/gstqueue.c: (gst_queue_bufferalloc),
24493         (gst_queue_handle_sink_event), (gst_queue_chain):
24494         Bufferalloc: return GstFlowReturn to more accuratly report
24495         why allocation failed.
24496
24497 2005-06-02  Wim Taymans  <wim@fluendo.com>
24498
24499         * gst/gstpipeline.c: (gst_pipeline_send_event):
24500         Take snapshot of state without blocking.
24501
24502 2005-06-02  Wim Taymans  <wim@fluendo.com>
24503
24504         * docs/design/part-TODO.txt:
24505         * docs/design/part-caps.txt:
24506         * docs/design/part-clocks.txt:
24507         * docs/design/part-negotiation.txt:
24508         * docs/design/part-preroll.txt:
24509         Small doc updates 
24510
24511 2005-05-30  Wim Taymans  <wim@fluendo.com>
24512
24513         * gst/elements/gstidentity.c: (gst_identity_event),
24514         (gst_identity_transform), (gst_identity_get_property):
24515         Protect last_message property as it is accessed from
24516         multiple threads.
24517
24518 2005-05-30  Wim Taymans  <wim@fluendo.com>
24519
24520         * gst/gstelement.c: (gst_element_init),
24521         (gst_element_pads_activate), (gst_element_change_state):
24522         Slicker pad activation code.
24523
24524 2005-05-30  Wim Taymans  <wim@fluendo.com>
24525
24526         * gst/Makefile.am:
24527         * gst/gstelement.h:
24528         * gst/gstelementfactory.h:
24529         * gst/gsttypes.h:
24530         Move elementfactory methods to separate .h file.
24531
24532 2005-05-30  Wim Taymans  <wim@fluendo.com>
24533
24534         * docs/design/part-overview.txt:
24535         * gst/gstsystemclock.h:
24536         Small typo fixes, doc updates.
24537
24538 2005-05-30  Wim Taymans  <wim@fluendo.com>
24539
24540         * gst/gst.c: (gst_init_get_popt_table), (init_post),
24541         (init_popt_callback):
24542         Remove cpu-opt flag.
24543
24544 2005-05-30  Wim Taymans  <wim@fluendo.com>
24545
24546         * gst/gstbuffer.c: (gst_subbuffer_finalize),
24547         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24548         * gst/gstbuffer.h:
24549         Avoid typechecking in places where not needed.
24550         Added accessor for malloc_data.
24551
24552 2005-05-30  Wim Taymans  <wim@fluendo.com>
24553
24554         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24555         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24556         (gst_pad_configure_sink), (gst_pad_configure_src),
24557         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24558         (gst_pad_start_task):
24559         Propagate errors from _set_caps() in configure_src/sink
24560         functions instead of returning TRUE.
24561         FLUSH events can travel up and downstream
24562
24563
24564 2005-05-30  Wim Taymans  <wim@fluendo.com>
24565
24566         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24567         (gst_basesink_activate):
24568         Handle EOS in preroll.
24569
24570 2005-05-30  Wim Taymans  <wim@fluendo.com>
24571
24572         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24573         (gst_queue_loop), (gst_queue_handle_src_event):
24574         Remove old pieces of code
24575         Flushing the queue in an upstream event is a very bad idea.
24576
24577 2005-05-26  Andy Wingo  <wingo@pobox.com>
24578
24579         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24580         gst_value_set_mini_object so as to add a ref on the object (which
24581         will be removed when the value is unset).
24582
24583         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24584         arg type in ::handoff.
24585
24586         * gst/gstelement.c (gst_element_change_state): Also deactivate
24587         pads in READY->NULL, just in case the element didn't make it to
24588         PAUSED. Wingo tested, Wim approved.
24589
24590 2005-05-26  Wim Taymans  <wim@fluendo.com>
24591
24592         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24593         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24594         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24595         A flushing pad cannot be used to alloc_buffer from.
24596
24597 2005-05-26  Wim Taymans  <wim@fluendo.com>
24598
24599         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24600         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24601         (gst_bus_source_dispatch), (gst_bus_source_finalize),
24602         (gst_bus_create_watch), (gst_bus_add_watch_full):
24603         * gst/gstbus.h:
24604         Implement a real GSource and use g_main_context_wakeup() to
24605         signal new messages instead of the socketpair.
24606
24607 2005-05-25  Wim Taymans  <wim@fluendo.com>
24608
24609         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24610         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24611         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24612         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24613         (gst_pad_send_event), (gst_pad_start_task):
24614         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24615         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24616         (gst_queue_sink_activate), (gst_queue_src_activate),
24617         (gst_queue_change_state):
24618         * gst/gstqueue.h:
24619         Fix state changes for non sinks. We now change sinks, then elements
24620         with unconnected srcpads, then the rest.
24621         More efficient queue unlocking in flush and state changes.
24622         Set the pad activate mode even if it does not have an activate
24623         function.
24624
24625 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24626
24627         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24628           Don't go in pull mode for non-seekable sources.
24629         * gst/elements/gsttypefindelement.h:
24630         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24631         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24632         (free_entry), (stop_typefinding),
24633         (gst_type_find_element_handle_event), (find_peek),
24634         (gst_type_find_element_chain), (do_pull_typefind),
24635         (gst_type_find_element_change_state):
24636           Allow typefinding (w/o seeking) in push-mode, simplified version
24637           of what was in 0.8.
24638         * gst/gstutils.c: (gst_buffer_join):
24639         * gst/gstutils.h:
24640           gst_buffer_join() from 0.8.
24641
24642 2005-05-25  Wim Taymans  <wim@fluendo.com>
24643
24644         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24645         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24646         (gst_pad_send_event), (gst_pad_start_task):
24647         Disable attempt at mode switching until it is figured out.
24648
24649 2005-05-25  Wim Taymans  <wim@fluendo.com>
24650
24651         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24652         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24653         (gst_basesink_finish_preroll), (gst_basesink_chain),
24654         (gst_basesink_loop), (gst_basesink_activate),
24655         (gst_basesink_change_state):
24656         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24657         (gst_basesrc_get_range), (gst_basesrc_loop),
24658         (gst_basesrc_activate):
24659         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24660         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24661         (gst_real_pad_init), (gst_real_pad_set_property),
24662         (gst_real_pad_get_property), (gst_pad_set_active),
24663         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24664         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24665         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24666         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24667         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24668         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24669         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24670         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24671         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24672         (gst_pad_stop_task):
24673         * gst/gstpad.h:
24674         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24675         (gst_queue_loop), (gst_queue_src_activate):
24676         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24677         (gst_task_get_state):
24678         * gst/gsttask.h:
24679         * gst/schedulers/threadscheduler.c:
24680         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24681         Implement gst_pad_pause/start/stop_task(), take STREAM lock
24682         in task function.
24683         Remove ACTIVE pad flag, use FLUSHING everywhere
24684         Added _pad_chain(), _pad_get_range() to call chain/getrange 
24685         functions.
24686         Add locks around IS_FLUSHING when reading.
24687         Take STREAM lock in chain(), get_range() functions so plugins
24688         don't need to take it anymore.
24689         
24690
24691
24692 2005-05-25  Wim Taymans  <wim@fluendo.com>
24693
24694         * tools/gst-launch.c: (event_loop):
24695         Unref message after using its contents instead of
24696         before.
24697
24698 2005-05-24  Wim Taymans  <wim@fluendo.com>
24699
24700         * docs/design/draft-ghostpads.txt:
24701         * docs/design/draft-push-pull.txt:
24702         * docs/design/draft-query.txt:
24703         * docs/design/part-overview.txt:
24704         Docs updates, added general overview doc.
24705
24706 2005-05-21  David Schleef  <ds@schleef.org>
24707
24708         * docs/gst/tmpl/old/GstBin.sgml:
24709         * docs/gst/tmpl/old/GstBuffer.sgml:
24710         * docs/gst/tmpl/old/GstCaps.sgml:
24711         * docs/gst/tmpl/old/GstClock.sgml:
24712         * docs/gst/tmpl/old/GstCompat.sgml:
24713         * docs/gst/tmpl/old/GstData.sgml:
24714         * docs/gst/tmpl/old/GstElement.sgml:
24715         * docs/gst/tmpl/old/GstEvent.sgml:
24716         * docs/gst/tmpl/old/GstIndex.sgml:
24717         * docs/gst/tmpl/old/GstStructure.sgml:
24718         * docs/gst/tmpl/old/GstTag.sgml:
24719         * docs/gst/tmpl/old/cothreads.sgml:
24720         * docs/gst/tmpl/old/cothreads_compat.sgml:
24721         * docs/gst/tmpl/old/gettext.sgml:
24722         * docs/gst/tmpl/old/gobject2gtk.sgml:
24723         * docs/gst/tmpl/old/grammar.tab.sgml:
24724         * docs/gst/tmpl/old/gst-i18n-app.sgml:
24725         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24726         * docs/gst/tmpl/old/gst_private.sgml:
24727         * docs/gst/tmpl/old/gstaggregator.sgml:
24728         * docs/gst/tmpl/old/gstarch.sgml:
24729         * docs/gst/tmpl/old/gstatomic_impl.sgml:
24730         * docs/gst/tmpl/old/gstbufferstore.sgml:
24731         * docs/gst/tmpl/old/gstdata_private.sgml:
24732         * docs/gst/tmpl/old/gstdisksink.sgml:
24733         * docs/gst/tmpl/old/gstdisksrc.sgml:
24734         * docs/gst/tmpl/old/gstelementfactory.sgml:
24735         * docs/gst/tmpl/old/gstextratypes.sgml:
24736         * docs/gst/tmpl/old/gstfakesink.sgml:
24737         * docs/gst/tmpl/old/gstfakesrc.sgml:
24738         * docs/gst/tmpl/old/gstfdsink.sgml:
24739         * docs/gst/tmpl/old/gstfdsrc.sgml:
24740         * docs/gst/tmpl/old/gstfilesink.sgml:
24741         * docs/gst/tmpl/old/gstfilesrc.sgml:
24742         * docs/gst/tmpl/old/gsthttpsrc.sgml:
24743         * docs/gst/tmpl/old/gstidentity.sgml:
24744         * docs/gst/tmpl/old/gstindexfactory.sgml:
24745         * docs/gst/tmpl/old/gstmarshal.sgml:
24746         * docs/gst/tmpl/old/gstmd5sink.sgml:
24747         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24748         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24749         * docs/gst/tmpl/old/gstpadtemplate.sgml:
24750         * docs/gst/tmpl/old/gstpipefilter.sgml:
24751         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24752         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24753         * docs/gst/tmpl/old/gstshaper.sgml:
24754         * docs/gst/tmpl/old/gstspider.sgml:
24755         * docs/gst/tmpl/old/gstspideridentity.sgml:
24756         * docs/gst/tmpl/old/gststatistics.sgml:
24757         * docs/gst/tmpl/old/gsttee.sgml:
24758         * docs/gst/tmpl/old/gsttimecache.sgml:
24759         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24760         * docs/gst/tmpl/old/gstxmlregistry.sgml:
24761         * docs/gst/tmpl/old/gthread-cothreads.sgml:
24762         * docs/gst/tmpl/old/types.sgml:
24763           I didn't intend to add these or check them in.
24764
24765 2005-05-19  David Schleef  <ds@schleef.org>
24766
24767         * configure.ac: Use -no-common everywhere.  In a sane world, it
24768           would be the default in libtool, because without it, you can't
24769           build DLLs on Windows.
24770         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24771         * docs/gst/gstreamer-sections.txt:
24772         * docs/gst/tmpl/gstcpu.sgml:
24773         * docs/gst/tmpl/gstdata.sgml:
24774         * docs/gst/tmpl/gstthread.sgml:
24775
24776 2005-05-19  David Schleef  <ds@schleef.org>
24777
24778         * gst/gstminiobject.c: (gst_value_set_mini_object),
24779         (gst_value_take_mini_object), (gst_value_get_mini_object):
24780         * gst/gstminiobject.h: Add GValue set/get functions.
24781
24782 2005-05-19  Wim Taymans  <wim@fluendo.com>
24783
24784         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24785         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24786         (gst_subbuffer_init), (gst_buffer_is_span_fast):
24787         * gst/gstbuffer.h:
24788         * gst/gstbus.c: (gst_bus_post):
24789         * gst/gstelement.c: (gst_element_get_random_pad):
24790         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24791         Make subbufer unref the parent in finalize.
24792         some more debugging info.
24793
24794
24795 2005-05-19  Wim Taymans  <wim@fluendo.com>
24796
24797         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24798         (gst_basesink_init), (gst_basesink_finalize),
24799         (gst_basesink_activate), (gst_basesink_change_state):
24800         Don't free preroll queue too early.
24801
24802 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24803
24804         * gst/Makefile.am:
24805         * gst/ROADMAP:
24806           Hi, I'm outdated. Please shoot me.
24807
24808 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24809
24810         * gst/gstpipeline.c: (gst_pipeline_send_event):
24811           Do not access variables after they have been deleted.
24812
24813 2005-05-19  Wim Taymans  <wim@fluendo.com>
24814
24815         * tools/gst-inspect.c: (print_plugin_features):
24816         A plugin feature does unfortunatly not use the
24817         object name yet...
24818
24819 2005-05-18  Wim Taymans  <wim@fluendo.com>
24820
24821         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24822         Port _span() functions to new subbuffers.
24823
24824 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24825
24826         * gst/gstbin.c: (gst_bin_add_func):
24827           Fix clock settery in bins when adding kids after the clock has
24828           been selected.
24829
24830 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24831
24832         * gst/elements/gstidentity.c: (gst_identity_class_init):
24833           Workaround until signals support GstMiniObject.
24834
24835 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
24836
24837         * gst/gstbuffer.c:
24838         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24839
24840 2005-05-18  Wim Taymans  <wim@fluendo.com>
24841
24842         * gst/base/Makefile.am:
24843         * gst/base/gstadapter.c: (gst_adapter_base_init),
24844         (gst_adapter_class_init), (gst_adapter_init),
24845         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24846         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24847         (gst_adapter_flush), (gst_adapter_available),
24848         (gst_adapter_available_fast):
24849         * gst/base/gstadapter.h:
24850         Ported and added adapter to the base classes.
24851
24852 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24853
24854         * gst/gst.c:
24855         * gst/gstmessage.c:
24856           Make sure the class is reffed/unreffed once before threads can be
24857           used.  Fixes #304551.
24858
24859 2005-05-17  Wim Taymans  <wim@fluendo.com>
24860
24861         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24862         (gst_basesink_chain_unlocked), (gst_basesink_activate):
24863         * gst/gstminiobject.c: (gst_mini_object_get_type),
24864         (gst_mini_object_free):
24865         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24866         (gst_pad_push), (gst_pad_push_event):
24867         * gst/gstqueue.c: (gst_queue_change_state):
24868         Don't queue buffers in basesink when we are flushing.
24869         Unref buffer when flushing in basesink.
24870         Flush queue when going to READY
24871         Unref buffer when _push() returns an error.
24872         Don't free MiniObject instance when refcount is incremented
24873         in _finalize() so that we can recover objects.
24874
24875 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24876
24877         * docs/manual/advanced-schedulers.xml:
24878         * docs/manual/appendix-checklist.xml:
24879         * docs/pwg/advanced-clock.xml:
24880         * docs/pwg/advanced-interfaces.xml:
24881         * docs/pwg/advanced-request.xml:
24882         * docs/pwg/advanced-types.xml:
24883         * docs/pwg/intro-preface.xml:
24884         * examples/plugins/example.c: (gst_example_get_type),
24885         (gst_example_class_init), (gst_example_chain),
24886         (gst_example_set_property), (gst_example_get_property),
24887         (gst_example_change_state), (plugin_init):
24888         * examples/plugins/example.h:
24889           small doc fixes
24890
24891 2005-05-17  Wim Taymans  <wim@fluendo.com>
24892
24893         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24894         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24895         * gst/gstqueue.c: (gst_queue_change_state):
24896         Clear queue when going to READY.
24897         Remove IN_SETCAPS flag too.
24898
24899 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
24900
24901         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24902           Remove implicit cast from gboolean to GstElementStateReturn;
24903           make sure we still return failure in paused => ready case if
24904           the parent class fails to change state and our own stop 
24905           vfunc succeeds.
24906
24907 2005-05-17  Wim Taymans  <wim@fluendo.com>
24908
24909         * tools/gst-launch.c: (event_loop):
24910         Message was unreffed too soon.
24911
24912 2005-05-16  Andy Wingo  <wingo@pobox.com>
24913
24914         * gst/gstbin.c (sink_iterator_filter): Err... um...
24915
24916         * check/gst/gstbin.c (test_ghost_pads): New test for the
24917         ghosting-if-elements-not-in-same-bin behavior.
24918
24919 2005-05-16  David Schleef  <ds@schleef.org>
24920
24921         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24922         accessing refcount directly.
24923
24924 2005-05-15  David Schleef  <ds@schleef.org>
24925
24926         * check/Makefile.am: remove GstData checks
24927         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24928         * gst/Makefile.am: add miniobject, remove data
24929         * gst/gst.h: add miniobject, remove data
24930         * gst/gstdata.c: remove
24931         * gst/gstdata.h: remove
24932         * gst/gstdata_private.h: remove
24933         * gst/gsttypes.h: remove GstEvent and GstMessage
24934         * gst/gstelement.c: (gst_element_post_message): fix for API changes
24935         * gst/gstmarshal.list: change BOXED -> OBJECT
24936
24937         Implement GstMiniObject.
24938         * gst/gstminiobject.c:
24939         * gst/gstminiobject.h:
24940
24941         Modify to be subclasses of GstMiniObject.
24942         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24943         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24944         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24945         (gst_subbuffer_get_type), (gst_subbuffer_init),
24946         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24947         (gst_buffer_span):
24948         * gst/gstbuffer.h:
24949         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24950         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24951         (_gst_event_copy), (gst_event_new):
24952         * gst/gstevent.h:
24953         * gst/gstmessage.c: (_gst_message_initialize),
24954         (gst_message_get_type), (gst_message_class_init),
24955         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24956         (gst_message_new), (gst_message_new_error),
24957         (gst_message_new_warning), (gst_message_new_tag),
24958         (gst_message_new_state_changed), (gst_message_new_application):
24959         * gst/gstmessage.h:
24960         * gst/gstprobe.c: (gst_probe_perform),
24961         (gst_probe_dispatcher_dispatch):
24962         * gst/gstprobe.h:
24963         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24964         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24965         (_gst_query_copy), (gst_query_new):
24966
24967         Update elements for GstData -> GstMiniObject changes
24968         * gst/gstquery.h:
24969         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24970         (gst_queue_chain), (gst_queue_loop):
24971         * gst/elements/gstbufferstore.c:
24972         (gst_buffer_store_add_buffer_func),
24973         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24974         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24975         (gst_fakesink_render):
24976         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24977         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24978         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24979         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24980         (gst_filesrc_create_read):
24981         * gst/elements/gstidentity.c: (gst_identity_class_init):
24982         * gst/elements/gsttypefindelement.c:
24983         (gst_type_find_element_src_event), (free_entry_buffers),
24984         (gst_type_find_element_handle_event):
24985         * libs/gst/dataprotocol/dataprotocol.c:
24986         (gst_dp_header_from_buffer):
24987         * libs/gst/dataprotocol/dataprotocol.h:
24988         * libs/gst/dataprotocol/dp-private.h:
24989
24990 2005-05-15  David Schleef  <ds@schleef.org>
24991
24992         * gst/elements/gstelements.c: Don't include headers that were
24993         just removed.
24994
24995 2005-05-15  David Schleef  <ds@schleef.org>
24996
24997         * gst/elements/Makefile.am: Remove some elements that don't
24998         need to be in the core (or even exist at all).
24999         * gst/elements/gstaggregator.c:
25000         * gst/elements/gstaggregator.h:
25001         * gst/elements/gstmd5sink.c:
25002         * gst/elements/gstmd5sink.h:
25003         * gst/elements/gstmultifilesrc.c:
25004         * gst/elements/gstmultifilesrc.h:
25005         * gst/elements/gstpipefilter.c:
25006         * gst/elements/gstpipefilter.h:
25007         * gst/elements/gstshaper.c:
25008         * gst/elements/gstshaper.h:
25009         * gst/elements/gststatistics.c:
25010         * gst/elements/gststatistics.h:
25011         * po/POTFILES.in: Remove above files.
25012
25013 2005-05-14  Andy Wingo  <wingo@pobox.com>
25014
25015         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
25016         so as to get the refs right.
25017         (sink_iterator_filter): New function, wraps bin_element_is_sink,
25018         unreffing objects that don't pass the filter.
25019
25020         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
25021         gst_element_set_bus.
25022         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
25023         normal cases, this will destroy the bus.
25024
25025         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
25026         object.
25027
25028         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
25029         has no sinks.
25030
25031 2005-05-13  Andy Wingo  <wingo@pobox.com>
25032
25033         * gst/gstutils.c (gst_element_link_pads): Instead of calling
25034         gst_pad_link, call pad_link_maybe_ghosting,
25035         (pad_link_maybe_ghosting): Links pads, making sure that the
25036         elements being linked are in the same bin.
25037         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
25038         Helpers for pad_link_maybe_ghosting.
25039
25040 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
25041
25042         * configure.ac:
25043           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
25044
25045 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
25046
25047         * docs/design/part-element-source.txt:
25048           Mention GstPushSrc
25049
25050 2005-05-12  Wim Taymans  <wim@fluendo.com>
25051
25052         * gst/base/gstbasesink.c: (gst_basesink_init),
25053         (gst_basesink_activate):
25054         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
25055         (gst_basesrc_is_seekable):
25056         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
25057         (bin_element_is_sink), (gst_bin_change_state):
25058         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
25059         * gst/gstelement.h:
25060         Identify sinks by their flag to avoid overly complicated
25061         checks (fow now).
25062         Do state changes even for elements not reachable from the
25063         sinks.
25064         BaseSink is a sink now :)
25065         Some more debugging info in the basesrc.
25066
25067
25068 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25069
25070         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
25071           Implement _query on a bin, similar to _send_event.
25072
25073 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
25074
25075         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
25076           Discont event offset format should be GST_FORMAT_BYTES,
25077           not GST_FORMAT_TIME.
25078
25079 2005-05-12  Wim Taymans  <wim@fluendo.com>
25080
25081         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
25082         Same fix as Ronald's but without the signal. 
25083
25084 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25085
25086         * gst/gstutils.c: (gst_element_query_position):
25087           No, an element is not a pad.
25088
25089 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25090
25091         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
25092         (gst_bin_get_state):
25093           If a child is removed from a bin while we remove the child from
25094           the bin and while we're retrieving its state, signal this to the
25095           get_state function so we abort the wait (instead of waiting for
25096           a timeout) and can immediately re-iterate over all other elements.
25097
25098 2005-05-12  Wim Taymans  <wim@fluendo.com>
25099
25100         * gst/base/Makefile.am:
25101         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
25102         (gst_basesrc_start):
25103         * gst/base/gstbasesrc.h:
25104         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
25105         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
25106         (gst_pushsrc_init), (gst_pushsrc_create):
25107         * gst/base/gstpushsrc.h:
25108         Added is_seekable to BaseSrc
25109         Added simple PushSrc.
25110
25111 2005-05-11  Wim Taymans  <wim@fluendo.com>
25112
25113         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
25114         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25115         (gst_element_link_pads), (gst_element_query_position),
25116         (gst_element_query_convert), (intersect_caps_func),
25117         (gst_pad_query_position), (gst_pad_query_convert):
25118         Fix refcounting in utils function.
25119         No point in trying to activate a pad when it's added, it could
25120         be added from the state change function and then we deadlock, the
25121         element has to decide what to do.
25122
25123 2005-05-10  Andy Wingo  <wingo@pobox.com>
25124
25125         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
25126         *all* the arguments.
25127
25128         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
25129         stream lock if it's a FLUSH_DONE; normal flushes don't get the
25130         lock (according to the docs -- if this is wrong change the docs).
25131
25132         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
25133         flush messages in the NULL state.
25134
25135         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
25136         message immediately and return.
25137         (gst_bus_set_flushing): New function. If a bus is flushing, it
25138         flushes out any queued messages and immediately unrefs new
25139         messages. This is so when an element goes to NULL, all of the
25140         unhandled messages coming from it can be freed, and their
25141         references to the element dropped. In other words: message source
25142         ref considered harmful :P
25143
25144         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
25145         we're finished with it.
25146
25147         * gst/gstmessage.c (gst_message_new_state_changed): 
25148
25149 2005-05-10  Wim Taymans  <wim@fluendo.com>
25150
25151         * gst/gstvalue.c: (gst_value_compare_flags),
25152         (gst_value_serialize_flags), (gst_value_deserialize_flags),
25153         (_gst_value_initialize):
25154         Added flags serialize/deserialize/compare code.
25155
25156 2005-05-09  Andy Wingo  <wingo@pobox.com>
25157
25158         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
25159         Intersect the peer's caps with our caps.
25160
25161 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25162
25163         * gst/base/gsttypefindhelper.c: (helper_find_peek):
25164         * gst/elements/gsttypefindelement.c: (find_peek):
25165           Handle negative offsets better. Fixes decodebin.
25166
25167 2005-05-09  Wim Taymans  <wim@fluendo.com>
25168
25169         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
25170         (gst_base_transform_event):
25171         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
25172         Implement accept_caps.
25173         Fix silly lock/unlock mismatch in base class.
25174
25175 2005-05-09  Wim Taymans  <wim@fluendo.com>
25176
25177         * docs/design/draft-push-pull.txt:
25178         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
25179         * gst/elements/gstfilesink.c: (gst_filesink_init),
25180         (gst_filesink_query):
25181         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
25182         (gst_type_find_handle_src_query), (find_element_get_length):
25183         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
25184         * gst/gstelement.h:
25185         * gst/gstmessage.c:
25186         * gst/gstmessage.h:
25187         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
25188         (gst_real_pad_get_caps_unlocked),
25189         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
25190         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25191         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
25192         (gst_real_pad_dispose), (gst_real_pad_finalize),
25193         (gst_pad_load_and_link), (gst_pad_save_thyself),
25194         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
25195         (gst_pad_check_pull_range), (gst_pad_pull_range),
25196         (gst_pad_template_get_type), (gst_pad_template_class_init),
25197         (gst_pad_template_init), (gst_pad_template_dispose),
25198         (name_is_valid), (gst_static_pad_template_get),
25199         (gst_pad_template_new), (gst_static_pad_template_get_caps),
25200         (gst_pad_template_get_caps), (gst_pad_set_element_private),
25201         (gst_pad_get_element_private), (gst_pad_start_task),
25202         (gst_pad_pause_task), (gst_pad_stop_task),
25203         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
25204         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
25205         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
25206         (gst_ghost_pad_new):
25207         * gst/gstpad.h:
25208         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
25209         (gst_query_new_position), (gst_query_set_position),
25210         (gst_query_parse_position), (gst_query_new_convert),
25211         (gst_query_set_convert), (gst_query_parse_convert):
25212         * gst/gstquery.h:
25213         * gst/gstqueryutils.c:
25214         * gst/gstqueryutils.h:
25215         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25216         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25217         (gst_queue_handle_src_query):
25218         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25219         (gst_element_query_position), (gst_element_query_convert),
25220         (intersect_caps_func), (gst_pad_query_position),
25221         (gst_pad_query_convert):
25222         * gst/gstutils.h:
25223         * tools/gst-inspect.c: (print_pad_info):
25224         * tools/gst-xmlinspect.c: (print_element_info):
25225         Remove old query functions. Ported old code.
25226         Added position/convert helper functions to gstutils.
25227         Reordered gstpad.c code, grouping relevant things.
25228         Remove gst_message_new(), always need to speficy a specific
25229         message.
25230
25231
25232 2005-05-09  Andy Wingo  <wingo@pobox.com>
25233
25234         * gst/gstiterator.h: Add some includes.
25235
25236         * gst/gstqueryutils.h: Include more headers.
25237
25238         * gst/gstpad.h:
25239         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
25240         some uses of gst_pad_query.
25241
25242         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
25243         NULL out parameters.
25244         (gst_query_new_position): New proc, allocates a new position
25245         query.
25246
25247         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
25248         gstqueryutils.c to the build.
25249
25250         * gst/gststructure.c (gst_structure_set_valist): Implement with
25251         the generic G_VALUE_COLLECT.
25252         
25253 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
25254
25255         * gst/Makefile.am: (gst_headers):
25256         Added gstqueryutils.h to the list of headers to install, that was
25257         a 'nachty' move wingo :)
25258
25259 2005-05-06  Andy Wingo  <wingo@pobox.com>
25260
25261         * gst/gstquery.h
25262         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
25263         GstData, init a memchunk.
25264         (standard_definitions): Add a few query types, deprecate a few.
25265         (gst_query_get_type): New proc.
25266         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
25267         implementation.
25268         (gst_query_new_application, gst_query_get_structure): New public
25269         procs.
25270
25271         * docs/design/draft-query.txt: Removed LINKS from the query types,
25272         because all the rest can be dispatched to other pads -- seemed
25273         ugly to have a query that couldn't be dispatched. internal_links
25274         is fine as a pad method.
25275
25276         * gst/gstpad.h: Add query2 as a pad method, add the new functions
25277         in gstpad.c, but maintain binary compatibility for the moment.
25278         Will fix before 0.9 is out.
25279
25280         * gst/gstqueryutils.c: 
25281         * gst/gstqueryutils.h: New files, implement 3 methods for each
25282         query type: parse_query, parse_response, and set. Probably need an
25283         allocator as well.
25284
25285         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
25286
25287         * gst/elements/gstfilesink.c (gst_filesink_query2):
25288         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
25289         query_types, and formats methods.
25290
25291         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
25292         (gst_pad_set_query2_function): New functions.
25293         (gst_real_pad_init): Set query2_default as the default query2
25294         function. Basically just dispatches to internally linked pads.
25295
25296         Needs review!
25297         
25298         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
25299         without using the atomic operations. Only one thread can possibly
25300         be accessing the data at this point. Changed so as to avoid
25301         gst_atomic operations.
25302
25303 2005-05-06  Wim Taymans  <wim@fluendo.com>
25304
25305         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
25306         Also set caps if we use the fallback buffer alloc.
25307
25308 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
25309
25310         * docs/gst/Makefile.am:
25311         * docs/gst/gstreamer-docs.sgml:
25312         * docs/gst/gstreamer-sections.txt:
25313         * docs/gst/tmpl/gstatomic.sgml:
25314         * docs/gst/tmpl/gstmemchunk.sgml:
25315         * testsuite/elements/struct_i386.h:
25316         * win32/GStreamer.vcproj:
25317         * win32/Makefile:
25318           Purge GstAtomic stuff from docs and win32 makefiles as well
25319
25320 2005-05-06  Wim Taymans  <wim@fluendo.com>
25321
25322         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25323         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25324         * gst/gstpad.c: (gst_pad_peer_get_caps):
25325         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25326         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25327         (gst_queue_src_activate), (gst_queue_change_state):
25328         * gst/gstqueue.h:
25329         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25330         (intersect_caps_func):
25331         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25332         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25333         Some fixes for the peer_get_caps() change.
25334
25335 2005-05-06  Wim Taymans  <wim@fluendo.com>
25336
25337         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25338         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25339         (gst_basesink_activate):
25340         Actually do something with error codes returned from the push
25341         functions.
25342
25343 2005-05-06  Wim Taymans  <wim@fluendo.com>
25344
25345         * docs/design/part-element-sink.txt:
25346         * docs/design/part-element-source.txt:
25347         * gst/base/gstbasesink.c: (gst_basesink_class_init),
25348         (gst_basesink_event), (gst_basesink_activate):
25349         * gst/base/gstbasesink.h:
25350         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25351         (gst_basesrc_activate):
25352         * gst/base/gstbasesrc.h:
25353         * gst/gstelement.c: (gst_element_pads_activate):
25354         Some more documentation.
25355         Fixed scheduling decision in _pads_activate().
25356
25357 2005-05-05  Andy Wingo  <wingo@pobox.com>
25358
25359         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25360         the test suite.
25361
25362 2005-05-05  Wim Taymans  <wim@fluendo.com>
25363
25364         * gst/base/Makefile.am:
25365         * gst/base/gstbasesink.h:
25366         * gst/base/gstbasesrc.c: (gst_basesrc_init),
25367         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25368         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25369         (gst_collectpads_class_init), (gst_collectpads_init),
25370         (gst_collectpads_finalize), (gst_collectpads_new),
25371         (gst_collectpads_set_function), (gst_collectpads_add_pad),
25372         (find_pad), (gst_collectpads_remove_pad),
25373         (gst_collectpads_is_active), (gst_collectpads_collect),
25374         (gst_collectpads_collect_range), (gst_collectpads_start),
25375         (gst_collectpads_stop), (gst_collectpads_peek),
25376         (gst_collectpads_pop), (gst_collectpads_available),
25377         (gst_collectpads_read), (gst_collectpads_flush),
25378         (gst_collectpads_chain):
25379         * gst/base/gstcollectpads.h:
25380         * gst/elements/Makefile.am:
25381         * gst/elements/gstelements.c:
25382         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25383         (gst_fakesink_get_times), (gst_fakesink_event),
25384         (gst_fakesink_preroll), (gst_fakesink_render):
25385         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25386         (gst_filesink_init), (gst_filesink_set_location),
25387         (gst_filesink_open_file), (gst_filesink_close_file),
25388         (gst_filesink_pad_query), (gst_filesink_event),
25389         (gst_filesink_render), (gst_filesink_change_state):
25390         * gst/elements/gstfilesink.h:
25391         Added object to help in making collect pad based elements.
25392         Ported filesink.
25393         Make event function in sink baseclass return gboolean.
25394
25395 2005-05-05  Wim Taymans  <wim@fluendo.com>
25396
25397         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25398         (gst_bin_get_by_name):
25399         * gst/gstbuffer.h:
25400         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25401         (gst_clock_finalize):
25402         * gst/gstdata.c: (gst_data_replace):
25403         * gst/gstdata.h:
25404         * gst/gstelement.c: (gst_element_request_pad),
25405         (gst_element_pads_activate):
25406         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25407         (gst_object_unref):
25408         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25409         (gst_pad_set_checkgetrange_function),
25410         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25411         (gst_pad_check_pull_range), (gst_pad_pull_range),
25412         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25413         (gst_pad_pause_task), (gst_pad_stop_task):
25414         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25415         (gst_element_request_pad), (gst_pad_proxy_getcaps):
25416         Fix name lookup in GstBin.
25417         Added _data_replace() function and _buffer_replace()
25418         Use finalize method to clean up clock.
25419         Fix refcounting on request pads.
25420         Fix pad schedule mode error.
25421         Some more object refcounting debug info,
25422
25423
25424 2005-05-04  Andy Wingo <wingo@pobox.com>
25425
25426         * check/Makefile.am:
25427         * docs/gst/tmpl/gstatomic.sgml:
25428         * docs/gst/tmpl/gstplugin.sgml:
25429         * gst/base/gstbasesink.c: (gst_basesink_activate):
25430         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25431         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25432         (gst_basesrc_query), (gst_basesrc_set_property),
25433         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25434         (gst_basesrc_activate):
25435         * gst/base/gstbasesrc.h:
25436         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25437         (gst_base_transform_src_activate):
25438         * gst/elements/gstelements.c:
25439         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25440         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25441         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25442         * gst/elements/gsttypefindelement.c: (find_element_get_length),
25443         (gst_type_find_element_checkgetrange),
25444         (gst_type_find_element_activate):
25445         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25446         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25447         (gst_caps_load_thyself):
25448         * gst/gstelement.c: (gst_element_pads_activate),
25449         (gst_element_save_thyself), (gst_element_restore_thyself):
25450         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25451         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25452         * gst/gstpad.h:
25453         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25454         (gst_xml_parse_file), (gst_xml_parse_memory),
25455         (gst_xml_get_element), (gst_xml_make_element):
25456         * gst/indexers/gstfileindex.c: (gst_file_index_load),
25457         (_file_index_id_save_xml), (gst_file_index_commit):
25458         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25459         (read_enum), (load_pad_template), (load_feature), (load_plugin),
25460         (load_paths):
25461         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25462         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25463         * tools/gst-complete.c: (main):
25464         * tools/gst-compprep.c: (main):
25465         * tools/gst-inspect.c: (print_element_properties_info):
25466         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25467         * tools/gst-xmlinspect.c: (print_element_properties):
25468         GCC 4 fixen.
25469         
25470 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25471
25472         * gst/gstplugin.c: (gst_plugin_check_module),
25473         (gst_plugin_check_file), (gst_plugin_load_file):
25474             apply patch from #172526 to make register work on MacOSX
25475
25476 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25477
25478         * docs/gst/tmpl/gstconfig.sgml:
25479         * gst/gstconfig.h.in:
25480           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
25481         * testsuite/debug/printf_extension.c: (main):
25482           Do not use GST_PTR_FORMAT on pointers to types with
25483           sizeof < sizeof(gpointer).  Fixes test on 64-bit
25484         * testsuite/elements/property.h:
25485           use correct printf format
25486
25487 2005-05-02  Wim Taymans  <wim@fluendo.com>
25488
25489         * docs/design/draft-push-pull.txt:
25490         * docs/design/draft-query.txt:
25491         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25492         (gst_basesrc_start):
25493         Added draft for new query API.
25494         Added draft for better selecting scheduling methods.
25495         Make basesrc ignore length if the subclass does not support
25496         it.
25497
25498 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25499
25500         * gst/Makefile.am:
25501           possible fixes for automake-1.5 - _LIBADD is reserved
25502
25503 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25504
25505         * docs/faq/Makefile.am:
25506         * docs/manual/Makefile.am:
25507         * docs/manuals.mak:
25508         * docs/pwg/Makefile.am:
25509         * gst/Makefile.am:
25510           possible fixes for automake-1.5
25511
25512 2005-04-28  Wim Taymans  <wim@fluendo.com>
25513
25514         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25515         (gst_basesink_pad_getcaps), (gst_basesink_init),
25516         (gst_basesink_do_sync):
25517         * gst/gstclock.c: (gst_clock_entry_new):
25518         * gst/gstevent.c: (gst_event_discont_get_value):
25519         * gst/gstpipeline.c: (pipeline_bus_handler),
25520         (gst_pipeline_change_state):
25521         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25522         Better debugging of clocking info.
25523         Allow NULL values when getting discont values.
25524
25525 2005-04-27  Wim Taymans  <wim@fluendo.com>
25526
25527         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25528         * check/gst/gstpad.c: (gst_pad_suite):
25529         Increase timeout for checks.
25530
25531 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25532
25533         * check/Makefile.am:
25534           fix the broken rule for cleanup.  Apparently this rule is
25535           only needed on FC2, so maybe this warrants further autotool
25536           inspection.
25537
25538 2005-04-26  Wim Taymans  <wim@fluendo.com>
25539
25540         * gst/gsttrashstack.h:
25541         Ooohh. a nasty one! After having a failed pop() from the stack,
25542         it's possible that the stack is empty. In that case, don't
25543         follow the NULL pointer.
25544
25545 2005-04-25  Wim Taymans  <wim@fluendo.com>
25546
25547         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25548         (gst_pad_set_checkgetrange_function),
25549         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25550         (gst_pad_check_pull_range), (gst_pad_pull_range),
25551         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25552         (gst_pad_pause_task), (gst_pad_stop_task):
25553         * gst/gstplugin.c: (gst_plugin_load):
25554         * gst/gstplugin.h:
25555         Remove gst_library_load as it does more harm than good with
25556         the new g_module flags.
25557         Revert bogus caps template check in pad linking, pad caps
25558         are important when linking not the template, which is more
25559         general than the current caps.
25560
25561 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25562
25563         * gst/autoplug/.cvsignore:
25564         * gst/autoplug/Makefile.am:
25565         * gst/autoplug/gstsearchfuncs.c:
25566         * gst/autoplug/gstsearchfuncs.h:
25567         * gst/autoplug/gstspider.c:
25568         * gst/autoplug/gstspider.h:
25569         * gst/autoplug/gstspideridentity.c:
25570         * gst/autoplug/gstspideridentity.h:
25571         * gst/autoplug/spidertest.c:
25572           Die, spider, die.
25573
25574 2005-04-25  Wim Taymans  <wim@fluendo.com>
25575
25576         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25577         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25578         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25579         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25580         * gst/gstpad.h:
25581         Added stubs for unimplemented functions. 
25582
25583 2005-04-24  David Schleef  <ds@schleef.org>
25584
25585         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
25586         please fix.
25587
25588 2005-04-24  David Schleef  <ds@schleef.org>
25589
25590         Convert everything from GstAtomicInt to g_atomic_int_*, and
25591         remove gstatomic.
25592         * gst/Makefile.am:
25593         * gst/gstatomic.c:
25594         * gst/gstatomic.h:
25595         * gst/gstatomic_impl.h:
25596         * gst/gstbuffer.c:
25597         * gst/gstcaps.c:
25598         * gst/gstcaps.h:
25599         * gst/gstclock.c:
25600         * gst/gstclock.h:
25601         * gst/gstdata.c:
25602         * gst/gstdata.h:
25603         * gst/gstdata_private.h:
25604         * gst/gstevent.c:
25605         * gst/gstinfo.c:
25606         * gst/gstinfo.h:
25607         * gst/gstmessage.c:
25608         * gst/gstobject.c:
25609         * gst/gstobject.h:
25610         * gst/gststructure.c:
25611         * gst/gststructure.h:
25612         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25613         * gst/gstutils.h:
25614
25615 2005-04-24  David Schleef  <ds@schleef.org>
25616
25617         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25618         make the regressions tests work.  Remove some code that is no
25619         longer true.
25620         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25621         Disable warning for pads without templates.
25622
25623 2005-04-24  David Schleef  <ds@schleef.org>
25624
25625         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
25626         functions that handle filtered links.
25627         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25628         removed functions.
25629         * gst/gstutils.c: Fix/remove utility functions that handle
25630         filtered caps.
25631         * gst/gstutils.h:
25632         * gst/gstvalue.c: Add serialization/deserialization of caps
25633         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
25634         requires fixing so that the filter caps notation creates
25635         a capsfilter element and sets the filter_caps property.  I
25636         think everyone probably wants to keep the shorthand notation.
25637         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25638         * docs/gst/tmpl/gstpad.sgml:
25639
25640         * gst/elements/gstelements.c: Register capsfilter element.
25641         * gst/Makefile.am: fix spacing
25642         * docs/random/ds/0.9-suggested-changes: random
25643
25644 2005-04-23  David Schleef  <ds@schleef.org>
25645
25646         * gst/elements/Makefile.am:
25647         * gst/elements/gstcapsfilter.c: New element that acts like an
25648         identity, but filters caps.  Will eventually replace filtered
25649         caps in pad linking.
25650         * gst/gstutils.c: (gst_element_create_all_pads): New function
25651         to create all the ALWAYS pads that are registered with an
25652         element class.  This functionality should eventually be
25653         merged in with GstElement initialization.
25654         * gst/gstutils.h:
25655         * testsuite/trigger/README: part of trigger test code that should
25656         have been checked in a long time ago.
25657
25658 2005-04-23  David Schleef  <ds@schleef.org>
25659
25660         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
25661         needed with new versions of libtool (nobody will confirm this),
25662         and hard to carry around.
25663         * gst/autoplug/Makefile.am:
25664         * gst/base/Makefile.am:
25665         * gst/elements/Makefile.am:
25666         * gst/indexers/Makefile.am:
25667         * gst/schedulers/Makefile.am:
25668         * libs/gst/bytestream/Makefile.am:
25669         * libs/gst/control/Makefile.am:
25670         * libs/gst/dataprotocol/Makefile.am:
25671         * libs/gst/getbits/Makefile.am:
25672
25673 2005-04-21  Wim Taymans  <wim@fluendo.com>
25674
25675         * docs/design/draft-push-pull.txt:
25676         * docs/design/part-MT-refcounting.txt:
25677         * docs/design/part-TODO.txt:
25678         * docs/design/part-caps.txt:
25679         * docs/design/part-events.txt:
25680         * docs/design/part-gstbus.txt:
25681         * docs/design/part-gstpipeline.txt:
25682         * docs/design/part-messages.txt:
25683         * docs/design/part-push-pull.txt:
25684         * docs/design/part-query.txt:
25685         Some more docs.
25686
25687 2005-04-21  Wim Taymans  <wim@fluendo.com>
25688
25689         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25690         (gst_message_new), (gst_message_new_error),
25691         (gst_message_new_warning), (gst_message_new_tag),
25692         (gst_message_new_state_changed), (gst_message_new_application),
25693         (gst_message_get_structure):
25694         * gst/gstmessage.h:
25695         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25696         (gst_structure_copy_conditional):
25697         Use parent refcount in GstMessage to ensure GstStructure
25698         consistency.
25699         Cleaned up headers a bit.
25700         
25701
25702 2005-04-20  Wim Taymans  <wim@fluendo.com>
25703
25704         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25705         (gst_basesink_pad_getcaps), (gst_basesink_init),
25706         (gst_basesink_chain_unlocked):
25707         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25708         (gst_type_find_helper):
25709         * gst/elements/gsttypefindelement.c:
25710         (gst_type_find_element_have_type), (gst_type_find_element_init),
25711         (stop_typefinding), (gst_type_find_element_handle_event),
25712         (find_suggest), (gst_type_find_element_chain),
25713         (gst_type_find_element_checkgetrange),
25714         (gst_type_find_element_getrange), (do_typefind),
25715         (gst_type_find_element_activate):
25716         * gst/gstbuffer.c: (_gst_buffer_sub_free),
25717         (gst_buffer_default_free), (gst_buffer_default_copy),
25718         (gst_buffer_set_caps):
25719         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25720         (gst_caps_replace):
25721         * gst/gstmessage.c: (gst_message_new),
25722         (gst_message_new_state_changed):
25723         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25724         (gst_pad_set_checkgetrange_function),
25725         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25726         (gst_pad_set_caps), (gst_pad_check_pull_range),
25727         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25728         * gst/gstpad.h:
25729         * gst/gsttypefind.c: (gst_type_find_register):
25730         Make gst_caps_replace() work like other _replace() functions.
25731         Use _caps_replace() where possible.
25732         Make sure _message_new() initialises its field.
25733         Add gst_static_pad_template_get_caps()
25734
25735
25736 2005-04-18  Andy Wingo  <wingo@pobox.com>
25737
25738         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25739         on the peer, not the pad. I think that was a typo. Pass an extra
25740         arg to see if random access is possible. Activate the pads as
25741         PULL_RANGE if possible.
25742
25743         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25744
25745         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
25746         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25747         to PROP_....
25748
25749 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25750
25751         * docs/faq/using.xml:
25752           Add note on gstreamer-properties (#154996).
25753
25754 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25755
25756         * docs/random/bbb/optional-properties:
25757           Some analysis on optional properties.
25758
25759 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25760
25761         * docs/gst/tmpl/gstelementfactory.sgml:
25762         * gst/gstelement.h:
25763         * gst/gstelementfactory.c: (gst_element_factory_init),
25764         (gst_element_factory_cleanup), (gst_element_register),
25765         (__gst_element_factory_add_static_pad_template),
25766         (gst_element_factory_get_static_pad_templates),
25767         (gst_element_factory_can_src_caps),
25768         (gst_element_factory_can_sink_caps):
25769         * gst/registries/Makefile.am:
25770         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25771         (gst_xml_registry_class_init), (gst_xml_registry_init),
25772         (gst_xml_registry_new), (gst_xml_registry_set_property),
25773         (gst_xml_registry_get_property), (get_time), (make_dir),
25774         (gst_xml_registry_get_perms_func),
25775         (plugin_times_older_than_recurse), (plugin_times_older_than),
25776         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25777         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25778         (add_to_char_array), (read_string), (read_uint), (read_enum),
25779         (load_pad_template), (load_feature), (load_plugin), (load_paths),
25780         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25781         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25782         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25783         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25784         (gst_xml_registry_rebuild):
25785         * gst/registries/gstlibxmlregistry.h:
25786         * tools/gst-compprep.c: (main):
25787         * tools/gst-inspect.c: (print_pad_templates_info):
25788         * tools/gst-xmlinspect.c: (print_element_info):
25789           Use libxml2 for registry parsing, use staticpadtemplates in
25790           elementfactories. Makes gst_init() +/- 10x faster.
25791
25792 2005-04-12  Wim Taymans  <wim@fluendo.com>
25793
25794         * gst/base/Makefile.am:
25795         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25796         (gst_basesink_pad_getcaps), (gst_basesink_init),
25797         (gst_basesink_event), (gst_basesink_change_state):
25798         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25799         (gst_basesrc_init), (gst_basesrc_query),
25800         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25801         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25802         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25803         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25804         (gst_basesrc_stop), (gst_basesrc_activate),
25805         (gst_basesrc_change_state):
25806         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25807         (helper_find_suggest), (gst_type_find_helper):
25808         * gst/base/gsttypefindhelper.h:
25809         * gst/elements/Makefile.am:
25810         * gst/elements/gstelements.c:
25811         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25812         (gst_fakesink_get_times), (gst_fakesink_event),
25813         (gst_fakesink_preroll), (gst_fakesink_render):
25814         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25815         (gst_fakesrc_init), (gst_fakesrc_event_handler),
25816         (gst_fakesrc_get_property), (gst_fakesrc_create),
25817         (gst_fakesrc_start), (gst_fakesrc_stop):
25818         * gst/elements/gstfakesrc.h:
25819         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25820         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25821         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25822         (gst_filesrc_create_read), (gst_filesrc_create),
25823         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25824         (gst_filesrc_start):
25825         * gst/elements/gsttypefindelement.c:
25826         (gst_type_find_element_have_type), (gst_type_find_element_init),
25827         (start_typefinding), (stop_typefinding), (push_buffer_store),
25828         (gst_type_find_element_handle_event),
25829         (gst_type_find_element_chain),
25830         (gst_type_find_element_checkgetrange),
25831         (gst_type_find_element_getrange), (do_typefind),
25832         (gst_type_find_element_activate),
25833         (gst_type_find_element_change_state):
25834         * gst/elements/gsttypefindelement.h:
25835         * gst/gstpipeline.c: (pipeline_bus_handler):
25836         Added typefind helper.
25837         Small preroll fix in the base sink.
25838         Disable typefind code in basesrc.
25839         Crude port of typefindelement.
25840         Fakesrc cleanups.
25841
25842
25843 2005-04-11  Wim Taymans  <wim@fluendo.com>
25844
25845         * check/gst/gstbus.c: (gstbus_suite):
25846         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25847         * check/gstcheck.h:
25848           Fix up the timeout so that the test does not fail.
25849
25850 2005-04-06  Wim Taymans  <wim@fluendo.com>
25851
25852         * gst/base/README:
25853         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25854         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25855         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25856         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25857         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25858         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25859         (gst_basesrc_stop), (gst_basesrc_activate),
25860         (gst_basesrc_change_state), (basesrc_find_peek),
25861         (basesrc_find_suggest), (gst_basesrc_type_find):
25862         * gst/base/gstbasesrc.h:
25863         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25864         (gst_filesrc_class_init), (gst_filesrc_init),
25865         (gst_filesrc_finalize), (gst_filesrc_set_location),
25866         (gst_filesrc_set_property), (gst_filesrc_get_property),
25867         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25868         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25869         (gst_filesrc_create_read), (gst_filesrc_create),
25870         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25871         * gst/elements/gstfilesrc.h:
25872         * gst/gstelement.c: (gst_element_get_state_func),
25873         (gst_element_lost_state), (gst_element_pads_activate):
25874         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25875         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25876         (gst_pad_pull_range):
25877         * gst/gstpad.h:
25878         More work on the generic source base class, implement seeking,
25879         query.
25880         Make filesrc extend the base source class.
25881         Added gst_pad_set_checkgetrange_function to GstPad.
25882
25883 2005-04-06  Andy Wingo  <wingo@pobox.com>
25884
25885         * pkgconfig/gstreamer-base.pc.in:
25886         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25887
25888         * pkgconfig/Makefile.am:
25889         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25890
25891 2005-04-04  Wim Taymans  <wim@fluendo.com>
25892
25893         * gst/base/Makefile.am:
25894         * gst/base/README:
25895         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25896         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25897         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25898         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25899         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25900         (gst_basesrc_base_init), (gst_basesrc_class_init),
25901         (gst_basesrc_init), (gst_basesrc_get_formats),
25902         (gst_basesrc_get_query_types), (gst_basesrc_query),
25903         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25904         (gst_basesrc_set_property), (gst_basesrc_get_property),
25905         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25906         (gst_basesrc_loop), (gst_basesrc_activate),
25907         (gst_basesrc_change_state):
25908         * gst/base/gstbasesrc.h:
25909         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25910         (gst_fakesrc_class_init), (gst_fakesrc_init),
25911         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25912         (gst_fakesrc_get_property), (gst_fakesrc_create):
25913         * gst/elements/gstfakesrc.h:
25914         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25915         (gst_filesrc_open_file), (gst_filesrc_loop),
25916         (gst_filesrc_activate), (filesrc_find_peek),
25917         (gst_filesrc_type_find):
25918         Made base source class, make fakesrc extend it.
25919         Add comments to basesink class.
25920         Some filesrc cleanup.
25921
25922 2005-03-31  David Schleef  <ds@schleef.org>
25923
25924         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25925         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25926         expected to link against libgstreamer.
25927         * gst/base/Makefile.am: link against libgstreamer
25928         * gst/elements/Makefile.am: same
25929
25930 2005-03-31  Andy Wingo  <wingo@pobox.com>
25931
25932         * tests/instantiate/Makefile.am:
25933         * tests/instantiate/caps.c: Add test to test speed of caps copy
25934         and free.
25935
25936         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25937         GMemChunk to be fair.
25938
25939         * gst/gsttrashstack.h: Remove warning about using the fallback
25940         trash stack implementation, it's still faster than malloc.
25941
25942 2005-03-30  Andy Wingo  <wingo@pobox.com>
25943
25944         * tests/complexity.c: Add a copyright.
25945
25946 2005-03-31  Wim Taymans  <wim@fluendo.com>
25947
25948         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25949         (gst_base_transform_class_init), (gst_base_transform_init),
25950         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25951         (gst_base_transform_get_property),
25952         (gst_base_transform_sink_activate),
25953         (gst_base_transform_src_activate),
25954         (gst_base_transform_change_state):
25955         * gst/base/gstbasetransform.h:
25956         * gst/elements/gstidentity.c: (gst_identity_class_init),
25957         (gst_identity_event), (gst_identity_check_perfect),
25958         (gst_identity_transform), (gst_identity_start),
25959         (gst_identity_stop):
25960         Added start/stop methods to transform base class so subclasses 
25961         don't need to deal with state changes even.
25962
25963 2005-03-31  Wim Taymans  <wim@fluendo.com>
25964
25965         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25966         (gst_event_new_discontinuous), (gst_event_discont_get_value):
25967         * gst/gstevent.h:
25968         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25969         (gst_pad_pull_range):
25970         Added rate to the discont event to prepare for variable speed
25971         and reverse playback.
25972
25973 2005-03-29  David Schleef  <ds@schleef.org>
25974
25975         * configure.ac:
25976         * testsuite/trigger/Makefile.am:
25977         * testsuite/trigger/trigger.c: A little example program to show
25978         how trigger-based elements can work.
25979
25980 2005-03-29  Wim Taymans  <wim@fluendo.com>
25981
25982         * gst/base/Makefile.am:
25983         * gst/base/README:
25984         * gst/base/gstbasesink.c: (gst_basesink_get_type),
25985         (gst_basesink_base_init), (gst_basesink_class_init),
25986         (gst_basesink_pad_getcaps), (gst_basesink_init),
25987         (gst_basesink_activate), (gst_basesink_change_state):
25988         * gst/base/gstbasesink.h:
25989         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25990         (gst_base_transform_base_init), (gst_base_transform_finalize),
25991         (gst_base_transform_class_init), (gst_base_transform_init),
25992         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25993         (gst_base_transform_event), (gst_base_transform_getrange),
25994         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25995         (gst_base_transform_set_property),
25996         (gst_base_transform_get_property),
25997         (gst_base_transform_sink_activate),
25998         (gst_base_transform_src_activate),
25999         (gst_base_transform_change_state):
26000         * gst/base/gstbasetransform.h:
26001         * gst/elements/gstidentity.c: (gst_identity_finalize),
26002         (gst_identity_class_init), (gst_identity_init),
26003         (gst_identity_event), (gst_identity_check_perfect),
26004         (gst_identity_transform), (gst_identity_set_property),
26005         (gst_identity_get_property), (gst_identity_change_state):
26006         * gst/elements/gstidentity.h:
26007         * gst/gstelement.c: (gst_element_get_state_func),
26008         (gst_element_lost_state), (gst_element_pads_activate):
26009         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26010         (gst_pad_check_pull_range), (gst_pad_pull_range):
26011         * gst/gstpad.h:
26012         Simplify pad activation.
26013         Added function to check if pull_range can be performed.
26014         Error out when pulling inactive or flushing pads.
26015         Removed const from refcounted types as it does not make sense.
26016         Simplify pad templates in basesink
26017         Added base class for simple 1-to-1 transforms.
26018         Make identity subclass the base transform.
26019
26020 2005-03-29  Andy Wingo  <wingo@pobox.com>
26021
26022         * docs/libs/gstreamer-libs-overrides.txt: 
26023         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
26024         really don't understand what's going on, but like whatever. I want
26025         green buildbot!
26026
26027         * docs/gst/Makefile.am:
26028         * docs/libs/Makefile.am: Dist the overrides files.
26029
26030         * check/Makefile.am (clean-local): Remove .libs directories.
26031
26032         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
26033         elements to EXTRA_DIST, so po/ files are happy.
26034
26035         * po/POTFILES.in: Er, remove it here.
26036
26037         * po/POTFILES: Remove gstspider.c.
26038
26039         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
26040
26041         * docs/libs/gstreamer-libs-docs.sgml: 
26042         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
26043         bytestream.
26044
26045         * tests/complexity.c (main): Set the length of the preroll queue
26046         on the sinks to prevent a lockup.
26047
26048         * libs/gst/dataprotocol/Makefile.am: 
26049         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
26050         the same as the one in check/gst-libs/gdp.c.
26051
26052         * po/, docs/gst/: Commit automatic changes to docs and po files.
26053
26054         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
26055         the versioned libgstbase.
26056
26057         * check/Makefile.am: Depend on an unversioned gst-register, seems
26058         to make autoconf happier.
26059
26060         * gst/base/Makefile.am: Make libgstbase a versioned lib.
26061
26062 2005-03-28  Wim Taymans  <wim@fluendo.com>
26063
26064         * configure.ac:
26065         * docs/design/part-gstelement.txt:
26066         * docs/design/part-negotiation.txt:
26067         * docs/design/part-preroll.txt:
26068         * docs/design/part-scheduling.txt:
26069         * docs/design/part-states.txt:
26070         * gst/Makefile.am:
26071         * gst/base/Makefile.am:
26072         * gst/base/README:
26073         * gst/base/gstbasesink.c: (gst_basesink_get_template),
26074         (gst_basesink_base_init), (gst_basesink_class_init),
26075         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
26076         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
26077         (gst_basesink_set_pad_functions),
26078         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
26079         (gst_basesink_set_property), (gst_basesink_get_property),
26080         (gst_base_sink_get_template), (gst_base_sink_get_caps),
26081         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
26082         (gst_basesink_preroll_queue_push),
26083         (gst_basesink_preroll_queue_empty),
26084         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
26085         (gst_basesink_event), (gst_basesink_get_times),
26086         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
26087         (gst_basesink_chain_unlocked), (gst_basesink_chain),
26088         (gst_basesink_loop), (gst_basesink_activate),
26089         (gst_basesink_change_state):
26090         * gst/base/gstbasesink.h:
26091         * gst/elements/Makefile.am:
26092         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
26093         (gst_fakesink_class_init), (gst_fakesink_init),
26094         (gst_fakesink_set_property), (gst_fakesink_get_property),
26095         (gst_fakesink_get_times), (gst_fakesink_event),
26096         (gst_fakesink_preroll), (gst_fakesink_render),
26097         (gst_fakesink_change_state):
26098         * gst/elements/gstfakesink.h:
26099         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
26100         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
26101         * gst/gstelement.c: (gst_element_add_pad),
26102         (gst_element_get_state_func), (gst_element_abort_state),
26103         (gst_element_commit_state), (gst_element_lost_state),
26104         (gst_element_set_state), (gst_element_pads_activate):
26105         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
26106         * gst/gstpipeline.c: (gst_pipeline_send_event),
26107         (gst_pipeline_change_state):
26108         Added state change code.
26109         Added/updated docs.
26110         Added sink base class, make fakesink extend the base class.
26111         Small cleanups in GstPipeline.
26112
26113 2005-03-26  David Schleef  <ds@schleef.org>
26114
26115         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
26116         is broken and should be implemented in a different library.
26117         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
26118         * gst/gst.h: remove gstcpu.h
26119         * gst/gstcpu.c: remove
26120         * gst/gstcpu.h: remove
26121         * gst/Makefile.am.future: Remove this file.  It's ancient.
26122
26123 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26124
26125         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
26126         (gst_bin_send_event):
26127           Add default event/set_manager handlers. The set_manager handler
26128           takes care that the manager is distributed over kids that were
26129           already in the bin before the manager was set. The event handler
26130           is a utility virtual function that sends the event over all sinks,
26131           so that gst_element_send_event (bin, event); has the expected
26132           behaviour.
26133         * gst/gstpad.c: (gst_pad_event_default):
26134           Re-install default event handling for discontinuities, so that
26135           seeking works without requiring hacks in applications or extra
26136           code in sinks.
26137         * gst/gstpipeline.c: (gst_pipeline_class_init),
26138         (gst_pipeline_send_event):
26139           Half hack, half utility: set a pipeline to PAUSED for seek events,
26140           since that is the only way we can guarantee a/v sync. Means that
26141           you can do gst_element_seek (pipeline, method, pos); on a pipeline
26142           and it "just works".
26143
26144 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26145
26146         * gst/gstpipeline.c: (gst_pipeline_use_clock):
26147           Lock/unlock mismatch.
26148
26149 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26150
26151         * docs/faq/gst-uninstalled:
26152           add gst-plugins-base
26153         * docs/gst/Makefile.am:
26154           don't error out until docs are fixed
26155         * docs/gst/gstreamer.types:
26156           remove thread
26157
26158 2005-03-22  Wim Taymans  <wim@fluendo.com>
26159
26160         * check/Makefile.am:
26161         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
26162         * gst/gststructure.c: (gst_structure_set_valist),
26163         (gst_structure_copy_conditional):
26164         Activated more tests.
26165         Added message test.
26166         Added G_TYPE_POINTER to GstStructure.
26167         
26168
26169 2005-03-22  Wim Taymans  <wim@fluendo.com>
26170
26171         * docs/design/part-TODO.txt:
26172         * docs/design/part-events.txt:
26173         * docs/design/part-gstbin.txt:
26174         * docs/design/part-gstbus.txt:
26175         * docs/design/part-gstpipeline.txt:
26176         * docs/design/part-messages.txt:
26177         * gst/gstbus.c:
26178         * gst/gstmessage.c:
26179         Docs updates
26180
26181 2005-03-21  Wim Taymans  <wim@fluendo.com>
26182
26183         * gst/gstbus.c: (gst_bus_post):
26184         Fix copy-and-paste error.
26185
26186 2005-03-21  Wim Taymans  <wim@fluendo.com>
26187
26188         * check/Makefile.am:
26189         * gst/Makefile.am:
26190         * gst/elements/Makefile.am:
26191         * gst/elements/gstelements.c:
26192         * gst/elements/gstfakesink.c: (gst_fakesink_init),
26193         (gst_fakesink_event), (gst_fakesink_chain):
26194         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26195         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
26196         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
26197         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
26198         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26199         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
26200         (gst_fakesrc_loop), (gst_fakesrc_activate),
26201         (gst_fakesrc_change_state):
26202         * gst/elements/gstfakesrc.h:
26203         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
26204         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
26205         (gst_filesrc_open_file), (gst_filesrc_loop),
26206         (gst_filesrc_activate), (gst_filesrc_change_state),
26207         (filesrc_find_peek), (filesrc_find_suggest),
26208         (gst_filesrc_type_find):
26209         * gst/elements/gstidentity.c: (gst_identity_finalize),
26210         (gst_identity_class_init), (gst_identity_init),
26211         (gst_identity_proxy_getcaps), (identity_queue_push),
26212         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
26213         (gst_identity_getrange), (gst_identity_chain),
26214         (gst_identity_sink_loop), (gst_identity_src_loop),
26215         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
26216         (gst_identity_set_property), (gst_identity_get_property),
26217         (gst_identity_change_state):
26218         * gst/elements/gstidentity.h:
26219         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
26220         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
26221         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
26222         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
26223         (gst_tee_sink_activate):
26224         * gst/elements/gsttee.h:
26225         * gst/gst.c: (gst_register_core_elements), (init_post):
26226         * gst/gst.h:
26227         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
26228         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
26229         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
26230         (gst_bin_change_state):
26231         * gst/gstbin.h:
26232         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
26233         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
26234         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
26235         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
26236         (gst_bus_set_sync_handler), (gst_bus_create_watch),
26237         (bus_watch_callback), (bus_watch_destroy),
26238         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
26239         (poll_timeout), (gst_bus_poll):
26240         * gst/gstbus.h:
26241         * gst/gstcaps.h:
26242         * gst/gstdata.h:
26243         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26244         (gst_element_post_message), (gst_element_message_full),
26245         (gst_element_get_state_func), (gst_element_get_state),
26246         (gst_element_abort_state), (gst_element_commit_state),
26247         (gst_element_lost_state), (gst_element_set_state),
26248         (gst_element_pads_activate), (gst_element_change_state),
26249         (gst_element_dispose), (gst_element_set_manager_func),
26250         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
26251         (gst_element_set_manager), (gst_element_get_manager),
26252         (gst_element_set_bus), (gst_element_get_bus),
26253         (gst_element_set_scheduler), (gst_element_get_scheduler):
26254         * gst/gstelement.h:
26255         * gst/gstevent.c: (gst_event_new_segment_seek),
26256         (gst_event_new_flush):
26257         * gst/gstevent.h:
26258         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
26259         (_gst_message_free), (gst_message_get_type), (gst_message_new),
26260         (gst_message_new_eos), (gst_message_new_error),
26261         (gst_message_new_warning), (gst_message_new_tag),
26262         (gst_message_new_state_changed), (gst_message_new_application),
26263         (gst_message_get_structure), (gst_message_parse_tag),
26264         (gst_message_parse_state_changed), (gst_message_parse_error),
26265         (gst_message_parse_warning):
26266         * gst/gstmessage.h:
26267         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
26268         (gst_real_pad_set_property), (gst_pad_set_active),
26269         (gst_pad_is_active), (gst_pad_set_blocked_async),
26270         (gst_pad_set_blocked), (gst_pad_is_blocked),
26271         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
26272         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
26273         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
26274         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
26275         (gst_pad_link_filtered), (gst_pad_relink_filtered),
26276         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
26277         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
26278         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
26279         (gst_pad_set_caps), (gst_pad_configure_sink),
26280         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
26281         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
26282         (gst_real_pad_dispose), (gst_real_pad_finalize),
26283         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
26284         (gst_pad_event_default_dispatch), (gst_pad_event_default),
26285         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
26286         * gst/gstpad.h:
26287         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
26288         (pipeline_bus_handler), (gst_pipeline_change_state),
26289         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
26290         * gst/gstpipeline.h:
26291         * gst/gstprobe.h:
26292         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
26293         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
26294         (gst_queue_link_src), (gst_queue_bufferalloc),
26295         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
26296         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
26297         (gst_queue_loop), (gst_queue_handle_src_event),
26298         (gst_queue_handle_src_query), (gst_queue_src_activate),
26299         (gst_queue_change_state):
26300         * gst/gstqueue.h:
26301         * gst/gstscheduler.c: (gst_scheduler_init),
26302         (gst_scheduler_dispose), (gst_scheduler_create_task),
26303         (gst_scheduler_factory_create):
26304         * gst/gstscheduler.h:
26305         * gst/gststructure.c: (gst_structure_get_type),
26306         (gst_structure_copy_conditional):
26307         * gst/gststructure.h:
26308         * gst/gsttaginterface.h:
26309         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26310         (gst_task_init), (gst_task_dispose), (gst_task_create),
26311         (gst_task_get_state), (gst_task_start), (gst_task_stop),
26312         (gst_task_pause):
26313         * gst/gsttask.h:
26314         * gst/gstthread.c:
26315         * gst/gstthread.h:
26316         * gst/gsttypes.h:
26317         * gst/schedulers/Makefile.am:
26318         * gst/schedulers/cothreads_compat.h:
26319         * gst/schedulers/entryscheduler.c:
26320         * gst/schedulers/faircothreads.c:
26321         * gst/schedulers/faircothreads.h:
26322         * gst/schedulers/fairscheduler.c:
26323         * gst/schedulers/gstbasicscheduler.c:
26324         * gst/schedulers/gstoptimalscheduler.c:
26325         * gst/schedulers/gthread-cothreads.h:
26326         * gst/schedulers/threadscheduler.c:
26327         (gst_thread_scheduler_task_get_type),
26328         (gst_thread_scheduler_task_class_init),
26329         (gst_thread_scheduler_task_init),
26330         (gst_thread_scheduler_task_start),
26331         (gst_thread_scheduler_task_stop),
26332         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26333         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26334         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26335         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26336         (plugin_init):
26337         * libs/gst/Makefile.am:
26338         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26339         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26340         (gst_file_pad_parent_set):
26341         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26342         (gst_dp_event_from_packet):
26343         * tests/complexity.c: (main):
26344         * tests/mass_elements.c: (main):
26345         * testsuite/states/locked.c: (message_received), (main):
26346         * testsuite/states/parent.c: (main):
26347         * tools/gst-inspect.c: (print_element_flag_info),
26348         (print_implementation_info), (print_pad_info):
26349         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26350         (main):
26351         * tools/gst-md5sum.c: (event_loop), (main):
26352         * tools/gst-typefind.c: (main):
26353         * tools/gst-xmlinspect.c: (print_element_info):
26354         Next big merge.
26355         Added GstBus for mainloop integration.
26356         Added GstMessage for sending notifications on the bus.
26357         Added GstTask as an abstraction for pipeline entry points.
26358         Removed GstThread.
26359         Removed Schedulers.
26360         Simplified GstQueue for multithreaded core.
26361         Made _link threadsafe, removed old capsnego.
26362         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26363         Added pad blocking functions.
26364         Reworked scheduling functions in GstPad to prepare for
26365         scheduling updates soon.
26366         Moved events out of data stream.
26367         Simplified GstEvent types.
26368         Added return values to push/pull.
26369         Removed clocking from GstElement.
26370         Added prototypes for state change function for next merge.
26371         Removed iterate from bins and state change management.
26372         Fixed some elements, disabled others for now.
26373         Fixed -inspect and -launch.
26374         Added check for GstBus.
26375
26376 2005-03-10  Wim Taymans  <wim@fluendo.com>
26377
26378         * docs/design/part-MT-refcounting.txt:
26379         * docs/design/part-clocks.txt:
26380         * docs/design/part-gstelement.txt:
26381         * docs/design/part-gstobject.txt:
26382         * docs/design/part-standards.txt:
26383         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26384         (gst_bin_remove_func), (gst_bin_remove):
26385         * gst/gstbin.h:
26386         * gst/gstbuffer.c:
26387         * gst/gstcaps.h:
26388         * testsuite/clock/clock1.c: (main):
26389         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26390         (main):
26391         * testsuite/dlopen/loadgst.c: (do_test):
26392         * testsuite/refcounting/bin.c: (add_remove_test1),
26393         (add_remove_test2), (main):
26394         * testsuite/refcounting/element.c: (main):
26395         * testsuite/refcounting/element_pad.c: (main):
26396         * testsuite/refcounting/pad.c: (main):
26397         * tools/gst-launch.c: (sigint_handler_sighandler):
26398         * tools/gst-typefind.c: (main):
26399         Doc updates.
26400         Added doc about clock.
26401         removed gst_bin_iterate_recurse_up(), marked methods
26402         for removal.
26403         Fix more testsuites.
26404
26405 2005-03-09  Wim Taymans  <wim@fluendo.com>
26406
26407         * gst/gstpad.c: (gst_pad_get_direction),
26408         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26409         (gst_pad_collect_valist):
26410         * testsuite/bins/interface.c: (main):
26411         * testsuite/caps/audioscale.c: (test_caps):
26412         * testsuite/caps/caps.c: (test1), (test2), (test3):
26413         * testsuite/caps/deserialize.c: (main):
26414         * testsuite/caps/enumcaps.c: (main):
26415         * testsuite/caps/filtercaps.c: (main):
26416         * testsuite/caps/intersect2.c: (main):
26417         * testsuite/caps/random.c: (main):
26418         * testsuite/caps/renegotiate.c: (my_fixate), (main):
26419         * testsuite/caps/sets.c: (check_caps):
26420         * testsuite/caps/simplify.c: (check_caps), (main):
26421         * testsuite/caps/subtract.c: (check_caps):
26422         Fix _pad_get_direction wrt ghostpads.
26423         Fix caps testsuite.
26424
26425 2005-03-09  Wim Taymans  <wim@fluendo.com>
26426
26427         * check/Makefile.am:
26428         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26429         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26430         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26431         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26432         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26433         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26434         (gst_bin_remove), (gst_bin_iterate_recurse_up),
26435         (bin_element_is_sink), (gst_bin_iterate_sinks),
26436         (gst_bin_iterate_all_by_interface):
26437         * gst/gstbin.h:
26438         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26439         (gst_element_change_state), (gst_element_dispose),
26440         (gst_element_finalize), (gst_element_set_loop_function):
26441         * gst/gstelement.h:
26442         * gst/gstiterator.c: (find_custom_fold_func):
26443         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26444         (gst_pad_collectv), (gst_pad_collect_valist),
26445         (gst_pad_template_new):
26446         * gst/gstpipeline.c: (gst_pipeline_class_init),
26447         (gst_pipeline_dispose), (gst_pipeline_set_property),
26448         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26449         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26450         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26451         * gst/gstutils.h:
26452         * gst/schedulers/entryscheduler.c:
26453         * gst/schedulers/gstbasicscheduler.c:
26454         (gst_basic_scheduler_cothreaded_chain),
26455         (gst_basic_scheduler_chain_add_element):
26456         * testsuite/bins/interface.c: (main):
26457         Added GstBin test.
26458         Added GstSystemClock test.
26459         Implemented clock distribution code in GstBin.
26460         Implemented iterate sinks method for future use.
26461         Rearranged gstelement.h
26462         Fix GstIterator comparison bug.
26463         Moved some code to GstPipeline, mostly clocking related.
26464
26465 2005-03-09  Wim Taymans  <wim@fluendo.com>
26466
26467         * configure.ac:
26468         * gst/gst_private.h:
26469         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26470         (gst_bin_remove_func), (gst_bin_remove),
26471         (gst_bin_get_by_name_recurse_up):
26472         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26473         (gst_clock_id_compare_func), (gst_clock_id_wait),
26474         (gst_clock_id_wait_async), (gst_clock_init),
26475         (gst_clock_adjust_unlocked), (gst_clock_get_time):
26476         * gst/gstelement.h:
26477         * gst/gstinfo.c: (_gst_debug_init):
26478         * gst/gstobject.h:
26479         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26480         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26481         * gst/gstpad.h:
26482         Bump version number, we're now 0.9.0
26483         Add future debugging category.
26484         Fix NULL _unref() in _get_by_name_recurse_up
26485         Rearrange gstpad.h.
26486         Update some docs.
26487
26488 2005-03-08  Wim Taymans  <wim@fluendo.com>
26489
26490         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26491         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26492         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26493         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26494         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26495         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26496         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26497         * gst/elements/gstidentity.c: (gst_identity_class_init):
26498         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26499         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26500         * gst/elements/gstshaper.c: (gst_shaper_class_init):
26501         * gst/elements/gststatistics.c: (gst_statistics_class_init):
26502         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26503         (gst_tee_link):
26504         * gst/gstelement.c: (gst_element_class_init),
26505         (gst_element_base_class_init), (gst_element_init),
26506         (gst_element_get_random_pad), (gst_element_wait_state_change),
26507         (gst_element_change_state), (gst_element_dispose),
26508         (gst_element_finalize), (gst_element_set_loop_function):
26509         * gst/gstelement.h:
26510         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26511         * gst/gstthread.c: (gst_thread_class_init),
26512         (gst_thread_release_children_locks), (gst_thread_change_state):
26513         * gst/schedulers/gstbasicscheduler.c:
26514         (gst_basic_scheduler_loopfunc_wrapper),
26515         (gst_basic_scheduler_chain_wrapper),
26516         (gst_basic_scheduler_src_wrapper),
26517         (gst_basic_scheduler_remove_element):
26518         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26519         Remove threadsafe properties. Fix elements because GObject
26520         complains when installing a property before declaring a
26521         set/get_property handler.
26522         Rearrange gstelement.h file, use STATE macros for state locks.
26523         Free mutexes in the finalize method instead of dispose.
26524
26525 2005-03-08  Wim Taymans  <wim@fluendo.com>
26526
26527         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26528         * gst/gstthread.c: (gst_thread_release_children_locks):
26529         Added parentage check.
26530         Fix build og GstThread again.
26531
26532 2005-03-08  Wim Taymans  <wim@fluendo.com>
26533
26534         * docs/design/part-MT-refcounting.txt:
26535         * docs/design/part-conventions.txt:
26536         * docs/design/part-gstobject.txt:
26537         * docs/design/part-relations.txt:
26538         * docs/design/part-standards.txt:
26539         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26540         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26541         (gst_bin_get_by_name), (gst_bin_get_by_interface),
26542         (gst_bin_iterate_all_by_interface):
26543         * gst/gstbuffer.h:
26544         * gst/gstclock.h:
26545         * gst/gstelement.c: (gst_element_class_init),
26546         (gst_element_change_state), (gst_element_set_loop_function):
26547         * gst/gstelement.h:
26548         * gst/gstiterator.c:
26549         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26550         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26551         (gst_object_dispatch_properties_changed), (gst_object_set_name),
26552         (gst_object_set_parent), (gst_object_unparent),
26553         (gst_object_check_uniqueness):
26554         * gst/gstobject.h:
26555         Docs updates, clean up some headers.
26556
26557 2005-03-07  Wim Taymans  <wim@fluendo.com>
26558
26559         * check/.cvsignore:
26560         * check/Makefile.am:
26561         * check/gst-libs/.cvsignore:
26562         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26563         * check/gst/.cvsignore:
26564         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26565         (START_TEST), (gstbus_suite), (main):
26566         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26567         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26568         (gst_data_suite), (main):
26569         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26570         (add_fold_func), (gstiterator_suite), (main):
26571         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26572         (thread_name_object), (thread_name_object_default),
26573         (gst_object_name_compare), (gst_object_suite), (main):
26574         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26575         (gst_pad_suite), (main):
26576         * check/gstcheck.c: (gst_check_log_message_func),
26577         (gst_check_log_critical_func), (gst_check_init):
26578         * check/gstcheck.h:
26579         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26580         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26581         Added checks.
26582
26583 2005-03-07  Wim Taymans  <wim@fluendo.com>
26584
26585         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26586         (gst_list_iterator_next), (gst_list_iterator_resync),
26587         (gst_list_iterator_free), (gst_iterator_new_list),
26588         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26589         (gst_iterator_free), (gst_iterator_push), (filter_next),
26590         (filter_resync), (filter_uninit), (filter_free),
26591         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26592         (gst_iterator_foreach), (find_custom_fold_func),
26593         (gst_iterator_find_custom):
26594         * gst/gstiterator.h:
26595         Added missing files.
26596
26597 2005-03-07  Wim Taymans  <wim@fluendo.com>
26598
26599         * Makefile.am:
26600         * configure.ac:
26601         * docs/design/part-MT-refcounting.txt:
26602         * docs/design/part-conventions.txt:
26603         * docs/design/part-gstobject.txt:
26604         * docs/design/part-relations.txt:
26605         * examples/mixer/mixer.c: (main):
26606         * examples/thread/thread.c: (eos), (main):
26607         * gst/Makefile.am:
26608         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26609         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26610         (gst_spider_plug_from_srcpad):
26611         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26612         (gst_spider_identity_change_state),
26613         (gst_spider_identity_sink_loop_type_finding):
26614         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26615         * gst/elements/gstidentity.c: (gst_identity_init):
26616         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26617         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26618         * gst/elements/gsttypefindelement.c: (free_entry):
26619         * gst/gst.c:
26620         * gst/gst.h:
26621         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26622         (gst_bin_set_clock_func), (gst_bin_auto_clock),
26623         (gst_bin_set_index), (gst_bin_set_element_sched),
26624         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26625         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26626         (gst_bin_iterate_elements), (iterate_child_recurse),
26627         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26628         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26629         (compare_interface), (gst_bin_get_by_interface),
26630         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26631         * gst/gstbin.h:
26632         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26633         (gst_buffer_default_free), (gst_buffer_default_copy),
26634         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26635         (gst_buffer_create_sub):
26636         * gst/gstbuffer.h:
26637         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26638         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26639         (gst_caps_unref), (gst_static_caps_get),
26640         (gst_caps_remove_and_get_structure), (gst_caps_append),
26641         (gst_caps_append_structure), (gst_caps_remove_structure),
26642         (gst_caps_copy_nth), (gst_caps_set_simple),
26643         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26644         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26645         (gst_caps_structure_intersect_field), (gst_caps_intersect),
26646         (gst_caps_structure_subtract_field), (gst_caps_subtract),
26647         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26648         (gst_caps_structure_figure_out_union),
26649         (gst_caps_switch_structures), (gst_caps_do_simplify),
26650         (gst_caps_replace), (gst_caps_from_string),
26651         (gst_caps_copy_conditional):
26652         * gst/gstcaps.h:
26653         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26654         (_gst_clock_id_free), (gst_clock_id_unref),
26655         (gst_clock_id_compare_func), (gst_clock_id_wait),
26656         (gst_clock_id_wait_async), (gst_clock_class_init),
26657         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26658         (gst_clock_get_time), (gst_clock_set_time_adjust),
26659         (gst_clock_set_property), (gst_clock_get_property):
26660         * gst/gstclock.h:
26661         * gst/gstcompat.h:
26662         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26663         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26664         * gst/gstdata.h:
26665         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26666         (gst_element_requires_clock), (gst_element_provides_clock),
26667         (gst_element_set_clock), (gst_element_clock_wait),
26668         (gst_element_wait), (gst_element_set_time_delay),
26669         (gst_element_is_indexable), (gst_element_add_pad),
26670         (gst_element_add_ghost_pad), (gst_element_remove_pad),
26671         (pad_compare_name), (gst_element_get_static_pad),
26672         (gst_element_request_pad), (gst_element_get_request_pad),
26673         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26674         (gst_element_class_get_pad_template_list),
26675         (gst_element_class_get_pad_template), (gst_element_error_func),
26676         (gst_element_get_random_pad), (gst_element_get_event_masks),
26677         (gst_element_send_event), (gst_element_seek),
26678         (gst_element_get_query_types), (gst_element_query),
26679         (gst_element_get_formats), (gst_element_convert),
26680         (gst_element_is_locked_state), (gst_element_set_locked_state),
26681         (gst_element_sync_state_with_parent), (gst_element_change_state),
26682         (gst_element_finalize), (gst_element_yield),
26683         (gst_element_interrupt), (gst_element_set_scheduler),
26684         (gst_element_get_scheduler), (gst_element_set_loop_function):
26685         * gst/gstelement.h:
26686         * gst/gstevent.h:
26687         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26688         (gst_format_get_by_nick), (gst_format_get_details),
26689         (gst_format_iterate_definitions):
26690         * gst/gstformat.h:
26691         * gst/gstindex.c: (gst_index_gtype_resolver):
26692         * gst/gstinfo.c:
26693         * gst/gstinfo.h:
26694         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26695         (gst_mem_chunk_free):
26696         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26697         (gst_object_ref), (gst_object_unref), (gst_object_sink),
26698         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26699         (gst_object_dispatch_properties_changed),
26700         (gst_object_set_name_default), (gst_object_set_name),
26701         (gst_object_get_name), (gst_object_set_name_prefix),
26702         (gst_object_get_name_prefix), (gst_object_set_parent),
26703         (gst_object_get_parent), (gst_object_unparent),
26704         (gst_object_check_uniqueness), (gst_object_save_thyself),
26705         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26706         (gst_object_set_property), (gst_object_get_property),
26707         (gst_object_get_path_string):
26708         * gst/gstobject.h:
26709         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26710         (gst_real_pad_init), (gst_real_pad_get_property),
26711         (gst_pad_custom_new), (gst_pad_get_direction),
26712         (gst_pad_set_active), (gst_pad_is_active),
26713         (gst_pad_set_event_function), (gst_pad_is_linked),
26714         (gst_pad_link_free), (gst_pad_link_intersect),
26715         (gst_pad_link_fixate), (gst_pad_set_caps),
26716         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26717         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26718         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26719         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26720         (gst_pad_get_caps), (gst_pad_peer_get_caps),
26721         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26722         (gst_pad_realize), (gst_pad_get_allowed_caps),
26723         (gst_real_pad_dispose), (gst_real_pad_finalize),
26724         (gst_pad_collectv), (gst_pad_collect_valist),
26725         (gst_pad_template_dispose), (gst_pad_template_new),
26726         (gst_pad_get_internal_links):
26727         * gst/gstpad.h:
26728         * gst/gstpipeline.c: (gst_pipeline_dispose),
26729         (gst_pipeline_change_state):
26730         * gst/gstpipeline.h:
26731         * gst/gstplugin.c:
26732         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26733         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26734         * gst/gstpluginfeature.h:
26735         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26736         * gst/gstquery.c: (_gst_query_type_initialize),
26737         (gst_query_type_register), (gst_query_type_get_by_nick),
26738         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26739         * gst/gstquery.h:
26740         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26741         * gst/gstscheduler.c: (gst_scheduler_add_element),
26742         (gst_scheduler_factory_create):
26743         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26744         (gst_structure_free), (gst_structure_set_name),
26745         (gst_structure_id_set_value), (gst_structure_set_value),
26746         (gst_structure_set_valist), (gst_structure_remove_field),
26747         (gst_structure_remove_fields),
26748         (gst_structure_remove_fields_valist),
26749         (gst_structure_remove_all_fields), (gst_structure_foreach),
26750         (gst_structure_map_in_place),
26751         (gst_caps_structure_fixate_field_nearest_int),
26752         (gst_caps_structure_fixate_field_nearest_double):
26753         * gst/gststructure.h:
26754         * gst/gstsystemclock.c: (gst_system_clock_class_init),
26755         (gst_system_clock_init), (gst_system_clock_dispose),
26756         (gst_system_clock_async_thread),
26757         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26758         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26759         * gst/gstsystemclock.h:
26760         * gst/gsttag.c: (gst_tag_list_add_value_internal),
26761         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26762         * gst/gsttaginterface.c:
26763         * gst/gstthread.c: (gst_thread_dispose),
26764         (gst_thread_release_children_locks), (gst_thread_change_state),
26765         (gst_thread_main_loop):
26766         * gst/gsttrashstack.h:
26767         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26768         * gst/gsttypes.h:
26769         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26770         (gst_element_request_pad), (gst_element_get_pad_from_template),
26771         (gst_element_request_compatible_pad),
26772         (gst_element_get_compatible_pad_filtered),
26773         (gst_element_get_compatible_pad), (gst_element_state_get_name),
26774         (gst_element_link_pads_filtered), (gst_element_link_filtered),
26775         (gst_element_link_many), (gst_element_link),
26776         (gst_element_link_pads), (gst_element_unlink_pads),
26777         (gst_element_unlink_many), (gst_element_unlink),
26778         (gst_pad_can_link_filtered), (gst_pad_can_link),
26779         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26780         (gst_object_default_error), (gst_bin_add_many),
26781         (gst_bin_remove_many), (gst_element_populate_std_props),
26782         (gst_element_class_install_std_props), (gst_buffer_merge),
26783         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26784         (link_fold_func), (gst_pad_proxy_setcaps):
26785         * gst/gstutils.h:
26786         * gst/gstvalue.c: (gst_value_deserialize_string):
26787         * gst/parse/grammar.y:
26788         * gst/schedulers/gstbasicscheduler.c:
26789         (gst_basic_scheduler_cothreaded_chain),
26790         (gst_basic_scheduler_chain_recursive_add),
26791         (gst_basic_scheduler_pad_link):
26792         * gst/schedulers/gstoptimalscheduler.c:
26793         (get_group_schedule_function),
26794         (gst_opt_scheduler_state_transition),
26795         (gst_opt_scheduler_add_element), (element_get_reachables_func):
26796         * libs/gst/bytestream/bytestream.c:
26797         * libs/gst/dataprotocol/dataprotocol.c:
26798         (gst_dp_header_from_buffer):
26799         * po/nb.po:
26800         * po/ru.po:
26801         * tests/threadstate/threadstate2.c: (eos):
26802         * tools/gst-compprep.c: (main):
26803         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26804         (print_pad_info), (print_children_info):
26805         * tools/gst-launch.c: (idle_func), (main):
26806         * tools/gst-md5sum.c: (idle_func), (main):
26807         * tools/gst-xmlinspect.c: (print_element_info):
26808         First THREADED backport attempt, focusing on adding locks and
26809         making sure the API is threadsafe. Needs more work. More docs
26810         follow this week.
26811
26812 2005-02-24  Andy Wingo  <wingo@pobox.com>
26813
26814         * tests/bench-complexity.scm:
26815         * tests/complexity.gnuplot: New files, good for running complexity
26816         benchmarks.
26817
26818         * tests/Makefile.am:
26819         * tests/complexity.c: New test, sets up N elements, at each level
26820         teeing into M streams per element. Eeeenteresting.
26821
26822         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26823         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26824         running bench-mass_elements.scm.
26825
26826         * tests/bench-mass_elements.scm: New script, runs mass_elements
26827         for various numbers of identities, outputting the results to a
26828         file. Requires guile 1.6. Just for testing.
26829
26830 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26831
26832         * gst/schedulers/fairscheduler.c:
26833           compile with debug disabled
26834
26835 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26836
26837         * configure.ac:
26838           hunting season on 0.9 is now OPEN