docs/design/: Small docs updates.
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-07-03  Wim Taymans  <wim@fluendo.com>
2
3         * docs/design/part-block.txt:
4         * docs/design/part-dynamic.txt:
5         Small docs updates.
6
7 2006-07-03  Wim Taymans  <wim@fluendo.com>
8
9         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
10         (gst_caps_unref), (gst_static_caps_get),
11         (gst_caps_append_structure):
12         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13         Use GSlice when the glib we build against is >= 2.10
14
15 2006-07-03  Wim Taymans  <wim@fluendo.com>
16
17         * gst/gstelement.c: (gst_element_pads_activate):
18         Small cleanup in pad activation code.
19
20 2006-07-03  Wim Taymans  <wim@fluendo.com>
21
22         Patch by: Peter Kjellerstedt <pkj at axis dot com>
23
24         * gst/gst-i18n-app.h:
25         * gst/gst-i18n-lib.h:
26         * tools/gst-inspect.c: (print_signal_info):
27         The attached patch will make the inclusion of gettext.h unconditional in
28         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
29         libintl.h in tools/gst-inspect.c.
30         This allows use of --disable-nls again and fixes #344642.
31
32 2006-07-03  Edward Hervey  <edward@fluendo.com>
33
34         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
35         Implement pad blocking on events according to part-block.txt.
36         More comments on behaviour.
37         * tests/check/gst/gstevent.c: (test_event):
38         Send event to peer pad of blocked pad (else it will block).
39
40 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
41
42         * libs/gst/check/gstcheck.c: (gst_check_message_error),
43         (gst_check_run_suite):
44           if we get the wrong message, give us the types as string
45         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
46           Fix a translatable
47         * tests/check/elements/filesrc.c: (GST_START_TEST):
48           add a test for trying to open a non-existing file
49
50 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
51
52         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
53           add a test for adding self
54
55 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
56
57         * libs/gst/check/gstcheck.h:
58           add some assert_ as alias for fail_unless_*
59         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
60           increase test coverage
61
62 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
63
64         * Makefile.am:
65           include lcov.mak for lcov coverage generation
66         * tools/Makefile.am:
67           add to CLEANFILES
68
69 2006-07-02  Edward Hervey  <edward@fluendo.com>
70
71         * tests/check/elements/.cvsignore:
72         moaping
73
74 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
75
76         * configure.ac:
77           don't set CFLAGS and friends for gcov, done from GST_GCOV now
78         * tests/check/Makefile.am:
79           clean up gcov files
80
81 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
82
83         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
84           remove gst_caps_simplify; it was not declared and not used
85           and deprecated in 0.8
86
87 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
88
89         * docs/faq/gst-uninstalled:
90           don't put empty paths on PYTHONPATH
91         * docs/gst/gstreamer-sections.txt:
92           remove some symbols that are not there
93
94 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
95
96         * gst/gstcaps.c: (gst_caps_compare_structures):
97           whitespace fixes
98         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
99         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
100           add more tests
101
102 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
103
104         * libs/gst/dataprotocol/Makefile.am:
105           build dataprotocol test by linking to the lib, instead of
106           compiling the source, so we get coverage
107         * tests/check/Makefile.am:
108         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
109         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
110           add a test for filesrc
111
112 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
113
114         * tests/check/gst/gststructure.c: (GST_START_TEST),
115         (gst_structure_suite):
116           Push coverage from 59.04% to 70.00%
117
118 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
119
120         * tests/check/Makefile.am:
121           gst-inspect every element; this makes sure that we also get
122           coverage on element's get/set functions
123
124 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
125
126         * configure.ac:
127           set CFLAGS and friends to -O0 if gcov is being used
128           add GCOV LIBS
129         * gst/Makefile.am:
130         * libs/gst/base/Makefile.am:
131         * libs/gst/check/Makefile.am:
132         * libs/gst/controller/Makefile.am:
133         * libs/gst/dataprotocol/Makefile.am:
134         * libs/gst/net/Makefile.am:
135         * plugins/elements/Makefile.am:
136         * plugins/indexers/Makefile.am:
137           add makefile rules to generate gcov data and clean up
138         * tests/check/Makefile.am:
139           add a coverage target that generates an html overview
140           of coverage data
141
142 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
143
144         * tests/check/elements/fakesink.c:
145         * tests/check/elements/fakesrc.c:
146         * tests/check/elements/fdsrc.c:
147         * tests/check/elements/identity.c:
148         * tests/check/generic/sinks.c: (gst_sinks_suite):
149         * tests/check/generic/states.c:
150         * tests/check/gst/gst.c:
151         * tests/check/gst/gstabi.c:
152         * tests/check/gst/gstbin.c:
153         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
154         * tests/check/gst/gstbus.c: (gst_bus_suite):
155         * tests/check/gst/gstcaps.c: (GST_START_TEST):
156         * tests/check/gst/gstelement.c:
157         * tests/check/gst/gstevent.c: (gst_event_suite):
158         * tests/check/gst/gstghostpad.c:
159         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
160         * tests/check/gst/gstmessage.c: (gst_message_suite):
161         * tests/check/gst/gstminiobject.c:
162         * tests/check/gst/gstobject.c:
163         * tests/check/gst/gstpad.c:
164         * tests/check/gst/gstpipeline.c:
165         * tests/check/gst/gstplugin.c:
166         * tests/check/gst/gstquery.c: (gst_query_suite):
167         * tests/check/gst/gstsegment.c: (gst_segment_suite):
168         * tests/check/gst/gststructure.c:
169         * tests/check/gst/gstsystemclock.c:
170         * tests/check/gst/gsttag.c:
171         * tests/check/gst/gsttask.c: (gst_task_suite):
172         * tests/check/gst/gstutils.c:
173         * tests/check/gst/gstvalue.c:
174         * tests/check/libs/adapter.c:
175         * tests/check/libs/basesrc.c:
176         * tests/check/libs/collectpads.c:
177         * tests/check/libs/controller.c:
178         * tests/check/libs/gdp.c: (gst_dp_suite):
179         * tests/check/libs/gstnetclientclock.c:
180         * tests/check/libs/gstnettimeprovider.c:
181         * tests/check/libs/libsabi.c: (libsabi_suite):
182         * tests/check/libs/typefindhelper.c:
183         * tests/check/pipelines/cleanup.c:
184         * tests/check/pipelines/parse-launch.c:
185         * tests/check/pipelines/simple-launch-lines.c:
186         * tests/check/pipelines/stress.c: (stress_suite):
187           use the new macro
188
189 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
190
191         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
192         * libs/gst/check/gstcheck.h:
193           create a macro and function so that the simple unit test
194           case can be just one macro to create main()
195
196 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
197
198         * gst/gstbin.c: (gst_bin_restore_thyself):
199         * gst/gstxml.c: (gst_xml_make_element):
200           Fix deserialisation from XML. Set parent manually
201           instead of using gst_bin_add(), since gst_bin_add()
202           will unlink all pads of the element being added.
203           Fixes #341667.
204
205 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
206
207         Patch by: Peter Kjellerstedt <pkj at axis com>
208
209         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
210           Fix missing g_strdup() and double free when using the
211           --gst-plugin-load command line option (#346097).
212
213 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
214
215         * gst/gstinfo.c:
216           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
217
218         * libs/gst/net/gstnetclientclock.c:
219         * libs/gst/net/gstnettimeprovider.c:
220           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
221
222 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
223
224         * docs/manual/advanced-dataaccess.xml:
225           Fix buffer probe example compilation in
226           ADM (#345708).
227         
228 2006-06-22  Edward Hervey  <edward@fluendo.com>
229
230         * gst/gstelement.c: (gst_element_pads_activate):
231         We need to deactivate src pads first and then sink pads.
232         The reason is the src pads might be blocking while holding the streaming
233         lock, so we need to deactivate them first so that deactivating the sink
234         pads doesn't block (since it will require the streaming lock).
235
236 2006-06-22  Wim Taymans  <wim@fluendo.com>
237
238         * libs/gst/base/gstbasetransform.c:
239         (gst_base_transform_buffer_alloc):
240         Forgot to remove two unneeded unrefs.
241         Simplify a check _is_equal allready checks the obvious case.
242
243 2006-06-22  Wim Taymans  <wim@fluendo.com>
244
245         * docs/design/part-block.txt:
246         Some docs about what pad_block should do.
247
248 2006-06-22  Wim Taymans  <wim@fluendo.com>
249
250         * gst/gstcaps.c: (gst_caps_replace):
251         Fix crasher when passed NULL. Doc clarification.
252         Optimize for the trivial case.
253
254         * gst/gstpipeline.c: (gst_pipeline_change_state):
255         Small cleanups.
256
257         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
258         Small documentation cleanup.
259
260         * libs/gst/base/gstbasetransform.c:
261         (gst_base_transform_buffer_alloc):
262         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
263         is what we need and it avoids a whole lot of redundant 
264         refcount operations.
265
266 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
267
268         Patch by: Philip Jägenstedt  <philip at lysator liu se>
269
270         * docs/manual/advanced-dataaccess.xml:
271           Fix 'Embedding static elements' section to use
272           GST_PLUGIN_DEFINE_STATIC (#345607).
273
274 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
275
276         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
277           Attempt to 'fix' spuriously failing test case: it seems like the
278           timeout of half a second is simply too small when the system is under
279           load otherwise, and the timeout doesn't really seem to serve any
280           particular purpose here. Give the pipeline a few seconds to preroll
281           first, and then give it another half a second to go from PAUSED to
282           PLAYING and marshal the message into the main thread.
283
284 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
285
286         * tools/gst-feedback-m.m:
287           Don't only use unversioned tools, try versioned tools as well
288           (#345086).
289
290 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
291
292         * gst/gstbus.c: (gst_bus_class_init):
293           Fix some typos, make docs more explicit.
294
295 2006-06-20  Wim Taymans  <wim@fluendo.com>
296
297         * tests/check/gst/gstghostpad.c: (block_callback),
298         (GST_START_TEST), (gst_ghost_pad_suite):
299         Added some more ghostpad tests, mainly blocking
300         and probes.
301
302 2006-06-16  Wim Taymans  <wim@fluendo.com>
303
304         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
305         (gst_file_sink_close_file), (gst_file_sink_do_seek),
306         (gst_file_sink_event), (gst_file_sink_render):
307         * plugins/elements/gstfilesink.h:
308         Check if we can seek in the file instead of assuming
309         we always can. Post an error when we are asked to seek in a
310         non-seekable file (like a fifo). Fixes #343312.
311         Some cleanups.
312
313 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
314
315         * tools/gst-launch.1.in:
316           Un-garble (fourcc) bit in filtered caps section.
317
318 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
319
320         * docs/manual/advanced-autoplugging.xml:
321         * docs/manual/basics-helloworld.xml:
322         * docs/manual/highlevel-components.xml:
323           Don't leak bus reference in sample code.
324
325 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
326
327         * autogen.sh:
328           Add default for new --enable-plugin-docs switch.
329
330         * configure.ac:
331           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
332           Fixes #344039.
333
334         * docs/Makefile.am:
335           Use new ENABLE_PLUGIN_DOCS conditional.
336
337 2006-06-14  Wim Taymans  <wim@fluendo.com>
338
339         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
340         Make it clear with a FIXME and a real define what the #if 0
341         previously disabled.
342
343 2006-06-14  Wim Taymans  <wim@fluendo.com>
344
345         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
346         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
347         * libs/gst/base/gstbasetransform.c:
348         (gst_base_transform_sink_eventfunc):
349         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
350         Don't randomly and silently reset a segment when the format 
351         changes as this is a bug somewhere upstream. Fixes #330379.
352
353 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
354
355         Patch by: Wouter Paesen  <wouter at kangaroot net>
356
357         * libs/gst/controller/gstcontroller.c:
358         (gst_controlled_property_new):
359           Fix controlling of float properties (#344849).
360
361         * tests/check/libs/controller.c:
362         (gst_test_mono_source_get_property),
363         (gst_test_mono_source_set_property),
364         (gst_test_mono_source_class_init), (GST_START_TEST):
365           While we're at it, add some float stuff to unit test.
366
367 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
368
369         * docs/README:
370         * docs/images/gdp-header.svg:
371           add a gdp image
372         * docs/libs/Makefile.am:
373         * docs/libs/gdp-header.png:
374         * libs/gst/dataprotocol/dataprotocol.c:
375           add it to the API docs
376         * docs/manual/intro-motivation.xml:
377           fix typo
378
379 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
380
381         * gst/gst.c: (scan_and_update_registry), (init_post):
382           If the fork()'ed child process can't write the updated registry cache
383           file to disk for some reason, make it exit with a failure exit code,
384           so that the parent can then re-scan the plugins itself and update the
385           registry structures in memory and work with that (rather than failing
386           when creating elements because seemingly no plugins are available).
387           Refactor registry scanning code into separate function for this and
388           also separate fork() and non-fork() code paths. Fixes #344748.
389
390 2006-06-13  Wim Taymans  <wim@fluendo.com>
391
392         * docs/manual/advanced-dataaccess.xml:
393         Fix wrong PluginDesc. Fixes #344755.
394
395 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
396
397         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
398           Fix silly bug that prevented us from creating
399           ~/.gstreamer-0.10 and writing the registry in one
400           go (the first call to g_mkstemp() would overwrite the
401           placeholder in the template string, so the second call
402           to g_mkstemp() after creating the missing directory
403           would then error out with 'invalid argument').
404
405 2006-06-13  Edward Hervey  <edward@fluendo.com>
406
407         * gst/gst.c: (init_post):
408         Free string.
409
410 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
411
412         * gst/glib-compat-private.h:
413         * gst/glib-compat.c:
414         * gst/glib-compat.h:
415         * gst/gstvalue.c: (gst_value_serialize_flags):
416           remove GLib 2.6 compatibility code
417
418 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
419
420         * gst/parse/Makefile.am:
421           Fix build with 'make -j N' even more (#340016).
422
423 2006-06-12  Wim Taymans  <wim@fluendo.com>
424
425         * docs/gst/gstreamer-sections.txt:
426         Fix docs.
427
428 2006-06-12  Wim Taymans  <wim@fluendo.com>
429
430         * gst/gstsegment.c: (gst_segment_set_duration),
431         (gst_segment_set_last_stop), (gst_segment_set_seek),
432         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
433         (gst_segment_to_running_time), (gst_segment_clip):
434         Use G_UNLIKELY to help the compiler a bit.
435
436 2006-06-12  Wim Taymans  <wim@fluendo.com>
437
438         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
439
440         * gst/gstevent.c: (gst_event_get_type):
441         * gst/gstmessage.c:
442         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
443         (gst_pad_push):
444         constify quark registration strings. Fixes #344115
445         Avoid unneeded type checking is _pad_push() by internally
446         calling gst_pad_chain_unchecked().
447
448 2006-06-12  Wim Taymans  <wim@fluendo.com>
449
450         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
451         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
452         (gst_subbuffer_finalize), (gst_buffer_create_sub),
453         (gst_buffer_is_span_fast), (gst_buffer_span):
454         Init _type for consistency.
455         Use _FLAGS macro to avoid type check.
456         Avoid unneeded type checks in subbufer code.
457
458 2006-06-12  Wim Taymans  <wim@fluendo.com>
459
460         * gst/gst.c: (gst_debug_help):
461         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
462         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
463         (gst_plugin_feature_list_free):
464         * gst/gstregistry.c: (gst_registry_add_plugin),
465         (gst_registry_add_feature), (gst_registry_plugin_filter),
466         (gst_registry_feature_filter), (gst_registry_find_plugin),
467         (gst_registry_find_feature), (gst_registry_get_plugin_list),
468         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
469         * gst/gstregistryxml.c: (load_feature),
470         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
471         * gst/gstminiobject.c: (gst_mini_object_unref),
472         (gst_mini_object_replace), (gst_value_mini_object_free),
473         (gst_value_mini_object_copy):
474         Use _CAST macros to avoid unneeded type checking.
475         Added some more G_UNLIKELY.
476
477 2006-06-12  Wim Taymans  <wim@fluendo.com>
478
479         * gst/gstbuffer.h:
480         Avoid unneeded type checking.
481         API: GST_BUFFER_IS_DISCONT
482
483         * gst/gstminiobject.h:
484         Avoid type check in flag accessor.
485
486         * gst/gstelementfactory.h:
487         * gst/gstplugin.h:
488         * gst/gstpluginfeature.h:
489         Add _CAST macros.
490         API: GST_ELEMENT_FACTORY_CAST
491         API: GST_PLUGIN_CAST
492         API: GST_PLUGIN_FEATURE_CAST
493
494 2006-06-12  Wim Taymans  <wim@fluendo.com>
495
496         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
497         (gst_object_unref):
498         Add G_UNLIKELY in type registration.
499         Avoid type check in _ref/_unref since that is also
500         done in glib.
501
502 2006-06-12  Wim Taymans  <wim@fluendo.com>
503
504         * gst/gsterror.c: (gst_g_error_get_type):
505         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
506         (gst_static_pad_template_get_type):
507         * gst/gsttaglist.c: (gst_tag_list_get_type):
508         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
509         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
510         * gst/gsturi.c: (gst_uri_handler_get_type):
511         * gst/gstvalue.c: (gst_date_get_type):
512         * gst/gstxml.c: (gst_xml_get_type):
513         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
514         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
515         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
516         Add G_UNLIKELY in type registration.
517
518 2006-06-12  Wim Taymans  <wim@fluendo.com>
519
520         * tools/gst-inspect.c: (print_signal_info):
521         Properly print enum values.
522
523 2006-06-12  Wim Taymans  <wim@fluendo.com>
524
525         * gst/gstinfo.c: (gst_debug_set_active),
526         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
527         * gst/gstinfo.h:
528         Add some G_[UN]LIKELY.
529         Maintain __gst_debug_min to avoid formatting the arguments of
530         debug messages that will be dropped anyway to avoid a lot of 
531         overhead from the debugging system.
532
533 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
534
535         * po/POTFILES.in:
536         * po/POTFILES.skip:
537           add missing files containing translatable strings, tell intltool about
538           one exception
539
540 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
541
542         * tests/check/libs/.cvsignore:
543         add test-binary to ignore list
544
545 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
546
547         * docs/libs/gstreamer-libs-docs.sgml:
548         reorder (put dp into a chapter) and indent
549
550 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
551
552         * configure.ac:
553           back to HEAD
554
555 === release 0.10.8 ===
556
557 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
558
559         * configure.ac:
560           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
561
562 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
563
564         * gst/gst.c: (init_post):
565           move pid declaration to declaration block
566
567 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
568
569         * gst/gst.c: (init_post):
570           use _exit() instead of exit() in our forked child; this ensures
571           that none of the registered exit handlers from whatever is using
572           GStreamer get executed.  This fixes gnome-mixer-applet failing
573           to load, because ORBit would shut down.
574           Spotted by: Edward Hervey  <edward@fluendo.com>
575           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
576           Fixes #344474
577
578 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
579
580         * configure.ac:
581           back to TRUNK
582
583 === release 0.10.7 ===
584
585 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
586
587         * configure.ac:
588           releasing 0.10.7, "Soepeke, ik zie ou"
589
590 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
591
592         * configure.ac:
593         * po/af.po:
594         * po/az.po:
595         * po/bg.po:
596         * po/ca.po:
597         * po/cs.po:
598         * po/de.po:
599         * po/en_GB.po:
600         * po/fr.po:
601         * po/it.po:
602         * po/nb.po:
603         * po/nl.po:
604         * po/ru.po:
605         * po/sq.po:
606         * po/sr.po:
607         * po/sv.po:
608         * po/tr.po:
609         * po/uk.po:
610         * po/vi.po:
611         * po/zh_CN.po:
612         * po/zh_TW.po:
613         * win32/common/config.h:
614           0.10.6.2 prerelease
615
616 2006-06-07  Wim Taymans  <wim@fluendo.com>
617
618         * gst/gstindex.c: (gst_index_gtype_resolver):
619         * tools/gst-xmlinspect.c: (print_plugin_info):
620         Fix leak spotted by coverity checker. Fixes #343827
621         Fix another other leak found by paolo borelli.
622
623 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
624
625         * libs/gst/dataprotocol/dataprotocol.c:
626         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
627         (gst_dp_version_get_type), (gst_dp_init),
628         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
629         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
630         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
631         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
632         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
633         (gst_dp_packetizer_free):
634         * libs/gst/dataprotocol/dataprotocol.h:
635           API: add a GstDPPacketizer object, and create/free functions
636           API: add GstDPVersion enum
637           Add 1.0 event function that uses the string serialization
638           Serialize more useful buffer flags
639           Fixes #343988
640
641 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
642
643         * tests/check/Makefile.am:
644         * tests/check/gst/gstabi.c:
645         * tests/check/gst/struct_ppc64.h:
646         * tests/check/libs/libsabi.c:
647         * tests/check/libs/struct_ppc64.h:
648           add ppc64 structure sizes
649
650 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
651
652         * tests/check/Makefile.am:
653         * tests/check/gst/gstabi.c:
654         * tests/check/gst/struct_x86_64.h:
655         * tests/check/libs/libsabi.c:
656         * tests/check/libs/struct_x86_64.h:
657           generate and add structure size lists for x86_64
658
659 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
660
661         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
662         * libs/gst/check/gstcheck.h:
663           factor out the method from tests that checks size of structures,
664           and add code to generate the header containing these sizes
665         * tests/check/gst/gstabi.c: (GST_START_TEST):
666         * tests/check/gst/struct_i386.h:
667         * tests/check/libs/libsabi.c: (GST_START_TEST):
668         * tests/check/libs/struct_i386.h:
669           use it
670
671 2006-06-06  Michael Smith  <msmith@fluendo.com>
672
673         * gst/gstsegment.h:
674           Don't use c++-style comments, fixes #343929
675
676 2006-06-05  Edward Hervey  <edward@fluendo.com>
677
678         * gst/gst.c:
679         plugin_paths is not used if we build without registry support.
680
681         * gst/gstsegment.c: (gst_segment_copy): 
682         _copy() was always returning NULL...
683
684 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
685
686         * libs/gst/dataprotocol/dataprotocol.c:
687         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
688         (gst_dp_packet_from_event):
689           factor out CRC code
690
691 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
692
693         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
694           make sure we unset caps
695
696 2006-06-02  Michael Smith  <msmith@fluendo.com>
697
698         * libs/gst/check/gstcheck.c: (gst_check_init),
699         (gst_check_chain_func):
700         * libs/gst/check/gstcheck.h:
701           Add a cond/mutex to the check support lib, signal this whenever we
702           add to the buffers list. This will allow tests to not busy-wait on
703           the buffer-list.
704
705 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
706
707         * libs/gst/dataprotocol/dataprotocol.c:
708         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
709         (gst_dp_packet_from_event):
710           factor out some common header init code
711
712 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
713
714         * docs/libs/gstreamer-libs-sections.txt:
715         * docs/libs/tmpl/gstdataprotocol.sgml:
716         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
717         * libs/gst/dataprotocol/dataprotocol.h:
718           API: make gst_dp_crc() public
719
720 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
721
722         * plugins/indexers/gstindexers.c: (plugin_init):
723         conditionally register fileindexer (fixes #343598)
724
725 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
726
727         * gst/gsttagsetter.h:
728         Can't cast ifaces to a class
729
730         * libs/gst/net/gstnetclientclock.h:
731         * libs/gst/net/gstnettimeprovider.h:
732         * plugins/elements/gstfakesink.h:
733         * plugins/elements/gstfakesrc.h:
734         * plugins/elements/gstfdsink.h:
735         * plugins/elements/gstfdsrc.h:
736         * plugins/elements/gstfilesink.h:
737         * plugins/elements/gstfilesrc.h:
738         * plugins/elements/gstidentity.h:
739         * plugins/elements/gstqueue.h:
740         * plugins/elements/gsttee.h:
741         * plugins/indexers/gstfileindex.c:
742         * plugins/indexers/gstmemindex.c:
743         * tests/old/examples/plugins/example.h:
744         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
745
746 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
747
748         * libs/gst/dataprotocol/dataprotocol.c:
749         (gst_dp_header_from_buffer):
750           make sure we zero the whole ABI-compatible area
751
752 2006-06-01  Wim Taymans  <wim@fluendo.com>
753
754         Patch by: Alessandro Decina <alessandro at nnva dot org>
755
756         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
757         Make sure the EOS flag is cleared from pads after a flush
758         or stop. Fixes #343538.
759
760         * tests/check/libs/collectpads.c: (GST_START_TEST),
761         (gst_collect_pads_suite):
762         Added test for collectpads reusage after EOS.
763
764 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
765
766         * gst/gst.c:
767          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
768         * win32/common/libgstbase.def:
769          export gst_collect_pads_set_flushing
770         * win32/common/libgstreamer.def:
771          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
772          gst_value_fraction_multiply
773         * win32/vs6/gst_inspect.dsp:
774          add a link to intl.lib
775
776 2006-05-30  Wim Taymans  <wim@fluendo.com>
777
778         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
779         (gst_collect_pads_chain):
780         Handle the case where a pad is removed from the collection
781         that could cause the other pads to become collectable.
782
783 2006-05-30  Wim Taymans  <wim@fluendo.com>
784
785         * gst/gstelement.c:
786         Clarify the use of _release_request_pad() and
787         _get_request_pad() a bit better.
788
789         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
790         (gst_adapter_take_buffer):
791         Fix some doc and comment typos.
792
793 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
794
795         * docs/gst/gstreamer-sections.txt:
796         * docs/libs/gstreamer-libs-sections.txt:
797           add declared symbols
798
799 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
800
801         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
802         Add debug that can be enabled using a #define at the top of the file,
803         for dumping stats about how late/early we were when waking up from
804         waiting on the clock.
805
806 2006-05-30  Wim Taymans  <wim@fluendo.com>
807
808         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
809         When rebuilding the pad list, don't leak the previous list.
810
811 2006-05-30  Wim Taymans  <wim@fluendo.com>
812
813         Patch by: Lutz Mueller <lutz at topfrose dot de>
814
815         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
816         (gst_base_src_get_query_types), (gst_base_src_update_length):
817         Publish supported query types.
818         Update last_stop field in get_range mode so the position
819         query works. Fixes #342321.
820
821 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
822
823         * docs/gst/gstreamer-sections.txt:
824         * gst/gsttaglist.c: (_gst_tag_initialize):
825         * gst/gsttaglist.h:
826           API: add GST_TAG_PREVIEW_IMAGE (#343341).
827
828 2006-05-30  Wim Taymans  <wim@fluendo.com>
829
830         Patch by: Alessandro Decina <alessandro at nnva dot org>
831
832         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
833         Unlock mutex when removing an unknown pad.
834         Fixes #343334.
835
836         * tests/check/Makefile.am:
837         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
838         (push_event), (setup), (teardown), (GST_START_TEST),
839         (gst_collect_pads_suite), (main):
840         Added collecpads check, disabled for now as check crashes for
841         some reason.
842
843 2006-05-29  Wim Taymans  <wim@fluendo.com>
844
845         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
846         Don't leak pads lists.
847
848 2006-05-29  Wim Taymans  <wim@fluendo.com>
849
850         * docs/libs/gstreamer-libs-sections.txt:
851         * libs/gst/base/gstcollectpads.c:
852         (gst_collect_pads_set_flushing_unlocked),
853         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
854         (gst_collect_pads_stop):
855         * libs/gst/base/gstcollectpads.h:
856         API: gst_collect_pads_set_flushing()
857         Added api to set the pads to flushing, useful for seeking
858         code in elements using collectpads.
859         Clear segment when receiving a flush.
860
861 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
862
863         * gst/gst.c: (add_path_func), (init_post):
864           Don't scan registry paths passed via --gst-plugin-path immediately
865           (will crash, because absolutely nothing is set up and no types are
866           registered etc.); do this later in init_post(). Fixes #343057.
867
868 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
869
870         * gst/gst.c: (init_post):
871           if we have fork, fork while reading/rebuilding the registry
872           so the parent doesn't take the hit of having all plugins loaded
873           in memory.  Fixes #342777.
874         * configure.ac:
875           Check if we have fork()
876         * win32/common/config.h.in:
877           no fork() on win32
878
879 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
880
881         * plugins/elements/gstelements.c:
882         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
883         (gst_file_src_init), (gst_file_src_set_property),
884         (gst_file_src_get_property), (gst_file_src_start):
885         * plugins/elements/gstfilesrc.h:
886           API: GstFileSrc::use-mmap
887
888         Add a use-mmap property to enable easier testing of all code paths.
889         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
890         in the absence of gnomevfssrc. (Closes #340501)
891
892 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
893
894         * tools/gst-inspect.c:
895         Add missing include, removes warning of ngettext not being defined on
896         some arches.
897
898 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
899
900         * gst/gstvalue.c: (gst_value_deserialize_fraction):
901         Handle NULL input and output pointers silently as a failed conversion,
902         rather than g_warnings.
903
904 2006-05-25  Wim Taymans  <wim@fluendo.com>
905
906         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
907         Initialize variable before using. Fixes #342820.
908
909 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
910
911         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
912           Fix off-by-one bug that would only allow peeks of N-1 bytes
913           from the start even if the buffer to typefind on contains
914           in fact N bytes of data (makes vorbis typefinding from a
915           vorbis identification header buffer work).
916
917         * tests/check/Makefile.am:
918         * tests/check/libs/.cvsignore:
919         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
920         (gst_typefindhelper_suite), (main), (foobar_typefind),
921         (plugin_init):
922           Add very basic unit test for gst_type_find_helper_for_buffer()
923           that checks for the problem fixed above.
924
925 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
926
927         * tools/gst-inspect.c: (print_interfaces),
928         (print_element_properties_info), (print_element_list), (main):
929           add more translatable strings
930
931 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
932
933         Patch by: Julien Moutte  <julien at moutte net>
934
935         * docs/gst/gstreamer-sections.txt:
936           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
937           
938         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
939         (gst_fake_sink_preroll):
940         * plugins/elements/gstfakesink.h:
941           API: Add new GstFakeSink::preroll-handoff signal (#337100).
942
943 2006-05-23  Wim Taymans  <wim@fluendo.com>
944
945         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
946         * gst/gstpad.h:
947         Added _CUSTOM error and success GstFlowReturn that can be
948         used be elements internally. 
949         Added macro to check for SUCCESS flowreturns.
950         API: GST_FLOW_CUSTOM_SUCCESS
951         API: GST_FLOW_CUSTOM_ERROR
952         API: GST_FLOW_IS_SUCCESS
953
954         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
955         Added check for GstFlowReturn sanity.
956
957 2006-05-23  Wim Taymans  <wim@fluendo.com>
958
959         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
960
961         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
962         (gst_collect_pads_event):
963         clear/reset segment info in FLUSH_STOP.
964         Fixes #336929.
965
966 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
967
968         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
969         (gst_collect_pads_check_collected):
970         Flush queued buffer on _stop(), fixes playing again (#342454)
971
972 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
973
974         * tests/check/gst/gststructure.c: (GST_START_TEST),
975         (gst_structure_suite):
976           add a test for a complete structure
977
978 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
979
980         * docs/faq/developing.xml:
981         * docs/faq/faq.xml:
982         * docs/faq/troubleshooting.xml:
983         * docs/faq/using.xml:
984           Some minor FAQ updates that won't change the fact that
985           our FAQ is badly structured, full of information hardly
986           anyone new to GStreamer needs to know and lacking lots
987           of information people constantly ask for.
988           
989 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
990
991         * gst/gstpad.c: (gst_pad_set_caps):
992           Short-circuit gst_pad_set_caps if setting the existing
993           caps pointer again, and avoid printing debug and 
994           reffing/unreffing the caps.
995
996         * plugins/elements/gstqueue.c: (gst_queue_push_one):
997           There's actually no need to set the caps before pushing -
998           the acceptcaps method will handle it anyway.
999
1000 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
1001
1002         * docs/gst/gstreamer-sections.txt:
1003         * win32/common/libgstreamer.def:
1004         * gst/gstutils.c: (gst_element_seek_simple):
1005         * gst/gstutils.h:
1006           API: add gst_element_seek_simple() (#342238).
1007
1008 2006-05-18  Edward Hervey  <edward@fluendo.com>
1009
1010         * gst/gsttypefind.c: (gst_type_find_get_type):
1011         * gst/gsttypefind.h:
1012         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
1013         registered for GstTypeFind pointers. This allows wrapping the structure
1014         in bindings (i.e. gst-python).
1015
1016 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
1017
1018         * gst/gsttagsetter.c:
1019           Docs additions and fixes (see #339918).
1020
1021 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
1022
1023         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1024         The caps intersection algorithm can produce multiple copies of the
1025         caps. Until that is fixed, we need to simplify the result to be
1026         sure whether the allowed caps are fixed or not.
1027
1028         * plugins/elements/gstqueue.c: (gst_queue_init),
1029         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
1030         (gst_queue_push_one):
1031         Proxied buffer alloc should not set the caps on the source pad.
1032         When pushing buffers, we always accept the caps change that triggers.
1033         This prevents negotiation errors caused by caps changing mid-stream 
1034         and then being refused on our source pad (because upstream is now
1035         refusing those caps).
1036
1037 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
1038
1039         * tests/examples/helloworld/helloworld.c: (main):
1040           Must plug audioconvert and audioresample between decoder
1041           and audio sink.
1042
1043 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
1044
1045         * gst/gstregistryxml.c: (read_string), (load_pad_template),
1046         (load_feature), (load_plugin):
1047         Allow empty strings for some of the plugin fields so we don't 
1048         drop valid plugin entries that were written out correctly
1049         (Fixes #341479)
1050
1051 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
1052         
1053         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
1054           Use g_remove and g_rename instead of remove and rename that don't 
1055           handle utf8 characters. rename was failing for users who had specific
1056           characters in their name then the registry was built at each 
1057           gstreamer init.
1058         * win32/vs6/gst_inspect.dsp:
1059         * win32/vs6/gst_launch.dsp:
1060         * win32/vs6/libgstbase.dsp:
1061         * win32/vs6/libgstcoreelements.dsp:
1062         * win32/vs6/libgstreamer.dsp:
1063           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
1064           build of libgstreamer and clean unused libraries in projects link 
1065           settings.
1066
1067 2006-05-17  Edward Hervey  <edward@fluendo.com>
1068
1069         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1070         The queue is not responsible for pushing an EOS when receiving a fatal
1071         flow error. It's up to the real element driving the pipeline to do that.
1072
1073 2006-05-16  Edward Hervey  <edward@fluendo.com>
1074
1075         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1076         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
1077         buffer returned a fatal error. It should just send an EOS and stop
1078         its task.
1079         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
1080         when pushing buffers on the queue and will be able to handle the event.
1081
1082 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
1083
1084         * docs/manual/basics-bins.xml:
1085         * docs/manual/basics-init.xml:
1086           Fix typos and minor errors in sample code (#341856).
1087
1088 2006-05-16  Wim Taymans  <wim@fluendo.com>
1089
1090         * docs/design/part-qos.txt:
1091         Fix indexes in formulas to make more sense.
1092
1093 2006-05-15  Wim Taymans  <wim@fluendo.com>
1094
1095         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
1096         Don't report POSITION based on clock time if sync is
1097         disabled in a sink.
1098
1099 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
1100
1101         * gst/gstobject.h:
1102           Add cast to make compiler happy - refcount variable was a gint
1103           in GstObject but is a guint in GObject and g_atomic_int_get()
1104           wants a gint *.
1105
1106 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1107
1108         * gst/parse/Makefile.am:
1109           chain commands using &&, which also makes parallel make work
1110
1111 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
1112
1113         * docs/gst/gstreamer-sections.txt:
1114         * gst/gstevent.c:
1115         * gst/gstevent.h:
1116         * gst/gstmessage.h:
1117           Minor docs fixes.
1118
1119 === release 0.10.6 ===
1120
1121 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
1122
1123         * configure.ac:
1124           releasing 0.10.6, "Take the cannoli"
1125
1126 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
1127
1128         * tools/gst-launch.c: (print_tag):
1129           Fix use of uninitialized variable in the hypothetical
1130           case that some broken plugin creates a GST_TAG_IMAGE
1131           tag containing a NULL buffer (#341667).
1132
1133 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
1134
1135         * tools/gst-launch.c: (print_tag):
1136           Print something more intelligible for image tags when
1137           using the -t switch (#341556).
1138
1139 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1140
1141         * Makefile.am:
1142           updates for win32
1143         * configure.ac:
1144           define GST_MAJORMINOR so we have it available in win32/common/config.h
1145           Possibly remove it from our Makefile.am files later
1146         * win32/common/config.h:
1147         * win32/common/config.h.in:
1148           added GST_MAJORMINOR
1149         * win32/common/gstenumtypes.c: (register_gst_resource_error):
1150         * win32/common/gstversion.h:
1151           updated
1152
1153 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
1154
1155         * win32/MANIFEST:
1156           Update win32 files listing.
1157         * win32/common/gstversion.h:
1158           Add GST_MAJORMINOR definition.
1159         * win32/common/libgstreamer.def:
1160           Add new exported functions.
1161           
1162 2006-05-12  Michael Smith  <msmith@fluendo.com>
1163
1164         * gst/gstplugin.c: (gst_plugin_load_file):
1165           If an so file has no plugin entry point, unload the module.
1166
1167 2006-05-11  Wim Taymans  <wim@fluendo.com>
1168
1169         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
1170         (gst_queue_set_property):
1171         Don't forget to signal the _chain or _loop function 
1172         when the queue size or thresholds change since that might
1173         cause them to make progres again.
1174
1175 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
1176
1177         * gst/gstclock.c: (gst_clock_class_init):
1178         * gst/gstindex.c: (gst_index_class_init):
1179         * gst/gstobject.c: (gst_object_class_init):
1180         * gst/gstpad.c: (gst_pad_class_init):
1181         * gst/gstpipeline.c: (gst_pipeline_class_init):
1182         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1183         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1184         * libs/gst/base/gstbasetransform.c:
1185         (gst_base_transform_class_init):
1186         * libs/gst/net/gstnetclientclock.c:
1187         (gst_net_client_clock_class_init):
1188         * libs/gst/net/gstnettimeprovider.c:
1189         (gst_net_time_provider_class_init):
1190         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1191         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1192         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1193         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1194         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1195         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1196         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1197         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1198         * plugins/elements/gsttee.c: (gst_tee_class_init):
1199         * tests/old/examples/plugins/example.c: (gst_example_class_init):
1200         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1201           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
1202
1203 2006-05-11  Wim Taymans  <wim@fluendo.com>
1204
1205         * gst/gstbuffer.c: (_gst_buffer_initialize):
1206         Register subbufer along with the buffer type so that
1207         it does not accidentally gets registered from N
1208         different streaming threads in a non threadsafe way.
1209
1210 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
1211
1212         * gst/gstbuffer.h:
1213         * gst/gstevent.h:
1214         * gst/gstmessage.h:
1215           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
1216           gst_event_ref() and gst_message_ref() functions again
1217           (ugly hack, please do fix if there's a better way besides
1218           overrides.txt, which doesn't seem to work).
1219
1220 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1221
1222         * libs/gst/check/gstcheck.h:
1223           add an assert for setting state to avoid lots of repetitive code
1224           in the future
1225
1226 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1227
1228         * gst/gstvalue.c: (gst_value_serialize_flags):
1229           fix a leak if no flags are set
1230         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1231           fix leak in tests
1232
1233 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
1234
1235         * docs/manual/basics-pads.xml:
1236           Expand a bit on caps and filtered links and update
1237           examples that were still using the no longer existing
1238           gst_pad_link_filtered() (#338206).
1239
1240 2006-05-10  Wim Taymans  <wim@fluendo.com>
1241
1242         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1243         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1244         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
1245         (gst_collect_pads_stop):
1246         * libs/gst/base/gstcollectpads.h:
1247         No need to call _stop in _finalize.
1248         Iterate the main pad list in _finalize.
1249         Added some more debug.
1250         Free lists and data in the right order.
1251         Also free data whem doing _remove_pad when stopped for
1252         backward compatibility protect ::started with PAD_LOCK as
1253         well.
1254
1255 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1256
1257         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
1258         (gst_structure_parse_value):
1259           add some comments
1260           rename a method so that it actually says what it does better
1261
1262 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1263
1264         * gst/gstevent.c: (_gst_event_initialize):
1265         * gst/gstformat.c: (_gst_format_initialize):
1266           make sure some essential types used by events are registered
1267           as part of gst_init()
1268         * gst/gstvalue.c: (gst_value_serialize_flags):
1269           if no flags are set, serialize them to a value that represents NONE
1270           so that deserializing them works
1271         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1272           add tests for serialization and deserialization of flags
1273
1274 2006-05-10  Wim Taymans  <wim@fluendo.com>
1275
1276         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
1277         (gst_collect_pads_collect_range), (gst_collect_pads_available),
1278         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
1279         (gst_collect_pads_event), (gst_collect_pads_chain):
1280         Update docs.
1281         Better debug info.
1282         Catch and return errors from the collect function
1283         Refuse data on eos pads.
1284
1285 2006-05-10  Edward Hervey  <edward@fluendo.com>
1286
1287         * gst/gstinterface.h:
1288         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
1289         GInterface type checking.
1290         They were previously using non-defined macros.
1291
1292 2006-05-09  Wim Taymans  <wim@fluendo.com>
1293
1294         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
1295         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
1296         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
1297         (gst_collect_pads_start), (gst_collect_pads_stop),
1298         (gst_collect_pads_peek), (gst_collect_pads_pop),
1299         (gst_collect_pads_available), (gst_collect_pads_read),
1300         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
1301         (gst_collect_pads_is_collected), (gst_collect_pads_event),
1302         (gst_collect_pads_chain):
1303         * libs/gst/base/gstcollectpads.h:
1304         Clean up the mess that is collectpads, add comments and
1305         FIXMEs where needed.
1306         Maintain a separate pad list so we can add pads while
1307         collecting the other ones. For this we need a new separate 
1308         lock (see comics).
1309         Fix memory leak in finalize.
1310         Refactor some weird code to set/unset pad flushing flags, mark
1311         with comments.
1312         Don't crash in _available, _read, _flush when we're EOS.
1313
1314         * tests/check/libs/.cvsignore:
1315         Ignore adapter check binary.
1316
1317 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1318
1319         * gst/gstindex.c: (gst_index_resolver_get_type):
1320         * plugins/elements/gstfakesink.c:
1321         (gst_fake_sink_state_error_get_type):
1322         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1323         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
1324         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1325           Const-ify GEnumValue arrays.
1326
1327 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1328
1329         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1330           Add test case for flags + gst_buffer_make_metadata_writable().
1331
1332 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1333
1334         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
1335           gst_buffer_make_metadata_writable() should maintain the
1336           buffer flags (those that make sense at least) (see #340859).
1337
1338 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1339
1340         * tools/gst-inspect.c:
1341         * tools/gst-launch.c:
1342         * tools/gst-typefind.c:
1343         * tools/gst-xmlinspect.c:
1344         * tools/tools.h:
1345           Fix up includes: need to include stdlib.h in tools.h for exit().
1346
1347 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1348
1349         * gst/gsttaglist.c: (_gst_tag_initialize):
1350         * gst/gsttaglist.h:
1351           API: add GST_TAG_IMAGE tag (#340721).
1352
1353 2006-05-08  Wim Taymans  <wim@fluendo.com>
1354
1355         * gst/gstquery.c:
1356         Added some docs for the segment query.
1357
1358 2006-05-08  Wim Taymans  <wim@fluendo.com>
1359
1360         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1361         (gst_base_src_loop), (gst_base_src_change_state):
1362         Always push non-flushing serialized events in the streaming 
1363         thread.
1364
1365 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
1366
1367         * gst/gsterror.c: (_gst_stream_errors_init):
1368           Add a missing error string.
1369
1370 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
1371
1372         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
1373         Add applied_rate to the debug
1374
1375         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1376         Copy applied_rate into the outgoing NEWSEGMENT event
1377
1378 2006-05-08  Wim Taymans  <wim@fluendo.com>
1379
1380         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
1381
1382         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
1383         (gst_base_sink_change_state):
1384         call ::unlock before taking the PREROLL_LOCK so we can safely
1385         handle elements that lock in ::render.
1386         Fixes #340174.
1387
1388 2006-05-08  Edward Hervey  <edward@fluendo.com>
1389
1390         * autogen.sh: (CONFIGURE_DEF_OPT): 
1391         Darwin's libtoolize is in fact called glibtoolize.
1392         Adding glibtoolize to the list of accepted names for libtoolize.
1393
1394 2006-05-08  Wim Taymans  <wim@fluendo.com>
1395
1396         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1397         Unify error handling, don't post an error message
1398         when a push() returns EOS but perform our normal EOS
1399         handling code. Fixes #340772.
1400
1401 2006-05-08  Wim Taymans  <wim@fluendo.com>
1402
1403         * docs/design/part-overview.txt:
1404         Make upsteam/downstream concepts more clear.
1405         Give an example of serialized/non-serialized events.
1406
1407         * docs/design/part-events.txt:
1408         * docs/design/part-streams.txt:
1409         Mention applied_rate.
1410
1411         * docs/design/part-trickmodes.txt:
1412         Mention applied rate, flesh out some more use cases.
1413
1414         * gst/gstevent.c: (gst_event_new_new_segment),
1415         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
1416         (gst_event_parse_new_segment_full), (gst_event_new_tag),
1417         (gst_event_parse_tag), (gst_event_new_buffer_size),
1418         (gst_event_parse_buffer_size), (gst_event_new_qos),
1419         (gst_event_parse_qos), (gst_event_parse_seek),
1420         (gst_event_new_navigation):
1421         * gst/gstevent.h:
1422         Add applied_rate field to NEWSEGMENT event.
1423         API: gst_event_new_new_segment_full()
1424         API: gst_event_parse_new_segment_full()
1425
1426         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
1427         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
1428         (gst_segment_to_stream_time), (gst_segment_to_running_time):
1429         * gst/gstsegment.h:
1430         Add applied_rate to GstSegment structure.
1431         Make calculation of stream_time and running_time more correct
1432         wrt rate/applied_rate.
1433         Add some more docs.
1434         API: GstSegment::applied_rate field
1435         API: gst_segment_set_newsegment_full();
1436
1437         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1438         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
1439         * libs/gst/base/gstbasetransform.c:
1440         (gst_base_transform_sink_eventfunc),
1441         (gst_base_transform_handle_buffer):
1442         Parse and use applied_rate in the GstSegment field.
1443
1444         * tests/check/gst/gstevent.c: (GST_START_TEST):
1445         Add check for applied_rate field.
1446
1447         * tests/check/gst/gstsegment.c: (GST_START_TEST),
1448         (gstsegments_suite):
1449         Add more checks for various GstSegment operations.
1450
1451 2006-05-08  Wim Taymans  <wim@fluendo.com>
1452
1453         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1454         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
1455         (gst_base_sink_get_position), (gst_base_sink_change_state):
1456         Store the sync time of the buffer end position separatly in a
1457         new variable eos_rtime so we can properly sync the EOS event.
1458         Fixes #340697.
1459         Fix the docs for gst_base_sink_set_qos_enabled().
1460         Don't set segment start to invalid value when we receive a 
1461         non TIME newsegment.
1462         get closer to handling position reporting for negative rates 
1463         correctly.
1464
1465 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
1466
1467         * gst/gstcaps.c:
1468         Docs about how to print caps for debug purposes.
1469
1470         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
1471         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
1472
1473 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
1474
1475         * gst/gstelement.c:
1476           use full enum names and preprend a '%' in docs strings to make recent 
1477           gtk-doc turn that into a link
1478
1479 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1480
1481         * docs/manual/basics-bins.xml:
1482         * docs/manual/basics-bus.xml:
1483         * docs/manual/basics-pads.xml:
1484           Some typo fixes, some additions, some clarifications. 
1485
1486 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1487
1488         * tools/gst-inspect.c: (main):
1489         * tools/gst-launch.c: (main):
1490         * tools/gst-run.c: (main):
1491         * tools/gst-typefind.c: (main):
1492         * tools/gst-xmlinspect.c: (main):
1493           Use the string passed to g_option_context_new() for
1494           what it's intended for - the program name is already
1495           printed elsewhere.
1496
1497 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1498
1499         * tools/Makefile.am:
1500         * tools/gst-inspect.c: (main):
1501         * tools/gst-launch.c: (main):
1502         * tools/gst-xmlinspect.c: (main):
1503         * tools/tools.h:
1504           Add back --version command line option (#340460).
1505
1506         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
1507           Add --version option and use GOption for argument parsing; refactor a
1508           bit; accept directories as arguments and recurse into them; lastly,
1509           print a decent error message when things go wrong.
1510
1511 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
1512
1513         * docs/manual/basics-bins.xml:
1514         Don't mention GstThread (#340611)
1515         * docs/manual/basics-elements.xml:
1516         Update link to GObject tutorial (#340607)
1517         
1518 2006-05-05  Wim Taymans  <wim@fluendo.com>
1519
1520         * gst/gstbuffer.h:
1521         * gst/gstminiobject.c:
1522         Add note about refcounting and miniobject/buffer writeability
1523         to docs. Fixes #340604
1524
1525         * gst/gstelementfactory.h:
1526         Added some explanation about @klass.
1527
1528 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
1529
1530         * docs/manual/intro-motivation.xml:
1531         * docs/manual/manual.xml:
1532         Avoid CORBA & Bonobo references (#340598)
1533
1534 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
1535
1536         * docs/manual/basics-bus.xml:
1537         * docs/manual/basics-pads.xml:
1538         Fix up some inaccuracies and omissions (#340609)
1539         
1540 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
1541
1542         * gst/gstghostpad.c:
1543           Small typo in docs (#340625)
1544
1545 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1546
1547         * gst/parse/Makefile.am:
1548           Make 'make -j' proof (see #340698).
1549
1550 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1551
1552         * configure.ac:
1553           Require GLib-2.8 here as well.
1554
1555 2006-05-05  Wim Taymans  <wim@fluendo.com>
1556
1557         * gst/glib-compat.c:
1558         * gst/gst.c: (init_pre):
1559         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
1560         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
1561         (gst_object_dispatch_properties_changed):
1562         * gst/gstobject.h:
1563         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
1564         * gst/gststructure.c: (gst_structure_set_valist):
1565         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1566         Remove pre glib2.8 compatibility, fixes #340508
1567
1568 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
1569
1570         * gst/gsttaglist.h:
1571           Mention type of tags in doc blurbs.
1572
1573 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
1574
1575         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1576         (gst_pad_configure_src), (gst_pad_push):
1577         Restore acceptcaps checking behaviour now that good plugins have
1578         been released.
1579
1580 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
1581
1582         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
1583
1584         * gst/gst.c:
1585         * gst/gstbus.c:
1586         * gst/gstclock.c:
1587         * gst/gstevent.c:
1588         * gst/gstformat.c:
1589         * gst/gstmessage.c:
1590         * gst/gstparse.c:
1591         * gst/gstquery.c:
1592         * gst/gstutils.c:
1593         * gst/parse/Makefile.am:
1594         * libs/gst/base/gstadapter.c:
1595         * libs/gst/base/gstbasesrc.c:
1596         * libs/gst/base/gstpushsrc.c:
1597         * libs/gst/base/gsttypefindhelper.c:
1598         * plugins/elements/gstfakesrc.c:
1599         * plugins/elements/gstidentity.c:
1600           Make sure gstprivate.h and/or config.h are
1601           always included first, otherwise some of our
1602           defines (like _FILE_OFFSET_BITS) might be
1603           redefined in the system headers. Fixes build
1604           on opensolaris (#340016).
1605
1606 2006-05-04  Wim Taymans  <wim@fluendo.com>
1607
1608         * docs/libs/gstreamer-libs-sections.txt:
1609         API: addition: gst_adapter_take_buffer()
1610         
1611         * libs/gst/base/gstadapter.c: (gst_adapter_push),
1612         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
1613         (gst_adapter_available_fast):
1614         * libs/gst/base/gstadapter.h:
1615         Prepare for optimizing the hell out of this hugely inefficient
1616         piece of code. 
1617         Added gst_adapter_take_buffer() so we can at least start thinking
1618         about subbuffering and merging.
1619         Added some comments.
1620
1621         * tests/check/Makefile.am:
1622         * tests/check/libs/adapter.c: (GST_START_TEST),
1623         (gst_adapter_suite), (main):
1624         Added GstAdapter check.
1625
1626 2006-05-04  Wim Taymans  <wim@fluendo.com>
1627
1628         * docs/design/part-overview.txt:
1629         Fix some typos, add blurb about buffer flags.
1630
1631 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1632
1633         * docs/libs/gstreamer-libs-sections.txt:
1634           make sure GstBaseTransformClass shows up in the docs
1635         * libs/gst/base/gstbasetransform.c:
1636         * libs/gst/base/gstbasetransform.h:
1637           move docs so gtk-doc picks it up now
1638
1639 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
1640
1641         * docs/libs/gstreamer-libs-sections.txt:
1642           add missing symbols to docs
1643
1644 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
1645
1646         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1647           back out the newsegment handling change, see #340060 for ongoing
1648           discussion
1649
1650 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
1651
1652         * tools/gst-run.c: (get_candidates), (main):
1653           Fix wrong g_file_test() usage (see glib docs for why it doesn't
1654           work); fix typo in error message. Fixes #340079.
1655
1656 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1657
1658         * common/Makefile.am:
1659         * docs/Makefile.am:
1660         * docs/faq/Makefile.am:
1661         * docs/gst/Makefile.am:
1662         * docs/libs/Makefile.am:
1663         * docs/manual/Makefile.am:
1664         * docs/plugins/Makefile.am:
1665         * docs/pwg/Makefile.am:
1666         * docs/slides/Makefile.am:
1667         * docs/upload.mak:
1668         * common/upload.mak:
1669           move upload.mak to common
1670
1671 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1672
1673         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1674           add more asserts on refcounts
1675           do more cleanup at end of tests
1676           fix test leaks showing in FC5
1677
1678 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
1679
1680         * plugins/elements/gsttypefindelement.c:
1681         (gst_type_find_element_handle_event):
1682         reverted wrong change and reflowed code to avoid others falling into
1683         this trap
1684
1685 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1686
1687         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1688           fix changelog entry about last collectpads change,
1689           add notes about proper fix
1690
1691 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1692
1693         * gst/gst.c:
1694         * gst/gstregistry.c: (gst_registry_scan_path_level),
1695         (gst_registry_scan_path):
1696         * gst/gstregistry.h:
1697           only write out registry if it has changed, fixes #338339
1698
1699 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1700
1701         * gst/gstbin.c:
1702         * gst/gstpipeline.c:
1703         * plugins/elements/gstcapsfilter.c:
1704         * plugins/elements/gstfakesink.c:
1705         * plugins/elements/gstfakesrc.c:
1706         * plugins/elements/gstfdsink.c:
1707         * plugins/elements/gstfdsrc.c:
1708         * plugins/elements/gstfilesink.c:
1709         * plugins/elements/gstfilesrc.c:
1710         * plugins/elements/gstidentity.c:
1711         * plugins/elements/gstqueue.c:
1712         * plugins/elements/gsttee.c:
1713         * plugins/elements/gsttypefindelement.c:
1714         (gst_type_find_element_handle_event):
1715           make GstElementDetails const
1716
1717 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1718
1719         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
1720         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1721         (gst_collect_pads_is_collected), (gst_collect_pads_event):
1722           more detailed debug and formatting cleanup,
1723           forward newsegments to src-pad (so that e.g. adder not eats them)
1724
1725 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1726
1727         * gst/gstutils.c: (gst_element_link_pads):
1728           cleanup double code
1729
1730 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1731
1732         * libs/gst/controller/gstcontroller.c:
1733         (gst_controller_sync_values):
1734           some little tuning
1735         * tests/check/libs/controller.c: (GST_START_TEST),
1736         (gst_controller_suite):
1737           a new test for live value handling
1738
1739 2006-04-28  Wim Taymans  <wim@fluendo.com>
1740
1741         * gst/gstutils.c: (push_and_ref):
1742         Added some more docs.
1743         Fix refcount issue whith gst_element_found_tags() helper 
1744         function. Fixes #338335
1745
1746         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1747         Added testsuite for gst_element_found_tags().
1748
1749 2006-04-28  Michael Smith  <msmith@fluendo.com>
1750
1751         * gst/gstvalue.c: (gst_value_serialize_flags):
1752           Avoid NULL dereference when trying to serialize flags containing
1753           invalid values.
1754
1755 2006-04-28  Michael Smith  <msmith@fluendo.com>
1756
1757         * plugins/elements/gsttypefindelement.c:
1758         (gst_type_find_element_handle_event):
1759           If we get EOS before any data is accumulated, don't use
1760           uninitialised local variables.
1761
1762 2006-04-28  Michael Smith  <msmith@fluendo.com>
1763
1764         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
1765         (gst_dp_event_from_packet):
1766           Fixes in reading/writing events over GDP (not currently used?) - 
1767           dereferencing NULL events for unknown/invalid event types, memory
1768           leak, and change g_warning to GST_WARNING.
1769
1770 2006-04-28  Wim Taymans  <wim@fluendo.com>
1771
1772         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
1773         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1774         (gst_base_sink_get_position), (gst_base_sink_change_state):
1775         When frame dropping is enabled, we should not ignore frames
1776         without a duration.
1777         Update some documentation.
1778
1779 2006-04-28  Wim Taymans  <wim@fluendo.com>
1780
1781         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1782         (gst_base_src_send_event), (gst_base_src_change_state):
1783         Documentation updates.
1784
1785 2006-04-28  Wim Taymans  <wim@fluendo.com>
1786
1787         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
1788         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
1789         handle EAGAIN, EINTR and short writes correctly. Also clean
1790         up some error cases, avoid a deadlock on bad file descriptors and
1791         use GST_DEBUG_OBJECT.
1792         Fixes #339843
1793
1794 2006-04-28  Wim Taymans  <wim@fluendo.com>
1795
1796         * gst/gstvalue.c: (gst_value_serialize_buffer),
1797         (gst_value_deserialize_buffer):
1798         Don't try to serialize a GValue with a NULL buffer. 
1799         Fixes #339821.
1800
1801         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1802         Added check for serialisation of NULL buffers.
1803
1804 2006-04-28  Wim Taymans  <wim@fluendo.com>
1805
1806         * gst/gstminiobject.c: (gst_value_take_mini_object):
1807         Taking a NULL miniobject is valid, fix the case where
1808         we try to unref the NULL miniobject.
1809
1810 2006-04-28  Wim Taymans  <wim@fluendo.com>
1811
1812         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1813
1814         * gst/gstbin.c: (gst_bin_handle_message_func):
1815         Update docs.
1816         Don't leak bin refcount when a state recalc is
1817         in progress and we delay another one #339808.
1818
1819 2006-04-28  Wim Taymans  <wim@fluendo.com>
1820
1821         * docs/design/part-TODO.txt:
1822         Mention QoS as an ongoing work item.
1823
1824         * docs/design/part-buffering.txt:
1825         New doc about buffering that needs to be fleshed out
1826         at some point.
1827
1828         * docs/design/part-qos.txt:
1829         More QoS policy for decoders/demuxers/transforms
1830
1831         * docs/design/part-trickmodes.txt:
1832         Small update.
1833
1834 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1835
1836         * configure.ac:
1837           back to HEAD
1838
1839 === release 0.10.5 ===
1840
1841 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
1842
1843         * configure.ac:
1844           releasing 0.10.5, "Fogo"
1845
1846 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1847
1848         patch by: Wim Taymans
1849
1850         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1851         (gst_pad_configure_src), (gst_pad_push):
1852         * gst/gstpipeline.c: (gst_pipeline_init):
1853           Fix internal data flow errors.  Fixes #338711.
1854
1855 2006-04-12  Wim Taymans  <wim@fluendo.com>
1856
1857         * tests/check/gst/gstelement.c: (GST_START_TEST):
1858         Don't leak the factory.
1859
1860 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1861
1862         * configure.ac:
1863         * win32/common/config.h:
1864           prerelease
1865
1866 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1867
1868         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1869         (gst_controller_unset_all):
1870           Free allocated GstTimedValues when freeing list nodes.
1871           Should fix leaks 'make check-valgrind' complains about.
1872
1873         * win32/common/libgstcontroller.def:
1874           Add gst_controller_unset_all.
1875
1876 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
1877
1878         * docs/libs/gstreamer-libs-sections.txt:
1879         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1880         (gst_controller_unset_all):
1881         * libs/gst/controller/gstcontroller.h:
1882         API: Added new method gst_controller_unset_all()
1883         fixed gst_controller_unset()
1884         * tests/check/libs/controller.c: (GST_START_TEST),
1885         (gst_controller_suite):
1886         Added two testcases for new and fixed method
1887
1888 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
1889
1890         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1891           MSG_DONTWAIT is not defined on Cygwin, so work
1892           around that (fixes #317048).
1893           
1894 2006-04-11  Wim Taymans  <wim@fluendo.com>
1895
1896         * gst/gstelementfactory.c: (gst_element_register),
1897         (gst_element_factory_create), (gst_element_factory_make):
1898         Some cleanups.
1899         Fixed a FIXME.
1900         Updated docs (Fixes #131079)
1901
1902         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1903         Small cleanups.
1904
1905         * tests/check/gst/gstelement.c: (GST_START_TEST),
1906         (gst_element_suite):
1907         Added testcase for elementfactory class field.
1908
1909 2006-04-10  Wim Taymans  <wim@fluendo.com>
1910
1911         * gst/gstsegment.c:
1912         Added some more docs.
1913
1914         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
1915         (gst_base_sink_reset_qos):
1916         Calculate more accurate rate values.
1917
1918 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
1919
1920         * gst/gst_private.h:
1921           add a new #ifdef to use __declspec(dllimport) only for
1922           other modules and not for gstreamer core
1923         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
1924           use gst_guint64_to_gdouble for conversion
1925         * win32/common/libgstreamer.def:
1926           add new exported functions
1927         * win32/vs6/gst_inspect.dsp:
1928         * win32/vs6/gst_launch.dsp:
1929         * win32/vs6/libgstbase.dsp:
1930         * win32/vs6/libgstcontroller.dsp:
1931         * win32/vs6/libgstcoreelements.dsp:
1932         * win32/vs6/libgstdataprotocol.dsp:
1933         * win32/vs6/libgstnet.dsp:
1934           update project files
1935
1936 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
1937
1938         * gst/gstbuffer.c: (gst_subbuffer_class_init):
1939         * gst/gstclock.c: (gst_clock_class_init):
1940         * gst/gstelement.c: (gst_element_class_init):
1941         * gst/gstindex.c: (gst_index_class_init):
1942         * gst/gstindexfactory.c: (gst_index_factory_class_init):
1943         * gst/gstobject.c: (gst_object_class_init),
1944         (gst_signal_object_class_init):
1945         * gst/gstpad.c: (gst_pad_class_init):
1946         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
1947         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
1948         * gst/gstregistry.c: (gst_registry_class_init):
1949         * gst/gstsystemclock.c: (gst_system_clock_class_init):
1950         * gst/gsttask.c: (gst_task_class_init):
1951         * gst/gstxml.c: (gst_xml_class_init):
1952         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1953         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1954         (gst_base_src_loop):
1955         * libs/gst/controller/gstcontroller.c:/
1956         (_gst_controller_class_init):
1957         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1958         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1959         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
1960         * tests/old/examples/plugins/example.c: (gst_example_class_init):
1961         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1962         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
1963
1964 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
1965
1966         * gst/gstpad.c: (gst_pad_link):
1967           Must set peer pads before calling the link function, otherwise
1968           a task started from a link function might get a flow-not-linked
1969           result when trying to push because the other thread where the
1970           linking happens hasn't had a chance to set the peers yet. This
1971           might happen for example when a queue gets linked to a downstream
1972           element, as queue starts a streaming task when its source pad
1973           gets linked. Happens in real life when playing back flac/musepack
1974           files in playbin (#332390).
1975           
1976 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
1977
1978         * gst/gstindex.h:
1979         * gst/gstxml.h:
1980         * libs/gst/base/gstadapter.h:
1981         * libs/gst/base/gstbasesink.h:
1982         * libs/gst/base/gstbasesrc.h:
1983         * libs/gst/base/gstbasetransform.h:
1984         * libs/gst/base/gstcollectpads.h:
1985         * libs/gst/base/gstpushsrc.h:
1986         Fix broken GObject macros
1987
1988 2006-04-07  Wim Taymans  <wim@fluendo.com>
1989
1990         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1991         Initialize start and stop times, thanks valgrind.
1992
1993 2006-04-07  Wim Taymans  <wim@fluendo.com>
1994
1995         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1996         Be a bit nicer to badly behaving upstream elements that expect
1997         us to deal with non TIME segments and timestamps (such as fakesrc
1998         in the testsuite).
1999
2000 2006-04-07  Wim Taymans  <wim@fluendo.com>
2001
2002         * gst/gstbus.c:
2003         Small documentation clarification about the signal watch.
2004
2005         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2006         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
2007         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2008         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
2009         (gst_base_sink_get_position_last),
2010         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
2011         Convert and store timestamps in stream time and running time, the
2012         raw timestamps are not usefull, also document this better.
2013         Use different window sizes for good and bad QoS observations so
2014         we react to badness a little quicker.
2015         Keep track of the amount of rendered and dropped buffers.
2016         Send QoS timestamps in running time.
2017
2018         * libs/gst/base/gstbasetransform.c:
2019         (gst_base_transform_sink_eventfunc),
2020         (gst_base_transform_handle_buffer):
2021         Compare QoS timestamps against running time.
2022
2023 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
2024
2025         * gst/gstpad.c:
2026           Typo fixes in docs.
2027
2028 2006-04-06  Michael Smith  <msmith@fluendo.com>
2029
2030         * gst/gstpad.c: (gst_pad_set_property):
2031           Use g_value_get_object() instead of g_value_dup_gst_object(),
2032           to avoid double-reffing the pad template (which we then sink,
2033           so this worked previously if (and only if) the pad template
2034           was floating.
2035
2036         * gst/gstpadtemplate.c: (gst_pad_template_init),
2037         (gst_pad_template_pad_created):
2038           Never return floating references to pad templates, create
2039           them as initially-sunken.
2040
2041           Document an extra function (and make this stop sinking our
2042           pad template, since that is now guaranteed to do nothing,
2043           since we created it sunken).
2044
2045         * gst/gstghostpad.c:
2046           Fix docs typo.
2047
2048 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
2049
2050         * gst/gstinfo.c: (__gst_in_valgrind):
2051           Add some newlines.
2052
2053         * plugins/elements/gsttypefindelement.c:
2054         (gst_type_find_element_chain):
2055           Don't leak buffer caps.
2056
2057 2006-04-06  Michael Smith  <msmith@fluendo.com>
2058
2059         * gst/parse/grammar.y:
2060           Fix a leak in parse-launch for any source-or-sink named element 
2061           references used.
2062
2063         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
2064           Unref the pipeline if it exists after we've failed parsing.
2065
2066 2006-04-05  Michael Smith  <msmith@fluendo.com>
2067
2068         * gst/gstpipeline.c: (gst_pipeline_init):
2069           When we create a pipeline bus, initially create it in flushing mode.
2070           Fixes leaks in at least one test, and makes a new pipeline work the
2071           same as one that has gone to READY and then back to NULL.
2072
2073         * gst/gstelement.c:
2074           Typo fix in docs.
2075
2076 2006-04-05  Michael Smith  <msmith@fluendo.com>
2077
2078         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2079           Unref a pad we reffed.
2080         * tests/check/gst/gstutils.c: (GST_START_TEST):
2081           Unref bins
2082
2083 2006-04-05  Michael Smith  <msmith@fluendo.com>
2084
2085         * gst/gstquery.c: (gst_query_set_formats),
2086         (gst_query_set_formatsv):
2087           Fix leaking GValues in queries, as shown by valgrind/testsuite.
2088
2089 2006-04-05  Michael Smith  <msmith@fluendo.com>
2090
2091         * tests/check/generic/sinks.c: (GST_START_TEST):
2092           Fix a variety of memleaks in sinks check, which are only sometimes 
2093           shown by running the tests under valgrind (weird?).
2094
2095 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
2096
2097         * docs/version.entities.in:
2098           Fix the substituted entity name after thomas' changes on the
2099           weekend.
2100
2101 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2102
2103         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
2104         VALGRIND_PRINTF
2105         
2106 2006-04-05  Andy Wingo  <wingo@pobox.com>
2107
2108         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
2109
2110         * libs/gst/base/gstbasetransform.c
2111         (gst_base_transform_sink_eventfunc): When resetting our segment on
2112         FLUSH_STOP, also update the flag saying we haven't seen a
2113         newsegment.
2114
2115 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
2116
2117         Patch by: Paolo Borelli  <pborelli at katamail dot com>
2118
2119         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
2120         (gst_plugin_check_license):
2121           minor clean-ups: G_DEFINE_TYPE already takes care of the
2122           parent_class stuff, no need to do it twice. Mark array of
2123           license strings as constant. (#337103)
2124           
2125 2006-04-04  Michael Smith  <msmith@fluendo.com>
2126
2127         * tools/gst-inspect.c: (print_element_list):
2128           Free the right plugin list; fixes a memory leak.
2129
2130 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
2131
2132         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
2133
2134         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2135           Don't error out on empty buffers (#336945).
2136           
2137 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
2138
2139         * docs/libs/gstreamer-libs-sections.txt:
2140         * gst/gsttaglist.c:
2141         * libs/gst/base/gstbasesink.c:
2142         * libs/gst/base/gstbasesink.h:
2143         * libs/gst/base/gstbasesrc.c:
2144         * libs/gst/base/gstbasesrc.h:
2145           Documentation updates. Make BaseSink and BaseSrc docs contain the
2146           class structure so that people can actually see the prototypes for
2147           virtual functions they're supposed to be overriding.
2148
2149 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
2150
2151         * plugins/elements/gsttypefindelement.c:
2152         (gst_type_find_element_chain):
2153           More debug info; when skipping typefinding, send cached
2154           events in all cases.
2155
2156 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2157
2158         * configure.ac:
2159           use new AS_VERSION and AS_NANO macros
2160         * gst/gst-i18n-lib.h:
2161         * gst/gst.c:
2162         * gst/gsterror.c:
2163         * gst/gstversion.h.in:
2164         * win32/common/config.h:
2165         * win32/common/config.h.in:
2166           update accordingly
2167
2168 2006-03-31  Michael Smith  <msmith@fluendo.com>
2169
2170         * plugins/elements/gsttypefindelement.c:
2171         (gst_type_find_element_chain):
2172           Do not typefind content if the buffers already have caps.
2173           Neccesary for icydemux (#333657), and the right thing to do anyway.
2174
2175 2006-03-30  Wim Taymans  <wim@fluendo.com>
2176
2177         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2178         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
2179         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
2180         (gst_base_sink_record_qos_observation),
2181         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2182         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
2183         (gst_base_sink_change_state):
2184         More QoS measurements as described in the design doc.
2185         Get rid of ringbuffer with observations, running average is
2186         more simple and equally good.
2187         Calculates valid proportion now.
2188         Added beginning of flood measurement.
2189
2190 2006-03-29  Wim Taymans  <wim@fluendo.com>
2191
2192         * docs/design/part-qos.txt:
2193         * gst/gstclock.c:
2194         Small documentation updates and additions.
2195
2196 2006-03-29  Wim Taymans  <wim@fluendo.com>
2197
2198         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
2199         (gst_base_src_send_event), (gst_base_src_loop),
2200         (gst_base_src_change_state):
2201         Perform the EOS logic when we reach the segment stop position.
2202         Fix compilation on gcc4.1
2203
2204 2006-03-29  Wim Taymans  <wim@fluendo.com>
2205
2206         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2207
2208         * plugins/elements/gstqueue.c: (gst_queue_init),
2209         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
2210         (gst_queue_set_property):
2211         * plugins/elements/gstqueue.h:
2212         In queue, when EOS is received, if minimum threshold > max_size -
2213         current_level, there is chance that queue blocks forever in conditional
2214         item del wait. This is because the queue is not emptied completely due
2215         to minimum threshold.  Here is another approach. Instead of setting
2216         cur_levels to max in EOS, just zero all minimum threshold levels. This
2217         should make sure that queue gives out all data. When going to READY
2218         (stop) state, just reset the original minimum threshold levels.
2219         Fixes #336336.
2220
2221 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
2222
2223         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
2224         (gst_type_find_element_handle_event),
2225         (gst_type_find_element_send_cached_events),
2226         (gst_type_find_element_change_state):
2227         * plugins/elements/gsttypefindelement.h:
2228           When typefinding is done in push mode, we should cache
2229           events we receive during typefinding instead of just
2230           dropping them (e.g. newsegment, custom events from
2231           dvdreadsrc etc.) and then send them out once we've
2232           determined the type of the stream (and decodebin
2233           has had a chance to plug in a decoder/demuxer).
2234           
2235 2006-03-27  Wim Taymans  <wim@fluendo.com>
2236
2237         * docs/design/part-qos.txt:
2238         First QoS ideas.
2239
2240 2006-03-27  Wim Taymans  <wim@fluendo.com>
2241
2242         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
2243
2244         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
2245         (gst_base_src_send_event), (gst_base_src_change_state):
2246         Handle element seek correctly when we are streaming.
2247         Fixes #326998.
2248
2249 2006-03-24  Michael Smith  <msmith@fluendo.com>
2250
2251         * docs/faq/gst-uninstalled:
2252           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
2253           allow you to correctly run intalled applications built against old 
2254           core, using plugins that require updated core (e.g. running
2255           installed totem against a full uninstalled gstreamer stack)
2256
2257 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
2258
2259         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
2260         more debug details
2261
2262 2006-03-24  Wim Taymans  <wim@fluendo.com>
2263
2264         * docs/gst/gstreamer-sections.txt:
2265         Rearrange the order of the methods so that related methods
2266         are grouped together in sections.
2267
2268 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
2269
2270         * gst/gstelement.c:
2271           Little clarification in the docs
2272
2273 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
2274
2275         * docs/README:
2276         formatting fix
2277         * plugins/elements/gstidentity.c:
2278         * plugins/elements/gstqueue.c:
2279         * plugins/elements/gsttee.c:
2280         * plugins/elements/gsttypefindelement.c:
2281         GST_ELEMENT_DETAILS formatting
2282
2283 2006-03-24  Wim Taymans  <wim@fluendo.com>
2284
2285         * libs/gst/base/gstbasesink.h:
2286         Only add fields, not insert or we break ABI.
2287
2288 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
2289
2290         * win32/common/libgstbase.def:
2291         * win32/common/libgstreamer.def:
2292           Update, add recently added functions.
2293
2294 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
2295
2296         * docs/gst/gstreamer-sections.txt:
2297         * gst/gstutils.c: (gst_pad_query_peer_position),
2298         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
2299         * gst/gstutils.h:
2300           API: add some new utility functions:
2301            - gst_pad_query_peer_position()
2302            - gst_pad_query_peer_duration()
2303            - gst_pad_query_peer_convert()
2304           
2305 2006-03-23  Wim Taymans  <wim@fluendo.com>
2306
2307         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2308         (gst_base_sink_init), (gst_base_sink_finalize),
2309         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
2310         (gst_base_sink_set_property), (gst_base_sink_get_property),
2311         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
2312         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
2313         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
2314         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2315         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
2316         (gst_base_sink_preroll_object), (gst_base_sink_event),
2317         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
2318         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
2319         (gst_base_sink_query), (gst_base_sink_change_state):
2320         Decouple max-lateness and the fact that QoS messages are generated
2321         with a new property (qos).
2322         added API: GstBaseSink::async_play()
2323         Add vmethod so subclasses can be notified of ASYNC playing
2324         state changes.
2325         Collect timestamp start and stop to report better current
2326         position in EOS/PLAYING/PAUSED/READY/NULL.
2327         Refactor QoS/frame dropping and other measurements.
2328         API: GstBaseSrc::qos
2329         Fixes #326311
2330
2331         * libs/gst/base/gstbasesink.h:
2332         Added Private struct.
2333         API: gst_base_sink_set_qos_enabled()
2334         API: gst_base_sink_is_qos_enabled()
2335
2336 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
2337
2338         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
2339           If compiling against GLib-2.8 or newer, try to read the
2340           registry file using GMappedFile first before falling back
2341           to fopen() + fread() (#332151).
2342
2343 2006-03-22  Wim Taymans  <wim@fluendo.com>
2344
2345         * gst/gstinfo.c: (gst_debug_set_active),
2346         (gst_debug_category_set_threshold):
2347         Disable debugging unless explicitly activated.
2348         Fixes #335480.
2349
2350 2006-03-22  Wim Taymans  <wim@fluendo.com>
2351
2352         * gst/gstelement.c: (gst_element_set_locked_state),
2353         (gst_element_dispose):
2354         Cleanup the error case.
2355
2356         * gst/gstobject.c: (gst_object_dispose):
2357         print a critical when some object was disposed with
2358         a parent, also revive the object since it might
2359         crash the parent.
2360
2361 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
2362
2363         * tools/gst-launch.1.in:
2364           Fix another typo.
2365
2366 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2367
2368         * configure.ac:
2369         * tests/check/Makefile.am:
2370           disable some tests when we don't have a registry
2371         * tests/check/gst/gstutils.c: (gst_utils_suite):
2372           don't build the part that needs parsing
2373
2374 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2375
2376         * gst/Makefile.am
2377         * tests/examples/Makefile.am:
2378           fix --disable-parse build
2379
2380 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2381
2382         * tools/gst-feedback.1.in:
2383           Fix typo: s/feeback/feedback/ (#133494).
2384
2385 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2386
2387         * tools/Makefile.am:
2388         * tools/gst-launch.1.in:
2389           Add FILES section and correct entry about GST_REGISTRY_PATH
2390           environment variable (#133495; #133494).
2391
2392 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2393
2394         * tools/Makefile.am:
2395         * tools/gst-md5sum.1.in:
2396         * tools/gst-md5sum.c:
2397           Remove gst-md5sum and man page (the md5sink element
2398           required was removed ages ago)
2399
2400 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2401
2402         * gst/gststructure.c: (gst_structure_id_set_value):
2403           Make sure that string fields in structures/taglists
2404           contain valid UTF-8 - we don't want to pass rubbish to
2405           applications because of a buggy plugin (cp. #334167).
2406
2407 2006-03-21  Edward Hervey  <edward@fluendo.com>
2408
2409         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2410         (gst_bin_handle_message_func):
2411         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
2412         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
2413         (gst_element_set_bus_func):
2414         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
2415         * gst/gstminiobject.c: (gst_value_set_mini_object),
2416         (gst_value_take_mini_object):
2417         * gst/gstpad.c: (gst_pad_set_pad_template):
2418         * gst/gstpipeline.c: (gst_pipeline_dispose),
2419         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2420         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
2421         (gst_collect_pads_chain):
2422         * libs/gst/net/gstnettimeprovider.c:
2423         (gst_net_time_provider_set_property):
2424         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
2425         It's in fact all issues with gst_*object_replace().
2426
2427 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2428
2429         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
2430         
2431         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2432         * pkgconfig/gstreamer-check.pc.in:
2433           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
2434
2435 2006-03-21  Edward Hervey  <edward@fluendo.com>
2436
2437         * gst/gstbuffer.h:
2438         * gst/gstevent.h:
2439         * gst/gstmessage.h:
2440         gst_[buffer|event|message]_ref() macros are replaced by a static
2441         inline functions because gcc-4.1 will about if the return value
2442         isn't used.
2443         * tests/check/gst/gstevent.c: (event_probe):
2444         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
2445
2446 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
2447
2448         * gst/gstutils.h:
2449         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
2450         the type' case. (Closes: #335195 for now). In the future, when we
2451         depend on GLib 2.10, we could also intern the type name using
2452         g_intern_static_string()
2453
2454 2006-03-20  Wim Taymans  <wim@fluendo.com>
2455
2456         * gst/gstbin.c: (gst_bin_handle_message_func),
2457         (bin_query_max_init), (bin_query_position_fold),
2458         (bin_query_position_done), (gst_bin_query):
2459         Position query should also take max of all streams.
2460
2461 2006-03-20  Wim Taymans  <wim@fluendo.com>
2462
2463         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2464         (gst_fake_src_finalize):
2465         Fix leaks in fakesrc.
2466
2467         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2468         Fix leaks in the testcase.
2469
2470 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
2471
2472         * gst/gst_private.h:
2473           add win32 specific import decoration(__declspec(dllimport)) 
2474           for all extern GstDebugCategory * variables
2475         * win32/common/libgstbase.def:
2476         * win32/common/libgstcontroller.def:
2477         * win32/common/libgstreamer.def:
2478           Add some exports, remove empty lines
2479         * win32/common/libgstdataprotocol.def:
2480         * win32/common/libgstdataprotocol.dsp:
2481         * win32/common/libgstnet.def:
2482         * win32/common/libgstnet.dsp:
2483           new project files and exportation files added
2484         
2485 2006-03-19  Wim Taymans  <wim@fluendo.com>
2486
2487         * tests/check/libs/basesrc.c: (eos_event_counter):
2488         Use proper return value for probe.
2489
2490 2006-03-17  Wim Taymans  <wim@fluendo.com>
2491
2492         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
2493         (gst_pad_push):
2494         Don't leak buffers, caps and pads on negotiation errors.
2495
2496 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
2497
2498         * docs/faq/cvs.xml:
2499         * docs/faq/dependencies.xml:
2500         * docs/faq/developing.xml:
2501         * docs/faq/faq.xml:
2502         * docs/faq/general.xml:
2503         * docs/faq/getting.xml:
2504         * docs/faq/legal.xml:
2505         * docs/faq/troubleshooting.xml:
2506         * docs/faq/using.xml:
2507         Faq review and update.
2508
2509 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
2510
2511         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
2512         (gst_pad_push):
2513         Don't pound the cpu to pieces by checking get_caps when accept_caps
2514         is called with the same caps as the pad already has.
2515         Use GST_DEBUG_OBJECT when outputting caps change information.
2516
2517 2006-03-15  Wim Taymans  <wim@fluendo.com>
2518
2519         * gst/gstclock.c: (gst_clock_class_init):
2520         Fix docs.
2521
2522 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
2523
2524         * gst/gstbuffer.h:
2525         Documentation fix.
2526
2527         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
2528         (gst_pad_accept_caps), (gst_pad_configure_sink),
2529         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
2530         Make the default acceptcaps behaviour be to check the requested 
2531         caps against the gst_pad_get_caps output. 
2532
2533         Ensure that gst_pad_accept_caps is used to check caps when a pad
2534         doesn't have a setcaps function, so that pads automatically refuse 
2535         caps that they don't allow in their pad template. (Fixes #332986)
2536
2537         When a buffer with attached caps is pushed, ensure that the source 
2538         pad receives those caps even if the element didn't call
2539         gst_pad_set_caps first.
2540
2541 2006-03-15  Wim Taymans  <wim@fluendo.com>
2542
2543         * libs/gst/base/gstadapter.c:
2544         Add some docs.
2545
2546 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
2547
2548         * win32/common/libgstbase.def:
2549         * win32/common/libgstcontroller.def:
2550         * win32/common/libgstreamer.def:
2551           Add a whole bunch of missing functions (#334434).
2552
2553 2006-03-14  Wim Taymans  <wim@fluendo.com>
2554
2555         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2556         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
2557         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
2558         Better debug info when we receive a segment event.
2559         Reorganize a bit so we can pass the get_times() results around.
2560         Use the segment format when calculating the running time.
2561         Don't do QoS is sync is disabled or we have no clock or the
2562         element does not want us to sync to the clock.
2563         Don't drop buffers if QoS is disabled for now.
2564
2565 2006-03-14  Wim Taymans  <wim@fluendo.com>
2566
2567         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
2568         Marked the stats property as unimplemented so people don't get
2569         wild ideas.
2570         Add debug message when regression goes wrong.
2571         Added some more docs.
2572
2573 2006-03-14  Wim Taymans  <wim@fluendo.com>
2574
2575         * gst/gstsegment.c: (gst_segment_to_stream_time):
2576         Return correct return type in case of errors.
2577
2578 2006-03-14  Wim Taymans  <wim@fluendo.com>
2579
2580         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
2581           Don't segfault on invalid formats.
2582
2583 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
2584
2585         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2586           Can't use gst_segment_to_running_time() when the segment
2587           is not in GST_TIME_FORMAT (like with filesink, for example).
2588           Stops flac encoding pipelines from spewing critical warnings
2589           at EOS (#331248).
2590           
2591 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
2592
2593         * gst/gstpipeline.c: (gst_pipeline_class_init):
2594           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
2595
2596         * plugins/elements/gsttypefindelement.c:
2597         (gst_type_find_element_handle_event):
2598           Don't try to typefind empty streams.
2599
2600 2006-03-14  Wim Taymans  <wim@fluendo.com>
2601
2602         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
2603         (gst_base_sink_do_qos):
2604         Separate QoS calculation.
2605         Only drop buffers when lateness is bigger than the 
2606         duration of the buffer.
2607
2608 2006-03-13  Wim Taymans  <wim@fluendo.com>
2609
2610         * gst/gstpipeline.c: (gst_pipeline_set_property),
2611         (gst_pipeline_get_property), (do_pipeline_seek),
2612         (gst_pipeline_change_state), (gst_pipeline_set_delay),
2613         (gst_pipeline_get_delay):
2614         Don't deadlock when reading properties.
2615
2616 2006-03-13  Wim Taymans  <wim@fluendo.com>
2617
2618         * libs/gst/base/gstbasetransform.c:
2619         (gst_base_transform_class_init), (gst_base_transform_init),
2620         (gst_base_transform_sink_event),
2621         (gst_base_transform_sink_eventfunc),
2622         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
2623         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2624         (gst_base_transform_set_property),
2625         (gst_base_transform_get_property),
2626         (gst_base_transform_change_state), (gst_base_transform_update_qos),
2627         (gst_base_transform_set_qos_enabled),
2628         (gst_base_transform_is_qos_enabled):
2629         * libs/gst/base/gstbasetransform.h:
2630         Make basetransform virtual method for src events too.
2631         Handle QOS in basetransform.
2632         API: gst_base_transform_update_qos()
2633         API: gst_base_transform_set_qos_enabled()
2634         API: gst_base_transform_is_qos_enabled()
2635
2636 2006-03-13  Wim Taymans  <wim@fluendo.com>
2637
2638         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2639         (gst_base_sink_do_sync):
2640         Small cleanups.
2641         Use QOS debug category.
2642
2643 2006-03-13  Wim Taymans  <wim@fluendo.com>
2644
2645         * plugins/elements/gstqueue.c:
2646         Very small doc update.
2647
2648 2006-03-13  Wim Taymans  <wim@fluendo.com>
2649
2650         * gst/gst_private.h:
2651         * gst/gstinfo.c: (_gst_debug_init):
2652         Added QOS debug category
2653
2654 2006-03-13  Wim Taymans  <wim@fluendo.com>
2655
2656         * docs/gst/gstreamer-sections.txt:
2657         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
2658         * gst/gstbin.h:
2659         * gst/gstbus.c: (gst_bus_class_init):
2660         * gst/gstbus.h:
2661         * gst/gstclock.c:
2662         * gst/gstelement.c: (gst_element_set_locked_state):
2663         * gst/gstsegment.c:
2664         Documentation updates.
2665
2666         * gst/gstpipeline.c: (gst_pipeline_get_type),
2667         (gst_pipeline_class_init), (gst_pipeline_init),
2668         (gst_pipeline_dispose), (gst_pipeline_set_property),
2669         (gst_pipeline_get_property), (do_pipeline_seek),
2670         (gst_pipeline_send_event), (gst_pipeline_change_state),
2671         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
2672         (gst_pipeline_get_delay):
2673         * gst/gstpipeline.h:
2674         Added methods for setting the delay.
2675         API: gst_pipeline_set_delay()
2676         API: gst_pipeline_get_delay()
2677         Add pipeline debug category
2678         Various cleanups.
2679         Updated docs.
2680         Don't reset stream time when seek failed.
2681
2682 2006-03-13  Wim Taymans  <wim@fluendo.com>
2683
2684         * docs/design/draft-klass.txt:
2685         * docs/design/part-clocks.txt:
2686         * docs/design/part-events.txt:
2687         * docs/design/part-gstbin.txt:
2688         * docs/design/part-gstpipeline.txt:
2689         * docs/design/part-messages.txt:
2690         * docs/design/part-negotiation.txt:
2691         * docs/design/part-overview.txt:
2692         * docs/design/part-preroll.txt:
2693         * docs/design/part-seeking.txt:
2694         * docs/design/part-states.txt:
2695         * docs/design/part-streams.txt:
2696         Documentation updates.
2697
2698 2006-03-12  Julien MOUTTE  <julien@moutte.net>
2699
2700         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
2701         us to leak strings...
2702
2703 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2704
2705         * libs/gst/net/gstnettimeprovider.c:
2706           fix docs
2707         * win32/common/config.h:
2708           update
2709
2710 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
2711
2712         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
2713
2714         * configure.ac:
2715           Don't check for libgnomeui (leftover from old examples
2716           that aren't built or disted any longer) (#334303).
2717           
2718 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
2719
2720         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2721         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2722           Emit RESOURCE_NO_SPACE_LEFT error here as well when
2723           there's no space left on the device.
2724
2725 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
2726
2727         * gst/gstclock.h:
2728           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
2729           to cast the input to GstClockTime before comparing with
2730           another GstClockTime value.
2731
2732 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2733
2734         * configure.ac:
2735           back to trunk
2736
2737 === release 0.10.4 ===
2738
2739 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
2740
2741         * configure.ac:
2742           releasing 0.10.4, "Light"
2743
2744 2006-03-10  Michael Smith  <msmith@fluendo.com>
2745
2746         * libs/gst/dataprotocol/dataprotocol.c:
2747           Fix docs for dataprocotol to not get the return types completely
2748           wrong for a few functions.
2749
2750 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
2751
2752         * docs/gst/gstreamer-sections.txt:
2753         * gst/gstpipeline.c: (gst_pipeline_class_init),
2754         (gst_pipeline_init), (gst_pipeline_set_property),
2755         (gst_pipeline_get_property), (gst_pipeline_change_state),
2756         (gst_pipeline_set_auto_flush_bus),
2757         (gst_pipeline_get_auto_flush_bus):
2758         * gst/gstpipeline.h:
2759           Add new API: gst_pipeline_set_auto_flush_bus() and
2760           gst_pipeline_get_auto_flush_bus() to disable automatic
2761           flushing of the pipeline's GstBus when going from READY
2762           to NULL state (#332045).
2763
2764 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
2765
2766         * docs/gst/gstreamer-sections.txt:
2767         * gst/gsturi.c: (gst_uri_has_protocol):
2768         * gst/gsturi.h:
2769            Add new API: gst_uri_has_protocol() (#333779).
2770
2771 2006-03-09  Wim Taymans  <wim@fluendo.com>
2772
2773         * gst/gstclock.c: (gst_clock_entry_new),
2774         (gst_clock_id_compare_func), (gst_clock_id_wait),
2775         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
2776         (gst_clock_init), (gst_clock_get_internal_time),
2777         (gst_clock_set_master), (do_linear_regression),
2778         (gst_clock_add_observation), (gst_clock_set_property):
2779         * gst/gstclock.h:
2780         Review docs.
2781         Small cleanups.
2782         Fix a possible segfault when the window-size is made smaller.
2783         Calculate jitter before performing the clock wait. Ideally
2784         the clock implementation should calculate jitter but we need
2785         API breakage for that.
2786
2787         * gst/gstsystemclock.c: (gst_system_clock_init):
2788         Docs review.
2789         
2790         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2791         Remove leftover else
2792
2793         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2794         (gst_systemclock_suite):
2795         Added check to test GST_CLOCK_DIFF.
2796
2797 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
2798
2799         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
2800         (gst_type_find_helper_get_range):
2801           If we are provided with the size, we should implement
2802           GstTypeFind::get_length, so that typefind functions who
2803           want to can actually peek at the middle of a file.
2804
2805 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
2806
2807         * docs/manual/advanced-dataaccess.xml:
2808           Add some very very basic error checking.
2809
2810         * docs/pwg/appendix-checklist.xml:
2811           Some updates to the list of things to check when writing an element.
2812
2813 2006-03-08  Wim Taymans  <wim@fluendo.com>
2814
2815         * docs/design/part-element-transform.txt:
2816         Added some docs about the design of tranform elements.
2817
2818         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2819         (gst_base_src_loop), (gst_base_src_change_state):
2820         Mark buffers with the DISCONT flag.
2821
2822 2006-03-08  Michael Smith  <msmith@fluendo.com>
2823
2824         * gst/gstregistry.h:
2825         * gst/gstregistryxml.c: (gst_registry_save),
2826         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
2827         (gst_registry_xml_save_pad_template),
2828         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
2829         (gst_registry_xml_write_cache):
2830           Rewrite registry-saving to avoid race conditions and check for
2831           failed writes.
2832
2833 2006-03-08  Wim Taymans  <wim@fluendo.com>
2834
2835         * libs/gst/base/gstbasetransform.c:
2836         (gst_base_transform_transform_caps),
2837         (gst_base_transform_transform_size),
2838         (gst_base_transform_prepare_output_buffer),
2839         (gst_base_transform_get_unit_size),
2840         (gst_base_transform_buffer_alloc),
2841         (gst_base_transform_handle_buffer),
2842         (gst_base_transform_change_state):
2843         Cleanups, separate normal flow from errors, add sensible
2844         DEBUG lines.
2845         Don't try to renegotiate when allocating an output buffer.
2846         Also copy DISCONT buffer flag when copying a buffer.
2847         Reset the transform after we finish streaming, not during.
2848
2849 2006-03-08  Wim Taymans  <wim@fluendo.com>
2850
2851         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2852         Use last buffer timestamp in qos message.
2853
2854 2006-03-07  Wim Taymans  <wim@fluendo.com>
2855
2856         Patch by: Christophe Fergeau
2857
2858         * docs/pwg/advanced-tagging.xml:
2859         * docs/pwg/building-pads.xml:
2860           fixes #333416
2861
2862 2006-03-07  Wim Taymans  <wim@fluendo.com>
2863
2864         * docs/libs/gstreamer-libs-sections.txt:
2865         Added basesink new methods.
2866
2867         * gst/gstevent.c:
2868         * gst/gstevent.h:
2869         Docs updates. Flesh out the QoS docs.
2870
2871         * libs/gst/base/gstadapter.c:
2872         Small doc clarification about ownership and flushing.
2873
2874         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
2875         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2876         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
2877         (gst_base_sink_get_property), (gst_base_sink_do_sync):
2878         * libs/gst/base/gstbasesink.h:
2879         API additions: 
2880         Added new methods to allow subclass to control max-lateness 
2881         and sync.
2882         Generate very basic QoS events based on last sync observation.
2883         Updated docs, fix typo, added some QoS blurb.
2884
2885         * libs/gst/base/gstbasesrc.c:
2886         Remove obsolete _get_state() calls from docs.
2887
2888 2006-03-07  Wim Taymans  <wim@fluendo.com>
2889
2890         * docs/libs/gstreamer-libs-sections.txt:
2891         * libs/gst/base/gstbasetransform.h:
2892         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
2893         Fix docs for GstBaseSrc.
2894
2895 2006-03-07  Wim Taymans  <wim@fluendo.com>
2896
2897         * docs/gst/gstreamer-sections.txt:
2898         * gst/gstbuffer.h:
2899         * gst/gstvalue.c:
2900         * libs/gst/base/gstbasetransform.h:
2901         Small documentation fixes.
2902
2903 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
2904
2905         * gst/gstvalue.c:
2906           Document thread-unsafety of gst_value_register_foo_func()
2907           when used at the same time as gst_value_foo() (#322628).
2908
2909 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
2910
2911         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
2912         (gst_push_src_check_get_range):
2913           Push sources don't support pull mode by default.
2914
2915 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
2916
2917         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2918         (gst_base_src_init), (gst_base_src_pad_check_get_range),
2919         (gst_base_src_default_check_get_range):
2920         * libs/gst/base/gstbasesrc.h:
2921           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
2922           provide default implementation, and rename
2923           gst_base_src_check_get_range() to
2924           gst_base_src_pad_check_get_range() for clarity.
2925
2926 2006-03-06  Wim Taymans  <wim@fluendo.com>
2927
2928         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2929         Make property overridable.
2930
2931 2006-03-06  Wim Taymans  <wim@fluendo.com>
2932
2933         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2934         (gst_base_sink_init), (gst_base_sink_set_property),
2935         (gst_base_sink_get_property), (gst_base_sink_do_sync):
2936         * libs/gst/base/gstbasesink.h:
2937         API addition: Make max-lateness a property.
2938
2939 2006-03-06  Wim Taymans  <wim@fluendo.com>
2940
2941         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
2942         (gst_base_sink_do_sync), (gst_base_sink_render_object):
2943         Don't ever draw a frame that is >10ms late.
2944
2945 2006-03-06  Michael Smith  <msmith@fluendo.com>
2946
2947         * gst/gstmessage.c: (_gst_message_copy):
2948           When copying a message, set the parent_refcount of the enclosed
2949           structure to point at the copy, not the original message.
2950
2951 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
2952
2953         Patch by: Christophe Fergeau
2954
2955         * gst/gstutils.h:
2956           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
2957           usable in c++ code (#333417)
2958
2959 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2960
2961         * gst/gstclock.h:
2962           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
2963
2964 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
2965
2966         * libs/gst/base/gstbasetransform.c:
2967         (gst_base_transform_transform_caps):
2968           Make sure caps are writable before passing them to
2969           gst_caps_append().
2970
2971 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
2972
2973         * gst/gsterror.h:
2974           Fix some minor docs errors.
2975
2976 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
2977
2978           Patch by: Ross Burton <ross at burtonini dot com>
2979
2980         * gst/gsterror.c: (_gst_resource_errors_init):
2981         * gst/gsterror.h:
2982           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
2983
2984 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
2985
2986         * gst/gst.c:
2987         Add a check and output a g_warning when GStreamer is built
2988         against GLib 2.6 but running against 2.8 or higher, and vice 
2989         versa. (Closes: #323542)
2990
2991 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
2992
2993         * gst/parse/parse.l:
2994           Commit patch for parse_launch syntax from #331255. Removes 
2995           support for quoted strings and mimetypes when writing filtered 
2996           caps. See the bug report for more details - I'm pretty sure this
2997           obscure feature is not in use by _anyone_ anywhere.
2998
2999           With this simple change, the size of the gstreamer.so here 
3000           drops from 2193KB to 1565KB.
3001
3002 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3003
3004         * plugins/elements/gsttypefindelement.h:
3005         * plugins/elements/gsttypefindelement.c:
3006         (gst_type_find_element_src_event), (start_typefinding),
3007         (stop_typefinding), (gst_type_find_element_handle_event),
3008         (gst_type_find_element_chain),
3009         (gst_type_find_element_chain_do_typefinding):
3010           Use gst_type_find_helper_for_buffer() for chain-based
3011           typefinding.
3012
3013 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3014
3015         * plugins/elements/gsttypefindelement.c:
3016         (gst_type_find_element_class_init),
3017         (gst_type_find_element_set_property),
3018         (gst_type_find_element_get_property):
3019           Deprecate "maximum" property (not only was it only taken into
3020           account for typefinding in push-mode anyway, it also was never
3021           actually possible to set it in the first place because the
3022           property was registered with the numeric property ID for the
3023           "minimum" property). Register "maximum" property correctly,
3024           for the sake of future copy'n'pasters. Remove some cruft
3025           from property get/set functions.
3026
3027 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3028
3029         * plugins/elements/gsttypefindelement.c:
3030         (gst_type_find_element_activate):
3031           Use gst_type_find_helper_get_range() here, so we
3032           can honour the "minimum" property and also emit
3033           the signal with the correct probability of the found caps.
3034
3035 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
3036
3037         * docs/libs/gstreamer-libs-sections.txt:
3038         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3039         (helper_find_suggest), (gst_type_find_helper_get_range),
3040         (gst_type_find_helper):
3041         * libs/gst/base/gsttypefindhelper.h:
3042           New API: gst_type_find_helper_get_range() (#333042).
3043
3044 2006-03-02  Michael Smith  <msmith@fluendo.com>
3045
3046         * gst/gstregistryxml.c: (load_feature):
3047           Asserting on a failure to read part of the registry is Not Cool.
3048           Just log a warning and return NULL (which is already handled)
3049
3050 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
3051
3052         * win32/common/libgstbase.def:
3053           added export of gst_type_find_helper_for_buffer
3054         * win32/common/libgstbase.def:
3055           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
3056           gst_ghost_pad_get_target
3057
3058 2006-02-28  Wim Taymans  <wim@fluendo.com>
3059
3060         * docs/design/draft-klass.txt:
3061         We use Filter now.
3062         Added Connector to mark elements that are only used to
3063         allow pipeline connections.
3064         Moved Debug to extra feature since most of them are 
3065         functionally something else.
3066
3067 2006-02-28  Wim Taymans  <wim@fluendo.com>
3068
3069         * docs/design/draft-klass.txt:
3070         Some updates and clarifications.
3071
3072 2006-02-28  Wim Taymans  <wim@fluendo.com>
3073
3074         * docs/design/draft-klass.txt:
3075         Proposal for klass field values.
3076
3077         * docs/design/part-streams.txt:
3078         Start of a doc describing stream anatomy.
3079
3080 2006-02-28  Wim Taymans  <wim@fluendo.com>
3081
3082         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
3083         Help the compiler a bit with type registration.
3084         Use existing forward cod path instead of duplicating it when 
3085         handling a message.
3086         
3087         * gst/gstbus.c: (gst_bus_get_type):
3088         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
3089         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
3090         * gst/gstclock.c: (gst_clock_get_type):
3091         * gst/gstelement.c: (gst_element_get_type),
3092         * gst/gstelementfactory.c: (gst_element_factory_get_type):
3093         * gst/gstindexfactory.c: (gst_index_factory_get_type):
3094         * gst/gstminiobject.c: (gst_mini_object_get_type):
3095         * gst/gstpad.c: (gst_pad_get_type):
3096         * gst/gstsegment.c: (gst_segment_get_type):
3097         * gst/gststructure.c: (gst_structure_get_type):
3098         * gst/gstsystemclock.c: (gst_system_clock_get_type):
3099         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
3100         * gst/gstvalue.c:
3101         Help compiler with type registration.
3102
3103         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3104         Small doc update.
3105
3106 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3107
3108         * plugins/elements/gsttypefindelement.c:
3109         (gst_type_find_element_handle_event):
3110           When we get an EOS event and have not found a type yet
3111           (most likely because we had not yet accumulated
3112           TYPE_FIND_MIN_SIZE of data yet), try to determine the
3113           type given the data we have so far. Fixes typefinding
3114           for very short streams again, most notably quicktime
3115           redirections as used on Apple's trailer site (#331701).
3116
3117 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3118
3119         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
3120         (gst_type_find_helper):
3121           Try typefinding factories with the highest rank first.
3122
3123 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3124
3125         * docs/libs/gstreamer-libs-docs.sgml:
3126         * docs/libs/gstreamer-libs-sections.txt:
3127         * libs/gst/base/gsttypefindhelper.c:
3128           Add section for typefind helper and add documentation
3129           for the old and the new function.
3130
3131 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3132
3133         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
3134         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
3135         (gst_type_find_helper_for_buffer):
3136         * libs/gst/base/gsttypefindhelper.h:
3137           New API: gst_type_find_helper_for_buffer() (#332723).
3138           
3139 2006-02-27  Michael Smith  <msmith@fluendo.com>
3140
3141         Patch by: Loïc Minier
3142
3143         * configure.ac:
3144         * docs/Makefile.am:
3145         * docs/slides/Makefile.am:
3146           prevent CVS directories getting disted.
3147
3148 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3149
3150         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
3151           Use the REFCOUNTING category for caps refcounting.
3152           
3153 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
3154
3155         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
3156           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
3157
3158 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
3159
3160         * plugins/elements/gsttypefindelement.c:
3161         (gst_type_find_element_activate):
3162           Use gst_pad_check_pull_range() before _activate_pull()
3163           to avoid unnecessary open/close (see #331690).
3164
3165 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
3166
3167         * gst/gstutils.c:
3168           Docs enhancement: make it crystal clear what the
3169           gst_pad_add_*_probe() callbacks should look like.
3170
3171 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
3172
3173         * libs/gst/base/gstbasesrc.c:
3174           Document how applications can stop recording from
3175           live sources (see #330996).
3176
3177 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3178
3179         * tests/check/Makefile.am:
3180         * tests/check/libs/basesrc.c: (eos_event_counter),
3181         (basesrc_eos_events_pull), (basesrc_eos_events_push),
3182         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
3183         (gst_basesrc_suite), (main):
3184           ... and add some tests for the base source EOS stuff.
3185
3186 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3187
3188         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
3189           Test case originally showed the problem fixed below,
3190           but was then amended. Add checks back at the place
3191           where they used to be.
3192
3193 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3194
3195         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3196         (gst_base_src_init), (gst_base_src_loop),
3197         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3198         (gst_base_src_change_state):
3199         * libs/gst/base/gstbasesrc.h:
3200           Don't unconditionally send EOS when going from PAUSED to
3201           READY state, esp. make sure we don't send two EOS events
3202           in some cases (e.g. one when reaching EOS and one when
3203           going from PAUSED to READY). Also, we don't want to send
3204           EOS events when operating in pull mode. However, we do
3205           want to send an EOS event when shutting down a live
3206           source explicitly, for example (fixes #330996).
3207           
3208 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3209
3210         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3211           Update src->read_position after a seek when not using mmap.
3212           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
3213
3214 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
3215
3216         * gst/Makefile.am:
3217         * gst/gstparse.h:
3218         * gst/gstutils.c:
3219         * gst/gstutils.h:
3220         Make things work with --disable-parse as they do with 
3221         --disable-load-save - the symbols involved disappear, but the
3222         header is still installed and GST_DISABLE_PARSE is included via
3223         gstconfig.h
3224
3225 2006-02-20  Julien MOUTTE  <julien@moutte.net>
3226
3227         * libs/gst/base/gstbasetransform.c:
3228         (gst_base_transform_change_state): Fix a stupid bug. I was 
3229         sure I compiled that.
3230
3231 2006-02-20  Julien MOUTTE  <julien@moutte.net>
3232
3233         * gst/gstpad.c: (gst_pad_set_blocked_async):
3234         * gst/gstutils.c: (gst_pad_add_data_probe),
3235         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
3236         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
3237         (gst_pad_remove_buffer_probe): Make those function act on the
3238         ghostpad target when it's a ghostpad. (Closes #331727)
3239
3240 2006-02-20  Julien MOUTTE  <julien@moutte.net>
3241
3242         * libs/gst/base/gstbasetransform.c:
3243         (gst_base_transform_change_state): Make basetransform reusable.
3244         (Closes #331898)
3245
3246 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
3247
3248         * docs/random/release:
3249         Move the current documentation of how to do a release to the top
3250         of the file.
3251
3252         * gst/gstbin.c: (gst_bin_class_init),
3253         (gst_bin_handle_message_func):
3254         Allow multiple state-recalculation threads. (Closes #328873)
3255
3256 2006-02-19  Julien MOUTTE  <julien@moutte.net>
3257
3258         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
3259         * gst/gstpad.c: (gst_pad_set_event_function),
3260         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3261         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
3262         2 strings. You can't use the STR_NULL macro on that.
3263
3264 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
3265
3266         * gst/gstpad.c: (gst_pad_set_event_function),
3267         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3268         (gst_pad_set_getcaps_function)
3269         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
3270           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
3271           So now, we can use --gst-debug-level=5 on Windows
3272         * win32/common/libgstcontroller.def:
3273           Added export of gst_controller_init
3274         * win32/vs6/libgstcontroller.dsp:
3275           Fixed Release post build configuration
3276
3277 2006-02-17  Wim Taymans  <wim@fluendo.com>
3278
3279         * tests/check/gst/gstquery.c: (GST_START_TEST):
3280         Added another check.
3281
3282 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
3283
3284         * plugins/elements/gsttypefindelement.c: (find_peek):
3285           We can do peeks at non-zero offsets, as long as they
3286           fall within the buffer we have.
3287
3288 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
3289
3290         * tests/check/Makefile.am:
3291         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
3292         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
3293         (parse_suite), (main):
3294           Add testsuite for parse launch syntax
3295
3296 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
3297
3298         * plugins/elements/gsttypefindelement.c:
3299         (gst_type_find_element_chain):
3300           When typefinding is unsuccessful in the chain function, don't
3301           error out immediately. Only error out with NO_CAPS_FOUND if
3302           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
3303           otherwise simply wait for more data so we can try typefinding
3304           again with more data later. Also, don't attempt to typefind
3305           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
3306           this should improve typefinding from network sources where the
3307           size of the first buffer can be somewhat random.
3308
3309 2006-02-14  Wim Taymans  <wim@fluendo.com>
3310
3311         * docs/gst/gstreamer-sections.txt:
3312         * gst/gstpadtemplate.c:
3313         * gst/gstpadtemplate.h:
3314         Fix padtemplate docs, fixes #328805.
3315
3316 2006-02-14  Wim Taymans  <wim@fluendo.com>
3317
3318         * tools/gst-launch.c: (main):
3319         NO_PREROLL is not an ERROR so don't send confusing messages
3320         to the user.
3321
3322 2006-02-14  Wim Taymans  <wim@fluendo.com>
3323
3324         Patch by: Torsten Schoenfeld
3325
3326         * gst/gstregistry.c: (gst_registry_get_default),
3327         (_gst_registry_cleanup):
3328         Protect default registry with lock and ref/sink it.
3329         Fixes #324818
3330
3331 2006-02-14  Wim Taymans  <wim@fluendo.com>
3332
3333         * gst/gstbuffer.c:
3334         * gst/gstquery.c: (gst_query_list_add_format),
3335         (gst_query_set_formatsv), (gst_query_parse_formats_length),
3336         (gst_query_parse_formats_nth):
3337         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3338         Docs fixes.
3339
3340 2006-02-14  Wim Taymans  <wim@fluendo.com>
3341
3342         * docs/gst/gstreamer-sections.txt:
3343         Reworked query docs.
3344
3345         * gst/gstquery.c: (gst_query_new_formats),
3346         (gst_query_list_add_format), (gst_query_set_formats),
3347         (gst_query_set_formatsv), (gst_query_parse_formats_length),
3348         (gst_query_parse_formats_nth):
3349         * gst/gstquery.h:
3350         Flesh out formats query, added some new methods.
3351         Fix part of #324398.
3352
3353         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
3354         Added query creation tests.
3355
3356 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
3357
3358         * gst/gstpad.c: (fixate_value):
3359         Add a default fixation for fraction lists.
3360
3361 2006-02-13  Wim Taymans  <wim@fluendo.com>
3362
3363         * gst/gsttask.c: (gst_task_init), (gst_task_func),
3364         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
3365         (gst_task_join):
3366         * gst/gsttask.h:
3367         Detect and warn for obvious deadlocks. fixes #320340
3368         Fix error case where lock was not released.
3369
3370         * tests/check/Makefile.am:
3371         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
3372         (task_func), (gst_element_suite), (main):
3373         Add task check.
3374
3375 2006-02-13  Wim Taymans  <wim@fluendo.com>
3376
3377         * docs/gst/gstreamer-sections.txt:
3378         * gst/gstbus.c:
3379         Add new functions to docs.
3380
3381 2006-02-13  Wim Taymans  <wim@fluendo.com>
3382
3383         * docs/design/part-TODO.txt:
3384         Updated TODO list, basesrc supports seeking to non-bytes
3385         formats.
3386
3387         * docs/design/part-element-sink.txt:
3388         Update docs.
3389
3390         * gst/gstbin.c: (bin_replace_message),
3391         (gst_bin_handle_message_func):
3392         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
3393         * gst/gstevent.c: (gst_event_finalize):
3394         * gst/gstpad.c: (gst_pad_event_default_dispatch),
3395         (gst_pad_send_event):
3396         Use shiny new _TYPE_NAME macros.
3397
3398         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3399         Move debug statement up.
3400
3401         * gst/gstelement.c: (gst_element_set_locked_state):
3402         Add some debugging.
3403
3404 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
3405
3406         * docs/gst/gstreamer-sections.txt:
3407         * gst/gstmessage.h:
3408         * gst/gstquery.h:
3409           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
3410           macros (#330906). Also, document the already existing
3411           GST_QUERY_TYPE macro.
3412
3413 2006-02-13  Wim Taymans  <wim@fluendo.com>
3414
3415         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
3416         (event_probe), (GST_START_TEST):
3417         Only events up to the pipeline EOS are counted, there are
3418         some more when going to NULL currently which we don't care
3419         about for now.
3420
3421 2006-02-13  Wim Taymans  <wim@fluendo.com>
3422
3423         * gst/gstpad.c: (gst_pad_send_event):
3424         Correctly check flushing and emit probes. fixes #330125
3425
3426 2006-02-10  Andy Wingo  <wingo@pobox.com>
3427
3428         * gst/gstbus.c (gst_bus_class_init): Declare our private data
3429         structure.
3430         (gst_bus_init): Cache the location of the private data in the
3431         instance structure.
3432         (gst_bus_enable_sync_message_emission) 
3433         (gst_bus_disable_sync_message_emission): Implement new public
3434         functions.
3435         (gst_bus_post): Emit the sync-message signal if the user asked for
3436         it. Fixes #330684.
3437
3438         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
3439         location of the bus-private structure.
3440         (gst_bus_enable_sync_message_emission)
3441         (gst_bus_disable_sync_message_emission): API addition
3442
3443 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
3444
3445         Patch by: Vincent Torri
3446
3447         * docs/pwg/building-boiler.xml:
3448         PWG patch from #326800
3449
3450 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
3451
3452         * configure.ac:
3453         * docs/Makefile.am:
3454         * docs/design/Makefile.am:
3455           Dist design docs.
3456
3457 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
3458
3459         * configure.ac:
3460           back to CVS
3461
3462 === release 0.10.3 ===
3463
3464 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
3465
3466         * configure.ac:
3467           releasing 0.10.3, "Like a virgin"
3468
3469 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
3470
3471         * configure.ac:
3472           2nd prerelease of 0.10.3
3473           Bump libtool versioning.
3474
3475 2006-02-07  Andy Wingo  <wingo@pobox.com>
3476
3477         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
3478         update last_stop if we're in TIME format and the timestamp is
3479         valid.
3480
3481         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
3482         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
3483         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
3484         If we get a new newsegment with a different format, adapt
3485         accordingly.
3486
3487         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
3488         of 0. Not a problem, really.
3489
3490         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
3491         warn if sync=true.
3492
3493 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
3494
3495         * configure.ac:
3496           Prelease of 0.10.3
3497
3498 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
3499
3500         * win32/vs7:
3501           project files updated to the default vs7 configuration
3502         * win32/common/libgstbase.def:
3503         * win32/common/libgstreamer.def:
3504           added new symbols,
3505           removed empty lines,
3506           sorted all exported symbols alphabetically
3507         * win32/common/dirent.c:
3508         * win32/common/dirent.h:
3509         * win32/common/gchar.h:
3510           use windows line end.
3511           
3512 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
3513
3514         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3515           Send EOS event when stopping.
3516
3517 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
3518
3519         * docs/README:
3520           Tell folks what to do if the plugin-foobar.xml file
3521           hasn't been generated for a newly-added plugin.
3522
3523 2006-02-05  Julien MOUTTE  <julien@moutte.net>
3524
3525         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3526         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3527         (gst_collect_pads_start), (gst_collect_pads_stop),
3528         (gst_collect_pads_event): Collectpads now holds a reference
3529         to the GstPad that was added. Indeed we don't want to look
3530         at pads that might just go away with no warning...
3531
3532 2006-02-05  Julien MOUTTE  <julien@moutte.net>
3533
3534         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3535         (gst_collect_pads_start), (gst_collect_pads_stop),
3536         (gst_collect_pads_event), (gst_collect_pads_chain):
3537         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
3538         Mark Nauwelaerts's patch on bug #328491.
3539
3540 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
3541
3542         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
3543         (gst_utils_suite):
3544           Add some simple tests for gst_parse_bin_from_description() and
3545           gst_bin_find_unconnected_pad() (#329069).
3546
3547 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
3548
3549         * tools/gst-launch.c: (event_loop), (main):
3550           Catch errors during preroll (#320084).
3551
3552 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
3553
3554         * plugins/elements/gsttypefindelement.c:
3555         (gst_type_find_element_activate):
3556           Post TYPE_NOT_FOUND error message when typefinding
3557           is unsuccessful in the activate function as well.
3558
3559 2006-02-02  Wim Taymans  <wim@fluendo.com>
3560
3561         * docs/design/part-element-sink.txt:
3562         Updated doc.
3563
3564 2006-02-02  Wim Taymans  <wim@fluendo.com>
3565
3566         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
3567         (gst_base_sink_render_object),
3568         (gst_base_sink_queue_object_unlocked):
3569         Only keep track of prerollable items when we are 
3570         prerolling.
3571         Before rendering after preroll, always check if we
3572         have queued items.
3573         Added some more debugging.
3574
3575 2006-02-02  Wim Taymans  <wim@fluendo.com>
3576
3577         * gst/gstelement.c: (gst_element_continue_state),
3578         (gst_element_set_state_func), (gst_element_change_state):
3579         Fixed #326576, been running this for quite some time with
3580         no regressions at all.
3581
3582 2006-02-02  Wim Taymans  <wim@fluendo.com>
3583
3584         * common/gst.supp:
3585         Added more suppressions
3586
3587 2006-02-02  Wim Taymans  <wim@fluendo.com>
3588
3589         * docs/design/part-element-sink.txt:
3590         Updated document.
3591
3592         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3593         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
3594         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
3595         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
3596         (gst_base_sink_do_sync), (gst_base_sink_render_object),
3597         (gst_base_sink_preroll_object),
3598         (gst_base_sink_queue_object_unlocked),
3599         (gst_base_sink_queue_object), (gst_base_sink_event),
3600         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
3601         (gst_base_sink_loop), (gst_base_sink_activate_pull),
3602         (gst_base_sink_get_position), (gst_base_sink_change_state):
3603         * libs/gst/base/gstbasesink.h:
3604         Totally refactored matching the design doc.
3605         Use two segments, one to clip incomming buffers and another to
3606         perform sync.
3607         Handle queueing correctly, bypass the queue when playing.
3608         Make EOS cancelable.
3609         Handle errors correctly when operating in pull based mode.
3610
3611         * tests/check/elements/fakesink.c: (GST_START_TEST),
3612         (fakesink_suite):
3613         Added new check for sinks.
3614
3615 2006-02-02  Wim Taymans  <wim@fluendo.com>
3616
3617         * gst/gstsegment.c: (gst_segment_clip):
3618         No reason to refuse to clip when start == -1
3619
3620 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
3621
3622         * docs/README:
3623         * docs/manual/intro-basics.xml:
3624         * docs/manual/intro-preface.xml:
3625         * docs/manual/manual.xml:
3626         * docs/pwg/advanced-dparams.xml:
3627         * docs/pwg/intro-basics.xml:
3628         * docs/pwg/intro-preface.xml:
3629         * docs/pwg/pwg.xml:
3630           describe dparams (controller) for plugins
3631           unify docs a little more
3632
3633 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
3634
3635         * docs/gst/gstreamer-sections.txt:
3636         * gst/gstutils.c: (element_find_unconnected_pad),
3637         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
3638         * gst/gstutils.h:
3639           Add new API: gst_parse_bin_from_description() and
3640           gst_bin_find_unconnected_pad() (#329069).
3641
3642 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
3643
3644         * docs/manual/README:
3645           uncover a nasty detail of the docs build
3646
3647 2006-01-31  Wim Taymans  <wim@fluendo.com>
3648
3649         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
3650         Don't cache duration messages if we're not going to use or
3651         free them.
3652
3653 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
3654
3655         * docs/manual/advanced-dparams.xml:
3656         * docs/pwg/advanced-dparams.xml:
3657           more dparam docs
3658         * gst/gstindex.c:
3659           fix docs
3660         * libs/gst/controller/lib.c: (gst_controller_init):
3661           init just once
3662
3663 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
3664
3665         * gst/gstelement.c: (gst_element_message_full):
3666           also show file/line/func if no additional debug was given
3667
3668 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
3669         
3670         * win32/vs7/grammar.vcproj:
3671           activate copy of autogenerated files for Release mode
3672
3673 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
3674         
3675         * win32/common/libgstreamer.def:
3676           export gst_value_compare
3677
3678 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
3679
3680         * plugins/elements/Makefile.am:
3681         * plugins/elements/gstelements.c:
3682         * plugins/elements/gstfdsink.c: (_do_init),
3683         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
3684         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
3685         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
3686         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
3687         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
3688         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
3689         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
3690         * plugins/elements/gstfdsink.h:
3691         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
3692
3693 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
3694
3695         * docs/manual/advanced-dparams.xml:
3696           describe controller
3697         * docs/manual/advanced-position.xml:
3698         * docs/manual/basics-init.xml:
3699         * docs/manual/manual.xml:
3700         * docs/manual/titlepage.xml:
3701         * docs/pwg/pwg.xml:
3702         * docs/pwg/titlepage.xml:
3703           cleanup xml (more to come)
3704         * libs/gst/controller/gstcontroller.c:
3705           fix typo
3706
3707 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
3708         
3709         * win32/vs6/grammar.dsp:
3710           add autogen of gstmarshal.c,h for Release mode
3711                 
3712 2006-01-30  Wim Taymans  <wim@fluendo.com>
3713
3714         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3715         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
3716         (gst_base_sink_handle_object), (gst_base_sink_event),
3717         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
3718         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3719         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
3720         (gst_base_sink_deactivate), (gst_base_sink_activate),
3721         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
3722         (gst_base_sink_query), (gst_base_sink_change_state):
3723         Basesink cleanups, remove some old code.
3724         Handle the case where a subclass can preroll in the render
3725         method (mostly audiosinks).
3726         Handle more events.
3727         Remove some locks around variables that are now protected
3728         with the PREROLL_LOCK (clock_id, flushing, ..).
3729         Optimize position query some more, do correct locking.
3730         Remove old code to push queue in state change, this is not
3731         needed anymore since preroll blocks on all prerollable items 
3732         now.
3733         Almost implemented as described in design doc.
3734
3735 2006-01-30  Wim Taymans  <wim@fluendo.com>
3736
3737         * tests/check/gst/gstbin.c: (GST_START_TEST):
3738         Wait for refcount to settle down before checking.
3739
3740 2006-01-30  Wim Taymans  <wim@fluendo.com>
3741
3742         * docs/design/part-element-sink.txt:
3743         Pseudo code overview of desired sink behaviour regarding
3744         preroll.
3745
3746 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
3747         * win32/vs6/grammar.dsp:
3748           fix some bugs in Release mode for autogenerated files
3749                 
3750 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
3751         * win32/common/libgstbase.def:
3752         * win32/common/libgstreamer.def:
3753           export some new symbols: gst_base_src_set_format,
3754           gst_iterator_next, gst_structure_set_valist
3755
3756 2006-01-29  Julien MOUTTE  <julien@moutte.net>
3757
3758         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
3759         Set pad functions unconditionally. Fixes #329105.
3760
3761 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
3762         * win32/vs8:
3763           add vs8 project files created by Sergey Scobich
3764
3765 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
3766
3767         * gst/gstutils.c: (gst_element_unlink_pads):
3768         Don't leak pad references.
3769
3770         * tests/check/elements/fakesink.c: (GST_START_TEST):
3771         * tests/check/generic/sinks.c: (GST_START_TEST):
3772         * tests/check/generic/states.c: (GST_START_TEST):
3773         * tests/check/gst/gstbin.c: (GST_START_TEST):
3774         * tests/check/gst/gstcaps.c: (GST_START_TEST):
3775         * tests/check/gst/gstelement.c: (GST_START_TEST):
3776         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3777         * tests/check/gst/gstiterator.c: (GST_START_TEST):
3778         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3779         Fix a bunch of leaks. Make generic/sinks.c
3780         use a bit less cpu by slowing the buffer rate
3781         between fakesrc and fakesink.
3782         
3783 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
3784         * gst/gstcaps.c:
3785         * gst/gstelement.c: (gst_element_send_event):
3786         * gst/gstevent.c:
3787         * gst/gstinfo.c:
3788         * gst/gstiterator.c:
3789         * gst/gstiterator.h:
3790         * gst/gstpad.c: (gst_pad_send_event):
3791         * gst/gststructure.c:
3792         * gst/gsturi.c:
3793         * gst/gstutils.c:
3794         * gst/gstvalue.c:
3795         * libs/gst/base/gstadapter.c:
3796           doc fixes, to link to function, just write gst_cool_function(), don't
3797           prefix with '#'
3798
3799 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
3800
3801         * plugins/elements/gsttee.c: (gst_tee_do_push),
3802         (gst_tee_handle_buffer):
3803         Always prefer an actual return value from a src
3804         pad in place of NOT_LINKED. This means we return
3805         WRONG_STATE when all src pads are WRONG_STATE
3806         instead of NOT_LINKED.
3807
3808         Lock when replacing the last message to prevent
3809         racing with the get_property method.
3810
3811         Add debug output
3812
3813 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
3814
3815         * tests/check/Makefile.am:
3816         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
3817         (main):
3818         Add a very simple check that should have caught the memleak I fixed
3819         last night (if not for the slice allocator hiding it)
3820
3821 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
3822
3823         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3824         (gst_bin_remove_func), (gst_bin_handle_message_func),
3825         (bin_query_duration_fold), (bin_query_generic_fold):
3826         Clean up references to the clock provider when disposed or when
3827         handling a clock-lost message from it.
3828
3829         Unref sinks when performing a query via gst_iterator_fold, as the
3830         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
3831
3832         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
3833         (gst_clock_set_master):
3834         Drop our reference to the master clock, if any, when we are disposed.
3835
3836         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
3837         Chain up in dispose. 
3838
3839 2006-01-26  Wim Taymans  <wim@fluendo.com>
3840
3841         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3842         Add some debugging.
3843
3844 2006-01-26  Julien MOUTTE  <julien@moutte.net>
3845
3846         * plugins/elements/gsttee.c: (gst_tee_do_push),
3847         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
3848         handles pad being NOT_LINKED or in WRONG_STATE.
3849
3850 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
3851
3852         * win32/MANIFEST:
3853           more updating
3854
3855 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
3856
3857         * win32/MANIFEST:
3858           remove obsolete entry
3859
3860 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
3861
3862         * docs/gst/gstreamer-sections.txt:
3863         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
3864         (gst_bin_iterate_sources), (gst_bin_send_event):
3865         * gst/gstbin.h:
3866         * gst/gstelement.c: (gst_element_send_event):
3867         * gst/gstevent.c:
3868         * gst/gstpad.c: (gst_pad_send_event):
3869           added code for downstream events, reviewed docs in gstevent.c
3870
3871 2006-01-25  Julien MOUTTE  <julien@moutte.net>
3872
3873         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3874         We only query position using the clock in the playing state.
3875         Query peer in the other cases.
3876         * win32/common/config.h: Updates.
3877
3878 2006-01-24  Wim Taymans  <wim@fluendo.com>
3879
3880         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3881         A clock entry that is scheduled for the exact time of the
3882         clock is still in time.
3883
3884         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3885         (gst_base_sink_do_sync):
3886         Add some more debug info.
3887
3888 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
3889
3890         * win32/vs7:
3891           Add new vs7 project files and solution.
3892
3893 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
3894
3895         * win32/vs7:
3896           all files removed as they were out-dated.
3897
3898 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3899
3900         * docs/random/release:
3901           update notes
3902         * gst/gstbin.c: (gst_bin_init):
3903         * gst/gstbus.c: (gst_bus_new):
3904         * gst/gstbus.h:
3905         * gst/gstpipeline.c: (gst_pipeline_init):
3906           use gst_bus_new(), improve logging, fix docs
3907         * win32/common/config.h:
3908           update for cvs build
3909
3910 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3911
3912         * autogen.sh:
3913           up required version of automake to 1.7
3914
3915 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
3916
3917         * win32/common/libgstreamer.def:
3918           export gst_buffer_is_metadata_writable
3919
3920 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
3921
3922         * docs/gst/gstreamer-sections.txt:
3923         * gst/gstevent.h:
3924           Add gst_event_replace() (#327001)
3925
3926 2006-01-20  Wim Taymans  <wim@fluendo.com>
3927
3928         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
3929         Make it actually compile too..
3930
3931 2006-01-20  Wim Taymans  <wim@fluendo.com>
3932
3933         * gst/gstcaps.c:
3934         Clarify behaviour of _is_equal() when passing NULL parameters.
3935
3936         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3937         (gst_pad_set_caps):
3938         Cleanups. Don't unref NULL caps.
3939         When setting the same caps, protect caps of the pad with
3940         proper lock.
3941         Use full functionality of _is_equal() when comparing caps.
3942
3943 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
3944
3945         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3946         Don't loop infinitely if there are no buffers to present. Partially
3947         fixes #327197, but collectpads is just broken for reusing elements
3948         to do multiple encodes atm.
3949
3950 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
3951
3952         * tools/gst-inspect.c: (print_element_features):
3953         * tools/gst-xmlinspect.c: (main):
3954         URL_HANDLER is not a plugin feature we can search for in
3955         the registry.
3956
3957 2006-01-19  Edward Hervey  <edward@fluendo.com>
3958
3959         * gst/gstelement.c: (gst_element_pads_activate): 
3960         When activating, do src pads first, then sink pads.
3961         When de-activating, do sink pads first, then src pads.
3962
3963 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3964
3965         * docs/gst/gstreamer-sections.txt:
3966         Add gst_index_add_associationv to the docs
3967
3968 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3969
3970         * gst/gstevent.c:
3971           Fix docs typo
3972
3973         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
3974         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
3975           Do some refactoring. Doesn't actually change functionality,
3976           but makes landing the DRAIN event easier later.
3977
3978 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
3979
3980         * docs/pwg/advanced-scheduling.xml:
3981           Update from 0.9.x to 0.10 API and make example a bit
3982           clearer.
3983
3984 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3985
3986         * docs/gst/gstreamer-sections.txt:
3987         Add gst_buffer_(is|make)_metadata_writable methods.
3988
3989 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3990
3991         * docs/design/part-sparsestreams.txt:
3992         Update sparse streams doc, hopefully for greater clarity
3993
3994 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
3995
3996         * docs/design/part-events.txt:
3997         Remove mention of FILLER events.
3998         Add DRAIN event.
3999
4000         * docs/design/part-sparsestreams.txt:
4001         Write some things about using NEWSEGMENT to keep sparse streams
4002         flowing.
4003
4004 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
4005
4006         * gst/gstbin.c: (gst_bin_dispose):
4007           Guard gst_object_unref call against a NULL object (dispose
4008           can theoretically be called multiple times).
4009           
4010 2006-01-18  Wim Taymans  <wim@fluendo.com>
4011
4012         * gst/gstbin.c: (gst_bin_element_set_state):
4013         * gst/gstclock.c: (gst_clock_id_wait):
4014         Added some more debug info.
4015
4016         * libs/gst/base/gstadapter.c:
4017         Added more docs.
4018
4019         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4020         (gst_base_sink_do_sync), (gst_base_sink_chain):
4021         Added some comments.
4022
4023 2006-01-18  Wim Taymans  <wim@fluendo.com>
4024
4025         * tests/check/Makefile.am:
4026         * tests/check/elements/fakesink.c: (chain_async_buffer),
4027         (chain_async), (chain_async_return), (GST_START_TEST),
4028         (fakesink_suite), (main):
4029         Added fakesink test that checks prerolling and clipping
4030         behaviour.
4031
4032         * tests/check/gst/gstutils.c: (GST_START_TEST):
4033         Make check run faster so that buildbots don't timeout.
4034
4035 2006-01-18  Wim Taymans  <wim@fluendo.com>
4036
4037         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4038         (gst_base_sink_do_sync):
4039         Some cleanups.
4040         When the sink finishes blocking on the preroll buffer, it can
4041         immediatly render it instead of rendering when the next buffer
4042         arrives.
4043
4044 2006-01-18  Wim Taymans  <wim@fluendo.com>
4045
4046         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
4047         (gst_base_sink_get_property), (gst_base_sink_do_sync),
4048         (gst_base_sink_chain):
4049         Small cleanups.
4050         GST_ELEMENT_CLOCK and sync are protected with LOCK.
4051         Don't store _last_stop if the buffer is dropped.
4052
4053 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
4054
4055         * plugins/elements/gsttypefindelement.c:
4056         (gst_type_find_element_class_init):
4057           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
4058           object method handler that sets the caps on the pad and we want
4059           that to happen before we emit the signal (fixes e.g. feeding a
4060           plain text file to decodebin).
4061
4062 2006-01-18  Christian Schaller  <Christian@fluendo.com>
4063
4064         * gst/gstplugin.c: Add MPL and Proprietary as license options
4065
4066 2006-01-18  Andy Wingo  <wingo@pobox.com>
4067
4068         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
4069         symbol was exported before, it appears this was just an oversight.
4070         Fixes #168703.
4071         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
4072
4073         * gst/gstindex.c (gst_index_add_associationv): Changed int in
4074         prototype to gint. OK since this prototype was not in the header.
4075
4076 2006-01-17  Andy Wingo  <wingo@pobox.com>
4077
4078         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
4079         registry while we remove plugins.
4080
4081         * tools/gst-inspect.c (print_element_info): Don't unref the
4082         factory arg, that should be the responsibility of whatever code
4083         received the ref. Fixes a double-free when called from
4084         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
4085         (main): Unref the factory if we have one.
4086         (print_element_list): No change -- relies on the
4087         plugin_feature_list_free to free the list of features.
4088
4089 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
4090
4091         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
4092         (gst_buffer_make_metadata_writable):
4093         * gst/gstbuffer.h:
4094         * libs/gst/base/gstbasetransform.c:
4095         (gst_base_transform_prepare_output_buf):
4096         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4097         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4098           Replace gst_buffer_(make|is)_metadata_writable patch now
4099           that the release is out.
4100
4101 2006-01-17  Andy Wingo  <wingo@pobox.com>
4102
4103         * gst/gstregistry.c: Reflow design comment. Update so as to speak
4104         in the present tense without reference to versions.
4105
4106         * gst/gstregistry.c (gst_registry_add_plugin)
4107         (gst_registry_remove_plugin, gst_registry_remove_feature)
4108         (gst_registry_find_feature, gst_registry_get_feature_list)
4109         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
4110         (gst_registry_lookup, gst_registry_scan_path)
4111         (_gst_registry_remove_cache_plugins)
4112         (gst_registry_get_feature_list_by_plugin): Add argument
4113         validation.
4114
4115 === release 0.10.2 ===
4116
4117 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
4118
4119         * configure.ac:
4120           releasing 0.10.2, "If man is five"
4121
4122 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
4123
4124         * gst/gstbuffer.c:
4125         * gst/gstbuffer.h:
4126         * libs/gst/base/gstbasetransform.c:
4127         (gst_base_transform_prepare_output_buf):
4128         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4129         * tests/check/gst/gstbuffer.c: (gst_test_suite):
4130           Back out patch until after the release.
4131
4132 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
4133
4134         * gst/gstminiobject.c:
4135           Spelling fix in docs.
4136         * ChangeLog - remove conflict indicator
4137
4138 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
4139
4140         Reviewed By: Andy Wingo
4141
4142         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
4143         (gst_buffer_make_metadata_writable):
4144         * gst/gstbuffer.h:
4145           Add gst_buffer_(is|make)_metadata_writable as analogues of
4146           gst_buffer_(is|make)_writable.
4147
4148         * libs/gst/base/gstbasetransform.c:
4149         (gst_base_transform_prepare_output_buf):
4150         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4151           Use name gst_buffer_(is|make)_metadata_writable functions.
4152
4153         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4154           Test gst_buffer_(is|make)_metadata_writable
4155         
4156           (Closes: #324162)
4157
4158 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4159
4160         * docs/manual/Makefile.am:
4161           don't do parallel make
4162         * configure.ac:
4163           AC_SUBST HOST_CPU
4164         * win32/common/config.h.in:
4165           add generations for HOST_CPU and GST_MAJORMINOR
4166         * win32/common/config.h:
4167           commit generated result
4168
4169 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
4170
4171         * docs/manual/appendix-integration.xml:
4172           Update GNOME integration section to use gst_init_get_option_group()
4173           instead of the old popt stuff (#322911). Also, GNOME applications
4174           should  now use gconf*sink and gconf*src instead of the old gconf
4175           helper lib we had.
4176
4177 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
4178
4179
4180         * docs/gst/gstreamer-docs.sgml:
4181         * docs/gst/gstreamer-sections.txt:
4182         * docs/libs/gstreamer-libs-sections.txt:
4183           add new API entries to the docs
4184         * libs/gst/controller/Makefile.am:
4185         * libs/gst/controller/gstcontroller.c:
4186         * libs/gst/controller/gstcontroller.h:
4187         * libs/gst/controller/gstcontrollerprivate.h:
4188         * libs/gst/controller/gsthelper.c:
4189         * libs/gst/controller/gstinterpolation.c:
4190           move private structs to private header
4191         * po/README:
4192           gstreamer-0.7 -> gstreamer-0.10
4193         * tests/check/libs/struct_i386.h:
4194           remove private structs
4195
4196 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4197
4198         * plugins/indexers/Makefile.am:
4199           Fixes as part of #317048
4200
4201 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4202
4203         * plugins/indexers/Makefile.am:
4204           fix #316086 - compilation when mmap is missing
4205
4206 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
4207
4208         * libs/gst/base/gstbasesink.c:
4209           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
4210           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
4211         * win32/common/config.h:
4212           added some defines GST_MAJORMINOR and HOST_CPU
4213         * win32/common/libgstbase.def:
4214         * win32/common/libgstreamer.def:
4215           added some exported functions.
4216
4217 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
4218
4219         * libs/gst/controller/gstcontroller.c:
4220         (gst_controlled_property_set_interpolation_mode),
4221         (gst_controlled_property_new):
4222         * libs/gst/controller/gstcontroller.h:
4223         * libs/gst/controller/gstinterpolation.c:
4224         (interpolate_none_get_string_value_array):
4225           make G_TYPE_STRING controlable
4226
4227 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
4228
4229         * tools/README:
4230         * tools/gst-feedback.1.in:
4231         * tools/gst-inspect.1.in:
4232         * tools/gst-launch.1.in:
4233         * tools/gst-md5sum.1.in:
4234         * tools/gst-typefind.1.in:
4235         * tools/gst-xmlinspect.1.in:
4236         * tools/gst-xmllaunch.1.in:
4237           cleanup man-pages, remove reference to gst-register, document env-vars
4238
4239 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
4240
4241         * gst/gstbuffer.c: (gst_buffer_span):
4242           gst_buffer_span should copy the timestamp of the first buffer
4243           if they were both originally overlapping subbuffers of the 
4244           same parent, using the same logic as the 'slow copy' case.
4245
4246 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
4247
4248         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
4249           Need to awaken ALL the pads when we pop a buffer, otherwise
4250           collectpads only works when there is 2 input streams.
4251
4252 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
4253
4254         * docs/random/ensonic/media-device-daemon.txt:
4255           more ideas (dbus)
4256         * gst/gstbuffer.c:
4257           fix doc example, add clarification
4258         * tools/gst-launch.1.in:
4259           add initial info about GST_PLUGIN_PATH, needs more work
4260
4261 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4262
4263         * docs/manual/basics-bins.xml:
4264         * docs/manual/basics-elements.xml:
4265         * docs/manual/intro-basics.xml:
4266           Some more minor docs additions and updates.
4267
4268 2006-01-11  Wim Taymans  <wim@fluendo.com>
4269
4270         * docs/manual/basics-bins.xml:
4271         * docs/manual/basics-elements.xml:
4272         Some small fixes as pointed out by Ser-ver on IRC.
4273
4274 2006-01-10  Edward Hervey  <edward@fluendo.com>
4275
4276         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4277         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
4278         the single-segment mode.
4279
4280 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
4281
4282         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4283
4284         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
4285         (gst_base_src_perform_seek), (gst_base_src_send_event),
4286         (gst_base_src_set_property), (gst_base_src_get_property),
4287         (gst_base_src_loop), (gst_base_src_start),
4288         (gst_base_src_activate_push):
4289         * libs/gst/base/gstbasesrc.h:
4290           Name (private) union; makes Sun's Forte compiler happy (#324900).
4291
4292 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4293
4294         * README:
4295           gst-register is gone.
4296
4297 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4298
4299         * gst/gstvalue.c: (_gst_value_initialize):
4300           make the G_TYPE_DATE instantiation work if debug is disabled
4301
4302 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
4303
4304         * gst/gstmessage.c: (gst_message_parse_tag),
4305         (gst_message_parse_error), (gst_message_parse_warning):
4306           Don't crash when return location for error/warning debug
4307           string is NULL; add fact that return locations can be
4308           NULL to docs where appropriate.
4309
4310 2006-01-05  Wim Taymans  <wim@fluendo.com>
4311
4312         * gst/gstplugin.c: (gst_plugin_load_file):
4313         Replace strdup by g_strdup.
4314
4315 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4316
4317         * docs/pwg/advanced-types.xml:
4318           fix doc borkage
4319
4320 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4321
4322         submitted by: Abel Cheung
4323
4324         * po/LINGUAS:
4325         * po/zh_TW.po:
4326           Added Chinese (traditional) translation
4327
4328 2006-01-04  Wim Taymans  <wim@fluendo.com>
4329
4330         * docs/manual/basics-pads.xml:
4331         * docs/plugins/Makefile.am:
4332         * docs/plugins/gstreamer-plugins-docs.sgml:
4333         * docs/plugins/gstreamer-plugins-sections.txt:
4334         * docs/pwg/advanced-clock.xml:
4335         * docs/pwg/advanced-scheduling.xml:
4336         * docs/pwg/advanced-types.xml:
4337         * plugins/elements/gstfdsink.c:
4338         * plugins/elements/gstfdsrc.c:
4339         * plugins/elements/gstfdsrc.h:
4340         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4341         * plugins/elements/gstidentity.h:
4342         * plugins/elements/gstqueue.h:
4343         * plugins/elements/gsttee.c:
4344         * plugins/elements/gsttee.h:
4345         * plugins/elements/gsttypefindelement.c:
4346         (gst_type_find_element_class_init):
4347         * plugins/elements/gsttypefindelement.h:
4348         Small updates to various docs.
4349         Added core plugins to docs.
4350
4351 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4352
4353         * common/gst.supp:
4354           add a suppression for liboil's uninitialized variable
4355
4356 2006-01-02  James Livingston  <jrl at ids dot org dot au>
4357
4358         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4359
4360         * gst/gstutils.h:
4361           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
4362           macro, so that gcc doesn't complain if the -Wmissing-prototypes
4363           compiler switch is being used (#325429).
4364
4365 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
4366
4367         * gst/gstbin.c: (gst_bin_query):
4368           Disable duration query caching in bins until it gets
4369           fixed (see #324807).
4370
4371 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
4372
4373         * tools/gst-inspect.c: (print_element_properties_info):
4374           Handle properties of POINTER and BOXED type.
4375
4376 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
4377
4378         * gst/gst.c: (init_post):
4379           Init tags stuff and some other things before loading
4380           any static plugins (there may be other static plugins
4381           than just the GStreamer ones, and they may want to
4382           register their own tags or formats or whatever, and
4383           preferably without segfaulting).
4384
4385         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4386           Print at least a warning in the debug logs if we drop a
4387           query just because we don't know how to adjust the value
4388           in the particular format.
4389
4390 2005-12-24  David Schleef  <ds@schleef.org>
4391
4392         * tools/gstreamer-completion:
4393           Replacement for gst-complete written in sh and sed.  Only
4394           completes names of features, but that's 90% of what I want
4395           it for.  Properties are not available in registry.xml.  (Maybe
4396           they should be...)
4397
4398 === release 0.10.1 ===
4399
4400 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
4401
4402         * configure.ac:
4403           releasing 0.10.1, "Nollaig chridheil"
4404
4405 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
4406
4407         * docs/faq/cvs.xml:
4408           Add missing quote, should be make ERROR_CFLAGS="".
4409
4410 2005-12-20  Wim Taymans  <wim@fluendo.com>
4411
4412         * docs/design/part-trickmodes.txt:
4413         More documentation on trickmodes.
4414
4415 2005-12-20  Edward Hervey  <edward@fluendo.com>
4416
4417         * gst/gstcaps.c: (gst_static_caps_get_type):
4418         * gst/gstcaps.h:
4419           API addition: GST_TYPE_STATIC_CAPS
4420         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
4421         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
4422         * gst/gstpadtemplate.h:
4423           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
4424         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
4425         bindings.
4426
4427 2005-12-18  Wim Taymans  <wim@fluendo.com>
4428
4429         * libs/gst/base/gstadapter.c:
4430         * libs/gst/base/gstadapter.h:
4431         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4432         (gst_base_sink_get_position):
4433         * libs/gst/base/gstbasesink.h:
4434         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4435         (gst_base_src_default_query), (gst_base_src_default_do_seek),
4436         (gst_base_src_do_seek), (gst_base_src_perform_seek),
4437         (gst_base_src_send_event), (gst_base_src_update_length),
4438         (gst_base_src_get_range), (gst_base_src_loop),
4439         (gst_base_src_start):
4440         * libs/gst/base/gstbasesrc.h:
4441         * libs/gst/base/gstbasetransform.h:
4442         * libs/gst/base/gstcollectpads.h:
4443         * libs/gst/base/gstpushsrc.c:
4444         * libs/gst/base/gstpushsrc.h:
4445         * libs/gst/dataprotocol/dataprotocol.c:
4446         * libs/gst/dataprotocol/dataprotocol.h:
4447         * libs/gst/net/gstnetclientclock.h:
4448         * libs/gst/net/gstnettimeprovider.h:
4449         Documentation updates.
4450
4451 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
4452
4453         * docs/manual/basics-helloworld.xml:
4454           Remove superfluous closing bracket in helloworld example.
4455
4456 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
4457
4458         * tools/gst-launch.1.in:
4459           Update gst-launch man page; add a section with useful
4460           environment variables. Fixes #323882.
4461
4462 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
4463
4464         * gst/gst.c:
4465         * gst/gst_private.h:
4466           change some char* into char[]
4467
4468 2005-12-16  Wim Taymans  <wim@fluendo.com>
4469
4470         * gst/gstregistryxml.c: (load_feature):
4471         Cleanups.
4472         Don't use g_object_unref on GstObjects so that we avoid
4473         leaks on unsafe glibs.
4474
4475 2005-12-16  Wim Taymans  <wim@fluendo.com>
4476
4477         * gst/gstbin.c: (gst_bin_recalc_state):
4478         Small doc updates.
4479
4480 2005-12-16  Wim Taymans  <wim@fluendo.com>
4481
4482         * common/check.mak:
4483         Added make forever target for check.
4484
4485 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4486
4487         * gst/gst.c: (init_post):
4488           make the registry cache file HOST_CPU-dependent
4489
4490 2005-12-16  Andy Wingo  <wingo@pobox.com>
4491
4492         * plugins/elements/gstbufferstore.c
4493         (gst_buffer_store_cleared_func): Pay attention to g_list_append
4494         return value.
4495
4496         * tests/check/gst/gstobject.c
4497         (test_fake_object_name_threaded_unique): Pay attention to
4498         g_list_sort return value.
4499
4500 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
4501
4502         * tools/gst-feedback-m.m:
4503           Update for 0.9/0.10 (fixes #323870).
4504
4505 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
4506
4507         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
4508           Fix lcopy for mini objects, the mini object needs to be ref'ed.
4509           
4510         * tests/check/gst/gstminiobject.c: (my_foo_init),
4511         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
4512         (test_value_collection), (gst_mini_object_suite):
4513           Add test to ensure refcounts end up as expected when passing
4514           GstMiniObjects through g_object_get() and g_object_set().
4515
4516 2005-12-14  Julien MOUTTE  <julien@moutte.net>
4517
4518         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4519         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
4520         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
4521         of collectpads. This version removes a lot of races without
4522         touching API/ABI. Yay !
4523
4524 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
4525
4526         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
4527           Don't allow activation of a srcpad in pull_range if it has no
4528           getrange function.
4529           Change some debug statements to be a little clearer
4530
4531         * plugins/elements/gsttypefindelement.c:
4532         (gst_type_find_handle_src_query):
4533           Check that we have a peer before executing queries thereupon.
4534
4535         * tests/examples/metadata/read-metadata.c: (message_loop):
4536           Use gst_bus_pop instead of gst_bus_poll when we just want it to
4537           immediately return us any available message with 0 timeout.
4538
4539 2005-12-12  Michael Smith  <msmith@fluendo.com>
4540
4541         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4542           Don't unref factories after calling them.
4543         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
4544         * plugins/elements/gsttypefindelement.c:
4545         (gst_type_find_element_chain):
4546           Free lists of factories after using them. Fixing typefinding memory
4547           leaks.
4548
4549 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4550
4551         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4552         (gst_plugin_feature_load):
4553           more meaningful debug output
4554         * configure.ac:
4555         * tests/Makefile.am:
4556         * tests/old/examples/Makefile.am:
4557           make make distcheck happy again
4558
4559 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
4560
4561         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4562           Catch the special case where we are operating chain-based,
4563           but the downstream peer pad has no chain function. Emit a
4564           custom error message in this case instead of letting the
4565           core generate one implying that this is some sort of core
4566           bug. It's not, it just means that whatever got plugged
4567           into the pipeline downstream when we announced the type
4568           can only operate pull-based, while our source can only
4569           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
4570           Error string has not been marked for translation yet, as
4571           it probably needs some more work first.
4572
4573         (gst_type_find_element_get_best_possibility):
4574           Add helper function to find the best of all available
4575           found possibilities that qualify given the min. threshold.
4576
4577         (gst_type_find_element_handle_event):
4578           Fix the case where we get an EOS while still in TYPEFIND
4579           mode (we want to chose the best of all possible types,
4580           not just the first type that happens to be in our unsorted
4581           list of possible types).
4582
4583         (gst_type_find_element_chain):
4584           Make sure we return GST_FLOW_ERROR when we errored out
4585           in stop_typefinding(); also, don't just find the best of
4586           all found type entries and then use the last examined
4587           type entry, but actually use the best entry.
4588
4589 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
4590
4591         * tests/examples/typefind/typefind.c: (type_found):
4592         * tests/examples/xml/runxml.c: (xml_loaded):
4593           More gcc4 fixes and a mem leak fix.
4594
4595 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4596
4597         * tests/examples/xml/createxml.c: (object_saved):
4598           gcc 4 fixes
4599
4600 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4601
4602         * tests/Makefile.am:
4603           enable the examples even more
4604
4605 2005-12-12  Andy Wingo  <wingo@pobox.com>
4606
4607         * libs/gst/net/gstnettimeprovider.c
4608         (gst_net_time_provider_class_init, gst_net_time_provider_init)
4609         (gst_net_time_provider_set_property)
4610         (gst_net_time_provider_get_property):
4611         API addition: Export "active" as a GObject property.
4612         (gst_net_time_provider_thread): Only respond to time queries if
4613         the time provider is active.
4614
4615         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
4616         NetTimeProvider, preserving binary compat.
4617
4618 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4619
4620         * tests/examples/controller/audio-example.c: (main):
4621         * tests/examples/launch/Makefile.am:
4622           convert comments again
4623
4624 2005-12-12  Wim Taymans  <wim@fluendo.com>
4625
4626         * libs/gst/base/gstpushsrc.c:
4627         Fix typo.
4628
4629 2005-12-12  Wim Taymans  <wim@fluendo.com>
4630
4631         * docs/libs/gstreamer-libs-sections.txt:
4632         Added new symbol to docs.
4633
4634         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4635         (gst_base_src_init), (gst_base_src_set_format),
4636         (gst_base_src_default_query), (gst_base_src_query),
4637         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
4638         (gst_base_src_perform_seek), (gst_base_src_send_event),
4639         (gst_base_src_default_event), (gst_base_src_event_handler),
4640         (gst_base_src_set_property), (gst_base_src_get_property),
4641         (gst_base_src_wait), (gst_base_src_do_sync),
4642         (gst_base_src_update_length), (gst_base_src_get_range),
4643         (gst_base_src_check_get_range), (gst_base_src_loop),
4644         (gst_base_src_default_negotiate), (gst_base_src_start),
4645         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4646         (gst_base_src_change_state):
4647         * libs/gst/base/gstbasesrc.h:
4648         Implement seeking to other formats than _BYTES.
4649         Implement more seeking methods correctly.
4650         Doc updates.
4651         Added query vmethod.
4652         Added do_seek vmethod to make life easier for subclasses
4653         when seeking.
4654         API addition: gst_base_src_set_format()
4655
4656 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4657
4658         * tests/examples/Makefile.am:
4659           added that too
4660
4661 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4662
4663         * configure.ac:
4664         * docs/random/ensonic/media-device-daemon.txt:
4665         * tests/examples/controller/.cvsignore:
4666         * tests/examples/controller/Makefile.am:
4667         * tests/examples/controller/audio-example.c: (main):
4668         * tests/examples/helloworld/.cvsignore:
4669         * tests/examples/helloworld/Makefile.am:
4670         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
4671         * tests/examples/launch/.cvsignore:
4672         * tests/examples/launch/Makefile.am:
4673         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
4674         * tests/examples/metadata/.cvsignore:
4675         * tests/examples/metadata/Makefile.am:
4676         * tests/examples/metadata/read-metadata.c: (message_loop),
4677         (make_pipeline), (print_tag), (main):
4678         * tests/examples/queue/.cvsignore:
4679         * tests/examples/queue/Makefile.am:
4680         * tests/examples/queue/queue.c: (event_loop), (main):
4681         * tests/examples/typefind/.cvsignore:
4682         * tests/examples/typefind/Makefile.am:
4683         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
4684         (main):
4685         * tests/examples/xml/.cvsignore:
4686         * tests/examples/xml/Makefile.am:
4687         * tests/examples/xml/createxml.c: (object_saved), (main):
4688         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
4689         * tests/old/examples/Makefile.am:
4690         * tests/old/examples/TODO:
4691         * tests/old/examples/controller/.cvsignore:
4692         * tests/old/examples/controller/Makefile.am:
4693         * tests/old/examples/controller/audio-example.c:
4694         * tests/old/examples/helloworld/.cvsignore:
4695         * tests/old/examples/helloworld/Makefile.am:
4696         * tests/old/examples/helloworld/helloworld.c:
4697         * tests/old/examples/launch/.cvsignore:
4698         * tests/old/examples/launch/Makefile.am:
4699         * tests/old/examples/launch/mp3parselaunch.c:
4700         * tests/old/examples/launch/mp3play:
4701         * tests/old/examples/manual/Makefile.am:
4702         * tests/old/examples/metadata/Makefile.am:
4703         * tests/old/examples/metadata/read-metadata.c:
4704         * tests/old/examples/queue/.cvsignore:
4705         * tests/old/examples/queue/Makefile.am:
4706         * tests/old/examples/queue/queue.c:
4707         * tests/old/examples/typefind/.cvsignore:
4708         * tests/old/examples/typefind/Makefile.am:
4709         * tests/old/examples/typefind/typefind.c:
4710         * tests/old/examples/xml/.cvsignore:
4711         * tests/old/examples/xml/Makefile.am:
4712         * tests/old/examples/xml/createxml.c:
4713         * tests/old/examples/xml/runxml.c:
4714           applied some simple fixing to some examples
4715           re-enabled the working examples
4716
4717 2005-12-12  Wim Taymans  <wim@fluendo.com>
4718
4719         * gst/gstsegment.c: (gst_segment_init),
4720         (gst_segment_set_last_stop), (gst_segment_set_seek),
4721         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
4722         (gst_segment_to_running_time):
4723         Added more documentation.
4724         Make sure the last_pos value is updated properly.
4725         Make sure to_stream_time and to_running_time don't
4726         operate on wrong values.
4727
4728         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4729         Update check.
4730
4731 2005-12-12  Michael Smith  <msmith@fluendo.com>
4732
4733         * plugins/elements/gsttypefindelement.c: (free_entry),
4734         (gst_type_find_element_chain):
4735           Now that we're not leaking factories, make sure we keep references
4736           to them while we need them.
4737
4738 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4739
4740         * tests/check/gst/struct_i386.h:
4741           ifdef out the XML structs
4742
4743 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4744
4745         * gst/gstvalue.c: (gst_value_transform_double_fraction):
4746           floor is not needed, F is always positive; this obviates the
4747           need for adding -lm when building without libxml
4748
4749 2005-12-12  Wim Taymans  <wim@fluendo.com>
4750
4751         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4752         Take current playback rate into account when reporting
4753         the position.
4754
4755 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4756
4757         * docs/manual/mime-world.fig:
4758           Let's try this again, this time with a file that is
4759           actually in XFig format.
4760
4761 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4762
4763         * docs/manual/mime-world.fig:
4764           Add audioconvert element to diagram so that it
4765           matches the text and the code (fixes #319526).
4766
4767 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4768
4769         * docs/pwg/building-chainfn.xml:
4770         * docs/pwg/building-pads.xml:
4771         * docs/pwg/building-state.xml:
4772         * docs/pwg/other-source.xml:
4773           Update state change stuff for 0.10 (fixes #322969).
4774
4775 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4776
4777         * docs/manual/advanced-dataaccess.xml:
4778         * docs/manual/appendix-checklist.xml:
4779         * docs/manual/appendix-programs.xml:
4780         * docs/manual/basics-pads.xml:
4781         * docs/manual/highlevel-components.xml:
4782         * docs/manual/manual.xml:
4783           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
4784           add converters in front of pipelines; remove curly
4785           brackets for threads stuff, they no longer exist; use
4786           GST_TYPE_FRACTION for framerates; update some pieces of
4787           code to 0.10, but there's plenty more to do.
4788
4789         * docs/manual/appendix-porting.xml:
4790           Expand on asynchroneous state changes; s/0.9/0.10/;
4791           mention disappearance of gst_init_get_popt_table()
4792           (fixes #322916).
4793
4794 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4795
4796         * docs/faq/using.xml:
4797           Spider no longer exists, and neither does gst-launch-ext.
4798           Update examples to use decodebin and playbin and put
4799           converters in front of sinks (fixes #323726).
4800
4801 2005-12-09  Michael Smith  <msmith@fluendo.com>
4802
4803         * plugins/elements/gsttypefindelement.c: (find_peek),
4804         (gst_type_find_element_chain):
4805           Fix leaking element factories in typefinding.
4806           Fix problem where we forgot about a probable type on non-seekable
4807           files, and thus later mis-typefound it.
4808
4809 2005-12-09  Michael Smith  <msmith@fluendo.com>
4810
4811         * common/m4/gst-makecontext.m4:
4812         * common/m4/gst-mcsc.m4:
4813         * configure.ac:
4814         * win32/common/config.h:
4815         * win32/common/config.h.in:
4816           Remove makecontext stuff; not used in 0.10 and causes problems on
4817           HPUX according to bug #322441
4818
4819 2005-12-07  Wim Taymans  <wim@fluendo.com>
4820
4821         * tests/check/Makefile.am:
4822         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
4823         (main):
4824         * tests/check/libs/struct_i386.h:
4825         Added ABI check for libs
4826
4827 2005-12-07  Wim Taymans  <wim@fluendo.com>
4828
4829         * tests/check/Makefile.am:
4830         And add the struct_i386.h to dist.
4831
4832 2005-12-07  Wim Taymans  <wim@fluendo.com>
4833
4834         * tests/check/Makefile.am:
4835         * tests/check/gst/.cvsignore:
4836         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
4837         (main):
4838         * tests/check/gst/struct_i386.h:
4839         Added check for ABI compatibility.
4840
4841 2005-12-07  Wim Taymans  <wim@fluendo.com>
4842
4843         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4844         (gst_fake_src_get_times), (gst_fake_src_create):
4845         Fix broken sync option, fixes #323259
4846
4847 2005-12-07  Wim Taymans  <wim@fluendo.com>
4848
4849         * gst/gstbuffer.c:
4850         Small docs update.
4851
4852         * gst/gstcaps.c: (gst_caps_is_equal):
4853         Don't assert on NULL <--> X. Fixes #323260
4854
4855         * gst/gstminiobject.c: (gst_mini_object_replace):
4856         If we're doing atomic operations, we might just as well use
4857         the proper way to get an atomic pointer.
4858
4859         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4860         Clean up debugging.
4861
4862 2005-12-07  Michael Smith  <msmith@fluendo.com>
4863
4864         * gst/parse/grammar.y:
4865           Remove handling of { } for threads.
4866
4867 2005-12-06  David Schleef  <ds@schleef.org>
4868
4869         * libs/gst/base/gstbasetransform.c: speling fix.
4870
4871 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4872
4873         * docs/libs/tmpl/gstdataprotocol.sgml:
4874         * docs/random/omega/testing/gstobject.c:
4875         * gst/gst.c:
4876         * gst/gstclock.c:
4877         * gst/gstelement.c:
4878         * gst/gstelementfactory.c:
4879         * gst/gsterror.c:
4880         * gst/gstevent.c:
4881         * gst/gstghostpad.c:
4882         * gst/gstinfo.c:
4883         * gst/gstpadtemplate.c:
4884         * gst/gstregistryxml.c:
4885         * gst/gsttaglist.c:
4886         * gst/gsttagsetter.c:
4887         * gst/gsttypefind.c:
4888         * gst/gstvalue.c:
4889         * libs/gst/base/gstbasesrc.c:
4890         * libs/gst/net/gstnetclientclock.c:
4891         * libs/gst/net/gstnettimeprovider.c:
4892         * plugins/elements/gstfakesrc.c:
4893         * plugins/elements/gstfdsrc.c:
4894         * plugins/elements/gstfilesrc.c:
4895         * plugins/elements/gstidentity.c:
4896         * plugins/elements/gstqueue.c:
4897         * plugins/elements/gsttypefindelement.c:
4898         * plugins/indexers/gstfileindex.c:
4899         * plugins/indexers/gstmemindex.c:
4900         * tests/check/gst/gsttag.c:
4901         * tests/old/examples/cutter/cutter.c:
4902         * tests/old/examples/mixer/mixer.c:
4903         * tests/old/examples/xml/runxml.c: (main):
4904         * tests/old/testsuite/caps/normalisation.c:
4905         * tests/old/testsuite/debug/global.c:
4906         * tests/old/testsuite/parse/parse1.c:
4907         * tools/gst-xmlinspect.c:
4908         * win32/common/dirent.c:
4909           expand tabs
4910
4911 === release 0.10.0 ===
4912
4913 2005-12-05   <thomas (at) apestaart (dot) org>
4914
4915         * configure.ac:
4916           releasing 0.10.0, "Maroilles"
4917
4918 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4919
4920         submitted by: Funda Wang <fundawang@linux.net.cn>
4921
4922         * po/LINGUAS:
4923         * po/zh_CN.po:
4924           added Chinese (Traditional) translation
4925
4926 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4927
4928         * docs/gst/gstreamer-sections.txt:
4929         * docs/libs/tmpl/gstdataprotocol.sgml:
4930         * docs/random/thomasvs/TODO:
4931         * gst/gstutils.c:
4932         * gst/gstutils.h:
4933           fix docs
4934
4935 2005-12-05  Andy Wingo  <wingo@pobox.com>
4936
4937         patch by: Wim Taymans <wim@fluendo.com>
4938
4939         * libs/gst/base/gstbasetransform.c
4940         (gst_base_transform_prepare_output_buf)
4941         (gst_base_transform_buffer_alloc):
4942         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
4943         alloc_buffer_and_set_caps.
4944
4945         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
4946         set_caps on the source pad.
4947         (gst_pad_alloc_buffer_and_set_caps): New function, does what
4948         alloc_buffer used to do. Fixes #322874.
4949
4950         * docs/gst/gstreamer-sections.txt: 
4951         * docs/design/part-negotiation.txt: 
4952         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
4953         changes.
4954
4955 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4956
4957         patch by: Sebastien Moutte
4958
4959         * win32/MANIFEST:
4960         * win32/common/config.h.in:
4961         * win32/vs6/libgstcontroller.dsp:
4962           win32 build fixes
4963
4964 2005-12-05  Wim Taymans  <wim@fluendo.com>
4965
4966         * gst/gstcaps.c: (gst_caps_is_equal):
4967         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4968         (gst_fake_src_create):
4969         Back out previous code changes, leave doc updates, file bugs 
4970         instead. 
4971
4972 2005-12-05  Wim Taymans  <wim@fluendo.com>
4973
4974         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4975         (gst_fake_src_get_times), (gst_fake_src_create):
4976         * plugins/elements/gstfakesrc.h:
4977         Fix broken sync code.
4978
4979 2005-12-05  Wim Taymans  <wim@fluendo.com>
4980
4981         * gst/gstcaps.c: (gst_caps_is_equal):
4982         Comparing NULL against !NULL yields different caps, not a
4983         failure.
4984
4985 2005-12-05  Wim Taymans  <wim@fluendo.com>
4986
4987         * gst/gstpipeline.c:
4988         Fix small typo in docs.
4989
4990 2005-12-05  Andy Wingo  <wingo@pobox.com>
4991
4992         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
4993
4994         * gst/gst.c (init_post): remove hard-coded 0.9 location for
4995         registries/plugins with a MAJORMINOR one.
4996         (plugin_desc): Rename library from gstcoreleements to
4997         staticelements. Fixes #323222.
4998
4999 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
5000
5001         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
5002           Change debug category to 'collectpads' from 'collect_pads'
5003           (fixes #323250).
5004
5005 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5006
5007         patch by: Sebastien Moutte
5008
5009         * libs/gst/controller/gstinterpolation.c:
5010           use convert function for uint64/double
5011         * win32/vs6/libgstcontroller.dsp:
5012           link to GLib
5013
5014 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5015
5016         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
5017         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
5018         * gst/gstutils.h:
5019         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5020           add tests that seem to show that the guint64/gdouble conversions
5021           are correct.
5022
5023 2005-12-02  Wim Taymans  <wim@fluendo.com>
5024
5025         * gst/gstregistry.c: (gst_registry_add_path):
5026         * gst/gstregistry.h:
5027         * gst/gstregistryxml.c:
5028         Fix docs again.
5029
5030 2005-12-02  Wim Taymans  <wim@fluendo.com>
5031
5032         * gst/gstutils.c: (gst_util_uint64_scale_int64),
5033         (gst_util_uint64_scale_int):
5034         Small cleanup.
5035
5036         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5037         Add debug log line.
5038
5039         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
5040         Add FIXME.
5041
5042 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5043
5044         * win32/MANIFEST:
5045         * win32/common/config.h:
5046         * win32/vs6/gstreamer.dsw:
5047         * win32/vs6/libgstcoreelements.dsp:
5048         * win32/vs6/libgstelements.dsp:
5049           renamed core elements plugin
5050
5051 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5052
5053         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
5054         (get_candidates):
5055           do piece-wise major/minor comparison so 0.9 < 0.10
5056           also allow .exe extensions for tools
5057
5058 2005-12-02  Michael Smith  <msmith@fluendo.com>
5059
5060         * gst/gst.c:
5061           Escape a % to make gtkdoc happier; bug 322958.
5062
5063 === release 0.9.7 ===
5064
5065 2005-12-01   <thomas (at) apestaart (dot) org>
5066
5067         * configure.ac:
5068           releasing 0.9.7, "My Dog Has No Nose"
5069
5070 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5071
5072         * common/gst-xmlinspect.py:
5073         * configure.ac:
5074         * docs/libs/tmpl/gstdataprotocol.sgml:
5075         * docs/random/release:
5076         * po/af.po:
5077         * po/az.po:
5078         * po/bg.po:
5079         * po/ca.po:
5080         * po/cs.po:
5081         * po/de.po:
5082         * po/en_GB.po:
5083         * po/fr.po:
5084         * po/it.po:
5085         * po/nb.po:
5086         * po/nl.po:
5087         * po/ru.po:
5088         * po/sq.po:
5089         * po/sr.po:
5090         * po/sv.po:
5091         * po/tr.po:
5092         * po/uk.po:
5093         * po/vi.po:
5094         * win32/common/config.h:
5095         * win32/common/config.h.in:
5096         * win32/vs6/gst_inspect.dsp:
5097         * win32/vs6/gst_launch.dsp:
5098         * win32/vs6/libgstbase.dsp:
5099         * win32/vs6/libgstelements.dsp:
5100         * win32/vs6/libgstreamer.dsp:
5101         * win32/vs7/GStreamer.vcproj:
5102         * win32/vs7/gst-inspect.vcproj:
5103         * win32/vs7/gst-launch.vcproj:
5104         * win32/vs7/libgstbase.vcproj:
5105           bump GST_MAJORMINOR to 0.10
5106           reset libtool version
5107
5108 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5109
5110         * po/LINGUAS:
5111         * po/bg.po:
5112           Added Bulgarian translation by (Alexander Shopov)
5113
5114 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5115
5116         * tests/check/gst/gstplugin.c:
5117           fix test
5118
5119 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5120
5121         * common/gst-xmlinspect.py:
5122         * common/gtk-doc-plugins.mak:
5123         * configure.ac:
5124         * docs/Makefile.am:
5125         * docs/gst/Makefile.am:
5126         * docs/gst/gstreamer-docs.sgml:
5127         * docs/gst/gstreamer-sections.txt:
5128         * docs/gst/gstreamer.types:
5129         * docs/gst/gstreamer.types.in:
5130         * docs/plugins/Makefile.am:
5131         * docs/plugins/gstreamer-plugins-docs.sgml:
5132         * docs/plugins/gstreamer-plugins-sections.txt:
5133         * docs/plugins/gstreamer-plugins.types:
5134         * docs/plugins/inspect.stamp:
5135         * docs/plugins/inspect/plugin-coreelements.xml:
5136         * docs/plugins/inspect/plugin-coreindexers.xml:
5137         * docs/plugins/scanobj-build.stamp:
5138         * gstreamer.spec.in:
5139         * plugins/elements/Makefile.am:
5140         * plugins/elements/gstelements.c:
5141         * plugins/elements/gstfakesink.c:
5142         * plugins/elements/gstfakesrc.c:
5143         * plugins/elements/gstfilesink.c:
5144         * plugins/elements/gstfilesrc.c:
5145         * plugins/elements/gstqueue.c:
5146         * plugins/indexers/Makefile.am:
5147         * plugins/indexers/gstindexers.c:
5148           document core plugins in a separate document just like all the
5149           others
5150           rename these plugins to something starting with core
5151
5152 2005-12-01  Andy Wingo  <wingo@pobox.com>
5153
5154         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
5155         padding here before, but it missed the commit.
5156
5157 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5158
5159         * libs/gst/controller/gstinterpolation.c:
5160           whitespace prices have crashed, we should feel free to use some now
5161           use gst_guint64_to_gdouble
5162
5163 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5164
5165         * libs/gst/controller/gstcontroller.c:
5166         * libs/gst/controller/gsthelper.c:
5167         * libs/gst/controller/gstinterpolation.c:
5168         * libs/gst/controller/lib.c:
5169           wrap config.h include
5170
5171 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5172
5173         * docs/gst/gstreamer-sections.txt:
5174           update docs
5175
5176 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5177
5178         * plugins/elements/gstelements.c:
5179         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
5180         (gst_fd_sink__class_init), (gst_fd_sink__init),
5181         (gst_fd_sink__chain), (gst_fd_sink__set_property),
5182         (gst_fd_sink__get_property):
5183         * plugins/elements/gstfdsink.h:
5184         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
5185         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
5186         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
5187         (gst_fd_src_unlock), (gst_fd_src_set_property),
5188         (gst_fd_src_get_property), (gst_fd_src_create),
5189         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
5190         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
5191         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
5192         (gst_fd_src_uri_handler_init):
5193         * plugins/elements/gstfdsrc.h:
5194         * plugins/elements/gstqueue.c: (gst_queue_get_type):
5195           more anal cleanup
5196
5197 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5198
5199         * docs/gst/Makefile.am:
5200         * docs/gst/gstreamer.types.in:
5201         * gst/Makefile.am:
5202           fix the docs build
5203
5204 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5205
5206         * configure.ac:
5207         * gst/Makefile.am:
5208         * gst/gst.c:
5209         * gst/gstplugin.h:
5210         * gst/gstregistry.h:
5211         * tests/benchmarks/complexity.c:
5212         * tests/benchmarks/mass-elements.c:
5213         * tests/check/Makefile.am:
5214         * tools/Makefile.am:
5215         * tools/gst-inspect.c:
5216         * tools/gst-xmlinspect.c:
5217           various fixes to make
5218           --disable-nls --disable-registry --disable-loadsave
5219           --disable-parse --disable-gst-debug
5220           work and get the core .so down to 360444 bytes after stripping
5221
5222 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5223
5224         * Makefile.am:
5225         * configure.ac:
5226           descend into tests
5227         * docs/random/thomasvs/TODO:
5228         * tests/Makefile.am:
5229         * tests/README:
5230           add a README
5231
5232 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5233
5234         * win32/GStreamer.vcproj:
5235         * win32/MANIFEST:
5236         * win32/Makefile:
5237         * win32/Makefile.inspect:
5238         * win32/Makefile.launch:
5239         * win32/Makefile.register:
5240         * win32/README.txt:
5241         * win32/gst-inspect.vcproj:
5242         * win32/gst-launch.vcproj:
5243         * win32/gst-register.vcproj:
5244         * win32/gstelements.vcproj:
5245         * win32/gstgetbits.def:
5246         * win32/gstgetbits.vcproj:
5247         * win32/gstreamer-dbg.def:
5248         * win32/gstreamer.def:
5249         * win32/libgstbase.def:
5250         * win32/libgstbase.vcproj:
5251         * win32/link_oldruntime.c:
5252         * win32/mman.c:
5253         * win32/mman.h:
5254         * win32/mman.inl:
5255         * win32/msvc71.sln:
5256           move even more stuff, win32/ is nice and clean now
5257
5258 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5259
5260         * libs/gst/control/.cvsignore:
5261         * win32/MANIFEST:
5262         * win32/config.h:
5263         * win32/dirent.c:
5264         * win32/dirent.h:
5265         * win32/gstbytestream.def:
5266         * win32/gstbytestream.vcproj:
5267         * win32/gstconfig.h:
5268         * win32/gstenumtypes.c:
5269         * win32/gstenumtypes.h:
5270         * win32/gstoptimalscheduler.vcproj:
5271         * win32/gstversion.h:
5272         * win32/gtchar.h:
5273         * win32/testsuite/bins.vcproj:
5274         * win32/testsuite/bytestream.vcproj:
5275         * win32/testsuite/caps.vcproj:
5276         * win32/testsuite/cleanup.vcproj:
5277         * win32/testsuite/clock.vcproj:
5278         * win32/testsuite/debug.vcproj:
5279         * win32/testsuite/dlopen.vcproj:
5280         * win32/testsuite/dynparams.vcproj:
5281         * win32/testsuite/elements.vcproj:
5282         * win32/testsuite/ghostpads.vcproj:
5283         * win32/testsuite/indexers.vcproj:
5284         * win32/testsuite/negotiation.vcproj:
5285         * win32/testsuite/parse.vcproj:
5286         * win32/testsuite/plugin.vcproj:
5287         * win32/testsuite/refcounting.vcproj:
5288         * win32/testsuite/schedulers.vcproj:
5289         * win32/testsuite/states.vcproj:
5290         * win32/testsuite/tags.vcproj:
5291         * win32/testsuite/threads.vcproj:
5292           remove old win32 stuff that isn't maintained and should be
5293           reorganized
5294
5295 2005-11-30  Andy Wingo  <wingo@pobox.com>
5296
5297         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
5298         loading the gst.interfaces python module bork.
5299
5300         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
5301         available since GLib 2.2. Fixes #318031.
5302
5303 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5304
5305         * Makefile.am:
5306         * check/.cvsignore:
5307         * check/Makefile.am:
5308         * check/elements/.cvsignore:
5309         * check/elements/fakesrc.c:
5310         * check/elements/fdsrc.c:
5311         * check/elements/identity.c:
5312         * check/generic/.cvsignore:
5313         * check/generic/states.c:
5314         * check/gst-libs/.cvsignore:
5315         * check/gst-libs/controller.c:
5316         * check/gst-libs/gdp.c:
5317         * check/gst/.cvsignore:
5318         * check/gst/capslist.h:
5319         * check/gst/gst.c:
5320         * check/gst/gstbin.c:
5321         * check/gst/gstbuffer.c:
5322         * check/gst/gstbus.c:
5323         * check/gst/gstcaps.c:
5324         * check/gst/gstelement.c:
5325         * check/gst/gstevent.c:
5326         * check/gst/gstghostpad.c:
5327         * check/gst/gstiterator.c:
5328         * check/gst/gstmessage.c:
5329         * check/gst/gstminiobject.c:
5330         * check/gst/gstobject.c:
5331         * check/gst/gstpad.c:
5332         * check/gst/gstpipeline.c:
5333         * check/gst/gstplugin.c:
5334         * check/gst/gstsegment.c:
5335         * check/gst/gststructure.c:
5336         * check/gst/gstsystemclock.c:
5337         * check/gst/gsttag.c:
5338         * check/gst/gstutils.c:
5339         * check/gst/gstvalue.c:
5340         * check/net/.cvsignore:
5341         * check/net/gstnetclientclock.c:
5342         * check/net/gstnettimeprovider.c:
5343         * check/pipelines/.cvsignore:
5344         * check/pipelines/cleanup.c:
5345         * check/pipelines/simple_launch_lines.c:
5346         * check/pipelines/stress.c:
5347         * check/states/.cvsignore:
5348         * check/states/sinks.c:
5349         * configure.ac:
5350         * examples/Makefile.am:
5351         * examples/appreader/.cvsignore:
5352         * examples/appreader/Makefile.am:
5353         * examples/appreader/appreader.c:
5354         * examples/controller/.cvsignore:
5355         * examples/controller/Makefile.am:
5356         * examples/controller/audio-example.c:
5357         * examples/cutter/.cvsignore:
5358         * examples/cutter/Makefile.am:
5359         * examples/cutter/cutter.c:
5360         * examples/cutter/cutter.h:
5361         * examples/events/Makefile.am:
5362         * examples/events/seek.c:
5363         * examples/helloworld/.cvsignore:
5364         * examples/helloworld/Makefile.am:
5365         * examples/helloworld/helloworld.c:
5366         * examples/helloworld2/.cvsignore:
5367         * examples/helloworld2/Makefile.am:
5368         * examples/helloworld2/helloworld2.c:
5369         * examples/launch/.cvsignore:
5370         * examples/launch/Makefile.am:
5371         * examples/launch/mp3parselaunch.c:
5372         * examples/launch/mp3play:
5373         * examples/manual/.cvsignore:
5374         * examples/manual/Makefile.am:
5375         * examples/manual/extract.pl:
5376         * examples/metadata/Makefile.am:
5377         * examples/metadata/read-metadata.c:
5378         * examples/mixer/.cvsignore:
5379         * examples/mixer/Makefile.am:
5380         * examples/mixer/mixer.c:
5381         * examples/mixer/mixer.h:
5382         * examples/pingpong/.cvsignore:
5383         * examples/pingpong/Makefile.am:
5384         * examples/pingpong/pingpong.c:
5385         * examples/plugins/.cvsignore:
5386         * examples/plugins/Makefile.am:
5387         * examples/plugins/example.c:
5388         * examples/plugins/example.h:
5389         * examples/pwg/.cvsignore:
5390         * examples/pwg/Makefile.am:
5391         * examples/pwg/extract.pl:
5392         * examples/queue/.cvsignore:
5393         * examples/queue/Makefile.am:
5394         * examples/queue/queue.c:
5395         * examples/queue2/.cvsignore:
5396         * examples/queue2/Makefile.am:
5397         * examples/queue2/queue2.c:
5398         * examples/queue3/.cvsignore:
5399         * examples/queue3/Makefile.am:
5400         * examples/queue3/queue3.c:
5401         * examples/queue4/.cvsignore:
5402         * examples/queue4/Makefile.am:
5403         * examples/queue4/queue4.c:
5404         * examples/retag/.cvsignore:
5405         * examples/retag/Makefile.am:
5406         * examples/retag/retag.c:
5407         * examples/retag/transcode.c:
5408         * examples/thread/.cvsignore:
5409         * examples/thread/Makefile.am:
5410         * examples/thread/thread.c:
5411         * examples/typefind/.cvsignore:
5412         * examples/typefind/Makefile.am:
5413         * examples/typefind/typefind.c:
5414         * examples/xml/.cvsignore:
5415         * examples/xml/Makefile.am:
5416         * examples/xml/createxml.c:
5417         * examples/xml/runxml.c:
5418         * tests/Makefile.am:
5419         * tests/check/Makefile.am:
5420         * testsuite/.cvsignore:
5421         * testsuite/Makefile.am:
5422         * testsuite/Rules:
5423         * testsuite/caps/.cvsignore:
5424         * testsuite/caps/Makefile.am:
5425         * testsuite/caps/app_fixate.c:
5426         * testsuite/caps/audioscale.c:
5427         * testsuite/caps/caps.c:
5428         * testsuite/caps/caps.h:
5429         * testsuite/caps/caps_strings:
5430         * testsuite/caps/compatibility.c:
5431         * testsuite/caps/deserialize.c:
5432         * testsuite/caps/enumcaps.c:
5433         * testsuite/caps/eratosthenes.c:
5434         * testsuite/caps/filtercaps.c:
5435         * testsuite/caps/fixed.c:
5436         * testsuite/caps/fraction-convert.c:
5437         * testsuite/caps/fraction-multiply-and-zero.c:
5438         * testsuite/caps/intersect2.c:
5439         * testsuite/caps/intersection.c:
5440         * testsuite/caps/normalisation.c:
5441         * testsuite/caps/random.c:
5442         * testsuite/caps/renegotiate.c:
5443         * testsuite/caps/sets.c:
5444         * testsuite/caps/simplify.c:
5445         * testsuite/caps/string-conversions.c:
5446         * testsuite/caps/structure.c:
5447         * testsuite/caps/subtract.c:
5448         * testsuite/caps/union.c:
5449         * testsuite/debug/.cvsignore:
5450         * testsuite/debug/Makefile.am:
5451         * testsuite/debug/category.c:
5452         * testsuite/debug/commandline.c:
5453         * testsuite/debug/global.c:
5454         * testsuite/debug/output.c:
5455         * testsuite/debug/printf_extension.c:
5456         * testsuite/dlopen/.cvsignore:
5457         * testsuite/dlopen/Makefile.am:
5458         * testsuite/dlopen/dlopen_gst.c:
5459         * testsuite/dlopen/loadgst.c:
5460         * testsuite/elements/.cvsignore:
5461         * testsuite/elements/Makefile.am:
5462         * testsuite/elements/gst-inspect-check.in:
5463         * testsuite/elements/struct_i386.h:
5464         * testsuite/elements/struct_size.c:
5465         * testsuite/indexers/.cvsignore:
5466         * testsuite/indexers/Makefile.am:
5467         * testsuite/indexers/cache1.c:
5468         * testsuite/indexers/indexdump.c:
5469         * testsuite/parse/.cvsignore:
5470         * testsuite/parse/Makefile.am:
5471         * testsuite/parse/parse1.c:
5472         * testsuite/parse/parse2.c:
5473         * testsuite/plugin/.cvsignore:
5474         * testsuite/plugin/Makefile.am:
5475         * testsuite/plugin/README:
5476         * testsuite/plugin/dynamic.c:
5477         * testsuite/plugin/linked.c:
5478         * testsuite/plugin/loading.c:
5479         * testsuite/plugin/registry.c:
5480         * testsuite/plugin/static.c:
5481         * testsuite/plugin/static2.c:
5482         * testsuite/plugin/testplugin.c:
5483         * testsuite/plugin/testplugin2.c:
5484         * testsuite/plugin/testplugin2_s.c:
5485         * testsuite/plugin/testplugin_s.c:
5486         * testsuite/refcounting/.cvsignore:
5487         * testsuite/refcounting/Makefile.am:
5488         * testsuite/refcounting/bin.c:
5489         * testsuite/refcounting/element.c:
5490         * testsuite/refcounting/element_pad.c:
5491         * testsuite/refcounting/mainloop.c:
5492         * testsuite/refcounting/mem.c:
5493         * testsuite/refcounting/mem.h:
5494         * testsuite/refcounting/object.c:
5495         * testsuite/refcounting/pad.c:
5496         * testsuite/refcounting/sched.c:
5497         * testsuite/refcounting/thread.c:
5498         * testsuite/states/.cvsignore:
5499         * testsuite/states/Makefile.am:
5500         * testsuite/states/bin.c:
5501         * testsuite/states/locked.c:
5502         * testsuite/states/parent.c:
5503         * testsuite/threads/.cvsignore:
5504         * testsuite/threads/159566.c:
5505         * testsuite/threads/159852.c:
5506         * testsuite/threads/Makefile.am:
5507         * testsuite/threads/queue.c:
5508         * testsuite/threads/signals.c:
5509         * testsuite/threads/staticrec.c:
5510         * testsuite/threads/thread.c:
5511         * testsuite/threads/threadb.c:
5512         * testsuite/threads/threadc.c:
5513         * testsuite/threads/threadd.c:
5514         * testsuite/threads/threade.c:
5515         * testsuite/threads/threadf.c:
5516         * testsuite/threads/threadg.c:
5517         * testsuite/threads/threadh.c:
5518         * testsuite/threads/threadi.c:
5519           move all of these under tests
5520
5521 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5522
5523         * configure.ac:
5524         * tests/Makefile.am:
5525           fix distcheck
5526
5527 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5528
5529         * docs/gst/gstreamer-sections.txt:
5530         * tests/sched/.cvsignore:
5531         * tests/sched/Makefile.am:
5532         * tests/sched/cases/(fs-fs).xml:
5533         * tests/sched/cases/(fs-i-fs).xml:
5534         * tests/sched/cases/(fs-i-i-fs).xml:
5535         * tests/sched/cases/(fs-i-q[i-fs]).xml:
5536         * tests/sched/dynamic-pipeline.c:
5537         * tests/sched/interrupt1.c:
5538         * tests/sched/interrupt2.c:
5539         * tests/sched/interrupt3.c:
5540         * tests/sched/runtestcases:
5541         * tests/sched/runxml.c:
5542         * tests/sched/sched-stress.c:
5543         * tests/sched/sort.c:
5544         * tests/sched/testcases:
5545         * tests/sched/testcases1.tc:
5546         * tests/seeking/.cvsignore:
5547         * tests/seeking/Makefile.am:
5548         * tests/seeking/seeking1.c:
5549         * tests/threadstate/.cvsignore:
5550         * tests/threadstate/Makefile.am:
5551         * tests/threadstate/test1.c:
5552         * tests/threadstate/test2.c:
5553         * tests/threadstate/threadstate1.c:
5554         * tests/threadstate/threadstate2.c:
5555         * tests/threadstate/threadstate3.c:
5556         * tests/threadstate/threadstate4.c:
5557         * tests/threadstate/threadstate5.c:
5558           remove obsolete tests
5559         * configure.ac:
5560         * tests/bench-complexity.scm:
5561         * tests/bench-mass_elements.scm:
5562         * tests/complexity.c:
5563         * tests/complexity.gnuplot:
5564         * tests/instantiate/.cvsignore:
5565         * tests/instantiate/Makefile.am:
5566         * tests/instantiate/caps.c:
5567         * tests/mass_elements.c:
5568         * tests/network-clock-utils.scm:
5569         * tests/network-clock.scm:
5570         * tests/plot-data:
5571         First pass at cleaning up tests/ dir before moving the rest
5572         Combined with CVS surgery
5573
5574 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5575
5576         * po/POTFILES.in:
5577           queue has moved, update
5578
5579 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5580
5581         * docs/gst/gstreamer-sections.txt:
5582           remove double entries from the docs
5583         * gst/gst_private.h:
5584         * gst/gstinfo.c: (_gst_debug_init):
5585           remove the THREAD debug category
5586         * gst/Makefile.am:
5587         * gst/gstqueue.c:
5588         * gst/gstqueue.h:
5589         * docs/gst/gstreamer.types:
5590         * plugins/elements/gstqueue.c: (gst_queue_get_type),
5591         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
5592           completely move queue and fix up debugging categories
5593
5594 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5595
5596         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5597           make initialization portable, using LL is not
5598
5599 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5600
5601         * win32/common/gstconfig.h:
5602           add large padding
5603
5604 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5605
5606         * win32/common/libgstreamer.def:
5607           rename symbols; sort base section
5608
5609 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5610
5611         * gst/gstclock.c: (do_linear_regression):
5612           remove crack non-portable handrolled DEBUG macro
5613
5614 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5615
5616         * docs/random/release:
5617           update notes
5618         * win32/common/gstenumtypes.c: (register_gst_object_flags),
5619         (gst_object_flags_get_type), (register_gst_bin_flags),
5620         (gst_bin_flags_get_type), (register_gst_buffer_flag),
5621         (gst_buffer_flag_get_type), (register_gst_bus_flags),
5622         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
5623         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
5624         (gst_caps_flags_get_type), (register_gst_clock_return),
5625         (gst_clock_return_get_type), (register_gst_clock_entry_type),
5626         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
5627         (gst_clock_flags_get_type), (register_gst_state),
5628         (gst_state_get_type), (register_gst_state_change_return),
5629         (gst_state_change_return_get_type), (register_gst_state_change),
5630         (gst_state_change_get_type), (register_gst_element_flags),
5631         (gst_element_flags_get_type), (register_gst_core_error),
5632         (gst_core_error_get_type), (register_gst_library_error),
5633         (gst_library_error_get_type), (register_gst_resource_error),
5634         (gst_resource_error_get_type), (register_gst_stream_error),
5635         (gst_stream_error_get_type), (register_gst_event_type_flags),
5636         (gst_event_type_flags_get_type), (register_gst_event_type),
5637         (gst_event_type_get_type), (register_gst_seek_type),
5638         (gst_seek_type_get_type), (register_gst_seek_flags),
5639         (gst_seek_flags_get_type), (register_gst_format),
5640         (gst_format_get_type), (register_gst_index_certainty),
5641         (gst_index_certainty_get_type), (register_gst_index_entry_type),
5642         (gst_index_entry_type_get_type),
5643         (register_gst_index_lookup_method),
5644         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
5645         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
5646         (gst_index_resolver_method_get_type), (register_gst_index_flags),
5647         (gst_index_flags_get_type), (register_gst_debug_level),
5648         (gst_debug_level_get_type), (register_gst_debug_color_flags),
5649         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
5650         (gst_iterator_result_get_type), (register_gst_iterator_item),
5651         (gst_iterator_item_get_type), (register_gst_message_type),
5652         (gst_message_type_get_type), (register_gst_mini_object_flags),
5653         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
5654         (gst_pad_link_return_get_type), (register_gst_flow_return),
5655         (gst_flow_return_get_type), (register_gst_activate_mode),
5656         (gst_activate_mode_get_type), (register_gst_pad_direction),
5657         (gst_pad_direction_get_type), (register_gst_pad_flags),
5658         (gst_pad_flags_get_type), (register_gst_pad_presence),
5659         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
5660         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
5661         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
5662         (gst_plugin_error_get_type), (register_gst_plugin_flags),
5663         (gst_plugin_flags_get_type), (register_gst_rank),
5664         (gst_rank_get_type), (register_gst_query_type),
5665         (gst_query_type_get_type), (register_gst_tag_merge_mode),
5666         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
5667         (gst_tag_flag_get_type), (register_gst_task_state),
5668         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
5669         (gst_alloc_trace_flags_get_type),
5670         (register_gst_type_find_probability),
5671         (gst_type_find_probability_get_type), (register_gst_uri_type),
5672         (gst_uri_type_get_type), (register_gst_parse_error),
5673         (gst_parse_error_get_type):
5674         * win32/common/gstenumtypes.h:
5675         * win32/common/gstversion.h:
5676           update visual studio generated files
5677
5678 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5679
5680         * win32/vs6/libgstbase.dsp:
5681         * win32/vs6/libgstelements.dsp:
5682           update project files for new locations
5683
5684 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5685
5686         * Makefile.am:
5687           remove some files
5688         * README:
5689           reinstate and update
5690         * DEVEL:
5691         * REQUIREMENTS:
5692           removed
5693         * LICENSE:
5694         * docs/random/LICENSE:
5695           moved to random
5696
5697 2005-11-30  Edward Hervey  <edward@fluendo.com>
5698
5699         * gst/gsttypefind.c: (gst_type_find_register):
5700         * gst/gsttypefind.h:
5701         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
5702         (gst_type_find_factory_dispose):
5703         * gst/gsttypefindfactory.h:
5704         Fix memory leak in GstTypeFindFactory.
5705
5706 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5707
5708         * gst/gst.c:
5709         * plugins/elements/Makefile.am:
5710         * plugins/elements/gstelements.c:
5711         * plugins/elements/gstqueue.c:
5712           move queue from core to the elements plugin
5713
5714 2005-11-29  Andy Wingo  <wingo@pobox.com>
5715
5716         * libs/gst/base/gstbasetransform.h: 
5717         * libs/gst/base/gstbasesrc.h: 
5718         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
5719
5720         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
5721         of pointers by which to pad very extensible base classes (like the
5722         ones in libs/gst/base).
5723
5724 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5725
5726         * docs/gst/gstreamer-docs.sgml:
5727         * docs/gst/gstreamer-sections.txt:
5728         * docs/libs/gstreamer-libs-docs.sgml:
5729         * docs/libs/gstreamer-libs-sections.txt:
5730           moving documentation from core to lib
5731
5732 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5733
5734         * check/Makefile.am:
5735         * configure.ac:
5736         * docs/gst/Makefile.am:
5737         * gst/Makefile.am:
5738         * gst/base/.cvsignore:
5739         * gst/base/Makefile.am:
5740         * gst/base/README:
5741         * gst/base/gstadapter.c:
5742         * gst/base/gstadapter.h:
5743         * gst/base/gstbasesink.c:
5744         * gst/base/gstbasesink.h:
5745         * gst/base/gstbasesrc.c:
5746         * gst/base/gstbasesrc.h:
5747         * gst/base/gstbasetransform.c:
5748         * gst/base/gstbasetransform.h:
5749         * gst/base/gstcollectpads.c:
5750         * gst/base/gstcollectpads.h:
5751         * gst/base/gstpushsrc.c:
5752         * gst/base/gstpushsrc.h:
5753         * gst/base/gsttypefindhelper.c:
5754         * gst/base/gsttypefindhelper.h:
5755         * gst/check/Makefile.am:
5756         * gst/check/gstcheck.c:
5757         * gst/check/gstcheck.h:
5758         * gst/net/Makefile.am:
5759         * gst/net/gstnet.h:
5760         * gst/net/gstnetclientclock.c:
5761         * gst/net/gstnetclientclock.h:
5762         * gst/net/gstnettimepacket.c:
5763         * gst/net/gstnettimepacket.h:
5764         * gst/net/gstnettimeprovider.c:
5765         * gst/net/gstnettimeprovider.h:
5766         * libs/gst/Makefile.am:
5767         * libs/gst/base/Makefile.am:
5768         * libs/gst/base/gstbasetransform.c:
5769         * libs/gst/check/Makefile.am:
5770         * plugins/elements/Makefile.am:
5771         * po/POTFILES.in:
5772           CVS surgery + support to move base, check, and net out of gst
5773           and into libs/gst
5774
5775 2005-11-29  Andy Wingo  <wingo@pobox.com>
5776
5777         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
5778
5779         * gst/gststructure.h (struct _GstStructure): Only one pointer of
5780         padding.
5781
5782         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
5783
5784         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
5785
5786         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
5787
5788         * gst/gstobject.h: (struct _GstObject): Only one pointer of
5789         padding; reduces object size by about 30%. We don't expect
5790         anything else to go into gstobject.
5791
5792         * gst/gstminiobject.h (struct _GstMiniObject)
5793         (struct _GstMiniObjectClass): Only one pointer of padding; the
5794         payload is only a pointer and two ints anyway. For the class there
5795         are only two methods as well.
5796         
5797         * gst/gstelement.h (struct _GstElementClass): Removed
5798         the state_changed signal callback, it is not used.
5799
5800 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5801
5802         * docs/gst/gstreamer.types:
5803           fix includes, though they are a little dinky
5804
5805 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5806
5807         * check/Makefile.am:
5808           look in the right place for elements, a lot more chance of
5809           success
5810         * gst/Makefile.am:
5811           remove indexers and elements subdirs
5812         * plugins/Makefile.am:
5813           make indexers conditional
5814
5815 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5816
5817         * Makefile.am:
5818         * configure.ac:
5819         * plugins/elements/Makefile.am:
5820         * plugins/elements/gstcapsfilter.c:
5821         * plugins/elements/gstfilesink.c:
5822         * plugins/elements/gstfilesrc.c:
5823         * plugins/elements/gstidentity.c:
5824         * plugins/indexers/Makefile.am:
5825           do CVS surgery and related build fixery to move elements
5826           and indexers in a new gstreamer/plugins directory, out of the
5827           gst/ directory
5828
5829 2005-11-29  Andy Wingo  <wingo@pobox.com>
5830
5831         * check/Makefile.am:
5832         * pkgconfig/gstreamer-net-uninstalled.pc.in:
5833         * pkgconfig/gstreamer-net.pc.in:
5834         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
5835         #322257.
5836
5837 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5838
5839         * tools/Makefile.am:
5840         * tools/gst-complete.1.in:
5841         * tools/gst-complete.c:
5842         * tools/gst-compprep.1.in:
5843         * tools/gst-compprep.c:
5844           removing -compprep and -complete
5845
5846 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5847
5848         * gst/gstevent.c: (gst_event_new_new_segment),
5849         (gst_event_parse_new_segment):
5850         * gst/gstevent.h:
5851           fix #320529 - clean up new_segment API and structure.
5852           Let's hope everyone was using the methods, and not the structure.
5853
5854 2005-11-29  Edward Hervey  <edward@fluendo.com>
5855
5856         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5857         (gst_base_sink_event), (gst_base_sink_do_sync),
5858         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5859         Properly handle non GST_FORMAT_TIME segment
5860         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
5861         Properly handle non GST_FORMAT_TIME segment
5862         * gst/gstsegment.c:
5863         This function is valid if the accumulator is 0 and the format
5864         is different from the requested format.
5865         
5866 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5867
5868         * docs/gst/gstreamer-sections.txt:
5869         Add gst_query_new_seeking and gst_query_parse_seeking to the
5870         docs.
5871
5872 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5873
5874         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5875           Treat a pad alloc with new caps the same as if we were not
5876           negotiated, in order to allow a changing upstream output
5877           to produce a new format of data.
5878
5879 2005-11-29  Edward Hervey  <edward@fluendo.com>
5880
5881         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5882         (gst_base_transform_event), (gst_base_transform_eventfunc):
5883         The event virtual method is now properly implemented, with a default
5884         handler
5885         Sub classes should call the parent_class event method. They should
5886         return FALSE if they had a problem handling the given event, or don't
5887         want GstBaseTransform to send that even downstream
5888         * gst/elements/gstidentity.c: (gst_identity_class_init),
5889         (gst_identity_init), (gst_identity_event),
5890         (gst_identity_transform_ip), (gst_identity_set_property),
5891         (gst_identity_get_property):
5892         * gst/elements/gstidentity.h:
5893         Added the single-segment boolean property.
5894         If set to TRUE, it will output a single segment of data, starting from
5895         0, will eat up all incoming newsegment, and modify the timestamp of the
5896         buffers accordingly
5897
5898 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
5899
5900         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
5901           Don't ref NULL target pad (#322751). Improve docs.
5902
5903 2005-11-29  Michael Smith  <msmith@fluendo.com>
5904
5905         * gst/gstregistryxml.c: (load_plugin):
5906           Don't crash if we failed to load a feature from a plugin. 
5907
5908 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5909
5910         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
5911         (GST_START_TEST):
5912           use more check API and less GLib API
5913
5914 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5915
5916         * Makefile.am:
5917           don't run checks if we don't have check
5918         * common/check.mak:
5919           remove the registry when running make torture
5920         * docs/gst/gstreamer-sections.txt:
5921           remove second multiply
5922         * gst/gstqueue.c: (gst_queue_loop):
5923           fix a compile warning when disabling debug
5924
5925 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
5926
5927         * gst/gstinfo.h:
5928         Hey! Let's print the pad name if the pointer != NULL instead
5929         of when it == NULL :-)
5930
5931 2005-11-28  Wim Taymans  <wim@fluendo.com>
5932
5933         * check/gst/gstutils.c: (GST_START_TEST):
5934         Updated check, add some scaling accuracy checking code.
5935
5936         * gst/gstutils.c: (gst_util_div128_64),
5937         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
5938         (gst_util_uint64_scale_int):
5939         Fix 6 times faster division code. Optimize for common 
5940         1/1 and less common X/1 cases.
5941
5942 2005-11-28  Wim Taymans  <wim@fluendo.com>
5943
5944         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5945         More checks.
5946
5947         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
5948         (do_linear_regression), (gst_clock_add_observation):
5949         Cleanups.
5950         Release lock when the clock cannot be slaved.
5951         Catch the case where the regression returned an invalid denominator.
5952
5953         * gst/gstutils.c: (gst_util_div128_64_iterate),
5954         (gst_util_div128_64), (gst_util_uint64_scale_int64),
5955         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
5956         Add protentially more performant non-iterative 128/64 divide function
5957         that unfortunatly does not work yet.
5958         Shortcut the trivial 0/X = 0 case.
5959         Remove the warnings on overflow.
5960
5961 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5962
5963         * gst/gstplugin.c: (gst_plugin_register_func):
5964           everything causing a plugin not to load should be at least a WARNING
5965
5966 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
5967
5968         * docs/random/ensonic/dparams.txt:
5969           some TODOs for the next dev cycle
5970         * libs/gst/controller/gstcontroller.c:
5971         (gst_controlled_property_set_interpolation_mode),
5972         (gst_controlled_property_new):
5973         * libs/gst/controller/gstcontroller.h:
5974           use base type to assign acccessor functions
5975
5976 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
5977
5978         * check/Makefile.am:
5979         Oops, that should have been top_srcdir
5980
5981 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
5982
5983         * check/Makefile.am:
5984         * check/elements/fdsrc.c: (GST_START_TEST):
5985         Use a cmdline define to specify the location of a file to use for
5986         testing, to avoid breaking distcheck.
5987
5988 2005-11-28  Andy Wingo  <wingo@pobox.com>
5989
5990         * gst/gstpad.c (fixate_value): Use array functions for arrays.
5991
5992 2005-11-28  Edward Hervey  <edward@fluendo.com>
5993
5994         * tools/gst-launch.c: (main):
5995         Clarify the output strings, makes it easier to translate.
5996         Fixes #322626
5997
5998 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5999
6000         * gst/Makefile.am:
6001           don't try and build net if we don't even have <sys/socket.h>
6002
6003 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
6004
6005         * check/Makefile.am:
6006         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
6007         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
6008           Add tests for fdsrc seekability
6009
6010         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6011         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
6012         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
6013         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
6014         * gst/elements/gstfdsrc.h:
6015           fdsrc should not be a 'live' source.
6016           Implement seeking on seekable fd's.
6017
6018         * gst/gstquery.c: (gst_query_new_seeking),
6019         (gst_query_parse_seeking):
6020         * gst/gstquery.h:
6021           Implement SEEKING query functions: 
6022             *_new_seeking and *_parse_seeking
6023
6024 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
6025
6026         * gst/gstelement.c: (gst_element_dispose):
6027           don't loop forever
6028
6029         * gst/gstiterator.c:
6030         * gst/gststructure.c:
6031           doc fixes
6032
6033         * libs/gst/controller/gstcontroller.c:
6034         (gst_controlled_property_set_interpolation_mode):
6035         * libs/gst/controller/gstcontroller.h:
6036         * libs/gst/controller/gstinterpolation.c:
6037         (interpolate_none_get_enum_value_array):
6038           support controlling enums
6039
6040 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
6041
6042         * gst/gstvalue.c:
6043           Improve documentation for gst_value_union().
6044
6045         * gst/gstvalue.h:
6046           Change return value for union, intersect and subtract functions
6047           from gint to gboolean.
6048
6049 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
6050
6051         * gst/gstvalue.c: (gst_value_serialize_any_list),
6052         (gst_value_transform_any_list_string),
6053         (gst_value_deserialize_list), (gst_value_deserialize_array),
6054         (gst_value_set_int_range), (gst_value_deserialize_int_range),
6055         (gst_value_set_double_range), (gst_value_deserialize_double_range),
6056         (gst_value_set_fraction_range_full),
6057         (gst_value_deserialize_fraction_range),
6058         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
6059         (gst_value_deserialize_boolean),
6060         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
6061         (gst_value_serialize_float), (gst_value_deserialize_float),
6062         (gst_string_wrap), (gst_value_deserialize_string),
6063         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
6064         (gst_value_union_int_range_int_range),
6065         (gst_value_intersect_int_range_int_range),
6066         (gst_value_intersect_double_range_double_range),
6067         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
6068         (gst_value_subtract_int_range_int_range),
6069         (gst_value_subtract_double_double_range),
6070         (gst_value_subtract_double_range_double_range),
6071         (gst_value_deserialize_fraction):
6072         * gst/gstvalue.h:
6073           Use gint, gdouble and gchar in our API instead of int, double and
6074           char (and make usage in gstvalue.c more consistent).
6075
6076 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
6077
6078         * check/Makefile.am:
6079         * libs/gst/controller/Makefile.am:
6080         * libs/gst/dataprotocol/Makefile.am:
6081           fix up Makefile.am and remove GST_ENABLE_NEW
6082
6083 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
6084
6085         * configure.ac:
6086         * gst/Makefile.am:
6087         * gst/base/Makefile.am:
6088         * gst/check/Makefile.am:
6089         * gst/elements/Makefile.am:
6090         * gst/net/Makefile.am:
6091           update LDFLAGS use some more
6092
6093 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
6094
6095         * common/m4/gst-doc.m4:
6096           Fixes #312589
6097
6098 2005-11-26  Edward Hervey  <edward@fluendo.com>
6099
6100         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6101         This shouldn't issue a g_warning since it returns NULL if it
6102         couldn't find the plugin, and all functions using this behave
6103         properly on a NULL return. Switching to a GST_WARNING.
6104
6105 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
6106
6107         * gst/gstbin.c: (gst_bin_handle_message_func):
6108         Don't leak clock messages.
6109
6110 2005-11-25  Wim Taymans  <wim@fluendo.com>
6111
6112         * gst/gstutils.c: (gst_util_uint64_scale_int64),
6113         (gst_util_uint64_scale_int):
6114         Optimisations, remove unneeded vars.
6115
6116 2005-11-25  Wim Taymans  <wim@fluendo.com>
6117
6118         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6119         Added more checks for the high precision uint64 cases.
6120
6121         * gst/gstutils.c: (gst_util_uint64_scale_int64),
6122         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
6123         Implement high precision (guint64 * guint64) / guint64.
6124
6125 2005-11-24  Wim Taymans  <wim@fluendo.com>
6126
6127         * gst/base/gstbasesrc.c: (gst_base_src_query):
6128         Fix wrong percentage query.
6129
6130         * gst/gstutils.c: (gst_util_uint64_scale),
6131         (gst_util_uint64_scale_int):
6132         Add some more common cases that can be handled 
6133         efficiently to _scale.
6134
6135 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6136
6137         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
6138         (gst_mini_object_suite):
6139           don't use check calls from threads; check probably isn't
6140           threadsafe and using a lock to make it threadsafe would
6141           defeat the purpose of this check
6142         * gst/check/gstcheck.c:
6143         * gst/check/gstcheck.h:
6144           use GST_DEBUG some more
6145
6146 2005-11-24  Wim Taymans  <wim@fluendo.com>
6147
6148         * gst/gstutils.c: (gst_util_uint64_scale),
6149         (gst_util_uint64_scale_int):
6150         Chain trivial case to _scale_int.
6151
6152 2005-11-24  Wim Taymans  <wim@fluendo.com>
6153
6154         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6155         Added test for scaling.
6156
6157         * gst/gstclock.h:
6158         Small doc fix.
6159
6160         * gst/gstutils.c: (gst_util_uint64_scale_int):
6161         Implemented high precision scaling code.
6162
6163 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
6164
6165         * gst/gstinfo.h:
6166           do not crash on pad==NULL
6167
6168 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6169
6170         Patch by: Stefan Kost
6171
6172         * common/gtk-doc.mak:
6173         * docs/gst/Makefile.am:
6174         * docs/libs/Makefile.am:
6175           Fix distcheck issues for the libraries docs build
6176           Closes #319599.
6177
6178 2005-11-24  Michael Smith <msmith@fluendo.com>
6179
6180         * docs/manual/basics-helloworld.xml:
6181           Fix bug #315027: memory leak in example code in docs.
6182
6183 2005-11-24  Michael Smith <msmith@fluendo.com>
6184
6185         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6186           Unlock the PREROLL_LOCK in a failure case.
6187
6188 2005-11-24  Wim Taymans  <wim@fluendo.com>
6189
6190         * docs/gst/gstreamer-sections.txt:
6191         * gst/base/gstadapter.h:
6192         * gst/base/gstbasesink.h:
6193         * gst/base/gstbasesrc.h:
6194         * gst/base/gstbasetransform.h:
6195         * gst/base/gstpushsrc.h:
6196         * gst/elements/gstfakesink.h:
6197         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
6198         * gst/elements/gstfakesrc.h:
6199         * gst/elements/gstfilesink.h:
6200         * gst/elements/gstfilesrc.h:
6201         * gst/gst.c:
6202         * gst/gstbin.c:
6203         * gst/gstbuffer.c: (_gst_buffer_copy):
6204         * gst/gstbus.h:
6205         * gst/gstcaps.c:
6206         * gst/gstchildproxy.c:
6207         * gst/gstclock.c:
6208         * gst/gstelement.c:
6209         * gst/gstelementfactory.c:
6210         * gst/gstelementfactory.h:
6211         * gst/gstevent.c:
6212         * gst/gstghostpad.h:
6213         * gst/gstindex.h:
6214         * gst/gstinterface.h:
6215         * gst/gstminiobject.c:
6216         * gst/gstminiobject.h:
6217         * gst/gstpad.c:
6218         * gst/gstpad.h:
6219         * gst/gstpadtemplate.h:
6220         * gst/gstpipeline.h:
6221         * gst/gstpluginfeature.h:
6222         * gst/gstquery.h:
6223         * gst/gstqueue.h:
6224         * gst/gsttaglist.c:
6225         * gst/gsttaglist.h:
6226         * gst/gsttagsetter.c:
6227         * gst/gsttagsetter.h:
6228         * gst/gsttrace.c:
6229         * gst/gsttrace.h:
6230         * gst/gsttypefind.h:
6231         * gst/gsturi.h:
6232         * gst/gstvalue.c:
6233         * gst/net/gstnetclientclock.c:
6234         * gst/net/gstnetclientclock.h:
6235         * gst/net/gstnettimepacket.c:
6236         * gst/net/gstnettimeprovider.c:
6237         * gst/net/gstnettimeprovider.h:
6238         Doc fixes.
6239
6240 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6241
6242         * configure.ac: back to HEAD
6243
6244 === release 0.9.6 ===
6245
6246 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
6247
6248         * configure.ac:
6249           releasing 0.9.6, "Always On Time"
6250
6251 2005-11-23  Wim Taymans  <wim@fluendo.com>
6252
6253         * docs/gst/gstreamer-sections.txt:
6254         * gst/glib-compat.c:
6255         * gst/gsttagsetter.c:
6256         * gst/gstvalue.c:
6257         * gst/net/gstnetclientclock.c:
6258         * gst/net/gstnettimepacket.h:
6259         Doc updates.
6260
6261 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6262
6263         * docs/faq/using.xml:
6264         * docs/libs/tmpl/gstcontrol.sgml:
6265         * docs/manual/advanced-dparams.xml:
6266         * docs/manual/appendix-checklist.xml:
6267         * docs/manual/basics-elements.xml:
6268         * docs/pwg/other-source.xml:
6269         * docs/random/moving-plugins:
6270         * gst/gstpad.c:
6271         * tools/gst-launch.1.in:
6272           remove mentions of sinesrc
6273
6274 2005-11-23  Michael Smith <msmith@fluendo.com>
6275
6276         * docs/gst/gstreamer-sections.txt:
6277           Update for new API and API changes.
6278         * gst/gstobject.h:
6279           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
6280         * gst/gstvalue.c:
6281           Documentation typo fix.
6282         * gst/net/gstnettimepacket.c:
6283           Documentation fixes for arguments.
6284
6285 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
6286
6287         * gst/gststructure.c: (gst_structure_get_fraction),
6288         (gst_structure_parse_value),
6289         (gst_structure_fixate_field_nearest_fraction):
6290         * gst/gststructure.h:
6291         * gst/gstutils.c: (gst_util_uint64_scale_int):
6292         * gst/gstutils.h:
6293         * scripts/update-funcnames:
6294         API Changes. 
6295         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
6296         Make gst_structure_fixate_field_nearest_fraction take a numerator
6297         and denominator argument instead of a GValue
6298         add gst_structure_get_fraction helper function.
6299
6300 2005-11-23  Wim Taymans  <wim@fluendo.com>
6301
6302         * docs/design/part-TODO.txt:
6303         Update TODO.
6304
6305         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6306         * gst/net/gstnetclientclock.h:
6307         Use parent fields for timeout and window_size.
6308
6309 2005-11-23  Andy Wingo  <wingo@pobox.com>
6310
6311         * check/net/gstnetclientclock.c (test_functioning): Adjust to
6312         rate_num/rate_denom change.
6313
6314         * gst/net/gstnetclientclock.c
6315         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
6316         OBJECT_LOCK. Don't call add_observation with the lock.
6317
6318         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
6319         fraction.
6320         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
6321         rate fraction.
6322         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
6323         deal with rate as a fraction whose numerator and denominator are
6324         GstClockTime values.
6325         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
6326         master; the other fields are protected by the SLAVE_LOCK.
6327         (do_linear_regression): Note that this must be called with the
6328         SLAVE_LOCK.
6329         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
6330         OBJECT_LOCK. Call set_calibration instead of touching the
6331         variables directly.
6332         (gst_clock_set_property, gst_clock_get_property): Protect
6333         master/slave parameters with the SLAVE_LOCK.
6334
6335         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
6336         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
6337         note that all of the instance variables that add_observation and
6338         the set_master functions use are protected by that lock and not
6339         the OBJECT_LOCK.
6340         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
6341
6342         * gst/gstclock.c (gst_clock_add_observation): No longer requires
6343         the caller to take the object lock.
6344
6345 2005-11-23  Wim Taymans  <wim@fluendo.com>
6346
6347         * gst/gsterror.c: (_gst_core_errors_init):
6348         * gst/gsterror.h:
6349         Add error for clock stuff.
6350
6351         * gst/gstpipeline.c: (gst_pipeline_change_state),
6352         (gst_pipeline_set_clock):
6353         Post clock error when clock cannot be used in a pipeline.
6354
6355 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
6356
6357         * docs/gst/gstreamer-sections.txt:
6358           make two symbols from gstinfo private for the docs
6359         * gst/base/gstcollectpads.h:
6360         * gst/gstutils.c:
6361           fix doc typos, update docs
6362
6363 2005-11-22  Wim Taymans  <wim@fluendo.com>
6364
6365         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6366         (gst_base_sink_wait), (gst_base_sink_do_sync),
6367         (gst_base_sink_handle_event):
6368         * gst/base/gstbasesink.h:
6369         No need to store the clock, the parent element class already
6370         has it.
6371
6372         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
6373         Updates for clock_set returning a gboolean
6374
6375         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
6376         (gst_clock_id_wait_async), (gst_clock_class_init),
6377         (gst_clock_init), (gst_clock_finalize),
6378         (gst_clock_get_internal_time), (gst_clock_get_time),
6379         (gst_clock_slave_callback), (gst_clock_set_master),
6380         (gst_clock_get_master), (do_linear_regression),
6381         (gst_clock_add_observation), (gst_clock_set_property),
6382         (gst_clock_get_property):
6383         * gst/gstclock.h:
6384         Implement master/slave. When setting a clock as a slave, a
6385         periodic timeout is scheduled to sample master and slave times.
6386         Then the slave clock is recalibrated to match offset and rate
6387         of the master clock.
6388         Update logging a bit.
6389         Add flag so that a clock can state that is cannot be slaved to
6390         another clock.
6391
6392         * gst/gstelement.c: (gst_element_set_clock):
6393         * gst/gstelement.h:
6394         The set clock returns a gboolean for when an element cannot
6395         deal with the selected clock in the pipeline. 
6396
6397         * gst/gstpipeline.c: (gst_pipeline_change_state),
6398         (gst_pipeline_set_clock):
6399         * gst/gstpipeline.h:
6400         Handle the case where the selected clock cannot be set on
6401         the pipeline.
6402
6403         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
6404         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6405         (gst_net_client_clock_set_property),
6406         (gst_net_client_clock_get_property),
6407         (gst_net_client_clock_observe_times):
6408         * gst/net/gstnetclientclock.h:
6409         Use regression code in GstClock parent, remove duplicated
6410         functionality.
6411
6412 2005-11-22  Michael Smith <msmith@fluendo.com>
6413
6414         * gst/gstutils.c: (gst_util_clock_time_scale):
6415         * gst/gstutils.h:
6416         * docs/gst/gstreamer-sections.txt:
6417           Rename method to have extra underscore.
6418
6419 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6420
6421         * gst/elements/Makefile.am:
6422         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
6423         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6424         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6425         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
6426         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
6427         * gst/elements/gstfakesrc.h:
6428         * gst/gstqueue.c: (queue_leaky_get_type):
6429           correctly fix GEnumValues so that nick is the short lowercase
6430           dashed tag
6431         * tools/gst-inspect.c: (print_element_properties_info):
6432           also show the nick, since it's useful to use from parse_launch
6433           syntax
6434           Fixes #322139
6435
6436 2005-11-22  Michael Smith <msmith@fluendo.com>
6437
6438         * gst/gstutils.c: (gst_util_clocktime_scale):
6439         * gst/gstutils.h:
6440         * docs/gst/gstreamer-sections.txt:
6441           Add util method for scaling a clocktime by a fraction. Useful 
6442           implementation is left as an exercise for the reader.
6443
6444 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6445
6446         * gst/gstvalue.c: (gst_value_collect_fraction_range):
6447         If needed, allocate storage in the destination value during
6448         collection.
6449
6450 2005-11-22  Edward Hervey  <edward@fluendo.com>
6451
6452         * docs/gst/gstreamer-sections.txt:
6453         * gst/Makefile.am:
6454         * gst/gst.h:
6455         * gst/gsturitype.c:
6456         * gst/gsturitype.h:
6457         * gst/gstutils.c: (gst_util_set_object_arg):
6458         * tools/gst-compprep.c: (main):
6459         * tools/gst-inspect.c: (print_element_properties_info):
6460         Removed GstURI, closes bug #321061
6461
6462 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6463
6464         * check/gst/gststructure.c: (GST_START_TEST):
6465         * gst/gststructure.c: (gst_structure_parse_value):
6466           Oops, broke automatic string type parsing.
6467           Add a test to catch it in future.
6468
6469 2005-11-22  Andy Wingo  <wingo@pobox.com>
6470
6471         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
6472         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
6473         Actually rename the function implementations. Grr.
6474
6475 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6476
6477         * check/gst/capslist.h:
6478           Comment test cases
6479         * check/gst/gststructure.c: (GST_START_TEST),
6480         (gst_structure_suite):
6481           Test automatic value type detection in gst_structure_from_string.
6482         * gst/gststructure.c: (gst_structure_parse_value):
6483           Add fraction as a type we try and guess automatically in
6484           caps/structure strings.
6485
6486 2005-11-22  Andy Wingo  <wingo@pobox.com>
6487
6488         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
6489
6490         * gst/gsttagsetter.h:
6491         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
6492         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
6493         (gst_tag_setter_add_tag_valist)
6494         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
6495         _add_values, _add_valist, and _add_valist_values. Since this is an
6496         interface the function suffixes should be more explicit so
6497         language binding don't end up with element.add_valist ->
6498         gst_tag_setter_add_valist, for example. Fixes #322069.
6499
6500 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6501
6502         * check/gst/gstcaps.c: (GST_START_TEST):
6503           Extend caps string tests to check that a caps to string
6504           conversion is reversible and produces the same caps.
6505
6506         * gst/gststructure.c: (gst_structure_value_get_generic_type):
6507           Output "fraction" as the generic type fraction range, so caps
6508           serialisation and deserialisation works.
6509         * check/gst/capslist.h:
6510         * gst/gstvalue.c: (gst_value_deserialize_fraction):
6511           Support 'MIN' and 'MAX' for deserialising fractions.
6512
6513 2005-11-22  Andy Wingo  <wingo@pobox.com>
6514
6515         * gst/gstevent.h (gst_event_new_new_segment)
6516         (gst_event_parse_new_segment, gst_event_new_buffer_size)
6517         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
6518         Renamed from *_newsegment, *_buffersize, *_notarget.
6519
6520         * scripts/update-funcnames: New script, performs the changes
6521         listed above.
6522
6523 2005-11-22  Wim Taymans  <wim@fluendo.com>
6524
6525         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6526         Make sure the GstFlowReturn is returned.
6527
6528         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
6529         (gst_bus_add_signal_watch):
6530         * gst/gstbus.h:
6531         add gst_bus_add_signal_watch_full.
6532
6533         * gst/gstplugin.c: (gst_plugin_load_file):
6534         Small style cleanup.
6535
6536 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6537
6538         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
6539           Block the fakesrc srcpad when we send an event, to avoid
6540           contention on the stream_lock causing random test failures.
6541
6542 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6543
6544         * check/gst/gstvalue.c: (GST_START_TEST):
6545         * gst/gstvalue.c: (gst_value_fraction_subtract):
6546           Fix subtraction.
6547
6548 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
6549
6550         * gst/gst.h:
6551           include "gstchildproxy.h"
6552         * gst/gstchildproxy.h:
6553         * libs/gst/controller/gstcontroller.h:
6554           use G_GNUC_NULL_TERMINATED
6555
6556 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6557
6558         * check/gst/capslist.h:
6559         * check/gst/gstcaps.c: (GST_START_TEST):
6560         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6561         * gst/gststructure.c: (gst_structure_parse_range),
6562         (gst_structure_fixate_field_nearest_fraction):
6563         * gst/gststructure.h:
6564         * gst/gstvalue.c: (gst_value_init_fraction_range),
6565         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
6566         (gst_value_collect_fraction_range),
6567         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
6568         (gst_value_set_fraction_range_full),
6569         (gst_value_get_fraction_range_min),
6570         (gst_value_get_fraction_range_max),
6571         (gst_value_serialize_fraction_range),
6572         (gst_value_transform_fraction_range_string),
6573         (gst_value_compare_fraction_range),
6574         (gst_value_deserialize_fraction_range),
6575         (gst_value_intersect_fraction_fraction_range),
6576         (gst_value_intersect_fraction_range_fraction_range),
6577         (gst_value_subtract_fraction_fraction_range),
6578         (gst_value_subtract_fraction_range_fraction),
6579         (gst_value_subtract_fraction_range_fraction_range),
6580         (gst_value_collect_fraction), (gst_value_fraction_multiply),
6581         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
6582         (gst_value_transform_string_fraction), (_gst_value_initialize):
6583         * gst/gstvalue.h:
6584           Implement fraction ranges and extend GstFraction to support
6585           arithmetic subtraction, as well as deserialization from integer
6586           strings such as "100"
6587           Add a testsuite as for int and double range set operations
6588
6589 2005-11-21  Andy Wingo  <wingo@pobox.com>
6590
6591         * gst/gsttaglist.h: 
6592         * gst/gstcaps.h: 
6593         * gst/gststructure.h: Add glib-compat.h.
6594
6595 2005-11-21  Wim Taymans  <wim@fluendo.com>
6596
6597         * gst/gstbin.c: (gst_bin_change_state_func):
6598         Fix for #321595
6599
6600 2005-11-21  Wim Taymans  <wim@fluendo.com>
6601
6602         * gst/gstsegment.h:
6603         And add a nice define too.
6604
6605 2005-11-21  Wim Taymans  <wim@fluendo.com>
6606
6607         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
6608         (gst_segment_new), (gst_segment_free), (gst_segment_init),
6609         (gst_segment_set_duration), (gst_segment_set_last_stop),
6610         (gst_segment_set_seek), (gst_segment_set_newsegment),
6611         (gst_segment_to_stream_time), (gst_segment_to_running_time),
6612         (gst_segment_clip):
6613         * gst/gstsegment.h:
6614         Make binding friendly.
6615
6616 2005-11-21  Andy Wingo  <wingo@pobox.com>
6617
6618         * gst/gsttagsetter.h: 
6619         * gst/gsttaglist.h: 
6620         * gst/gststructure.h: 
6621         * gst/gstcaps.h: 
6622         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
6623         #319940.
6624
6625         * gst/gsterror.c (_gst_core_errors_init):
6626         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
6627         category.
6628
6629         * gst/Makefile.am (gst_headers): Add glib-compat.h.
6630         (noinst_HEADERS): noinst the -private.
6631
6632 2005-11-21  Michael Smith <msmith@fluendo.com>
6633
6634         * gst/gstplugin.h:
6635         * gst/gstregistry.h:
6636           Remove unimplemented declarations for which we can see no sensible
6637           use.
6638
6639 2005-11-21  Andy Wingo  <wingo@pobox.com>
6640
6641         * gst/gst.h: Include glib-compat.h.
6642
6643         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
6644
6645         * gst/glib-compat.c: Include the public and the private header.
6646
6647         * gst/glib-compat-private.h: Copied here from glib-compat.h.
6648
6649         * gst/gstvalue.c: 
6650         * gst/gstpad.c: 
6651         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
6652
6653         * check/gst/gstevent.c (create_custom_events): Check that
6654         FLUSH_STOP is serialized.
6655
6656         * check/elements/identity.c (event_func): 
6657         * check/elements/fakesrc.c (event_func): No stream lock, the core
6658         takes it.
6659
6660         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
6661         stream lock taking, yay.
6662
6663         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
6664         ensure that core takes the stream lock.
6665
6666         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
6667         lock name change.
6668
6669         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
6670         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
6671         it already. For the flush start we do take it though so we get the
6672         right preroll state change messages.
6673
6674         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
6675         the stream lock here, the core does it for us.
6676
6677         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
6678         GST_STREAM_GET_LOCK.
6679         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
6680         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
6681         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
6682         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
6683         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
6684         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
6685
6686         * gst/gstpad.c: Update for stream lock name change.
6687
6688         * gst/base/gstbasesink.c: Update for preroll lock name change.
6689
6690 2005-11-21  Wim Taymans  <wim@fluendo.com>
6691
6692         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
6693         (gst_clock_get_master):
6694         * gst/gstclock.h:
6695         * gst/gstsystemclock.c: (gst_system_clock_init):
6696         Convert Clock flags to object flags.
6697         Added methods to manage master/slave clocks.
6698
6699 2005-11-21  Wim Taymans  <wim@fluendo.com>
6700
6701         * check/gst/gstsegment.c: (GST_START_TEST):
6702         * docs/design/part-TODO.txt:
6703         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6704         (gst_base_sink_event), (gst_base_sink_do_sync),
6705         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
6706         (gst_base_sink_query), (gst_base_sink_change_state):
6707         * gst/base/gstbasesink.h:
6708         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
6709         (gst_base_src_default_newsegment),
6710         (gst_base_src_configure_segment), (gst_base_src_do_seek),
6711         (gst_base_src_get_range), (gst_base_src_loop),
6712         (gst_base_src_change_state):
6713         * gst/base/gstbasesrc.h:
6714         * gst/base/gstbasetransform.c:
6715         (gst_base_transform_prepare_output_buf),
6716         (gst_base_transform_event), (gst_base_transform_change_state):
6717         * gst/base/gstbasetransform.h:
6718         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6719         (gst_collect_pads_event):
6720         * gst/base/gstcollectpads.h:
6721         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
6722         (gst_fake_src_create):
6723         * gst/elements/gstfakesrc.h:
6724         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6725         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6726         (gst_segment_set_last_stop), (gst_segment_set_seek),
6727         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6728         (gst_segment_to_running_time), (gst_segment_clip):
6729         * gst/gstsegment.h:
6730         More segment updates, replace code in plugins with segment
6731         helper functions.
6732
6733 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
6734
6735         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
6736         Don't ignore sscanf results
6737
6738 2005-11-21  Andy Wingo  <wingo@pobox.com>
6739
6740         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
6741
6742         * *.h:
6743         * *.c: Ran scripts/update-macros. Oh yes.
6744
6745         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
6746         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
6747         GST_GET_LOCK, etc.
6748
6749         * scripts/update-macros: New script. Run it on your files to
6750         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
6751         well.
6752
6753 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
6754
6755         * docs/gst/Makefile.am:
6756         * docs/gst/gstreamer-docs.sgml:
6757         * docs/gst/gstreamer-sections.txt:
6758         * docs/gst/gstreamer.types:
6759         * gst/gstinfo.h:
6760           more docs fixes, add new api to the docs
6761
6762 2005-11-21  Andy Wingo  <wingo@pobox.com>
6763
6764         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
6765         state_broadcast call.
6766
6767         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
6768
6769 2005-11-21  Julien MOUTTE  <julien@moutte.net>
6770
6771         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
6772         function calls for arrays.
6773
6774 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
6775
6776         * docs/random/ensonic/media-device-daemon.txt:
6777           wild idea, can this be done?
6778         * docs/gst/gstreamer-sections.txt:
6779         * gst/gsterror.h:
6780         * gst/gstfilter.c:
6781         * gst/gstfilter.h:
6782         * gst/gstplugin.h:
6783         * gst/gstpluginfeature.c:
6784         * gst/gsttrace.c:
6785         * gst/gstvalue.c:
6786         * gst/gstvalue.h:
6787           doc fixes and additions
6788
6789 2005-11-21  Andy Wingo  <wingo@pobox.com>
6790
6791         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
6792         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
6793         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
6794         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
6795         private to the basesrc implementation.
6796
6797         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
6798         behalf of event function if necessary. It should no longer be
6799         necessary to take the stream lock in pad's event functions. Fixes
6800         #320299.
6801
6802 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
6803         * docs/gst/gstreamer-sections.txt:
6804         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
6805         (gst_structure_fixate_field_nearest_double),
6806         (gst_structure_fixate_field_boolean):
6807         * gst/gststructure.h:
6808         * win32/common/libgstreamer.def:
6809         * win32/gstreamer.def:
6810
6811         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
6812         (#322027)
6813
6814 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
6815
6816         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
6817         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
6818         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
6819         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
6820         (gst_fdsrc_uri_handler_init):
6821         * gst/elements/gstfdsrc.h:
6822           Port fd:// URI handler from 0.8 to fdsrc
6823
6824 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6825
6826         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
6827         (gst_value_serialize_fourcc):
6828         * gst/gstvalue.h:
6829           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
6830           consistent with our other format defines (#320324).
6831
6832 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6833
6834         * gst/gstvalue.c: (gst_value_is_fixed):
6835           Revert previous commit. Value lists are by definition
6836           not fixed, as they are a list of possible values.
6837
6838 2005-11-21  Andy Wingo  <wingo@pobox.com>
6839
6840         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
6841         during the stable series if we need it. Fixes #319178.
6842
6843         * gst/gstevent.c (gst_event_new_filler): Removed.
6844
6845         * check/gst/gstevent.c: Update comment about filler events.
6846
6847 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6848
6849         * gst/gstvalue.c: (gst_value_is_fixed):
6850           Should handle both value arrays and value lists.
6851
6852 2005-11-21  Andy Wingo  <wingo@pobox.com>
6853
6854         patch by: Alessandro Dessina <alessandro nnva org>
6855
6856         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
6857         functions to access arrays. Fixes #321962.
6858
6859 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6860
6861         * docs/gst/gstreamer.types:
6862           gst_collectpads_get_type => gst_collect_pads_get_type.
6863           
6864         * gst/base/gstbasetransform.c:
6865           Remove unused SIGNAL_HANDOFF enum.
6866
6867 2005-11-21  Andy Wingo  <wingo@pobox.com>
6868
6869         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
6870         the event type (upstream, downstream, serialized). Renamed
6871         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
6872         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
6873         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
6874
6875         * gst/gstevent.c: Update for new CUSTOM event names.
6876
6877         * check/gst/gstevent.c: Update check for new CUSTOM event names.
6878
6879         * gst/gstevent.h:
6880         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
6881         bug #319392.
6882
6883 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6884
6885         * docs/gst/gstreamer-sections.txt:
6886         * win32/common/libgstbase.def:
6887         * win32/libgstbase.def:
6888         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6889         (gst_collect_pads_class_init), (gst_collect_pads_init),
6890         (gst_collect_pads_finalize), (gst_collect_pads_new),
6891         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
6892         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
6893         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
6894         (gst_collect_pads_start), (gst_collect_pads_stop),
6895         (gst_collect_pads_peek), (gst_collect_pads_pop),
6896         (gst_collect_pads_available), (gst_collect_pads_read),
6897         (gst_collect_pads_flush), (gst_collect_pads_event),
6898         (gst_collect_pads_chain):
6899         * gst/base/gstcollectpads.h:
6900           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
6901           unimplemented functions as unimplemented. Add padding to
6902           GstCollectData. (#320766, #320423)
6903
6904 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6905
6906         * gst/gstmessage.c:
6907           Improve docs for DURATION message (usage of duration parameter)
6908           (#320113)
6909
6910 2005-11-20  Wim Taymans  <wim@fluendo.com>
6911
6912         * check/Makefile.am:
6913         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
6914         (main):
6915         * gst/Makefile.am:
6916         * gst/gst.h:
6917         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6918         (gst_segment_set_seek), (gst_segment_set_newsegment),
6919         (gst_segment_to_stream_time), (gst_segment_to_running_time),
6920         (gst_segment_clip):
6921         * gst/gstsegment.h:
6922         Added segment helper structure and methods. Not fully implemented
6923         yet.
6924         Added segment check.
6925
6926 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
6927
6928         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6929           Add a deserialisation test for fractions
6930         * examples/metadata/read-metadata.c: (message_loop),
6931         (make_pipeline), (main):
6932           Fix up metadata reading sample.
6933         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6934           Debug format fix
6935         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6936           Don't try and fixate empty caps
6937         * gst/gst_private.h:
6938           Wrap in G_BEGIN_DECLS/G_END_DECLS
6939         * gst/gstvalue.c: (gst_value_collect_fraction),
6940         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
6941         (gst_value_transform_string_fraction),
6942         (gst_value_compare_fraction):
6943           Add some extra guards to ensure that we don't end up 
6944           with an invalid denominator of 0 in a gstfraction and
6945           that fractions always get reduced.
6946
6947 2005-11-20  Wim Taymans  <wim@fluendo.com>
6948
6949         * docs/gst/gstreamer-sections.txt:
6950         * gst/gstbuffer.h:
6951         * gst/gstelement.c:
6952         * gst/gstformat.c:
6953         * gst/gstformat.h:
6954         * gst/gstindex.h:
6955         * gst/gstquery.c:
6956         * gst/gstquery.h:
6957         * gst/gstvalue.c:
6958         Doc fixes.
6959
6960 2005-11-20  Wim Taymans  <wim@fluendo.com>
6961
6962         * docs/design/part-TODO.txt:
6963         * gst/gstcaps.h:
6964         Make a proper enum of the flag.
6965
6966 2005-11-19  Wim Taymans  <wim@fluendo.com>
6967
6968         * docs/design/part-TODO.txt:
6969         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
6970         (gst_format_to_quark), (gst_format_register):
6971         * gst/gstformat.h:
6972         * gst/gstquery.c: (_gst_query_initialize),
6973         (gst_query_type_get_name), (gst_query_type_to_quark),
6974         (gst_query_type_register):
6975         * gst/gstquery.h:
6976         Add type to quark and type to string conversions.
6977
6978 2005-11-19  Andy Wingo  <wingo@pobox.com>
6979
6980         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
6981         #320097.
6982
6983 2005-11-19  Wim Taymans  <wim@fluendo.com>
6984
6985         * docs/design/part-TODO.txt:
6986         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
6987         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
6988         (gst_bin_handle_message_func):
6989         * gst/gstbin.h:
6990         Make message handling overridable.
6991
6992 2005-11-19  Andy Wingo  <wingo@pobox.com>
6993
6994         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
6995
6996         * gst/gstclock.h:
6997         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
6998         be a GstClockTime.
6999         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
7000         is a GstClockTime. Fixes #321710.
7001
7002         * gst/gstclock.h (GstClock): Remove offset property. Add
7003         internal_calibration and external_calibration. Fix padding. Pad
7004         also by GstClockTime so we don't run into problems.
7005
7006         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
7007         (gst_clock_get_rate_offset): Remove.
7008         (gst_clock_set_time_adjust): Remove. Fixes #321712.
7009
7010         * gst/gstutils.h:
7011         * gst/gstutils.c (g_static_rec_cond_wait)
7012         (g_static_rec_cond_timed_wait): Removed, no longer needed.
7013
7014         * gst/gstbin.c: Remove terrible continue_state prototype.
7015
7016         * gst/gstelement.h (gst_element_continue_state): Make public.
7017
7018         * gst/gstelement.h:
7019         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
7020         by continue_state. Fixes #319389.
7021
7022         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
7023         Really fixes #168438. However I don't see anywhere where the
7024         filter function is called... stupid GStreamer...
7025         
7026         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
7027         don't have a dispose function, so it won't get called when the
7028         object is unreffed, but oh well!
7029
7030         * gst/gstindex.c (gst_index_set_filter_full): New API function,
7031         allows a destroy function to be set so user_data can be freed.
7032         Fixes #168438.
7033         (gst_index_set_filter): Call gst_index_set_filter_full.
7034
7035         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
7036
7037         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
7038         string should produce an error, given the lack of a way to
7039         represent NULL strings. Fixes #165650.
7040         
7041         * gst/gstvalue.h: 
7042         * gst/gstvalue.c (gst_value_array_append_value) 
7043         (gst_value_array_prepend_value, gst_value_array_get_size) 
7044         (gst_value_array_get_value): New API, copied from
7045         gst_value_list_*, only operates on arrays.
7046         (gst_value_list_append_value, gst_value_list_prepend_value) 
7047         (gst_value_list_concat, gst_value_list_get_size) 
7048         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
7049
7050         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
7051         init_list, because it works on both.
7052         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
7053         (gst_value_copy_list_or_array): Renamed from copy_list.
7054         (gst_value_free_list_or_array): Renamed from free_list.
7055         (gst_value_collect_list_or_array): Renamed from collect_list.
7056         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
7057         (gst_value_list_or_array_peek_pointer): Renamed from
7058         list_peek_pointer.
7059         (_gst_value_array_value_table, _gst_value_list_value_table):
7060         Update value table functions.
7061         (gst_value_compare_list_or_array): Renamed from compare_list.
7062
7063         * gsttaglist.h: Whoops, foreach function returns void. Also fix
7064         some constness.
7065
7066         * gst/gsttaglist.c:
7067         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
7068         GstTagList*. Fixes #143472.
7069
7070         * gst/gststructure.h: Clarify what the foreach/map functions can
7071         or can't do to their arguments.
7072
7073 2005-11-18  Wim Taymans  <wim@fluendo.com>
7074
7075         * gst/gstclock.c: (gst_clock_set_calibration),
7076         (gst_clock_get_calibration):
7077         Doc and API fixes.
7078         Calibration can be set with internal time equal to current
7079         internal time too.
7080
7081 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
7082
7083         * gst/gsterror.c:
7084         * gst/gsterror.h:
7085           document
7086
7087 2005-11-18  Andy Wingo  <wingo@pobox.com>
7088
7089         * configure.ac: 
7090         * pkgconfig/gstreamer-net.pc.in:
7091         * pkgconfig/gstreamer-net-uninstalled.pc.in:
7092         * pkgconfig/Makefile.am: Add net pkgconfig files.
7093
7094 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
7095
7096         * gst/gstcaps.c:
7097         * gst/gstghostpad.c:
7098         * gst/gsttrace.c:
7099         * gst/gstvalue.c:
7100         * gst/gstvalue.h:
7101           docs fixes
7102
7103 2005-11-18  Andy Wingo  <wingo@pobox.com>
7104
7105         * gst/net/gstnetclientclock.c: Turn off debugging.
7106
7107         * check/net/gstnetclientclock.c (test_functioning): Assert that the
7108         times connverge somewhat. Can't make a real test.
7109
7110         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
7111         integer arithmetic. Return the minimum of the domain, which can be
7112         set as "internal" for gst_clock_set_calibration.
7113         (gst_net_client_clock_observe_times): Call _set_calibration.
7114         (gst_net_client_clock_new): Call _set_calibration instead of
7115         rate_offset.
7116
7117         * check/net/gstnetclientclock.c (test_functioning): Use the right
7118         adjustment api.
7119
7120         * gst/gstclock.h:
7121         * gst/gstclock.c (gst_clock_get_calibration) 
7122         (gst_clock_set_calibration): New functions, obsolete the ones I
7123         added yesterday. Doh. Precision issues mean we have to extrapolate
7124         from a point in the more recent past than 1970.
7125         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
7126         obsolete.
7127         (gst_clock_adjust_unlocked): Use the right calibration data.
7128
7129 2005-11-18  Edward Hervey  <edward@fluendo.com>
7130
7131         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
7132         Also reset the ->current_* values in READY->PAUSED
7133
7134 2005-11-18  Andy Wingo  <wingo@pobox.com>
7135
7136         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
7137         Whoops, check the right fd. Also add some debugging.
7138         (gst_net_client_clock_observe_times): Adjust for int64 offset.
7139         (do_linear_regression): Add a crapload of debugging. Subtract off
7140         the minimum values from the input series to discard unneeded bits.
7141         Use only int arithmetic. There is still double arithmetic when
7142         calculating the intercept that needs fixing. Return boolean to
7143         indicate success; FALSE would mean the domain or range is too
7144         great. Still needs fixes.
7145
7146 2005-11-18  Wim Taymans  <wim@fluendo.com>
7147
7148         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
7149         For the current position in stream time, we need to subtract
7150         accumulated time.
7151         
7152         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
7153         Release lock before calling the callback function of async
7154         entries.
7155
7156 2005-11-18  Andy Wingo  <wingo@pobox.com>
7157
7158         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
7159         Port goes all the way to MAXUINT16.
7160
7161         * gst/net/gstnettimeprovider.c: Make the port range the same as
7162         for the kernel: 0 assigns, otherwise ports are less than
7163         MAXUINT16.
7164
7165         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
7166         port change.
7167
7168         * check/net/gstnetclientclock.c (test_functioning): Add the start
7169         of another test. 
7170
7171 2005-11-18  Wim Taymans  <wim@fluendo.com>
7172
7173         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
7174         (gst_bin_remove_func), (bin_bus_handler):
7175         * gst/gstbin.h:
7176         Removing a clock provider from a bin, triggers a clock lost message
7177         so that a new clock will be selected.
7178         Adding a clock to a bin triggers a clock provider message.
7179         Make sure we reselect a clock when we received a clock lost message.
7180         Keep a reference to the element that provided the clock.
7181
7182 2005-11-18  Andy Wingo  <wingo@pobox.com>
7183
7184         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
7185         the clock initially so it produces values around the base time.
7186         (gst_net_client_clock_class_init): Typo fix.
7187         (gst_net_client_clock_thread): Add note on when the socket gets
7188         closed.
7189
7190 2005-11-17  Wim Taymans  <wim@fluendo.com>
7191
7192         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
7193         Free remote and local time arrays.
7194
7195 2005-11-17  Wim Taymans  <wim@fluendo.com>
7196
7197         * gst/net/gstnetclientclock.c: (do_linear_regression),
7198         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
7199         Fix compilation, uninitialized vars and a forgotten continue.
7200
7201 2005-11-17  Andy Wingo  <wingo@pobox.com>
7202
7203         * check/Makefile.am (check_PROGRAMS): 
7204         * check/net/gstnetclientclock.c: Add a most minimal test for the
7205         net client clock. More to come later.
7206
7207         * gst/net/gstnet.h: 
7208         * gst/net/Makefile.am: Add netclientclock.
7209
7210         * gst/net/gstnetclientclock.h:
7211         * gst/net/gstnetclientclock.c: New files, implement an untested
7212         GstClock that takes its time from a network time provider.
7213         Implements the algorithm in network-clock.scm.
7214
7215         * tests/network-clock.scm (*window-size*): Rename from
7216         *queue-length*.
7217         * tests/network-clock.scm (network-time): 
7218         * tests/network-clock-utils.scm (q-push): Update callers.
7219
7220 2005-11-17  Wim Taymans  <wim@fluendo.com>
7221
7222         * gst/gstbin.c: (gst_bin_provide_clock_func),
7223         (gst_bin_sort_iterator_new):
7224         And unref the child too..
7225
7226 2005-11-17  Wim Taymans  <wim@fluendo.com>
7227
7228         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7229         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
7230         Refactor the sort iterator so it can be used while holding the
7231         LOCK too.
7232         Make clock selection select a clock closest to the source.
7233
7234 2005-11-17  Michael Smith <msmith@fluendo.com>
7235
7236         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
7237         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
7238         * gst/gstclock.h:
7239           Anonymous structs are a gcc (and some other compilers) extension, so
7240           don't use them. Since this is only for ABI-compatibility, and our
7241           API/ABI freeze is over in a few days, this whole thing will only
7242           last a few days, so don't bother trying to think up a meaningful
7243           name for the struct.
7244
7245 2005-11-17  Andy Wingo  <wingo@pobox.com>
7246
7247         * gst/gstclock.h (GstClock): Add rate and offset properties,
7248         preserving ABI stability. Add rate/offset accessors. Will file bug
7249         for the freeze break.
7250
7251         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
7252         and offset, trying to keep precision and avoiding
7253         underflow/overflow.
7254         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
7255         functions. Make gst_clock_set_time_adjust obsolete.
7256         (gst_clock_set_time_adjust): Note that this function is obsolete.
7257         Will file bug soon.
7258
7259         * gst/base/gstbasetransform.h: Make the ABI-stability hack
7260         greppable by using GST_PADDING-1+1.
7261
7262 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
7263
7264         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
7265
7266         * gst/gstmessage.c: (gst_message_parse_clock_lost):
7267           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
7268
7269         * gst/gstpadtemplate.h:
7270         * gst/gstpluginfeature.h:
7271           Don't use c++ style comments in headers (#321638).
7272
7273 2005-11-16  Andy Wingo  <wingo@pobox.com>
7274
7275         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
7276         buffer.
7277
7278         * check/net/gstnettimeprovider.c: Check to see that the time
7279         provider actually provides times. Works, yo!
7280
7281 2005-11-16  Wim Taymans  <wim@fluendo.com>
7282
7283         * check/Makefile.am:
7284         Enable more tests.
7285
7286         * check/elements/fakesrc.c: (GST_START_TEST):
7287         Set element to NULL before disposing it.
7288
7289 2005-11-16  Andy Wingo  <wingo@pobox.com>
7290
7291         * gst/net/Makefile.am:
7292         * gst/net/gstnet.h:
7293         * gst/net/gstnettimeprovider.c: 
7294         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
7295         provider, include it from gstnet.h, and add it to the build.
7296
7297         * gst/net/gstnettimepacket.h: 
7298         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
7299         sending and receiving.
7300
7301 2005-11-16  Wim Taymans  <wim@fluendo.com>
7302
7303         * check/Makefile.am:
7304         Enable valgrind check.
7305
7306         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
7307         (gst_fake_src_alloc_buffer):
7308         Fix memleak.
7309
7310 2005-11-16  Wim Taymans  <wim@fluendo.com>
7311
7312         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
7313         Call parent finalize too.
7314
7315 2005-11-16  Wim Taymans  <wim@fluendo.com>
7316
7317         * check/Makefile.am:
7318         Enable valgrind check that should work fine now.
7319
7320         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7321         * gst/gstqueue.c: (gst_queue_init):
7322         Fix memleaks in pad allocation.
7323
7324 2005-11-16  Andy Wingo  <wingo@pobox.com>
7325
7326         * gst/net/Makefile.am:
7327         * gst/net/gstnet.h: New part of core to hold network elements and
7328         objects. Put in core because it exposes API that applications want
7329         to use. The library is named libgstnet-tempname right now because
7330         of the existing libgstnet in gst-plugins-base. Solution is
7331         probably to rename the one in plugins-base; will file a bug for
7332         the freeze break.
7333
7334         * gst/net/gstnettimeprovider.c: 
7335         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
7336         get_time call over the network.
7337
7338         * configure.ac: 
7339         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
7340
7341         * check/Makefile.am:
7342         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
7343         get additions shortly.
7344
7345 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7346
7347         * gst/gstpad.c: (gst_pad_new_from_static_template):
7348         * gst/gstpad.h:
7349           add gst_pad_new_from_static_template functions
7350         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
7351         (gst_check_setup_sink_pad):
7352         * gst/elements/gsttee.c: (gst_tee_init):
7353           and use them
7354
7355 2005-11-16  Wim Taymans  <wim@fluendo.com>
7356
7357         * gst/gstpad.c: (gst_pad_pause_task):
7358         Removed warning, it's not really an error either.
7359
7360 2005-11-16  Wim Taymans  <wim@fluendo.com>
7361
7362         * gst/base/gstbasetransform.c:
7363         (gst_base_transform_prepare_output_buf),
7364         (gst_base_transform_event):
7365         Check if the caps are NULL, this can happen if the element
7366         is shutting down and the pad caps are set to NULL.
7367
7368 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7369
7370         * gst/elements/gsttee.c: (gst_tee_init):
7371           fix pad template leak in tee
7372
7373 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7374
7375         * gst/glib-compat.c: (g_value_dup_gst_object):
7376         * gst/glib-compat.h:
7377         * gst/gstpad.c: (gst_pad_set_property):
7378           use gst_object_ref when setting the pad template; this will
7379           trigger the pad template leaks on GLib 2.6 and the slaves
7380
7381 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7382
7383         * gst/glib-compat.c: (gst_flags_get_first_value):
7384         * gst/glib-compat.h:
7385         * gst/gstregistryxml.c:
7386           remove functions copied from GLib 2.6
7387
7388 2005-11-16  Michael Smith <msmith@fluendo.com>
7389
7390         * gst/Makefile.am:
7391           Don't link against VALGRIND_LIBS. That was always the wrong thing to
7392           do, but only breaks with newer valgrind versions. We're not a
7393           valgrind tool, we have no link-time dependencies on libcoregrind.
7394
7395 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7396
7397         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7398           some debug changes
7399         * gst/gstmessage.h:
7400           typo fixes
7401
7402 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7403
7404         * gst/base/gstbasesrc.c: (gst_base_src_init):
7405         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7406         * gst/gstqueue.c: (gst_queue_init):
7407         * gst/gstregistryxml.c: (load_feature):
7408           Revert all these unrefs, they don't even pass make check !
7409
7410 2005-11-15  Johan Dahlin  <johan@gnome.org>
7411
7412         * gst/base/gstbasesrc.c: (gst_base_src_init):
7413         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7414         * gst/gstqueue.c: (gst_queue_init): 
7415         Free pad templates, fixes a couple of leaks.
7416
7417 2005-11-15  Daniel Fischer  <dan at f3c dot com>
7418
7419         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
7420
7421         * gst/gstpad.c: (gst_pad_get_property):
7422           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
7423           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
7424           (#321452)
7425
7426 2005-11-15  Wim Taymans  <wim@fluendo.com>
7427
7428         * gst/gstevent.c:
7429         Small doc update.
7430
7431 2005-11-15  Andy Wingo  <wingo@pobox.com>
7432
7433         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
7434
7435         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
7436         using GST_CLOCK_TIME_NONE to disable base time management.
7437         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
7438         time if it was NONE before.
7439         (gst_pipeline_change_state): Only munge the base time if
7440         stream_time != GST_CLOCK_TIME_NONE.
7441
7442         * check/gst/gstpipeline.c (test_base_time): Punt around the
7443         problem of the probe not being called, because that's not the
7444         issue I'm looking at. Add a check that setting stream_time to NONE
7445         disables base time management.
7446         
7447 2005-11-15  Wim Taymans  <wim@fluendo.com>
7448
7449         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
7450         segment_stop == -1 at startup.
7451
7452         * gst/base/gstbasetransform.c: (gst_base_transform_event),
7453         (gst_base_transform_change_state):
7454         Init segment values at start.
7455
7456 2005-11-15  Wim Taymans  <wim@fluendo.com>
7457
7458         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7459         0 segment values are 0 in any format.
7460
7461         * gst/base/gstbasetransform.c: (gst_base_transform_event):
7462         * gst/base/gstbasetransform.h:
7463         Parse newsegment correctly in basetransform
7464
7465         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7466         Sync to clock using updated segment values.
7467
7468 2005-11-15  Andy Wingo  <wingo@pobox.com>
7469
7470         * check/gst/gstpipeline.c (test_base_time): Add check that the
7471         base time and stream time are reset correctly.
7472
7473 2005-11-15  Wim Taymans  <wim@fluendo.com>
7474
7475         * docs/design/part-TODO.txt:
7476         Some more TODO items.
7477
7478 2005-11-15  Andy Wingo  <wingo@pobox.com>
7479
7480         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
7481         error if the user selected "no clock" as the clocking method.
7482
7483         * check/gst/gstpipeline.c (test_base_time): New test for buffer
7484         timestamps with live capture.
7485
7486         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
7487         is 0 but we are a live source, timestamp the buffers using the
7488         element's clock.
7489
7490 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
7491
7492         * docs/gst/gstreamer-sections.txt:
7493         * gst/gsterror.c:
7494         * gst/gstghostpad.c:
7495         * gst/gstobject.h:
7496         * gst/gstxml.c:
7497           more section docs
7498
7499 2005-11-14  Wim Taymans  <wim@fluendo.com>
7500
7501         * common/gst.supp:
7502           add suppressions from Wim's Debian machine
7503
7504 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7505
7506         * common/gst.supp:
7507           add suppressions from Andy's AMD64 Ubuntu machine
7508
7509 2005-11-14  Andy Wingo  <wingo@pobox.com>
7510
7511         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
7512         STATE_LOCK not necessary. Fixes #311489.
7513
7514         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
7515         #305291.
7516
7517         * gst/gstindex.c (gst_index_add_object): Note in the docs that
7518         this function is not implemented.
7519
7520 2005-11-14  Julien MOUTTE  <julien@moutte.net>
7521
7522         * gst/base/gstbasetransform.c:
7523         (gst_base_transform_prepare_output_buf):
7524         Ref the source pad caps while we need them.
7525         Fixes (#321386)
7526
7527 2005-11-11  Wim Taymans  <wim@fluendo.com>
7528
7529         * docs/gst/gstreamer-sections.txt:
7530         Added some docs for GstCollectData.
7531
7532         * gst/base/gstadapter.c:
7533         Some small code example fix.
7534
7535         * gst/base/gstcollectpads.c:
7536         * gst/base/gstcollectpads.h:
7537         Document some more.
7538
7539 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7540
7541         * configure.ac: back to HEAD
7542
7543 === release 0.9.5 ===
7544
7545 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
7546
7547         * configure.ac:
7548           releasing 0.9.5, "Bike Lunch Day"
7549
7550 2005-11-11  Wim Taymans  <wim@fluendo.com>
7551
7552         * gst/gstbuffer.c: (_gst_buffer_copy):
7553         Copy more flags.
7554
7555         * gst/gstcaps.c: (gst_caps_is_equal):
7556         Fix some docs.
7557         Make _is_equal fast in the trivial cases.
7558
7559         * gst/gstminiobject.c:
7560         * gst/gstminiobject.h:
7561         More docs. Spifify .h file.
7562
7563         * gst/gstutils.c:
7564         Small doc update.
7565
7566 2005-11-11  Wim Taymans  <wim@fluendo.com>
7567
7568         * gst/base/gstbasetransform.c:
7569         (gst_base_transform_prepare_output_buf),
7570         (gst_base_transform_handle_buffer):
7571         Small cleanups.
7572         If we're processing a buffer and need to allocate an output
7573         buffer, we cannot accept a format change. If we did get a 
7574         format change, we have to alloc a buffer ourselves of the 
7575         right size.
7576
7577 2005-11-11  Wim Taymans  <wim@fluendo.com>
7578
7579         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
7580         While checking the flag for reentrancy in the gstcaps function
7581         is nice to detect recursive invocations, it also makes it 
7582         impossible to call getcaps from multiple threads, which must be
7583         possible. So, checking for recursive calls has to go.
7584
7585 2005-11-11  Michael Smith <msmith@fluendo.com>
7586
7587         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7588           Don't sync on buffers that fall partially outside our current
7589           segment. Prevents an assertion failure/abort playing some files.
7590
7591 2005-11-10  Andy Wingo  <wingo@pobox.com>
7592
7593         * check/gst/gstbin.c (test_message_state_changed_children): Style
7594         fix..
7595
7596         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
7597         gst_bus_poll with the signal watch. Ensures that poll and a signal
7598         watch see the same messages.
7599
7600         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
7601         a poll and a watch at the same time get the same messages.
7602
7603 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7604
7605         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
7606         * gst/gstcaps.c: (gst_caps_intersect):
7607           Don't call gst_caps_do_simplify - it doesn't respect order of caps
7608           and it's not needed.
7609
7610 2005-11-10  Wim Taymans  <wim@fluendo.com>
7611
7612         * docs/design/part-TODO.txt:
7613         Updated todo.
7614
7615 2005-11-10  Wim Taymans  <wim@fluendo.com>
7616
7617         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7618         * gst/base/gstbasesrc.c: (gst_base_src_wait),
7619         (gst_base_src_do_sync), (gst_base_src_get_range):
7620         Implement clock sync in base class.
7621
7622 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7623
7624         patch by: Tim-Philipp Müller <tim at centricular dot net>
7625
7626         * gst/gststructure.c: (gst_structure_parse_field),
7627         (gst_structure_from_string):
7628           Forward-port a 0.8 patch to handle escaped spaces in structure string,
7629           so that gst_parse_launch() can deal with spaces in filtered link
7630           caps (fixes #164479)
7631         * check/gst/capslist.h:
7632         * check/gst/gststructure.c: (GST_START_TEST):
7633           add unit tests for this change
7634
7635 2005-11-10  Wim Taymans  <wim@fluendo.com>
7636
7637         * docs/gst/gstreamer-sections.txt:
7638         * gst/gstelement.c:
7639         * gst/gstelement.h:
7640         Fix docs, move some STATE macros to private.
7641
7642 2005-11-10  Wim Taymans  <wim@fluendo.com>
7643
7644         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7645         Added check for bug #317341
7646
7647         * gst/gstbuffer.c:
7648         * gst/gstbuffer.h:
7649         Some more spiffifying.
7650
7651         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
7652         Call peer linkfunction if we are a source pad. Totally fixes
7653         #317341
7654
7655         * gst/gstpad.c:
7656         Update docs, source pads should call the peer linkfunction
7657         so they can atomically perform the pad link.
7658
7659 2005-11-09  Wim Taymans  <wim@fluendo.com>
7660
7661         * gst/gstbuffer.c:
7662         * gst/gstbuffer.h:
7663         Uber-spiffy-spiffify some more.
7664
7665 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
7666
7667         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
7668         * gst/elements/gstfilesink.c: (gst_file_sink_init):
7669         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7670         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
7671         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
7672         * gst/gstpad.c: (gst_pad_init):
7673           Use GST_DEBUG_FUNCPTR() more extensively.
7674
7675 2005-11-09  Wim Taymans  <wim@fluendo.com>
7676
7677         * gst/gstobject.c: (gst_object_class_init):
7678         * gst/gstobject.h:
7679         Documentation fixes.
7680
7681 2005-11-09  Edward Hervey  <edward@fluendo.com>
7682
7683         * gst/gsttypefindfactory.c:
7684         Fix docs.
7685         
7686 2005-11-09  Edward Hervey  <edward@fluendo.com>
7687
7688         * gst/base/gsttypefindhelper.c:
7689         * gst/gsttypefind.c:
7690         * gst/gsttypefind.h:
7691         Fix docs.
7692
7693 2005-11-09  Wim Taymans  <wim@fluendo.com>
7694
7695         * gst/gstiterator.c:
7696         Fix revision data.
7697
7698         * gst/gsttask.c:
7699         * gst/gsttask.h:
7700         Fix docs.
7701
7702 2005-11-09  Wim Taymans  <wim@fluendo.com>
7703
7704         * gst/gstevent.h:
7705         * gst/gsturi.h:
7706         Fix docs.
7707
7708 2005-11-09  Wim Taymans  <wim@fluendo.com>
7709
7710         * docs/gst/gstreamer-sections.txt:
7711         Moved the message async delivery private lock and cond
7712         to the private section.
7713
7714         * gst/gstmessage.c:
7715         * gst/gstmessage.h:
7716         Fixed docs.
7717
7718 2005-11-09  Edward Hervey  <edward@fluendo.com>
7719
7720         * docs/gst/gstreamer-sections.txt:
7721         * gst/gsturi.c:
7722         * gst/gsturi.h:
7723         Document GstURIHandler
7724
7725 2005-11-09  Wim Taymans  <wim@fluendo.com>
7726
7727         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
7728         (gst_iterator_find_custom):
7729         * gst/gstiterator.h:
7730         Fix iterator docs.
7731
7732 2005-11-09  Wim Taymans  <wim@fluendo.com>
7733
7734         * gst/gstbin.h:
7735         Document another field.
7736
7737         * gst/gststructure.c:
7738         * gst/gststructure.h:
7739         Document.
7740
7741 2005-11-09  Wim Taymans  <wim@fluendo.com>
7742
7743         * gst/gstbin.h:
7744         Documented structs.
7745
7746 2005-11-09  Wim Taymans  <wim@fluendo.com>
7747
7748         * docs/gst/gstreamer-sections.txt:
7749         Added some new macros.
7750
7751         * gst/gstclock.c:
7752         * gst/gstclock.h:
7753         * gst/gstobject.h:
7754         Docs updates.
7755
7756 2005-11-09  Wim Taymans  <wim@fluendo.com>
7757
7758         * docs/design/part-TODO.txt:
7759         Some more items for the TODO
7760
7761         * gst/gstcaps.c:
7762         * gst/gstcaps.h:
7763         Document GstCaps.
7764
7765 2005-11-09  Andy Wingo  <wingo@pobox.com>
7766
7767         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
7768         to work on something else now tho...
7769
7770         * gst/base/gstadapter.c: More adapter docs.
7771
7772         * gst/elements/gstfilesink.c (gst_file_sink_start) 
7773         (gst_file_sink_stop): New functions, replace the state change
7774         handler.
7775         (gst_file_sink_class_init): Hook up the start and stop functions.
7776         (gst_file_sink_base_init): Don't set the state change handler any
7777         more. It was a bit ugly too, being set from here...
7778         (gst_file_sink_get_property, gst_file_sink_set_property):
7779         Cleanups...
7780         (gst_file_sink_set_location): More robust check that doesn't call
7781         GST_STATE. Ugggggg.
7782
7783 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
7784
7785         * gst/base/gstbasetransform.c: (gst_base_transform_event):
7786           Hold STREAM_LOCK while pushing newsegment or tag events as well.
7787
7788 2005-11-08  Wim Taymans  <wim@fluendo.com>
7789
7790         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7791         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7792         (gst_base_sink_chain), (gst_base_sink_change_state):
7793         * gst/base/gstbasesink.h:
7794         * gst/base/gstbasesrc.h:
7795         * gst/gstelement.h:
7796         * gst/gstevent.h:
7797         Avoid excessive typechecking in macros.
7798
7799         * gst/gstminiobject.c: (gst_mini_object_get_type),
7800         (gst_mini_object_init), (gst_mini_object_new),
7801         (gst_mini_object_free):
7802         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7803         (gst_object_finalize):
7804         Remove cruft code, optimize alloc_trace.
7805
7806 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
7807
7808         * docs/faq/gst-uninstalled:
7809           fix up PS1 for systems that try to reset it
7810
7811 2005-11-07  Wim Taymans  <wim@fluendo.com>
7812
7813         * gst/base/gstbasesrc.c: (gst_base_src_init),
7814         (gst_base_src_get_range):
7815         Set the segment_end to -1 initially. Fixed typefind.
7816
7817 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
7818
7819         * gst/base/gstadapter.c:
7820           Debug category should be 'adapter', not 'GstAdapter'.
7821           
7822         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
7823         (gst_collectpads_class_init), (gst_collectpads_init),
7824         (gst_collectpads_peek), (gst_collectpads_pop),
7825         (gst_collectpads_event), (gst_collectpads_chain):
7826           Add debug category and some debugging output. Use boilerplate
7827           macros. Remove some extraneous words from docs.
7828
7829 2005-11-05  Andy Wingo  <wingo@pobox.com>
7830
7831         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
7832         macro.
7833
7834 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
7835
7836         * docs/gst/gstreamer-sections.txt:
7837         * gst/gstcaps.h:
7838         * gst/gstinfo.c:
7839         * gst/gstminiobject.h:
7840         * gst/gstobject.h:
7841         * gst/gstutils.h:
7842           more docs added
7843
7844 2005-11-04  Wim Taymans  <wim@fluendo.com>
7845
7846         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7847         Small update to stop at the configured segment_end
7848         position.
7849
7850 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
7851
7852         * gst/gstregistry.c:
7853         * gst/gstregistry.h:
7854           added missing docs
7855
7856 2005-11-04  Edward Hervey  <edward@fluendo.com>
7857
7858         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7859         Check if we are doing a segment seek and have arrived at the
7860         end of that segment.
7861
7862 2005-11-04  Wim Taymans  <wim@fluendo.com>
7863
7864         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
7865         Don't leak a mutex unlock in case of an error.
7866
7867         * gst/gstbus.h:
7868         Doc fixes.
7869
7870 2005-11-04  Wim Taymans  <wim@fluendo.com>
7871
7872         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
7873         (gst_bus_post):
7874         Get the context to wake up only once.
7875
7876 2005-11-03  Wim Taymans  <wim@fluendo.com>
7877
7878         * check/states/sinks.c: (GST_START_TEST):
7879         Uncomment fixed check.
7880
7881         * docs/design/part-TODO.txt:
7882         Updated TODO.
7883
7884         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7885         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7886         (gst_base_sink_get_position):
7887         If we are going to PLAYING, post the right pending state
7888         when we post the intermediate paused message.
7889
7890         * gst/gstelement.c: (gst_element_continue_state),
7891         (gst_element_set_state_func), (gst_element_change_state):
7892         Don't post state changes that were between the same state
7893         and were not ASYNC.
7894
7895 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
7896
7897         * docs/gst/gstreamer-sections.txt:
7898         * gst/gstcaps.h:
7899         * gst/gstinfo.c:
7900         * gst/gstminiobject.h:
7901         * gst/gstobject.h:
7902         * gst/gstutils.h:
7903           more docs and doc style fixes
7904
7905 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
7906
7907         * docs/gst/gstreamer-sections.txt:
7908         * gst/gstelement.c:
7909         * gst/gstminiobject.c:
7910         doc fixes
7911
7912 2005-11-03  Andy Wingo  <wingo@pobox.com>
7913
7914         * check/states/sinks.c (test_livesrc_sink): Add checks that the
7915         state-changed messages actually have the right order and the right
7916         values.
7917
7918 2005-11-03  Wim Taymans  <wim@fluendo.com>
7919
7920         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
7921         Added some more checks. Specifically the case where NO_PREROLL
7922         elements are in the pipeline.
7923
7924         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7925         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7926         (gst_base_sink_get_position):
7927         Post READY->PAUSED state change messages too.
7928         Fix bug where VOID was posted as pending state...
7929
7930         * gst/gstbin.c: (gst_bin_recalc_state):
7931         use _element_continue_state() to continue the state change.
7932
7933         * gst/gstelement.c: (gst_element_continue_state),
7934         (gst_element_commit_state), (gst_element_set_state_func),
7935         (gst_element_change_state), (gst_element_change_state_func):
7936         Lots of state change cleanups, assign the STATE_RETURN in
7937         a new continue_state() function that also propagates the
7938         last return value from a state change to the app.
7939         Update some debug statements with proper category.
7940
7941 2005-11-03  Wim Taymans  <wim@fluendo.com>
7942
7943         * docs/design/part-events.txt:
7944         * docs/design/part-gstpipeline.txt:
7945         * docs/design/part-messages.txt:
7946         * docs/design/part-overview.txt:
7947         * docs/design/part-seeking.txt:
7948         * docs/design/part-states.txt:
7949         * docs/design/part-trickmodes.txt:
7950         * docs/manual/advanced-position.xml:
7951         Small docs updates.
7952
7953         * gst/gstobject.h:
7954         People think !! is ugly, this looks better.
7955
7956         * gst/gstpad.c: (gst_pad_set_blocked_async):
7957         Remove !! since it's fixed elsewhere now.
7958
7959 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
7960
7961         * gst/gstminiobject.h:
7962         * gst/gstobject.h:
7963           Add !! to _FLAG_IS_SET macros to make the result boolean.
7964
7965 2005-11-03  Edward Hervey  <edward@fluendo.com>
7966
7967         * gst/gstpad.c: (gst_pad_set_blocked_async):
7968         comparing a flag and a gboolean rarely returns coherent results...
7969         Added two characters (!!) to make that work correctly.
7970         
7971 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
7972
7973         * gst/gstbus.c: (gst_bus_class_init):
7974           Fix some typos.
7975           
7976         * gst/gstqueue.c: (gst_queue_loop):
7977           Don't assume a miniobject that isn't a buffer is an
7978           event (it could be that there is a refcounting
7979           problem somewhere and the pointer is stale and
7980           refers to an already destroyed miniobject).
7981
7982 2005-11-03  Julien MOUTTE  <julien@moutte.net>
7983
7984         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
7985
7986 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
7987
7988         * docs/manual/advanced-position.xml:
7989           Update seek example and explanations to current 0.9 API.
7990
7991         * gst/elements/gsttypefindelement.c:
7992         (gst_type_find_element_activate):
7993           Remove FIXME comment now that the found caps
7994           are unreffed.
7995
7996 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7997
7998         * gst/gstregistryxml.c: (load_feature):
7999           Add another GST_STR_NULL instance
8000
8001 2005-11-02  Edward Hervey  <edward@fluendo.com>
8002
8003         * gst/gstpad.c: (handle_pad_block):
8004         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
8005         
8006 2005-11-02  Wim Taymans  <wim@fluendo.com>
8007
8008         * gst/gstbin.c:
8009         Fix typo in docs.
8010
8011         * gst/gstelement.c: (gst_element_commit_state):
8012         Remove unused value.
8013
8014         * gst/gstiterator.c:
8015         Mention that the returned element is reffed in the docs.
8016
8017 2005-11-02  Wim Taymans  <wim@fluendo.com>
8018
8019         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
8020         (gst_pad_push), (gst_pad_push_event):
8021         Unlock blocked pads when they are flushed.
8022
8023 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8024
8025         * docs/README:
8026         * docs/gst/gstreamer-sections.txt:
8027         * gst/gstbin.c:
8028           doc updates
8029         * gst/gstregistry.c: (gst_registry_scan_path_level):
8030           fix for a nasty little missed situation where an installed plug-in
8031           which was in the cache did not get overridden by an uninstalled one
8032           which was earlier in the plugin path because the newly created plugin
8033           for the uninstalled one (not in the registry) didn't get its
8034           ->registered set to TRUE
8035
8036 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
8037
8038         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
8039         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
8040         (gst_collectpads_is_active), (gst_collectpads_collect),
8041         (gst_collectpads_collect_range), (gst_collectpads_start),
8042         (gst_collectpads_stop), (gst_collectpads_peek),
8043         (gst_collectpads_pop), (gst_collectpads_available),
8044         (gst_collectpads_read), (gst_collectpads_flush):
8045           Guard public API with assertions.
8046         
8047         * gst/gstpad.c:
8048           Fix docs for gst_pad_set_link_function().
8049
8050 2005-11-02  Johan Dahlin  <johan@gnome.org>
8051
8052         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
8053         Unref found_caps after we used it.
8054
8055 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
8056
8057         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
8058           Don't try to ref NULL.
8059
8060 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8061
8062         * win32/common/config.h.in:
8063           provide a GST_FUNCTION that just gives a string for now
8064
8065 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8066
8067         * win32/common/gstenumtypes.c: (register_gst_object_flags),
8068         (gst_object_flags_get_type), (register_gst_bin_flags),
8069         (gst_bin_flags_get_type), (register_gst_buffer_flag),
8070         (gst_buffer_flag_get_type), (register_gst_bus_flags),
8071         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
8072         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
8073         (gst_clock_return_get_type), (register_gst_clock_entry_type),
8074         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
8075         (gst_clock_flags_get_type), (register_gst_state),
8076         (gst_state_get_type), (register_gst_state_change_return),
8077         (gst_state_change_return_get_type), (register_gst_state_change),
8078         (gst_state_change_get_type), (register_gst_element_flags),
8079         (gst_element_flags_get_type), (register_gst_core_error),
8080         (gst_core_error_get_type), (register_gst_library_error),
8081         (gst_library_error_get_type), (register_gst_resource_error),
8082         (gst_resource_error_get_type), (register_gst_stream_error),
8083         (gst_stream_error_get_type), (register_gst_event_type),
8084         (gst_event_type_get_type), (register_gst_seek_type),
8085         (gst_seek_type_get_type), (register_gst_seek_flags),
8086         (gst_seek_flags_get_type), (register_gst_format),
8087         (gst_format_get_type), (register_gst_index_certainty),
8088         (gst_index_certainty_get_type), (register_gst_index_entry_type),
8089         (gst_index_entry_type_get_type),
8090         (register_gst_index_lookup_method),
8091         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
8092         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
8093         (gst_index_resolver_method_get_type), (register_gst_index_flags),
8094         (gst_index_flags_get_type), (register_gst_debug_level),
8095         (gst_debug_level_get_type), (register_gst_debug_color_flags),
8096         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
8097         (gst_iterator_result_get_type), (register_gst_iterator_item),
8098         (gst_iterator_item_get_type), (register_gst_message_type),
8099         (gst_message_type_get_type), (register_gst_mini_object_flags),
8100         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
8101         (gst_pad_link_return_get_type), (register_gst_flow_return),
8102         (gst_flow_return_get_type), (register_gst_activate_mode),
8103         (gst_activate_mode_get_type), (register_gst_pad_direction),
8104         (gst_pad_direction_get_type), (register_gst_pad_flags),
8105         (gst_pad_flags_get_type), (register_gst_pad_presence),
8106         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
8107         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
8108         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
8109         (gst_plugin_error_get_type), (register_gst_plugin_flags),
8110         (gst_plugin_flags_get_type), (register_gst_rank),
8111         (gst_rank_get_type), (register_gst_query_type),
8112         (gst_query_type_get_type), (register_gst_tag_merge_mode),
8113         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
8114         (gst_tag_flag_get_type), (register_gst_task_state),
8115         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
8116         (gst_alloc_trace_flags_get_type),
8117         (register_gst_type_find_probability),
8118         (gst_type_find_probability_get_type), (register_gst_uri_type),
8119         (gst_uri_type_get_type), (register_gst_parse_error),
8120         (gst_parse_error_get_type):
8121         * win32/common/gstversion.h:
8122           update win32 copies
8123
8124 2005-11-01  Luca Ognibene  <luogni@tin.it>
8125
8126         * gst/gst.c:
8127           fix docs. popt is dead, long live GOption.
8128
8129 2005-10-31  Wim Taymans  <wim@fluendo.com>
8130
8131         * gst/gstbuffer.h:
8132         Small doc fix.
8133
8134 2005-10-31  Andy Wingo  <wingo@pobox.com>
8135
8136         * Boo!
8137
8138         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
8139
8140         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
8141         need to serialize property notifications on GLib 2.8. GLib 2.6 has
8142         the possibility of deadlocks here if code calling notify() or
8143         set() has a lock that can be taken in another notify handler (ABBA
8144         with class lock and e.g. python GIL state lock).
8145
8146 2005-10-28  Julien MOUTTE  <julien@moutte.net>
8147
8148         * gst/gstbus.c: Doc updates.
8149
8150 2005-10-28  Wim Taymans  <wim@fluendo.com>
8151
8152         * docs/design/part-TODO.txt:
8153         * gst/gstiterator.c:
8154         * gst/gstsystemclock.c:
8155         * gst/gstsystemclock.h:
8156         Doc updates.
8157
8158 2005-10-28  Edward Hervey  <edward@fluendo.com>
8159
8160         * docs/gst/gstreamer-docs.sgml:
8161         * docs/gst/gstreamer-sections.txt:
8162         the GstURIType documentation page is private, it only defines GstURIType
8163         which should be defined in the GstURIHandler page
8164         
8165 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8166
8167         * gst/gstbin.c: (gst_bin_class_init):
8168         * gst/gstbin.h:
8169         * gst/gstutils.c:
8170         Documentation updates.
8171
8172 2005-10-28  Wim Taymans  <wim@fluendo.com>
8173
8174         * docs/gst/gstreamer-sections.txt:
8175         * gst/gstclock.c:
8176         * gst/gstclock.h:
8177         Documented the clocks.
8178
8179 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
8180
8181         * docs/gst/gstreamer-sections.txt:
8182           move some macros to private sections
8183         * gst/gstminiobject.c:
8184         * gst/gstminiobject.h:
8185           add descriptions provided by ds and some more
8186         * gst/gstpad.h:
8187           mark macro as to be removed
8188
8189 2005-10-28  Wim Taymans  <wim@fluendo.com>
8190
8191         * docs/design/part-TODO.txt:
8192         Add an item to TODO.
8193
8194         * gst/gstiterator.c: (gst_iterator_fold),
8195         (gst_iterator_find_custom):
8196         * gst/gstiterator.h:
8197         Add iterator docs.
8198
8199 2005-10-28  Wim Taymans  <wim@fluendo.com>
8200
8201         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8202         (gst_base_transform_init):
8203         Don't leak class.
8204
8205         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
8206         An EOS event marks the queue as completely filled.
8207
8208 2005-10-27  Wim Taymans  <wim@fluendo.com>
8209
8210         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8211         (gst_base_sink_do_sync), (gst_base_sink_get_position):
8212         Some more debugging.
8213
8214         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
8215         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
8216         (gst_base_transform_event), (gst_base_transform_getrange),
8217         (gst_base_transform_chain):
8218         * gst/base/gstbasetransform.h:
8219         Fix debugging,
8220         Protect transform and concurrent buffer alloc with a new lock.
8221         Try not to break ABI/API.
8222
8223 2005-10-27  Wim Taymans  <wim@fluendo.com>
8224
8225         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8226         (gst_base_src_init), (gst_base_src_query),
8227         (gst_base_src_default_newsegment),
8228         (gst_base_src_configure_segment), (gst_base_src_do_seek),
8229         (gst_base_src_send_event), (gst_base_src_event_handler),
8230         (gst_base_src_pad_get_range), (gst_base_src_loop),
8231         (gst_base_src_unlock), (gst_base_src_default_negotiate),
8232         (gst_base_src_start), (gst_base_src_deactivate),
8233         (gst_base_src_activate_push), (gst_base_src_change_state):
8234         Move some stuff around and cleanup things.
8235
8236 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
8237
8238         * gst/base/gstbasesrc.c: (gst_base_src_query):
8239           Add missing break statements.
8240
8241 2005-10-27  Wim Taymans  <wim@fluendo.com>
8242
8243         * check/gst/gstbin.c: (GST_START_TEST):
8244         An extra refcount is taken in basesrc.
8245
8246         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8247         (gst_base_src_get_range), (gst_base_src_pad_get_range),
8248         (gst_base_src_loop):
8249         Small cleanups, check for flushing after being unlocked from the 
8250         LIVE_LOCK. take refcounts correctly (not yet everywhere).
8251         Don't send out EOS when going to READY.
8252
8253 2005-10-27  Wim Taymans  <wim@fluendo.com>
8254
8255         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8256         (gst_base_sink_get_position):
8257         Some more debug.
8258
8259         * gst/gstbin.c: (message_check), (bin_replace_message),
8260         (bin_remove_messages), (is_eos), (gst_bin_add_func),
8261         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8262         (bin_query_duration_init), (bin_query_duration_fold),
8263         (bin_query_duration_done), (bin_query_generic_fold),
8264         (gst_bin_query):
8265         * tools/gst-launch.c: (main):
8266         Remove old option.
8267
8268 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
8269
8270         * examples/controller/audio-example.c: (main):
8271         * examples/queue/queue.c: (event_loop):
8272         * gst/base/gstbasetransform.h:
8273         * gst/gstelement.c: (gst_element_send_event):
8274         * gst/gstevent.h:
8275         * gst/gstpad.c: (gst_pad_send_event):
8276           fixing examples
8277           fixing docs typos
8278           changing log priority in error situations
8279
8280 2005-10-25  Wim Taymans  <wim@fluendo.com>
8281
8282         * gst/gstbin.c: (message_check), (bin_replace_message),
8283         (bin_remove_messages), (is_eos), (gst_bin_add_func),
8284         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8285         (bin_query_duration_init), (bin_query_duration_fold),
8286         (bin_query_duration_done), (bin_query_generic_fold),
8287         (gst_bin_query):
8288         Some doc and debug updates.
8289         Cache previously requested query DURATION for speed. invalidate
8290         cached duration if element posts a DURATION message.
8291
8292 2005-10-25  Wim Taymans  <wim@fluendo.com>
8293
8294         * docs/design/part-TODO.txt:
8295         Update TODO.
8296
8297         * gst/gstbin.c: (message_check), (bin_replace_message),
8298         (bin_remove_messages), (is_eos), (gst_bin_add_func),
8299         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8300         (bin_query_duration_init), (bin_query_duration_fold),
8301         (bin_query_duration_done), (bin_query_generic_fold),
8302         (gst_bin_query):
8303         Handle SEGMENT_START/DONE messages correctly.
8304         More evolved query algorithm that handles duration queries
8305         correctly.
8306
8307         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
8308         (gst_element_get_state_func), (gst_element_abort_state),
8309         (gst_element_commit_state), (gst_element_lost_state):
8310         Some more debugging.
8311
8312         * gst/gstmessage.h:
8313         Added doc.
8314
8315 2005-10-25  Wim Taymans  <wim@fluendo.com>
8316
8317         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8318         Don't use invalid stream_time.
8319
8320         * gst/gstevent.c: (gst_event_new_newsegment):
8321         stream_time in newsegment cannot be undefined.
8322
8323 2005-10-24  Wim Taymans  <wim@fluendo.com>
8324
8325         * gst/gstbus.c:
8326         Doc fix.
8327
8328         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8329         (gst_queue_loop):
8330         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
8331
8332 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
8333
8334         * docs/libs/tmpl/gstdparam.sgml:
8335         * docs/libs/tmpl/gstdplinint.sgml:
8336         * docs/libs/tmpl/gstdpman.sgml:
8337         * docs/libs/tmpl/gstdpsmooth.sgml:
8338         * docs/libs/tmpl/gstunitconvert.sgml:
8339           these are obsolete
8340
8341 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8342
8343         * configure.ac:
8344           back to HEAD
8345
8346 === release 0.9.4 ===
8347
8348 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8349
8350         * configure.ac:
8351           releasing 0.9.4, "Tyrannosaurus Rex"
8352
8353 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
8354
8355         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
8356         (gst_file_sink_get_current_offset):
8357           Use fseeko() and ftello() if available. When falling back on
8358           lseek() to get the current offset, fflush() first to make sure
8359           everything is up-to-date and we get the right offset.
8360
8361 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8362
8363         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8364         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8365         * gst/gsterror.c: (_gst_stream_errors_init):
8366         * gst/gsterror.h:
8367         * gst/gstqueue.c: (gst_queue_loop):
8368         * po/POTFILES.in:
8369           remove prematurely added error category and clean up the instances
8370
8371 2005-10-21  Wim Taymans  <wim@fluendo.com>
8372
8373         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8374         (gst_base_sink_get_position), (gst_base_sink_query),
8375         (gst_base_sink_change_state):
8376         Simply set the right flag when going to playing, that's all
8377         we need to do instead of calling a function inside the object
8378         lock (that could take the lock as well and deadlock)
8379
8380 2005-10-21  Wim Taymans  <wim@fluendo.com>
8381
8382         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
8383         (gst_base_src_loop):
8384         Don't warn, the peer element knows what to do best when
8385         the seek failed, it might try something else.
8386
8387 2005-10-21  Wim Taymans  <wim@fluendo.com>
8388
8389         * gst/base/gstbasesrc.c: (gst_base_src_init),
8390         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8391         Fix seeking.
8392
8393 2005-10-21  Wim Taymans  <wim@fluendo.com>
8394
8395         * docs/design/part-segments.txt:
8396         More docs.
8397
8398         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8399         Correctly set caps, even on the subbufer.
8400
8401 2005-10-21  Wim Taymans  <wim@fluendo.com>
8402
8403         * docs/gst/gstreamer-docs.sgml:
8404         * docs/gst/gstreamer-sections.txt:
8405         * gst/gstelement.h:
8406         * gst/gstevent.c:
8407         * gst/gstevent.h:
8408         * gst/gstmessage.h:
8409         * gst/gstpad.h:
8410         * gst/gstparse.h:
8411         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
8412         * gst/gsttask.h:
8413         * gst/gstutils.c:
8414         * gst/gstutils.h:
8415         And 2% more doc coverage.
8416
8417 2005-10-21  Andy Wingo  <wingo@pobox.com>
8418
8419         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
8420         position reporting.
8421
8422 2005-10-20  Wim Taymans  <wim@fluendo.com>
8423
8424         * gst/gsterror.c: (gst_error_get_message):
8425         * gst/gstparse.h:
8426         * gst/gstquery.h:
8427         * gst/gststructure.c:
8428         * gst/gsttrace.c:
8429         * gst/gstutils.c:
8430         More docs.
8431
8432 2005-10-20  Wim Taymans  <wim@fluendo.com>
8433
8434         * gst/gstbuffer.h:
8435         * gst/gstpad.c:
8436         * gst/gstparse.c:
8437         Another 1% more coverage.
8438
8439 2005-10-20  Wim Taymans  <wim@fluendo.com>
8440
8441         * docs/gst/gstreamer-sections.txt:
8442         * gst/gstelement.c: (gst_element_get_state_func),
8443         (gst_element_abort_state), (gst_element_commit_state),
8444         (gst_element_lost_state):
8445         * gst/gstevent.h:
8446         * gst/gstquery.c: (gst_query_set_position),
8447         (gst_query_parse_position), (gst_query_set_duration),
8448         (gst_query_parse_duration), (gst_query_new_convert):
8449         * gst/gstutils.c:
8450         Yay! 1% more docs coverage.
8451
8452 2005-10-20  Wim Taymans  <wim@fluendo.com>
8453
8454         * gst/gstpad.h:
8455         * gst/gstquery.c: (gst_query_set_position),
8456         (gst_query_parse_position), (gst_query_set_duration),
8457         (gst_query_parse_duration), (gst_query_new_convert):
8458         * gst/gstquery.h:
8459         * gst/gstutils.c: (gst_element_query_convert):
8460         * gst/gstutils.h:
8461         Docs and consistency fixes.
8462
8463 2005-10-20  Wim Taymans  <wim@fluendo.com>
8464
8465         * gst/gsttask.c:
8466         * gst/gsttask.h:
8467         More docs.
8468
8469 2005-10-20  Wim Taymans  <wim@fluendo.com>
8470
8471         * gst/gstbin.c: (message_check), (bin_replace_message),
8472         (bin_remove_messages), (is_eos), (gst_bin_add_func),
8473         (update_degree), (gst_bin_sort_iterator_next),
8474         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
8475         Reworked the message handling a bit, cache the messages instead of
8476         only the senders. alows us to do more in the future.
8477
8478 2005-10-20  Wim Taymans  <wim@fluendo.com>
8479
8480         * docs/design/part-TODO.txt:
8481         Update TODO
8482
8483         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
8484         (gst_base_sink_query):
8485         Don't use clock time to report position when in EOS.
8486
8487 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
8488
8489         * tools/gst-inspect.c: (print_interfaces),
8490         (print_element_properties_info), (print_element_info):
8491           Fix interface output with gst-inspect -a; don't print
8492           newlines after double/float properties.
8493
8494 2005-10-20  Wim Taymans  <wim@fluendo.com>
8495
8496         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
8497         (gst_base_sink_query):
8498         Speed up current position calculation.
8499
8500         * gst/base/gstbasesrc.c: (gst_base_src_query),
8501         (gst_base_src_default_newsegment):
8502         Correctly set stream position in newsegment.
8503
8504         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
8505         (update_degree), (gst_bin_sort_iterator_next),
8506         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
8507         * gst/gstmessage.c: (gst_message_new_custom):
8508         Clean up debugging info
8509
8510         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8511         (gst_queue_loop), (gst_queue_handle_src_query):
8512         Pause task faster.
8513
8514 2005-10-19  Wim Taymans  <wim@fluendo.com>
8515
8516         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8517         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
8518         Fix query handling again.
8519
8520 2005-10-19  Wim Taymans  <wim@fluendo.com>
8521
8522         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8523         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
8524         * gst/base/gstbasesrc.c: (gst_base_src_query):
8525         * gst/elements/gstfilesink.c: (gst_file_sink_query):
8526         * gst/elements/gsttypefindelement.c:
8527         (gst_type_find_handle_src_query), (find_element_get_length),
8528         (gst_type_find_element_activate):
8529         API change fix.
8530
8531         * gst/gstquery.c: (gst_query_new_position),
8532         (gst_query_set_position), (gst_query_parse_position),
8533         (gst_query_new_duration), (gst_query_set_duration),
8534         (gst_query_parse_duration), (gst_query_set_segment),
8535         (gst_query_parse_segment):
8536         * gst/gstquery.h:
8537         Bundling query position/duration is not a good idea since duration
8538         does not change much and we don't want to recalculate it for every
8539         position query, so they are separated again..
8540         Base value in segment query is not needed.
8541
8542         * gst/gstqueue.c: (gst_queue_handle_src_query):
8543         * gst/gstutils.c: (gst_element_query_position),
8544         (gst_element_query_duration), (gst_pad_query_position),
8545         (gst_pad_query_duration):
8546         * gst/gstutils.h:
8547         Updates for query API change.
8548         Added some docs here and there.
8549
8550 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
8551
8552         * check/gst/gstbin.c: (GST_START_TEST):
8553         * check/gst/gstghostpad.c: (GST_START_TEST):
8554         * check/pipelines/cleanup.c: (GST_START_TEST):
8555           wait on thread to die so we can check refcount correctly
8556
8557 2005-10-18  Wim Taymans  <wim@fluendo.com>
8558
8559         * check/pipelines/stress.c: (GST_START_TEST):
8560         Make check a little more time consuming.
8561
8562 2005-10-18  Wim Taymans  <wim@fluendo.com>
8563
8564         * check/Makefile.am:
8565         * check/pipelines/stress.c: (GST_START_TEST),
8566         (simple_launch_lines_suite), (main):
8567         Small state change torture test.
8568
8569         * docs/design/part-states.txt:
8570         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8571         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
8572         (gst_base_sink_change_state):
8573         Never take state lock from streaming thread, clean up ugly
8574         hacks. Unfortunatly core does not yet support nice ways to
8575         async commit state.
8576         
8577         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
8578         (bin_bus_handler):
8579         Start state recalc if a STATE_DIRTY message is posted, but only
8580         on the toplevel bin.
8581
8582         * gst/gstelement.c: (gst_element_sync_state_with_parent),
8583         (gst_element_get_state_func), (gst_element_abort_state),
8584         (gst_element_commit_state), (gst_element_lost_state),
8585         (gst_element_set_state_func), (gst_element_change_state):
8586         * gst/gstelement.h:
8587         State variables are now protected with the LOCK, the state
8588         lock is only used to serialize _set_state().
8589
8590 2005-10-18  Wim Taymans  <wim@fluendo.com>
8591
8592         * check/gst/gstbin.c: (GST_START_TEST):
8593         * check/gst/gstmessage.c: (GST_START_TEST):
8594         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8595         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
8596         (bin_bus_handler):
8597         * gst/gstelement.c: (gst_element_abort_state),
8598         (gst_element_commit_state), (gst_element_lost_state):
8599         * gst/gstmessage.c: (gst_message_new_state_changed),
8600         (gst_message_new_state_dirty), (gst_message_new_segment_start),
8601         (gst_message_new_segment_done), (gst_message_new_duration),
8602         (gst_message_parse_state_changed),
8603         (gst_message_parse_segment_start),
8604         (gst_message_parse_segment_done), (gst_message_parse_duration):
8605         * gst/gstmessage.h:
8606         * tools/gst-launch.c: (event_loop):
8607         Seriously, this is better than a previous commit as we only need
8608         to notify the fact that an element changed state in a streaming
8609         thread, marking the state of the parents dirty, hence the 
8610         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
8611         message.
8612
8613 2005-10-18  Wim Taymans  <wim@fluendo.com>
8614
8615         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8616         (gst_bin_recalc_func):
8617         * gst/gstelement.c: (gst_element_set_clock),
8618         (gst_element_abort_state), (gst_element_lost_state):
8619         Cleanups, prepare for state change fixes.
8620
8621 2005-10-18  Wim Taymans  <wim@fluendo.com>
8622
8623         * gst/gstbin.h:
8624         * gst/gstelement.c: (gst_element_class_init),
8625         (gst_element_set_state), (gst_element_set_state_func):
8626         * gst/gstelement.h:
8627         Pending ABI changes.
8628         GThreadPool in GstBinClass to monitor async state changes.
8629         state_cookie in GstElement to detect concurrent gst/set state.
8630         set_state is now virtual too in case a very complicated element
8631         has to be constructed.
8632
8633 2005-10-18  Wim Taymans  <wim@fluendo.com>
8634
8635         * check/gst/gstbin.c: (GST_START_TEST):
8636         * check/gst/gstmessage.c: (GST_START_TEST):
8637         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8638         * gst/gstbin.c: (bin_bus_handler):
8639         * gst/gstelement.c: (gst_element_commit_state),
8640         (gst_element_lost_state):
8641         * gst/gstmessage.c: (gst_message_new_state_changed),
8642         (gst_message_new_segment_start), (gst_message_new_segment_done),
8643         (gst_message_new_duration), (gst_message_parse_state_changed),
8644         (gst_message_parse_segment_start),
8645         (gst_message_parse_segment_done), (gst_message_parse_duration):
8646         * gst/gstmessage.h:
8647         * tools/gst-launch.c: (event_loop):
8648         Make messages future proof.
8649         state-change gets a flag if it was a message comming from the
8650         streaming thread.
8651         segment-start/stop can also be specified in other formats.
8652         A message to notify an app that a pipeline changed playback 
8653         duration.
8654         Also fix a GstMessage leak in -launch
8655
8656 2005-10-18  Andy Wingo  <wingo@pobox.com>
8657
8658         * gst/gstelement.c (gst_element_dispose): More helpful message.
8659
8660 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8661
8662         reviewed by: <delete if not using a buddy>
8663
8664         * common/gtk-doc.mak:
8665
8666 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8667
8668         * gst/gstregistry.c: (gst_registry_scan_path_level):
8669           unref a plug-in we get that was already initialized
8670
8671 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
8672
8673         * docs/gst/gstreamer-sections.txt:
8674         * docs/libs/gstreamer-libs-sections.txt:
8675         * gst/gstelement.h:
8676           add new api entries
8677           hide internal macro
8678
8679 2005-10-17  Andy Wingo  <wingo@pobox.com>
8680
8681         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
8682         cleanup.
8683
8684         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
8685
8686         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
8687
8688         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
8689         (gst_element_get_state_func): Better debug message.
8690         (gst_element_commit_state): s/INFO/DEBUG/.
8691         (gst_element_lost_state, gst_element_change_state): 
8692
8693         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
8694         (gst_message_new_custom): s/INFO/LOG/.
8695
8696 2005-10-17  Michael Smith <msmith@fluendo.com>
8697
8698         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8699           Check if end time is valid using end time, not start time.
8700
8701 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
8702
8703         * check/gst-libs/controller.c: (GST_START_TEST),
8704         (gst_controller_suite):
8705         * libs/gst/controller/gstcontroller.c:
8706         (gst_controlled_property_set_interpolation_mode):
8707         * libs/gst/controller/gstcontroller.h:
8708         * libs/gst/controller/gstinterpolation.c:
8709         * testsuite/controller/.cvsignore:
8710         * testsuite/controller/Makefile.am:
8711         * testsuite/controller/interpolator.c:
8712           merge controller testsuites
8713           fix broken tests
8714           remove mem-chunk from docs
8715
8716 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8717
8718         * gst/gstmemchunk.c:
8719         * gst/gstmemchunk.h:
8720         * gst/gsttrashstack.c:
8721         * gst/gsttrashstack.h:
8722           out.  get out.  you're fired.  to the Attic !
8723
8724 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8725
8726         * gst/gstcaps.c: (gst_caps_intersect):
8727           fix signedness issues in a (hopefully) correct way
8728         * gst/gstelement.c: (gst_element_pads_activate):
8729           some debugging
8730         * gst/gstobject.c: (gst_object_set_parent):
8731           some debugging
8732
8733 2005-10-17  Julien MOUTTE  <julien@moutte.net>
8734
8735         * gst/gstvalue.h: Fix prototypes.
8736
8737 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8738
8739         * docs/gst/gstreamer-sections.txt:
8740         * gst/gst.c: (gst_version_string):
8741         * gst/gst.h:
8742         * gst/gstversion.h.in:
8743         * win32/common/libgstreamer.def:
8744           add gst_version_string ()
8745
8746 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8747
8748         * configure.ac:
8749           clean up further
8750         * gst/gst.c: (init_post):
8751         * win32/common/config.h.in:
8752           it's PLUGINDIR now
8753         * gst/gstcaps.c: (gst_caps_intersect):
8754           use gint64, the range could be bigger than a guint
8755
8756 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8757
8758         * gst/gstclock.h:
8759           document potential problem in 2038
8760
8761 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8762
8763         * gst/gstcaps.c: (gst_caps_intersect):
8764           Fix guint j diving under 0
8765
8766 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8767
8768         * configure.ac:
8769         * win32/common/config.h:
8770         * win32/common/config.h.in:
8771           check for process.h, declares getpid() on Windows
8772         * gst/gstinfo.c:
8773           include process.h if we have it
8774         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
8775         * gst/gstmemchunk.h:
8776           fix signedness issues
8777         * win32/common/libgstreamer.def:
8778           fix get_type's
8779
8780 2005-10-16  Julien MOUTTE  <julien@moutte.net>
8781
8782         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
8783         fix. Because of unsigned ints, caps intersection was going nuts and
8784         trying to access structures with G_MAXUINT index. That fixes
8785         videotestsrc ! ffmpegcolorspace ! fakesink
8786         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
8787         consistency.
8788
8789 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8790
8791         * configure.ac:
8792           use the gettext macro
8793         * gst/elements/gstelements.c:
8794         * gst/gst.c:
8795         * gst/indexers/gstindexers.c:
8796           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
8797         * win32/common/config.h:
8798           updated config.h
8799         * win32/common/config.h.in:
8800           add the template to generate config.h
8801         * win32/common/gstenumtypes.c:
8802         * win32/common/gstversion.h:
8803           updated copies
8804
8805 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8806
8807         * gst/gst.c: (gst_version):
8808         * gst/gstversion.h.in:
8809           add the nano
8810
8811 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
8812
8813         * gst/gstevent.h:
8814           Oops, add missing closing bracket.
8815
8816 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8817
8818         * configure.ac:
8819           use common m4's for argument checking
8820
8821 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
8822
8823         * docs/gst/gstreamer-sections.txt:
8824         * gst/gstevent.h:
8825           Add GST_EVENT_TYPE_NAME() macro.
8826
8827 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8828
8829         * gst/gstinfo.c:
8830         * gst/gstpluginfeature.c:
8831         * gst/gsttask.c:
8832           privatize more symbols
8833
8834 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8835
8836         * configure.ac:
8837           add srcdir, builddir includes to GST_ALL_CFLAGS, since
8838           everything that uses GStreamer API should have the includes
8839
8840 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8841
8842         * docs/gst/gstreamer-sections.txt:
8843         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8844         * gst/gstvalue.h:
8845           give each value a _get_type, removes the DATA exports
8846
8847 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8848
8849         * gst/gst.c:
8850         * gst/gst.h:
8851           remove _gst_registry_auto_load, not used anymore
8852         * gst/gstbin.c: (gst_bin_get_type):
8853         * gst/gstbin.h:
8854         * gst/gstelement.c: (gst_element_get_type):
8855         * gst/gstelement.h:
8856         * gst/gstobject.c: (gst_object_get_type):
8857         * gst/gstobject.h:
8858         * gst/gstpad.c: (gst_pad_get_type):
8859         * gst/gstpad.h:
8860           make _get_type functions similar, fixes data export from library
8861
8862 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8863
8864         * configure.ac:
8865           correctly make conditionals
8866         * gst/elements/Makefile.am:
8867         * gst/elements/gstelements.c:
8868           fix typo causing fdsrc not to build
8869
8870 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8871
8872         * testsuite/Makefile.am:
8873         * testsuite/bytestream/.cvsignore:
8874         * testsuite/bytestream/Makefile.am:
8875         * testsuite/bytestream/filepadsink.c:
8876         * testsuite/bytestream/gstbstest.c:
8877         * testsuite/bytestream/test1.c:
8878         * testsuite/bytestream/testfile1:
8879         * testsuite/caps/normalisation.c:
8880         * testsuite/caps/random.c: (main):
8881         * testsuite/cleanup/.cvsignore:
8882         * testsuite/cleanup/Makefile.am:
8883         * testsuite/cleanup/cleanup1.c:
8884         * testsuite/cleanup/cleanup2.c:
8885         * testsuite/cleanup/cleanup3.c:
8886         * testsuite/cleanup/cleanup4.c:
8887         * testsuite/cleanup/cleanup5.c:
8888         * testsuite/controller/interpolator.c:
8889         * testsuite/debug/printf_extension.c: (main):
8890         * testsuite/elements/tee.c:
8891         * testsuite/negotiation/.cvsignore:
8892         * testsuite/negotiation/Makefile.am:
8893         * testsuite/negotiation/pad_link.c:
8894         * testsuite/pad/Makefile.am:
8895         * testsuite/pad/chainnopull.c:
8896         * testsuite/pad/getnopush.c:
8897         * testsuite/pad/link.c:
8898         * testsuite/refcounting/sched.c: (create_pipeline):
8899         * testsuite/registry/Makefile.am:
8900         * testsuite/registry/gst-print-formats.c:
8901         * testsuite/schedulers/.cvsignore:
8902         * testsuite/schedulers/142183-2.c:
8903         * testsuite/schedulers/142183.c:
8904         * testsuite/schedulers/143777-2.c:
8905         * testsuite/schedulers/143777.c:
8906         * testsuite/schedulers/147713.c:
8907         * testsuite/schedulers/147819.c:
8908         * testsuite/schedulers/147894-2.c:
8909         * testsuite/schedulers/147894.c:
8910         * testsuite/schedulers/Makefile.am:
8911         * testsuite/schedulers/group_link.c:
8912         * testsuite/schedulers/queue_link.c:
8913         * testsuite/schedulers/relink.c:
8914         * testsuite/schedulers/unlink.c:
8915         * testsuite/schedulers/unref.c:
8916         * testsuite/schedulers/useless_iteration.c:
8917         * testsuite/states/bin.c:
8918           clean out/remove some stuff from the testsuite directories
8919
8920 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8921
8922         * configure.ac:
8923           check for some headers
8924         * gst/elements/Makefile.am:
8925         * gst/elements/gstelements.c:
8926           don't compile fdsrc without sys/socket.h
8927         * gst/indexers/Makefile.am:
8928         * gst/indexers/gstindexers.c: (plugin_init):
8929           don't compile fileindex without mmap
8930
8931 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8932
8933         * configure.ac:
8934           reorganize
8935           clean up
8936           document more
8937           remove cruft
8938         * check/Makefile.am:
8939         * docs/gst/Makefile.am:
8940         * examples/helloworld/Makefile.am:
8941         * gst/Makefile.am:
8942         * gst/base/Makefile.am:
8943         * gst/check/Makefile.am:
8944         * gst/elements/Makefile.am:
8945         * gst/indexers/Makefile.am:
8946         * gst/parse/Makefile.am:
8947         * libs/gst/controller/Makefile.am:
8948         * libs/gst/dataprotocol/Makefile.am:
8949         * examples/helloworld/helloworld.c: (event_loop):
8950           compile fixes, though it's not being compiled currently
8951
8952 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
8953
8954         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
8955           Add some simple tests for the new taglist date API.
8956
8957 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
8958
8959         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
8960         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
8961           Beautify 'last-message' output: print 'none' for buffer timestamps
8962           and durations if none is set; improve alignment with next messages.
8963
8964 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
8965
8966         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
8967         * gst/gstpluginfeature.h:
8968         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
8969         * gst/gstregistry.h:
8970         * docs/gst/gstreamer-sections.txt:
8971           Add new API to check plugin feature version requirements.
8972
8973         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
8974           Some basic tests for the above.         
8975
8976 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8977
8978         * gst/gststructure.c: (gst_structure_to_string):
8979           guard against NULL printf - happens when for example
8980           a message structure with GstClock gets serialized
8981
8982 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
8983
8984         * gst/base/gstcollectpads.c: (gst_collectpads_event):
8985           Fix presumable copy'n'pasto.
8986
8987 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8988
8989         * gst/elements/gstfakesrc.h:
8990         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
8991         * gst/elements/gsttypefindelement.c:
8992           fix some signedness
8993         * gst/elements/gstfilesink.c: (gst_file_sink_render):
8994           I wonder if this could actually write +2GB files before
8995
8996 2005-10-13  Andy Wingo  <wingo@pobox.com>
8997
8998         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
8999         Fix Timmeke Waymans bug.
9000         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
9001         string of the proper length to gst_caps_from_string. There's a
9002         potential for, before this fix, that this could cause someone
9003         connecting over the network to cause a segfault if the payload is
9004         not NUL-terminated.
9005
9006 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
9007
9008         * docs/design/draft-push-pull.txt:
9009         * docs/design/part-overview.txt:
9010         * docs/random/TODO-pre-0.9:
9011         * docs/random/old/ChangeLog.gstreamer:
9012         * gst/base/gstpushsrc.c:
9013         * gst/gstclock.c:
9014           fixed typos
9015
9016 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9017
9018         * gst/glib-compat.c: (gst_flags_get_first_value):
9019         * gst/glib-compat.h:
9020         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
9021         (gst_value_compare_double), (gst_value_serialize_flags):
9022           GLib 2.6 g_flags_get_first_value has a bug that triggers an
9023           infinite loop
9024
9025 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9026
9027         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9028         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9029           fix up debugging
9030         * tools/gst-launch.c: (event_loop):
9031           print out clock nicely
9032
9033 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9034
9035         * docs/gst/gstreamer-sections.txt:
9036         * gst/gsttaglist.h:
9037         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
9038         (gst_tag_list_get_date_index):
9039           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
9040           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
9041
9042 2005-10-13  Julien MOUTTE  <julien@moutte.net>
9043
9044         * gst/base/gstcollectpads.c: (gst_collectpads_event),
9045         (gst_collectpads_chain):
9046         * gst/base/gstcollectpads.h: Handle newsegment and store informations
9047         in CollectData.
9048
9049 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
9050
9051         * docs/gst/gstreamer-sections.txt:
9052         * gst/gst.c:
9053         * gst/gsterror.h:
9054         * tools/gst-inspect.c: (main):
9055         * tools/gst-launch.c: (main):
9056         * tools/gst-run.c: (main):
9057         * tools/gst-xmlinspect.c: (main):
9058           fix GOption context leaks
9059           doc fixes
9060
9061 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9062
9063         * gst/gstbus.c:
9064           use HAVE_UNISTD_H
9065         * win32/common/config.h:
9066           update config
9067         * win32/vs6/grammar.dsp:
9068         * win32/vs6/libgstelements.dsp:
9069         * win32/vs6/libgstreamer.dsp:
9070           update vs6 files
9071
9072 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9073
9074         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9075         * gst/base/gstbasesrc.c: (gst_base_src_query):
9076           fix more guint64<->gdouble conversions
9077
9078 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9079
9080         * Makefile.am:
9081           add win32-update target
9082         * win32/common/gstconfig.h:
9083         * win32/common/gstenumtypes.c:
9084         * win32/common/gstenumtypes.h:
9085         * win32/common/gstversion.h:
9086           add files that visual studio can't generate
9087
9088 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9089
9090         * Makefile.am:
9091           add a win32-update target
9092         * configure.ac:
9093
9094 2005-10-12  Wim Taymans  <wim@fluendo.com>
9095
9096         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9097         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
9098         * gst/gstelement.c: (gst_element_commit_state),
9099         (gst_element_set_state):
9100         Protect flags with proper lock.
9101         unref provided cached clock in dispose.
9102
9103 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
9104
9105         * gst/gst.c:
9106         * gst/gstminiobject.h:
9107         * gst/gstpad.h:
9108         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
9109           removed unused flags from miniobject
9110           doc fixes
9111
9112 2005-10-12  Wim Taymans  <wim@fluendo.com>
9113
9114         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9115         (gst_file_sink_event), (gst_file_sink_render):
9116         Flush before seeking.
9117
9118 2005-10-12  Andy Wingo  <wingo@pobox.com>
9119
9120         * gst/gst.c (gst_init_check): Ignore unknown options, as has
9121         always been the case.
9122
9123 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
9124
9125         * check/gst/gstbin.c: (GST_START_TEST):
9126         * docs/gst/gstreamer-sections.txt:
9127         * gst/base/gstbasesink.c: (gst_base_sink_init):
9128         * gst/base/gstbasesrc.c: (gst_base_src_init),
9129         (gst_base_src_get_range), (gst_base_src_check_get_range),
9130         (gst_base_src_start), (gst_base_src_stop):
9131         * gst/base/gstbasesrc.h:
9132         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
9133         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9134         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
9135         (bin_bus_handler):
9136         * gst/gstbin.h:
9137         * gst/gstbuffer.h:
9138         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
9139         * gst/gstbus.h:
9140         * gst/gstelement.c: (gst_element_is_locked_state),
9141         (gst_element_set_locked_state), (gst_element_commit_state),
9142         (gst_element_set_state):
9143         * gst/gstelement.h:
9144         * gst/gstindex.c: (gst_index_init):
9145         * gst/gstindex.h:
9146         * gst/gstminiobject.h:
9147         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
9148         (gst_object_set_parent):
9149         * gst/gstobject.h:
9150         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
9151         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
9152         * gst/gstpad.h:
9153         * gst/gstpadtemplate.h:
9154         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
9155         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9156         * gst/gstpipeline.h:
9157         * gst/indexers/gstfileindex.c: (gst_file_index_load),
9158         (gst_file_index_commit):
9159         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
9160         * testsuite/pad/link.c: (gst_test_src_init),
9161         (gst_test_filter_init), (gst_test_sink_init):
9162         * testsuite/states/locked.c: (main):
9163           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
9164           moved bitshift from macro to enum definition
9165
9166 2005-10-12  Wim Taymans  <wim@fluendo.com>
9167
9168         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
9169         * gst/elements/gstfilesink.c: (gst_file_sink_event),
9170         (gst_file_sink_render):
9171         Some more debugging info.
9172
9173 2005-10-12  Wim Taymans  <wim@fluendo.com>
9174
9175         * docs/design/part-states.txt:
9176         * tools/gst-launch.c: (main):
9177         Some doc updates.
9178         Revert non-intentional change.
9179
9180 2005-10-12  Wim Taymans  <wim@fluendo.com>
9181
9182         * check/gst/gstbin.c: (GST_START_TEST):
9183         * check/gst/gstelement.c: (GST_START_TEST):
9184         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
9185         * check/gst/gstghostpad.c: (GST_START_TEST):
9186         * check/gst/gstpipeline.c: (GST_START_TEST):
9187         * check/pipelines/simple_launch_lines.c: (run_pipeline):
9188         * check/states/sinks.c: (GST_START_TEST):
9189         * gst/elements/gsttypefindelement.c: (stop_typefinding):
9190         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9191         (gst_bin_remove_func), (gst_bin_get_state_func),
9192         (gst_bin_recalc_state), (gst_bin_change_state_func),
9193         (bin_bus_handler):
9194         * gst/gstelement.c: (gst_element_get_state_func),
9195         (gst_element_get_state), (gst_element_abort_state),
9196         (gst_element_commit_state), (gst_element_set_state),
9197         (gst_element_change_state), (gst_element_change_state_func):
9198         * gst/gstelement.h:
9199         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
9200         (gst_pipeline_provide_clock_func):
9201         * gst/gstutils.c: (gst_element_link_pads_filtered):
9202         * tools/gst-launch.c: (main):
9203         * tools/gst-typefind.c: (main):
9204         Use GstClockTime in _get_state() instead of GTimeVal.
9205         Remove old code in gstutils.c
9206
9207 2005-10-12  Andy Wingo  <wingo@pobox.com>
9208
9209         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
9210         removed.
9211
9212         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
9213         there is no task. Shouldn't affect any code, as nothing in our
9214         plugins checks this return value.
9215         (gst_pad_stop_task): Also take the stream lock if the pad has no
9216         task. Docs updated.
9217
9218 2005-10-12  Wim Taymans  <wim@fluendo.com>
9219
9220         * gst/gstpad.c: (pre_activate), (post_activate),
9221         (gst_pad_activate_pull), (gst_pad_activate_push):
9222         Cleanup activation code. Reset old state if
9223         activation failed.
9224
9225 2005-10-12  Wim Taymans  <wim@fluendo.com>
9226
9227         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9228         (gst_base_sink_change_state):
9229         No need to prerol after receiving EOS.
9230
9231         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9232         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
9233         * gst/elements/gstidentity.c: (gst_identity_event):
9234         Print events more verbosely.
9235
9236 2005-10-12  Wim Taymans  <wim@fluendo.com>
9237
9238         * check/Makefile.am:
9239         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9240         * check/states/sinks2.c:
9241         Moved sinks2 testcode in sinks check.
9242
9243         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9244         (gst_bin_remove_func), (gst_bin_recalc_state),
9245         (gst_bin_change_state_func), (bin_bus_handler):
9246         Fix potential race condition when _get_state() iterated over an
9247         ASYNC element right before it posted a state completion.
9248
9249         * gst/gstclock.h:
9250         Do proper cast here.
9251
9252         * gst/gstevent.c: (gst_event_new_newsegment),
9253         (gst_event_parse_newsegment):
9254         A playback rate of 0.0 is not allowed.
9255
9256 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9257
9258         * win32/common/config.h:
9259         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
9260         (_trewinddir), (_ttelldir), (_tseekdir):
9261         * win32/common/dirent.h:
9262         * win32/common/gtchar.h:
9263         * win32/common/libgstbase.def:
9264         * win32/common/libgstreamer.def:
9265         * win32/vs6/grammar.dsp:
9266         * win32/vs6/gst_inspect.dsp:
9267         * win32/vs6/gst_launch.dsp:
9268         * win32/vs6/gstreamer.dsw:
9269         * win32/vs6/libgstbase.dsp:
9270         * win32/vs6/libgstelements.dsp:
9271         * win32/vs6/libgstreamer.dsp:
9272           Visual Studio 6 project files, and a new common directory.
9273           Phear.
9274
9275 2005-10-11  Wim Taymans  <wim@fluendo.com>
9276
9277         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9278         (gst_base_sink_do_sync), (gst_base_sink_query),
9279         (gst_base_sink_change_state):
9280         * gst/base/gstbasesink.h:
9281         Correctly parse newsegment info.
9282
9283 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9284
9285         * gst/gst.c: (init_post):
9286           split plugin paths correctly
9287
9288 2005-10-11  Wim Taymans  <wim@fluendo.com>
9289
9290         * check/gst/gstevent.c: (GST_START_TEST):
9291         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9292         (gst_base_sink_change_state):
9293         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
9294         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9295         * gst/elements/gstfilesink.c: (gst_file_sink_event):
9296         * gst/gstevent.c: (gst_event_new_newsegment),
9297         (gst_event_parse_newsegment):
9298         * gst/gstevent.h:
9299         Added extra flag to newsegment for future API freeze.
9300         Updated check and base elements.
9301
9302 2005-10-11  Julien MOUTTE  <julien@moutte.net>
9303
9304         * gst/base/gstcollectpads.c: (gst_collectpads_init),
9305         (gst_collectpads_add_pad), (gst_collectpads_pop),
9306         (gst_collectpads_event), (gst_collectpads_chain):
9307         * gst/base/gstcollectpads.h: Handle EOS correctly.
9308
9309 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9310
9311         * tools/gst-launch.c: (main):
9312           more null protecting
9313
9314 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9315
9316         * gst/gst-i18n-lib.h:
9317           check for ENABLE_NLS, not GETTEXT_PACKAGE
9318         * gst/gstregistry.c: (gst_registry_add_plugin),
9319         (gst_registry_scan_path_level),
9320         (_gst_registry_remove_cache_plugins):
9321           protect possibly NULL strings
9322         * gst/parse/types.h:
9323           config.h already included before
9324         * tools/gst-inspect.c: (main):
9325           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
9326           check for ENABLE_NLS, not GETTEXT_PACKAGE
9327         * tools/gst-launch.c: (main):
9328           check for ENABLE_NLS, not GETTEXT_PACKAGE
9329
9330 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9331
9332         * configure.ac:
9333           if we don't have glib, fail before testing 2.8
9334         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
9335           fix a leak, should fix plugins-base testsuite
9336
9337 2005-10-11  Andy Wingo  <wingo@pobox.com>
9338
9339         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
9340         take the mode we're going to as an arg. Go head and set the mode
9341         and flushing flags now, so that if the activate function starts a
9342         thread all the flags will be in the right state.
9343         (post_activate): Renamed also. Just handle making sure streaming
9344         finishes for the deactivation case, and setting the deactivated
9345         mode.
9346         (gst_pad_set_active): Complain loudly if deactivation fails.
9347         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
9348         (gst_pad_activate_push): Adapt to pre/post_activate changes,
9349         remove the terrible hack.
9350
9351 2005-10-11  Wim Taymans  <wim@fluendo.com>
9352
9353         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9354         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
9355         (gst_bin_recalc_state), (gst_bin_change_state_func),
9356         (gst_bin_dispose), (bin_bus_handler):
9357         * gst/gstbin.h:
9358         Prepare to make current EOS message queue more generic.
9359         Fix some typos.
9360
9361         * gst/gstevent.c: (gst_event_new_newsegment),
9362         (gst_event_parse_newsegment):
9363         * gst/gstevent.h:
9364         Rename base to stream_time.
9365
9366         * gst/gstmessage.h:
9367         Fix typo in docs.
9368
9369 2005-10-11  Wim Taymans  <wim@fluendo.com>
9370
9371         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9372         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
9373         (gst_bin_change_state_func), (bin_bus_handler):
9374         * gst/gstbin.h:
9375         Work on proper clock selection.
9376
9377 2005-10-11  Edward Hervey  <edward@fluendo.com>
9378
9379         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
9380         * libs/gst/controller/gstcontroller.h:
9381         Added GList* version of _remove_properties() in order to be able to wrap
9382         it in bindings.
9383
9384 2005-10-11  Wim Taymans  <wim@fluendo.com>
9385
9386         * docs/design/part-states.txt:
9387         Some more docs.
9388
9389         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
9390         (gst_bin_change_state_func), (bin_bus_handler):
9391         Doc updates. Don't distribute the same clock over and over again.
9392
9393         * gst/gstclock.c:
9394         * gst/gstclock.h:
9395         Doc updates.
9396
9397         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
9398         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
9399         (gst_pad_send_event):
9400         * gst/gstpad.h:
9401         Make probe emission threadsafe again.
9402         Register quarks and move _get_name() from utils.
9403         Doc updates.
9404
9405         * gst/gstpipeline.c: (gst_pipeline_class_init),
9406         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9407         Only redistribute the clock of it changed.
9408
9409         * gst/gstsystemclock.h:
9410         Doc updates. 
9411
9412         * gst/gstutils.c:
9413         * gst/gstutils.h:
9414         Moved the _flow_get_name() to GstPad.
9415
9416 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9417
9418         * check/gst-libs/gdp.c: (GST_START_TEST):
9419         * check/gst/gstcaps.c: (GST_START_TEST):
9420         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
9421         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
9422         (gst_dp_packet_from_caps):
9423           fix more valgrind warnings before turning up the heat
9424
9425 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9426
9427         * gst/parse/grammar.y:
9428           some cleanup before the hacking
9429
9430 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9431
9432         * gst/base/gstbasesrc.c: (gst_base_src_query):
9433           use conversions
9434         * gst/gstutils.c: (gst_guint64_to_gdouble),
9435         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
9436         * gst/gstutils.h:
9437           externalize, basesrc uses it
9438           obviously the implementation needs testing
9439
9440 2005-10-10  Wim Taymans  <wim@fluendo.com>
9441
9442         * tests/sched/Makefile.am:
9443         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
9444         (make_pipeline3), (make_pipeline4), (print_elem), (main):
9445
9446 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9447
9448         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
9449           apparently converting from guint64 to double is not implemented
9450           on MSVC
9451
9452 2005-10-10  Wim Taymans  <wim@fluendo.com>
9453
9454         * check/Makefile.am:
9455         * check/generic/states.c: (GST_START_TEST):
9456         * check/gst/gstbin.c: (GST_START_TEST):
9457         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
9458         * check/states/sinks.c: (GST_START_TEST):
9459         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
9460         (main):
9461         Check fixes, use API as stated in design docs, remove hacks.
9462
9463         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9464         (gst_base_sink_change_state):
9465         Catch stopping our task while we're shutting down.
9466
9467         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
9468         (gst_bin_remove_func), (gst_bin_get_state_func),
9469         (gst_bin_recalc_state), (gst_bin_change_state_func),
9470         (bin_bus_handler):
9471         * gst/gstbin.h:
9472         * gst/gstelement.c: (gst_element_init),
9473         (gst_element_get_state_func), (gst_element_abort_state),
9474         (gst_element_commit_state), (gst_element_lost_state),
9475         (gst_element_set_state), (gst_element_change_state),
9476         (gst_element_change_state_func):
9477         * gst/gstelement.h:
9478         New state change algorithm (see #318116)
9479
9480         * gst/gstpipeline.c: (gst_pipeline_class_init),
9481         (gst_pipeline_init), (gst_pipeline_set_property),
9482         (gst_pipeline_get_property), (do_pipeline_seek),
9483         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9484         * gst/gstpipeline.h:
9485         Remove crude state change hacks.
9486
9487         * gst/gstutils.h:
9488         Remove crude hacks.
9489
9490         * tools/gst-launch.c: (main):
9491         Fixes for state change. Needs some more work to fully use the
9492         new stuff.
9493
9494 2005-10-10  Andy Wingo  <wingo@pobox.com>
9495
9496         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
9497
9498         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
9499         this flag, but it's not even in GLib 2.6. Odd. Hack around the
9500         issue.
9501
9502 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
9503
9504         * gst/gstiterator.c: (gst_iterator_new):
9505           Fix my previous commit: GTypes passed to gst_iterator_new()
9506           can be fundamental types.
9507
9508 2005-10-10  Wim Taymans  <wim@fluendo.com>
9509
9510         * gst/gstelement.c: (gst_element_iterate_pad_list),
9511         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
9512         (gst_element_iterate_sink_pads):
9513         Use src/sink pads lists for the respective iterators instead
9514         of filtering.
9515
9516 2005-10-10  Andy Wingo  <wingo@pobox.com>
9517
9518         Merged in popt removal + GOption addition patch from Ronald, bug
9519         #169772.
9520
9521         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
9522         GstElement macros around, remove popt-related symbols, add goption
9523         stuff.
9524
9525         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
9526         
9527         * docs/gst/Makefile.am:
9528         * docs/libs/Makefile.am: No POPT_CFLAGS.
9529         
9530         * examples/manual/Makefile.am:
9531         * docs/manual/basics-init.xml: Doc updates with an example.
9532         
9533         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9534         (gst_init), (parse_one_option), (parse_goption_arg):
9535         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
9536         bit of hand merging and debugging to get the GOption stuff working
9537         tho.
9538         
9539         * tests/Makefile.am:
9540         * tools/Makefile.am:
9541         * tools/gst-inspect.c: (main):
9542         * tools/gst-launch.c: (main):
9543         * tools/gst-run.c: (main):
9544         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
9545
9546 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
9547
9548         * gst/gstiterator.c: (gst_iterator_new):
9549           Add assertions to make sure passed GType is likely to really
9550           be a GType (as the compiler won't catch it if the size and
9551           GType arguments get mixed up, see #318447).
9552
9553 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
9554
9555         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9556
9557         * gst/gstbin.c: (gst_bin_iterate_sorted):
9558           Pass GType and size arguments to gst_iterator_new() in the right
9559           order (maybe we should make _new() take the GType as first argument
9560           just like _new_list()?) (#318447).
9561           
9562
9563 2005-10-10  Wim Taymans  <wim@fluendo.com>
9564
9565         * gst/gstelement.c: (gst_element_finalize):
9566         And free the GStaticRecMutex too
9567
9568 2005-10-10  Andy Wingo  <wingo@pobox.com>
9569
9570         * gst/gstelement.c (gst_element_init, gst_element_finalize):
9571         Allocate and free the mutex properly.
9572
9573         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
9574         New macros.
9575         (GstElement): The state_lock is now recursive. Rebuild your
9576         plugins, suckers. Old macros adapted.
9577
9578         * docs/gst/gstreamer-sections.txt: Doc updates.
9579
9580         * gst/gstutils.h:
9581         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
9582         (g_static_rec_cond_wait): Ported from state changes patch, while
9583         we wait on bug #317802 to be solved in a well-distributed GLib.
9584
9585         * gst/gstelement.c (gst_element_change_state_func): Renamed from
9586         gst_element_change_state, variable name changes.
9587         (gst_element_change_state): Split out of gst_element_set_state in
9588         preparation for the state change merge. Doesn't pay attention to
9589         the 'transition' argument.
9590         (gst_element_set_state): Updates, hopefully purely cosmetic.
9591         (gst_element_sync_state_with_parent): MT-safety. Ported from the
9592         state change patch.
9593         (gst_element_get_state_func): Renamed from get_state, cosmetic
9594         changes.
9595
9596 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9597
9598         * gst/elements/gstelements.c:
9599         * win32/GStreamer.vcproj:
9600         * win32/config.h:
9601         * win32/dirent.c: (_tseekdir):
9602         * win32/gst-inspect.vcproj:
9603         * win32/gst-launch.vcproj:
9604         * win32/gstconfig.h:
9605         * win32/gstelements.vcproj:
9606         * win32/gstenumtypes.c: (gst_object_flags_get_type):
9607         * win32/gstreamer.def:
9608         * win32/msvc71.sln:
9609           updates for the win32 build (patch from Sebastien Moutte)
9610
9611 2005-10-10  Andy Wingo  <wingo@pobox.com>
9612
9613         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
9614         gst_bin_get_state, cleaned up (but no logic changes).
9615         (bin_element_is_sink): Comment updates.
9616         (sink_iterator_filter): Remove needless cast.
9617         (gst_bin_iterate_sinks): Doc update.
9618         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
9619         cleaned up (but no logic changes).
9620
9621         * check/states/sinks.c (test_src_sink): Cleanups from the state
9622         change patch.
9623         (test_livesrc_sink): Sync on the state.
9624
9625         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
9626         the state change patch.
9627
9628         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
9629         change patch.
9630
9631         * check/gst/gstbin.c: Merge in some style fixes and additional
9632         checks from Wim's state change patch.
9633
9634 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
9635
9636         * gst/base/gsttypefindhelper.c: (helper_find_peek),
9637         (gst_type_find_helper):
9638           Check whether we have the requested data already in our list of
9639           cached buffers before pulling a new buffer; also make the buffer
9640           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
9641
9642 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9643
9644         * gst/gstcaps.c:
9645         * gst/gstevent.c:
9646           doc updates
9647         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9648           don't use long long, it's not portable.  Replacing with
9649           gint64 seems to work; let's hope no skeletons fall out of the closet.
9650
9651 2005-10-10  Andy Wingo  <wingo@pobox.com>
9652
9653         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
9654
9655 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
9656
9657         * docs/gst/gstreamer-sections.txt:
9658         * gst/gstevent.c:
9659         * gst/gstevent.h:
9660         * gst/gstinfo.c:
9661         * gst/gstinfo.h:
9662         * gst/gstmessage.c: (gst_message_parse_state_changed):
9663         * gst/gstpad.c:
9664         * gst/gstpad.h:
9665           more docs, fix compilation
9666
9667 2005-10-09  Philippe Khalaf <burger@speedy.org>
9668         * gst/gstmessage.c:
9669           Fixed a few forgotten variables on previous commit
9670
9671 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9672
9673         * gst/base/gsttypefindhelper.c: (helper_find_peek):
9674           Fix evil typefind crasher: getrange() might return a short
9675           buffer at the end of a file, but gst_type_find_peek() must
9676           either return the full data as requested or NULL, but
9677           never a short buffer.
9678
9679 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9680
9681         * gst/gstmessage.c: (gst_message_new_state_changed),
9682         (gst_message_parse_state_changed):
9683         * gst/gstmessage.h:
9684           don't use "new", it's a C++ keyword
9685
9686 2005-10-08  Wim Taymans  <wim@fluendo.com>
9687
9688         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
9689         * gst/gstelement.c: (gst_element_post_message):
9690         * gst/gstpipeline.c: (gst_pipeline_change_state):
9691         Small docs and debug updates.
9692
9693 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
9694
9695         * docs/gst/gstreamer-sections.txt:
9696         * gst/gstelementfactory.c:
9697         * gst/gstevent.c:
9698         * gst/gsttaglist.c:
9699           more docs
9700
9701 2005-10-08  Wim Taymans  <wim@fluendo.com>
9702
9703         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
9704         (gst_bin_dispose), (bin_bus_handler):
9705         Fix typos, add comments.
9706         Clear EOS list when going to PAUSED from any direction and do it
9707         in a threadsafe way.
9708         Get base time in a threadsafe way too.
9709         Fix confusing debug in the change_state function.
9710         Various other small cleanups.
9711         
9712         * gst/gstelement.c: (gst_element_post_message):
9713         Fix very verbose bus posting code.
9714
9715         * gst/gstpipeline.c: (gst_pipeline_class_init),
9716         (gst_pipeline_set_property), (gst_pipeline_get_property),
9717         (gst_pipeline_change_state):
9718         Small ARG_ -> PROP_ cleanup
9719
9720 2005-10-08  Wim Taymans  <wim@fluendo.com>
9721
9722         * gst/gstbin.c: (is_eos), (bin_bus_handler):
9723         Do a less CPU demanding EOS check because we can.
9724
9725 2005-10-08  Wim Taymans  <wim@fluendo.com>
9726
9727         * libs/gst/dataprotocol/dataprotocol.c:
9728         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9729         (gst_dp_packet_from_event):
9730         * libs/gst/dataprotocol/dataprotocol.h:
9731         * libs/gst/dataprotocol/dp-private.h:
9732         It's about time we bump the version number.
9733         Since event types don't fit in the guint8 anymore describing
9734         the payload type, make payload type 16 bits wide.
9735
9736 2005-10-08  Wim Taymans  <wim@fluendo.com>
9737
9738         * docs/design/part-TODO.txt:
9739         * docs/design/part-clocks.txt:
9740         * docs/design/part-events.txt:
9741         * docs/design/part-gstbin.txt:
9742         * docs/design/part-gstelement.txt:
9743         * docs/design/part-gstpipeline.txt:
9744         * docs/design/part-live-source.txt:
9745         * docs/design/part-messages.txt:
9746         * docs/design/part-overview.txt:
9747         * docs/design/part-states.txt:
9748         Many doc updates.
9749
9750 2005-10-08  Wim Taymans  <wim@fluendo.com>
9751
9752         * gst/gstevent.c:
9753         * gst/gstevent.h:
9754         Fix event quark registration.
9755         Add some space between events so we can insert them in the
9756         right groups.
9757
9758 2005-10-08  Wim Taymans  <wim@fluendo.com>
9759
9760         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9761         (gst_base_sink_handle_buffer):
9762         Better log message.
9763
9764         * gst/gstbus.h:
9765         * gst/gstelement.h:
9766         More docs.
9767
9768         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9769         (gst_queue_set_property), (gst_queue_get_property):
9770         * gst/gstqueue.h:
9771         Remove old unused properties.
9772
9773 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
9774         * docs/gst/gstreamer-sections.txt:
9775         * gst/gstmessage.c:
9776         * gst/gstmessage.h:
9777         * gst/gstminiobject.c:
9778         * gst/gstminiobject.h:
9779         * gst/gstobject.h:
9780         * gst/gstpad.h:
9781         * gst/gstutils.h:
9782           lots of new docs and doc fixes
9783
9784 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9785
9786         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
9787         * gst/gstplugin.h:
9788         * gst/gstregistry.c: (gst_registry_lookup_locked),
9789         (gst_registry_scan_path_level):
9790         * gst/gstregistryxml.c: (load_plugin):
9791           Only ever load one plugin for a given plugin basename.
9792           This ensures correct overriding of GST_PLUGIN_PATH over
9793           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
9794           system installed plugins.
9795
9796 2005-10-08  Wim Taymans  <wim@fluendo.com>
9797
9798         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9799         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
9800         Prepare for doing QOS.
9801
9802 2005-10-08  Wim Taymans  <wim@fluendo.com>
9803
9804         * check/gst/gstbin.c: (GST_START_TEST):
9805         * check/pipelines/cleanup.c: (GST_START_TEST):
9806         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9807         Allow new clock message too.
9808
9809 2005-10-08  Wim Taymans  <wim@fluendo.com>
9810
9811         * gst/gstmessage.c: (gst_message_new_error),
9812         (gst_message_new_warning), (gst_message_new_tag),
9813         (gst_message_new_state_changed), (gst_message_new_clock_provide),
9814         (gst_message_new_clock_lost), (gst_message_new_new_clock),
9815         (gst_message_new_segment_start), (gst_message_new_segment_done),
9816         (gst_message_parse_state_changed),
9817         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
9818         (gst_message_parse_new_clock):
9819         * gst/gstmessage.h:
9820         Also carry the clock in question.
9821
9822 2005-10-08  Wim Taymans  <wim@fluendo.com>
9823
9824         * gst/gstmessage.c: (gst_message_new_custom),
9825         (gst_message_new_eos), (gst_message_new_error),
9826         (gst_message_new_warning), (gst_message_new_tag),
9827         (gst_message_new_state_changed), (gst_message_new_clock_provide),
9828         (gst_message_new_new_clock), (gst_message_new_segment_start),
9829         (gst_message_new_segment_done), (gst_message_parse_state_changed),
9830         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
9831         * gst/gstmessage.h:
9832         Clean up.
9833         Added clock related messages.
9834
9835         * gst/gstpipeline.c: (gst_pipeline_change_state):
9836         Post message when the clock changed.
9837
9838         * tools/gst-launch.c: (event_loop):
9839         Print new clock.
9840
9841 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9842
9843         * tools/gst-inspect.c: (print_element_properties_info):
9844           Can't pass NULL strings to g_print() on windows.
9845
9846 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9847
9848         * docs/Makefile.am:
9849         * docs/gst/Makefile.am:
9850         * docs/gst/gstreamer-docs.sgml:
9851         * docs/gst/running.xml:
9852         * docs/version.entities.in:
9853           add a chapter on running GStreamer.
9854           document GST_DEBUG and GST_PLUGIN* env vars
9855
9856 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9857
9858         * Makefile.am:
9859           remove include dir
9860         * configure.ac:
9861           remove PLUGINS_BUILDDIR stuff
9862         * gst/gst.c: (init_post):
9863           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
9864         * idiottest.mak:
9865           remove, it was condescending and not needed
9866
9867 2005-10-08  Wim Taymans  <wim@fluendo.com>
9868
9869         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
9870         (gst_base_sink_handle_object), (gst_base_sink_event),
9871         (gst_base_sink_wait), (gst_base_sink_handle_event),
9872         (gst_base_sink_change_state):
9873         * gst/base/gstbasesink.h:
9874         Repost EOS message while going to PLAYING if still EOS.
9875         Make sure that when receiving a FLUSH_START we don't attempt
9876         to sync on the clock anymore.
9877
9878 2005-10-08  Wim Taymans  <wim@fluendo.com>
9879
9880         * tools/gst-launch.c: (event_loop):
9881         Better message printout.
9882
9883 2005-10-08  Wim Taymans  <wim@fluendo.com>
9884
9885         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
9886         (gst_bin_child_proxy_get_children_count):
9887         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
9888         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
9889         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
9890         (gst_child_proxy_set_valist):
9891         * gst/parse/grammar.y:
9892         Make ChildProxy threadsafe and fix mem leaks.
9893
9894 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9895
9896         * gst/gst.c: (init_post):
9897           debug the GST_PLUGIN_ env vars
9898
9899 2005-10-08  Wim Taymans  <wim@fluendo.com>
9900
9901         * check/gst/gstbin.c: (GST_START_TEST):
9902         * check/gst/gstmessage.c: (GST_START_TEST):
9903         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9904         * gst/gstelement.c: (gst_element_commit_state),
9905         (gst_element_lost_state):
9906         * gst/gstmessage.c: (gst_message_new_state_changed),
9907         (gst_message_parse_state_changed):
9908         * gst/gstmessage.h:
9909         * tools/gst-launch.c: (event_loop):
9910         Added extra field to STATE_CHANGE message with the pending
9911         state, which will be different from the new state soon.
9912
9913 2005-10-08  Wim Taymans  <wim@fluendo.com>
9914
9915         * gst/gstbus.c: (gst_bus_pop):
9916         * gst/gstclock.c:
9917         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9918         Small cleanups and doc updates.
9919
9920 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9921
9922         * gst/gst.c: (init_pre):
9923         * gst/gstbin.c: (gst_bin_add_func):
9924           log distributing clocks and base time
9925         * gst/gstregistry.c: (gst_registry_add_plugin),
9926         (gst_registry_scan_path_level), (gst_registry_scan_path):
9927           clean up the debugging output a little
9928         * gst/gstutils.c: (gst_element_state_get_name):
9929           warn about a memleak (I've actually seen this be used, though
9930           it was probably a bug)
9931
9932 2005-10-07  Wim Taymans  <wim@fluendo.com>
9933
9934         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9935         (gst_base_src_init), (gst_base_src_default_newsegment),
9936         (gst_base_src_newsegment), (gst_base_src_do_seek),
9937         (gst_base_src_loop), (gst_base_src_start):
9938         * gst/base/gstbasesrc.h:
9939         Make the newsegment event customizable by subclasses.
9940
9941 2005-10-07  Wim Taymans  <wim@fluendo.com>
9942
9943         * gst/gstevent.c: (gst_event_new_buffersize),
9944         (gst_event_parse_buffersize):
9945         * gst/gstevent.h:
9946         New event for future idea.
9947
9948 2005-10-07  Andy Wingo  <wingo@pobox.com>
9949
9950         * gst/gstelement.c (gst_element_post_message): Doc update.
9951
9952         * docs/gst/gstreamer-sections.txt: Update.
9953
9954         * gst/gstmessage.c (gst_message_new_application): Made into a
9955         function like honest API calls.
9956         (gst_message_new_element): New message type.
9957
9958         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
9959
9960         * check/elements/fakesrc.c (test_no_preroll): New check, checks
9961         that setting a live fakesrc to PAUSED returns NO_PREROLL both
9962         times.
9963
9964         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
9965         NO_PREROLL from gst_element_change_state to fall through.
9966
9967 2005-10-07  Wim Taymans  <wim@fluendo.com>
9968
9969         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
9970         (gst_ghost_pad_do_activate_push):
9971         Activating a ghostpad with no internal pad in push mode
9972         is ok.
9973
9974 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9975
9976         * gst/gstobject.h:
9977           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
9978           Fixes compilation on Windows.
9979
9980 2005-10-07  Michael Smith <msmith@fluendo.com>
9981
9982         * tools/gst-inspect.c:
9983           Print out feature and plugin count at the end when printing out
9984           all features.
9985
9986 2005-10-04  Michael Smith <msmith@fluendo.com>
9987
9988         * gst/gsterror.c: (_gst_stream_errors_init):
9989           Add another error string used in a few existing plugins.
9990
9991         * gst/gstplugin.c:
9992         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9993         * tools/gst-inspect.c: (print_element_info):
9994           When a feature disappears from a plugin (and the feature exists in
9995           the cached registry file), things went horribly wrong. This isn't a
9996           complete fix, we should actually be removing the 'missing' features
9997           from the features list when we load the actual plugin. That's not
9998           yet implemented. 
9999
10000 2005-10-04  Johan Dahlin  <johan@gnome.org>
10001
10002         * check/gst/gstiterator.c: (GST_START_TEST):
10003         * gst/gstbin.c: (gst_bin_iterate_elements),
10004         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
10005         * gst/gstelement.c: (gst_element_iterate_pads):
10006         * gst/gstformat.c: (gst_format_iterate_definitions):
10007         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10008         (gst_iterator_new_list), (gst_iterator_filter):
10009         * gst/gstiterator.h:
10010         * gst/gstquery.c: (gst_query_type_iterate_definitions):
10011         Add a GType to GstIterator, update callsites and tests.
10012
10013 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10014
10015         * gst/gstpad.c: (gst_pad_event_default_dispatch):
10016           give events a chance to be handled by event probes when the pad
10017           is not linked
10018
10019 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10020
10021         * gst/gstevent.c: (gst_event_type_get_name),
10022         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
10023         * gst/gstevent.h:
10024           add string representations for event types
10025
10026 2005-10-06  Wim Taymans  <wim@fluendo.com>
10027
10028         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
10029         Don't use NULL pointers.
10030
10031 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10032
10033         * gst/gst_private.h:
10034         * gst/gstbus.c:
10035         * gst/gstelement.c:
10036         * gst/gstinfo.c:
10037         * gst/gstpluginfeature.c:
10038           widen the debug category in output to fit the biggest one we have
10039           add a bus category and use it
10040           play with the colors
10041           fix up some categories
10042
10043 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10044
10045         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
10046           add push activation of sink ghost pads.
10047           Andye, please verify
10048
10049 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10050
10051         * gst/gstutils.c: (gst_element_link_pads):
10052           fix a bug in the case where neither element has a pad
10053         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
10054           add a test for that case
10055
10056 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10057
10058         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
10059           emit have-data before checking for peers.  This allows
10060           for probe handlers to connect elements.  This helps autopluggers.
10061         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
10062         (gst_pad_suite):
10063           add six checks, linked/unlinked with no/true/false probe
10064
10065 2005-10-04  Wim Taymans  <wim@fluendo.com>
10066
10067         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
10068         (gst_fake_sink_event), (gst_fake_sink_preroll),
10069         (gst_fake_sink_render), (gst_fake_sink_change_state):
10070         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
10071         (gst_fake_src_get_property), (gst_fake_src_create),
10072         (gst_fake_src_stop):
10073         * gst/elements/gstidentity.c: (gst_identity_stop):
10074         Protect last_message with lock.
10075
10076 2005-10-04  Edward Hervey  <edward@fluendo.com>
10077
10078         * gst/gstformat.h: 
10079         Added precision in the comments for GST_FORMAT_DEFAULT
10080
10081 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
10082
10083         * tools/gst-launch.c: (main):
10084           Don't try to run erroneous pipelines.
10085
10086 2005-10-04  Julien MOUTTE  <julien@moutte.net>
10087
10088         * gst/gstbus.c: We don't need this header.
10089
10090 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10091
10092         * configure.ac:
10093           back to development
10094
10095 === release 0.9.3 ===
10096
10097 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10098
10099         * README:
10100         * configure.ac:
10101           Releasing 0.9.3, "Unregistered"
10102
10103 2005-10-03  Andy Wingo  <wingo@pobox.com>
10104
10105         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
10106         whereby calling a pad's activatepush() function can start a thread
10107         that starts to push or pull before the pad gets the FLUSHING flag
10108         unset. Hack around it by holding the stream lock until the flag is
10109         set. Need to replace this with a proper solution. Together with
10110         the ghost pad fixes, this fixes mp3 playing/tagreading.
10111
10112         * docs/design/part-gstghostpad.txt: Add a note about activation of
10113         proxy pads outside of ghost pads.
10114
10115         * gst/gstghostpad.c: Implement the ghost pad activation design.
10116
10117 2005-10-02  Andy Wingo  <wingo@pobox.com>
10118
10119         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
10120         It is volatile, after all.
10121
10122         * docs/design/part-gstghostpad.txt: Flesh out activation with
10123         ghost pads.
10124
10125         * gst/base/gstbasesrc.c (gst_base_src_init): Use
10126         GST_DEBUG_FUNCPTR.
10127
10128 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10129
10130         * configure.ac:
10131           Fix (unused) AM_CONDITIONAL tests.
10132
10133 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
10134
10135         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10136
10137         * gst/gstutils.c: (gst_pad_query_convert):
10138           Add assertion that makes sure src_val is >=0, just like
10139           gst_query_new_convert() has. (#315895)
10140
10141 2005-09-30  Edward Hervey  <edward@fluendo.com>
10142
10143         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
10144         Let's not iterate pads we're not interested in, it avoids getting 
10145         sky-high refcounts on sinkpad.
10146
10147 2005-09-30  Wim Taymans  <wim@fluendo.com>
10148
10149         * gst/gstelement.c: (gst_element_set_state),
10150         (gst_element_change_state):
10151         Small tweak, element in ASYNC remains ASYNC.
10152
10153 2005-09-30  Wim Taymans  <wim@fluendo.com>
10154
10155         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
10156         Only error is an error.
10157
10158         * gst/gstbin.c: (gst_bin_change_state):
10159         Better debugging.
10160
10161         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
10162         Also call pad_block in pad alloc.
10163
10164         * gst/gstutils.c: (gst_flow_get_name):
10165         Better debugging.
10166
10167 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10168
10169         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10170         (gst_base_src_get_range):
10171           Fix documentation typos. Add some more debug info.
10172
10173 2005-09-29  David Schleef  <ds@schleef.org>
10174
10175         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
10176           more end-user friendly.
10177         * tools/gst-inspect.c: (main): Check if command-line argument is
10178           a file and attempt to load that file as a plugin.
10179
10180 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10181
10182         * check/gst/gstbin.c:
10183         * check/states/sinks.c:
10184           fix tests for the new warning
10185         * check/gst/gstpipeline.c:
10186           add a test for pipeline and bus interaction
10187         * gst/gstelement.c:
10188           elements should be NULL if they get disposed; add a warning if not
10189
10190 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10191
10192         * gst/gstobject.c:
10193           for 2.6 refcounting, make debug log more correct by printing
10194           the actual refcounts at the time of swap (Wim)
10195
10196 2005-09-29  Andy Wingo  <wingo@pobox.com>
10197
10198         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
10199         removes signal watches previously added via
10200         gst_bus_add_signal_watch.
10201         (gst_bus_add_signal_watch): Don't return the source id, just store
10202         it on the bus if there wasn't an id already.
10203
10204         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
10205         add_signal_watch and remove_signal_watch.
10206
10207 2005-09-29  Edward Hervey  <edward@fluendo.com>
10208
10209         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
10210         Better if we actually iterate the list :)
10211
10212 2005-09-29  Wim Taymans  <wim@fluendo.com>
10213
10214         * check/gst/gstbin.c: (GST_START_TEST):
10215         Change for new bus API.
10216
10217         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
10218         (send_messages), (GST_START_TEST), (gstbus_suite):
10219         Change for new bus signal API.
10220
10221         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
10222         (gst_bus_source_prepare), (gst_bus_source_check),
10223         (gst_bus_create_watch), (gst_bus_add_watch_full),
10224         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
10225         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
10226         * gst/gstbus.h:
10227         Remove support for multiple GSources operating on different
10228         message types as it is too complex and unneeded when using
10229         signals.
10230         Added support for receiving signals from the bus.
10231
10232 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10233
10234         * docs/libs/tmpl/gstdataprotocol.sgml:
10235         * docs/manual/advanced-dataaccess.xml:
10236         * gst/elements/gstcapsfilter.c:
10237         * gst/gstutils.c:
10238           rename filter-caps to caps property
10239
10240 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10241
10242         * gst/gstvalue.c: (gst_value_deserialize_fraction):
10243           More robust fraction string parsing.
10244
10245         * docs/pwg/appendix-porting.xml:
10246           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
10247
10248 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10249
10250         * gst/gstcaps.c: (gst_caps_do_simplify):
10251           Thou shalt not free a structure and then continue using it
10252           in the next loop iteration.
10253
10254         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
10255         (gst_caps_suite):
10256           Add test case for caps simplification.
10257
10258 2005-09-29  Wim Taymans  <wim@fluendo.com>
10259
10260         * check/gst/gstbin.c: (GST_START_TEST):
10261         Oops.
10262
10263 2005-09-29  Wim Taymans  <wim@fluendo.com>
10264
10265         * check/gst/gstbin.c: (GST_START_TEST):
10266         Add bus to bin.
10267
10268         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
10269         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10270         (find_element), (gst_bin_sort_iterator_next),
10271         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10272         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10273         (gst_bin_change_state), (gst_bin_dispose):
10274         A bin does not have a bus, it gets the bus from the parent.
10275
10276         * gst/gstelement.c: (gst_element_requires_clock),
10277         (gst_element_provides_clock), (gst_element_is_indexable),
10278         (gst_element_is_locked_state), (gst_element_change_state),
10279         (gst_element_set_bus_func):
10280         Small cleanups.
10281
10282         * gst/gstpipeline.c: (gst_pipeline_class_init),
10283         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
10284         The pipeline provides a bus.
10285
10286 2005-09-28  Johan Dahlin  <johan@gnome.org>
10287
10288         * gst/gstmessage.c (gst_message_parse_state_changed): Use
10289         gst_structure_get_enum instead of gst_structure_get_int
10290
10291         * gst/gststructure.c (gst_structure_get_enum): Impl.
10292
10293         * gst/gststructure.h (gst_structure_get_enum): Add
10294
10295         * docs/gst/gstreamer-sections.txt: Ditto
10296
10297         * gst/gstmessage.c (gst_message_new_state_changed): Use
10298         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
10299         which does introspection.
10300         Reviewed by Christian Schaller
10301
10302 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
10303
10304         * gst/gstinfo.c: (gst_debug_log_default):
10305           don't do dummy g_strdup()s
10306         * libs/gst/controller/gstcontroller.c:
10307         (on_object_controlled_property_changed),
10308         (gst_controlled_property_new), (gst_controller_new_valist),
10309         (gst_controller_new_list),
10310         (gst_controller_remove_properties_valist), (gst_controller_set),
10311         (gst_controller_get), (gst_controller_sync_values),
10312         (gst_controller_get_value_array), (_gst_controller_class_init),
10313         (gst_controller_get_type):
10314         * libs/gst/controller/gstcontroller.h:
10315         * libs/gst/controller/gstinterpolation.c:
10316         (gst_controlled_property_find_timed_value_node):
10317           convert // to /**/ comments
10318
10319 2005-09-28  Wim Taymans  <wim@fluendo.com>
10320
10321         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
10322         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
10323         (gst_bus_sync_signal_handler):
10324         * gst/gstbus.h:
10325         Added async-message and sync-message signals to the bus.
10326         Added helper BusFunc to emit signals for all posted messages.
10327
10328         * gst/gstmessage.c: (gst_message_type_get_name),
10329         (gst_message_type_to_quark), (gst_message_get_type):
10330         * gst/gstmessage.h:
10331         Register quarks for message names.
10332
10333 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
10334
10335         * docs/libs/gstreamer-libs-sections.txt:
10336         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10337         (gst_controller_new_list):
10338         * libs/gst/controller/gstcontroller.h:
10339           added another constructor for language bindings
10340
10341 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10342
10343         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10344           add another check
10345         * gst/gstbus.c:
10346           add some doc
10347         * gst/gstinfo.c: (_gst_debug_init):
10348           slightly more readable color for refcount debugging
10349
10350 2005-09-28  Wim Taymans  <wim@fluendo.com>
10351
10352         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
10353         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10354         (find_element), (gst_bin_sort_iterator_next),
10355         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10356         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10357         (gst_bin_change_state), (gst_bin_dispose):
10358         Small doc fixes. get_clock -> provide_clock.
10359
10360         * gst/gstelement.c: (gst_element_class_init),
10361         (gst_element_provides_clock), (gst_element_provide_clock),
10362         (gst_element_get_clock), (gst_element_commit_state),
10363         (gst_element_lost_state):
10364         * gst/gstelement.h:
10365         Make get/set_clock() symetric. Add provide_clock vmethod since
10366         that is actually what this function does.
10367
10368         * gst/gstpipeline.c: (gst_pipeline_class_init),
10369         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
10370         (gst_pipeline_get_clock):
10371         get_clock -> provide_clock.
10372
10373 2005-09-28  Andy Wingo  <wingo@pobox.com>
10374
10375         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
10376         lieu of real docs...
10377
10378         * gst/elements/gstfdsrc.c: Cleaned up a bit.
10379
10380 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
10381
10382         * gst/elements/gstcapsfilter.c:
10383         * gst/elements/gstfakesink.c:
10384         * gst/elements/gstfakesrc.c:
10385         * gst/elements/gstfdsink.c:
10386         * gst/elements/gstfdsrc.c:
10387         * gst/elements/gstfilesink.c:
10388         * gst/elements/gstfilesrc.c:
10389         * gst/elements/gstidentity.c:
10390         * gst/elements/gsttee.c:
10391         * gst/elements/gsttypefindelement.c:
10392           Make element details static.
10393
10394 2005-09-28  Wim Taymans  <wim@fluendo.com>
10395
10396         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10397         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10398         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10399         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10400         (gst_bin_change_state), (gst_bin_dispose):
10401         Some documentation updates.
10402         Clean up dispose handlers.
10403
10404         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
10405         * gst/gstpad.c: (gst_pad_dispose):
10406         Clean up dispose handler.
10407
10408         * gst/gstpipeline.c: (gst_pipeline_change_state):
10409         Removed spurious UNLOCK.
10410
10411 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
10412
10413         * docs/gst/gstreamer-sections.txt:
10414         * gst/base/gstbasesrc.h:
10415         * gst/gstelement.h:
10416         * gst/gstevent.h:
10417         * gst/gstobject.h:
10418         * gst/gstpad.h:
10419         * gst/gstpipeline.c:
10420         * gst/gstpipeline.h:
10421         * gst/gstutils.h:
10422         * gst/gstxml.h:
10423           added two new functions to the docs
10424                 documents all undocumented GstXXXFlags
10425                 completed some incomplete docs 
10426
10427 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10428
10429         * gst/gstbin.c: (gst_bin_dispose):
10430         * gst/gstelement.c: (gst_element_dispose):
10431           remove now useless and leaky resurrection code in dispose
10432         * gst/base/gstbasesrc.c: (gst_base_src_init):
10433         * gst/gstelementfactory.c: (gst_element_factory_create):
10434         * gst/gstobject.c: (gst_object_set_parent):
10435           add some debugging
10436
10437 2005-09-27  Wim Taymans  <wim@fluendo.com>
10438
10439         * docs/design/part-TODO.txt:
10440         Update TODO.
10441
10442         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10443         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10444         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10445         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10446         (gst_bin_change_state):
10447         * gst/gstelement.h:
10448         Remove element variable, we keep element info in the iterator now.
10449
10450 2005-09-27  Andy Wingo  <wingo@pobox.com>
10451
10452         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
10453         values.
10454
10455 2005-09-27  Wim Taymans  <wim@fluendo.com>
10456
10457         * check/gst/gstbin.c: (GST_START_TEST):
10458         Enable check that works now.
10459
10460         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10461         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10462         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10463         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10464         (gst_bin_change_state):
10465         * gst/gstbin.h:
10466         Redid the state change algorithm using a topological sort algo.
10467         Handles all cases correctly.
10468         Exposed iterator for state change order.
10469
10470         * gst/gstelement.h:
10471         Temp storage for state changes. Need to get rid of this soon.
10472
10473 2005-09-27  Wim Taymans  <wim@fluendo.com>
10474
10475         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
10476         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
10477         (link_fold_func), (gst_pad_proxy_setcaps):
10478         Leak fixes, the fold functions need to unref the passed object and
10479         _get_parent_*() returns ref to parent.
10480
10481 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10482
10483         * check/gst/gstbuffer.c: (test_make_writable):
10484           Plug leak in test case and fix 'make check-valgrind'
10485
10486 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10487
10488         * gst/gstbuffer.c: (gst_subbuffer_init):
10489           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
10490           works correctly in all circumstances (we could have just copied
10491           the parent buffer's readonly flag, but conceptually it seems
10492           cleaner to mark all subbuffers as read-only). (based on patch
10493           by Alessandro Decina, #314710).
10494         
10495         * check/gst/gstbuffer.c: (create_read_only_buffer),
10496         (test_make_writable), (test_subbuffer_make_writable),
10497         (gst_test_suite):
10498           Add some tests for gst_buffer_make_writable().
10499
10500 2005-09-27  Wim Taymans  <wim@fluendo.com>
10501
10502         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
10503         use gst_object_has_ancestor().
10504
10505         * gst/gstobject.c: (gst_object_has_ancestor):
10506         * gst/gstobject.h:
10507         gst_object_has_ancestor() copied from gstbin.c as it is a
10508         usefull function.
10509
10510         * tests/instantiate/create.c: (create_all_elements):
10511         * tests/lat.c: (handoff_src), (handoff_sink):
10512         * tests/sched/runxml.c: (main):
10513         * tests/seeking/seeking1.c: (main):
10514         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
10515         (main):
10516         Fix compilation of some tests.
10517
10518 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10519
10520         * gst/gsterror.h:
10521           Remove comment. GST_TYPE_G_ERROR is here to stay,
10522           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
10523           (#316961, #300610).
10524
10525 2005-09-26  Wim Taymans  <wim@fluendo.com>
10526
10527         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10528         Added check that shows error in state change order.
10529
10530 2005-09-26  Wim Taymans  <wim@fluendo.com>
10531
10532         * gst/gstbin.c: (gst_bin_change_state):
10533         Make state change function use 3 queues again, we were
10534         adding elements in the wrong order.
10535
10536         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10537         Some debug info,
10538
10539         * gst/gstpad.c: (gst_pad_dispose):
10540         Added some debug info first.
10541
10542 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
10543
10544         * docs/design/draft-push-pull.txt:
10545         * docs/design/part-events.txt:
10546         * docs/design/part-overview.txt:
10547         * docs/design/part-scheduling.txt:
10548           Replace all _pull_region() with _pull_range()
10549           
10550 2005-09-26  Andy Wingo  <wingo@pobox.com>
10551
10552         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
10553
10554         * check/gst-libs/controller.c: Update for controller api change.
10555
10556         * configure.ac: 
10557         * tests/Makefile.am:
10558         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
10559         over by GLib bug 118439.
10560         
10561         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
10562         routines to a function.
10563
10564         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
10565
10566         * libs/gst/controller/gsthelper.c:
10567         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
10568         (gst_object_sync_values): Renamed from sink_values. Ugh.
10569
10570         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
10571
10572         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
10573         Renamed from controller_key, as it is exported.
10574
10575         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
10576
10577 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
10578
10579         * gst/Makefile.am:
10580         * gst/gst.h:
10581         * gst/gstpad.h:
10582         * gst/gstpadtemplate.h:
10583         * gst/gstquery.c:
10584         * gst/gstquery.h:
10585         * gst/gstqueryutils.c:
10586         * gst/gstqueryutils.h:
10587           remove queryutils headers after moving the two used functions
10588           to gstquery.  also fixes build problem for gstsiddec
10589
10590 2005-09-26  Michael Smith <msmith@fluendo.com>
10591
10592         * tools/gst-launch.1.in:
10593         Correct documentation in manpage of debug syntax
10594
10595 2005-09-26  Wim Taymans  <wim@fluendo.com>
10596
10597         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10598         (gst_base_src_is_seekable), (gst_base_src_change_state):
10599         Some more debugging info.
10600
10601 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
10602
10603         * docs/gst/gstreamer-sections.txt:
10604         * gst/base/gstbasetransform.h:
10605         * gst/gstindex.h:
10606           added more docs
10607
10608 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
10609
10610         * docs/gst/.cvsignore:
10611         * docs/gst/tmpl/.cvsignore:
10612         * docs/gst/tmpl/gstpipeline.sgml:
10613         * docs/gst/tmpl/gstplugin.sgml:
10614         * gst/gstpipeline.c:
10615         * gst/gstplugin.c:
10616         * gst/gstplugin.h:
10617           inlined the last two docs files
10618           removed the tmpl directory from cvs (no more conflicts here!)
10619
10620 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
10621
10622         * docs/gst/gstreamer-sections.txt:
10623         * docs/gst/tmpl/.cvsignore:
10624         * docs/gst/tmpl/gstpad.sgml:
10625         * docs/gst/tmpl/gstpadtemplate.sgml:
10626         * gst/Makefile.am:
10627         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10628         (gst_pad_finalize), (gst_pad_set_pad_template):
10629         * gst/gstpad.h:
10630         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10631         (gst_pad_template_class_init), (gst_pad_template_init),
10632         (gst_pad_template_dispose), (name_is_valid),
10633         (gst_static_pad_template_get), (gst_pad_template_new),
10634         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
10635         (gst_pad_template_pad_created):
10636         * gst/gstpadtemplate.h:
10637           inlined two more docs
10638           factored gstpadtemplate out of gstpad
10639
10640 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
10641
10642         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10643         (test_children_state_change_order_semi_sink):
10644           Fix test case: we can't rely on a fixed state change order when
10645           going from READY => PAUSED because the sink might commit its 
10646           new state first when the first buffer created by the source 
10647           reaches the sink before the source has finished its change state.
10648           (Test case still fails at times, see #316856, comment 5 onwards)
10649
10650 2005-09-24  Wim Taymans  <wim@fluendo.com>
10651
10652         * docs/design/part-events.txt:
10653         * docs/design/part-gstbus.txt:
10654         * docs/design/part-gstpipeline.txt:
10655         * docs/design/part-messages.txt:
10656         * docs/design/part-overview.txt:
10657         * docs/design/part-segments.txt:
10658         * gst/gstbin.c:
10659         * gst/gstbuffer.c:
10660         * gst/gstclock.c:
10661         * gst/gstelement.c:
10662         * gst/gstevent.c:
10663         * gst/gstfilter.c:
10664         * gst/gstiterator.c:
10665         Various documentation updates.
10666
10667 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10668
10669         * gst/gstclock.h:
10670           Well, that's embarassing.  Luckily we weren't using
10671           GST_CLOCK_DIFF anywhere.
10672
10673 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10674
10675         * common/gtk-doc.mak:
10676           don't fail on building XML, FC4 slave shows a bunch of doc
10677           missing bits that I don't get
10678         * gst/gstpad.c:
10679         * gst/gstpipeline.c:
10680         * gst/gststructure.c:
10681           some doc updates
10682
10683 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
10684
10685         * docs/design/part-gstbin.txt:
10686         * docs/design/part-gstbus.txt:
10687         * gst/gstbus.c:
10688           Add blurb about how the bus goes into flushing mode and
10689           drops all messages when its bin goes from READY into NULL 
10690           state.
10691
10692 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10693
10694         * docs/gst/gstreamer-sections.txt:
10695         * gst/gststructure.c: (gst_structure_get_clock_time):
10696         * gst/gststructure.h:
10697           add a method to get a GstClockTime out of a structure
10698
10699 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
10700
10701         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10702         (test_children_state_change_order_semi_sink), (gst_bin_suite):
10703           Added test to check state change order in bins (can still be made
10704           to fail here under heavy disk load; bails out with 'Push on pad
10705           fakesink:sink0, but it was not activated in push mode').
10706
10707         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
10708           Fix state change order when there is only a semi sink (#316856)
10709
10710         * gst/gstbus.c: (gst_bus_class_init):
10711           Use _class_peek_parent(), not _class_ref(); fix docs to say
10712           'default main context' instead of 'mainloop' where that is
10713           what's meant.
10714
10715         * gst/gstelement.c: (gst_element_commit_state),
10716         (gst_element_set_state):
10717           Fix typos in debug messages
10718
10719 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10720
10721         * docs/README:
10722         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
10723         * gst/gstpluginfeature.c:
10724         * gst/gstutils.c:
10725           various doc updates
10726         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10727           change an assert into an error until it gets fixed properly
10728
10729 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
10730
10731         * docs/gst/gstreamer-sections.txt:
10732         * docs/gst/tmpl/.cvsignore:
10733         * docs/gst/tmpl/gstelement.sgml:
10734         * docs/gst/tmpl/gstinfo.sgml:
10735         * docs/gst/tmpl/gstobject.sgml:
10736         * gst/gstelement.c:
10737         * gst/gstelement.h:
10738         * gst/gstinfo.c:
10739         * gst/gstinfo.h:
10740         * gst/gstobject.c: (gst_object_class_init):
10741         * gst/gstobject.h:
10742           inlined 3 more biiiig doc files and added some missing docs on the fly
10743
10744 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10745
10746         * check/gst/.cvsignore:
10747         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
10748         * gst/gstregistryxml.c: (load_plugin),
10749         (gst_registry_xml_save_plugin):
10750           put back source in registry.  add checks for find_plugin.
10751         * testsuite/states/bin.c: (assert_state), (empty_bin),
10752         (test_adding_one_element), (main):
10753         * testsuite/states/locked.c: (main):
10754           some compile/run fixes
10755
10756 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10757
10758         * check/gst/gstvalue.c: (GST_START_TEST):
10759           fix leaks in the test itself
10760
10761 2005-09-22  Wim Taymans  <wim@fluendo.com>
10762
10763         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10764         (gst_base_sink_send_event), (gst_base_sink_peer_query),
10765         (gst_base_sink_query):
10766         Prepare for more accurate position reporting and query
10767         handling.
10768
10769         * gst/gstelement.c: (gst_element_send_event),
10770         (gst_element_set_state):
10771         Add some comment.
10772
10773 2005-09-22  Wim Taymans  <wim@fluendo.com>
10774
10775         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
10776         (gst_query_parse_segment):
10777         * gst/gstquery.h:
10778         More documentation.
10779         Add segment query for future use.
10780
10781 2005-09-22  Wim Taymans  <wim@fluendo.com>
10782
10783         * gst/gstbin.c: (gst_bin_add_func):
10784         Some more debug info.
10785
10786         * gst/gstelement.c: (gst_element_send_event):
10787         Simplify send_event
10788
10789         * gst/gstelement.h:
10790         Don't know how flags got broken.
10791
10792         * gst/gstquery.h:
10793         Added new query.
10794
10795 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10796
10797         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
10798           Add simplistic test suite for GST_TYPE_DATE serialisation and
10799           deserialisation.
10800
10801 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10802
10803         * docs/gst/gstreamer-sections.txt:
10804         * gst/gststructure.c: (gst_structure_set_valist),
10805         (gst_structure_get_date):
10806         * gst/gststructure.h:
10807         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
10808         (gst_date_copy), (gst_value_compare_date),
10809         (gst_value_serialize_date), (gst_value_deserialize_date),
10810         (gst_value_transform_date_string),
10811         (gst_value_transform_string_date), (_gst_value_initialize):
10812         * gst/gstvalue.h:
10813           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
10814           bunch of utility functions along with a hack that checks that
10815           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
10816           is required. Part of the grand scheme in #170777.
10817
10818 2005-09-22  Andy Wingo  <wingo@pobox.com>
10819
10820         * gst/gstconfig.h.in: Psych out gtk-doc.
10821
10822         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
10823
10824         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
10825
10826         * tools/gst-inspect.c (print_element_list): Plug some
10827         inconsequential leaks.
10828
10829         * gst/gstregistry.c (gst_registry_get_default): Doc.
10830
10831         * check/gst/gstplugin.c: 
10832         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
10833         * gst/gstelementfactory.c (gst_element_factory_create): 
10834         * gst/gstindexfactory.c (gst_index_factory_create): Update for
10835         refcount changes.
10836
10837         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
10838         (gst_plugin_feature_load): Doc, don't eat refs.
10839
10840         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
10841         (gst_plugin_list_free): Doc.
10842         (gst_plugin_load_file): Doc updates.
10843
10844         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
10845         accessors returning refcounted objects, return a ref.
10846
10847         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
10848         accessor for caps. IDEMPOTENCE. Oh yes.
10849
10850 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
10851
10852         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10853
10854         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
10855         (_gst_debug_register_funcptr):
10856           Add mutex to serialise access to the hash table with
10857           the function pointer => function name string mapping;
10858           make that hash table static scope (#316809).
10859
10860         * gst/registries/.cvsignore:
10861           Remove left-over file.
10862
10863 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
10864
10865         * docs/pwg/appendix-porting.xml:
10866           And something about newsegment events and caps-on-buffers to
10867           the porting guide (feel free to improve).
10868
10869 2005-09-21  Andy Wingo  <wingo@pobox.com>
10870
10871         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
10872         data and event probes on the same pad.
10873         (test_buffer_probe_once): Test that removing probes from within
10874         the probe functions works.
10875
10876 2005-09-21  Andy Wingo  <wingo@pobox.com>
10877
10878         * check/gst/gstutils.c: New file.
10879         (test_buffer_probe_n_times): A simple buffer probe test. More to
10880         come, foolios.
10881
10882         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
10883         have-data::buffer, not have-data.
10884         (gst_pad_add_event_probe): Likewise for have-data::event.
10885         (gst_pad_add_data_probe): More docs. The part about 'resolving the
10886         peer' isn't quite right yet though.
10887         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
10888         (gst_pad_remove_data_probe): Change to take the guint handler_id
10889         as their arg, not the function+data, which is more glib-like.
10890
10891         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
10892         the signal emission to indicate if the data is a buffer or an
10893         event.
10894         (gst_pad_get_type): Initialize buffer and event quarks.
10895         (gst_pad_class_init): have-data is now a detailed signal, yes it
10896         is.
10897
10898 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
10899
10900         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
10901         * gst/gstutils.c: (gst_util_set_value_from_string),
10902         (gst_util_set_object_arg):
10903           Don't put functional code in g_return_if_fail() or
10904           g_return_val_if_fail() statements, otherwise things will 
10905           break when G_DISABLE_CHECKS is defined during compilation.
10906
10907 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10908
10909         * docs/gst/tmpl/.cvsignore:
10910         * docs/gst/tmpl/gstvalue.sgml:
10911         * gst/gstvalue.c:
10912         * gst/gstvalue.h:
10913           inlied another one and added  some obvious docs
10914
10915 2005-09-21  Wim Taymans  <wim@fluendo.com>
10916
10917         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10918         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
10919         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
10920         (gst_fdsrc_get_property), (gst_fdsrc_create):
10921         * gst/elements/gstfdsrc.h:
10922         Properly implement fdsrc. Removed signal and timeout,
10923         better implemented somewhere else.
10924
10925 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10926
10927         * docs/gst/tmpl/.cvsignore:
10928         * docs/gst/tmpl/gstimplementsinterface.sgml:
10929         * gst/gstinterface.c:
10930           inlined more docs
10931
10932 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10933
10934         * docs/gst/gstreamer-sections.txt:
10935         * docs/gst/tmpl/.cvsignore:
10936         * docs/gst/tmpl/gstenumtypes.sgml:
10937           remove obsolete doc file
10938
10939 2005-09-21  David Schleef  <ds@schleef.org>
10940
10941         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
10942         little beer, fix a little leak.
10943
10944 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10945
10946         * docs/gst/gstreamer-docs.sgml:
10947         * docs/gst/gstreamer-sections.txt:
10948         * docs/gst/tmpl/.cvsignore:
10949         * gst/Makefile.am:
10950         * gst/gst.h:
10951         * gst/gstbin.c:
10952         * gst/gstelement.h:
10953         * gst/gstindex.c: (gst_index_class_init):
10954         * gst/gstindex.h:
10955         * gst/gstindexfactory.c: (gst_index_factory_get_type),
10956         (gst_index_factory_class_init), (gst_index_factory_init),
10957         (gst_index_factory_finalize), (gst_index_factory_new),
10958         (gst_index_factory_destroy), (gst_index_factory_find),
10959         (gst_index_factory_create), (gst_index_factory_make):
10960         * gst/gstindexfactory.h:
10961         * gst/gstpluginfeature.c:
10962         * gst/gstpluginfeature.h:
10963         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10964           more docs inlined, splitted gstindex.{c,h}
10965
10966 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10967
10968         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10969           fix a leak
10970
10971 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
10972
10973         * gst/elements/gstfilesink.c: (gst_file_sink_init):
10974           Set sync to FALSE by default.
10975
10976 2005-09-20  Wim Taymans  <wim@fluendo.com>
10977
10978         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10979         (gst_base_sink_init):
10980         Make sync property settable from subclass.
10981
10982         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
10983         (gst_fake_sink_change_state):
10984         Set sync to FALSE by default.
10985
10986 2005-09-20  Wim Taymans  <wim@fluendo.com>
10987
10988         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
10989         * tools/gst-launch.c: (main):
10990         The timeout handler should have lower priority than the source
10991         so we don't timeout before popping a message with 0 timeout.
10992         Dump error messages after failed state change.
10993
10994 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
10995
10996         * tools/gst-inspect.c: (print_element_properties_info):
10997           Fix two typos.
10998
10999 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11000
11001         * check/gst/gstevent.c:
11002         * gst/elements/gstfakesink.c:
11003         * gst/elements/gstfakesink.h:
11004           remove the sync property from fakesink.
11005           has the side effect of setting sync TRUE
11006           for fakesink, which is a change.  Anyone who knows how
11007           to fix this nicely in a GObject-y way, feel free.
11008
11009 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
11010
11011         * docs/gst/gstreamer-docs.sgml:
11012           remove probe refsection
11013
11014 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
11015
11016         * check/Makefile.am:
11017           disable valgrinding the controller test again
11018         * docs/gst/gstreamer-sections.txt:
11019           update for api-changes
11020
11021 2005-09-20  Wim Taymans  <wim@fluendo.com>
11022
11023         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11024         (gst_base_sink_set_property), (gst_base_sink_get_property),
11025         (gst_base_sink_do_sync):
11026         * gst/base/gstbasesink.h:
11027         Added sync property to basesink to disable clock sync.
11028
11029 2005-09-20  Andy Wingo  <wingo@pobox.com>
11030
11031         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
11032         eating the caller's refcount.
11033
11034         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
11035         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
11036         refcount.
11037
11038         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
11039         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
11040         of GLib 2.8 public, so we can know which refcount to check in
11041         tests.
11042
11043         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
11044         (gst_object_init): Only set the gst refcount if we're going ahead
11045         with the refcount hack.
11046
11047 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
11048
11049         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
11050         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
11051           more leaks plumbed, added more debug-logging
11052         * gst/gstmacros.h:
11053           whitespace fix
11054
11055 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11056
11057         * gst/gstmessage.c:
11058           remove include of gstmemchunk.h
11059
11060 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11061
11062         * gst/gstclock.c: (_gst_clock_id_free):
11063           Commit from the Political Party For More Atomic CVS Commits,
11064           so that people don't waste too much of their day fishing
11065           out obvious leaks out of massive commits.
11066           Oh, and fix a pretty damn obvious leak in the memchunk
11067           removal code.
11068
11069 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
11070
11071         * check/Makefile.am:
11072         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
11073           plug mem-leak, re-add to valgrindable tests
11074
11075 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11076
11077         * gst/gstplugin.h:
11078           unbreak the build for those who have chronic arthritis
11079           and typing "make check" is just too taxing on the hands
11080
11081 2005-09-20  Andy Wingo  <wingo@pobox.com>
11082
11083         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
11084         really want it out, you should fix plugins at the same time.
11085
11086 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
11087
11088         * configure.ac:
11089         * docs/gst/gstreamer-sections.txt:
11090         * gst/gstobject.c:
11091           added missing symbols to api docs
11092           disable ref-count hack if we have glib >= 2.8
11093
11094 2005-09-19  David Schleef  <ds@schleef.org>
11095
11096         * docs/gst/Makefile.am: Ignore a few more internal headers
11097         * docs/gst/gstreamer-docs.sgml: Remove old sections
11098         * docs/gst/gstreamer-sections.txt: Remove old sections
11099         * docs/gst/tmpl/gstobject.sgml: update
11100         * docs/gst/tmpl/gstplugin.sgml: update
11101         * docs/gst/tmpl/gstpluginfeature.sgml: update
11102         * docs/random/ds/0.9-suggested-changes: update.
11103         * gst/Makefile.am: remove memchunk and trashstack, since they're
11104           not used.
11105         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
11106         * gst/gst.h: don't include some headers
11107         * gst/gstchildproxy.c: add gstmarshal.h
11108         * gst/gstclock.c: Don't use memchunks
11109         * gst/gstminiobject.c: Add some docs
11110         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
11111         * gst/gstobject.h: same
11112         * gst/gstplugin.c: include gstmacros.h
11113         * gst/gstplugin.h: don't include gstmacros.h, since it's private
11114         * gst/gstquery.c: don't use memchunks
11115         * gst/gstregistry.c: rename gst_registry_deinit()
11116         * gst/gstregistry.h: same
11117
11118 2005-09-19  David Schleef  <ds@schleef.org>
11119
11120         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
11121         * docs/libs/gstreamer-libs-sections.txt:
11122         * docs/libs/tmpl/gstgetbits.sgml:
11123         * docs/libs/tmpl/gstputbits.sgml:
11124
11125 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
11126
11127         * win32/gstenumtypes.c:
11128         * win32/gstenumtypes.h:
11129           Update.
11130
11131 2005-09-19  Wim Taymans  <wim@fluendo.com>
11132
11133         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
11134         Automatically PAUSE and RESUME a pipeline when a flushing seek
11135         is performed.
11136
11137 2005-09-19  Andy Wingo  <wingo@pobox.com>
11138
11139         * gst/gstregistry.h: Spacing fixen.
11140
11141 2005-09-19  Wim Taymans  <wim@fluendo.com>
11142
11143         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
11144         Handle state change failure more correctly.
11145
11146 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11147
11148         * check/Makefile.am:
11149         * check/pipelines/cleanup.c: (run_pipeline):
11150         * check/pipelines/simple_launch_lines.c: (run_pipeline),
11151         (GST_START_TEST):
11152           enable cleanup again after fixing the leak
11153         * docs/README:
11154           some more info on docs
11155
11156 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11157
11158         * check/Makefile.am:
11159           re-enable tests now that leaks are plugged
11160         * check/gst/gst.c:
11161         * check/gst/gstbin.c:
11162         * check/gst/gstpipeline.c:
11163           add some more tests while fixing leaks
11164         * common/check.mak:
11165           make sure binaries are uptodate when valgrinding/gdbing
11166         * gst/gst.c:
11167         * gst/gstelementfactory.c:
11168           remove a ref too many, and add a FIXME for when we get
11169           round to disposing of classes
11170         * gst/gstplugin.c:
11171           fix the refcounting when loading a plugin from a file and
11172           the code pretends that the pointer is the same even though
11173           of course it can change
11174         * gst/gstpluginfeature.c:
11175           unref plugins marked cached (a bit confusing as a name)
11176           as the docs state should be done
11177           various doc additions to explain refcounting
11178         * gst/gstregistry.c:
11179         * gst/gstregistryxml.c:
11180           debugging
11181
11182 2005-09-19  Wim Taymans  <wim@fluendo.com>
11183
11184         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
11185         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11186         (send_messages), (GST_START_TEST), (gstbus_suite):
11187         * check/gst/gstpipeline.c: (GST_START_TEST):
11188         * check/pipelines/cleanup.c: (run_pipeline):
11189         * check/pipelines/simple_launch_lines.c: (run_pipeline),
11190         (GST_START_TEST):
11191         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
11192         (gst_bus_source_check), (gst_bus_source_dispatch),
11193         (gst_bus_create_watch), (gst_bus_add_watch_full),
11194         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
11195         * gst/gstbus.h:
11196         * tools/gst-launch.c: (event_loop):
11197         * tools/gst-md5sum.c: (event_loop):
11198         GstBusHandler -> GstBusFunc, return value has the same meaning as
11199         any other GSource (FALSE == remove source).
11200         _add_watch() and _add_watch_full() now take a MessageType mask to
11201         only handle specific types of messages.
11202         _poll() returns the GstMessage instead of the message type to avoid
11203         race conditions.
11204         _have_pending() takes a MessageType mask now too.
11205         Added testsuite for multiple bus watches.
11206         Fix testsuites and applications for new bus API.
11207
11208 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11209
11210         * check/Makefile.am:
11211           mark a bunch of the tests as to fix until we fix them
11212
11213 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11214
11215         * common/check.mak:
11216           use GST_PLUGIN settings for valgrind tests as well, so we're
11217           valgrinding the correct thing
11218         * gst/gst.c: (init_post):
11219           plug another leak
11220
11221 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11222
11223         * gst/gst.c: (init_post), (gst_deinit):
11224         * gst/gstelementfactory.c: (gst_element_factory_class_init),
11225         (gst_element_factory_finalize), (gst_element_factory_cleanup):
11226         * gst/gstindex.c: (gst_index_factory_class_init),
11227         (gst_index_factory_finalize):
11228         * gst/gstobject.c: (gst_object_dispose):
11229         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
11230         (gst_plugin_load_file), (gst_plugin_desc_free):
11231         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
11232         (gst_plugin_feature_finalize):
11233         * gst/gstregistry.c: (gst_registry_class_init),
11234         (gst_registry_init), (gst_registry_finalize),
11235         (gst_registry_get_default), (gst_registry_deinit):
11236         * gst/gstregistry.h:
11237         * gst/gstregistryxml.c: (load_feature), (load_plugin):
11238           various cleanups and memleak plugging.  make valgrind is happy now.
11239
11240 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11241
11242         * common/check.mak:
11243           add a check-valgrind target
11244
11245 2005-09-18  David Schleef  <ds@schleef.org>
11246
11247         * tools/gst-inspect.c: Revert the GOption code.
11248
11249 2005-09-17  David Schleef  <ds@schleef.org>
11250
11251         * check/Makefile.am: Fix environment variables.
11252         * check/gst/gstplugin.c: Fix for API changes.
11253         * tools/gst-inspect.c: Fix for API changes.
11254         * tools/gst-xmlinspect.c: Fix for API changes.
11255         * gst/gstelementfactory.c:
11256         * gst/gstplugin.c:
11257         * gst/gstplugin.h:
11258         * gst/gstpluginfeature.c:
11259         * gst/gstpluginfeature.h:
11260         * gst/gstregistry.c:
11261         * gst/gstregistry.h:
11262         * gst/gstregistryxml.c:
11263         * gst/gsttypefind.c:
11264         * gst/gsttypefindfactory.c:
11265         * gst/indexers/gstfileindex.c:
11266         * gst/indexers/gstmemindex.c:
11267         * gst/schedulers/Makefile.am:
11268           Change registry to keep track of both plugins and features,
11269           removing the feature tracking from plugins themselves.
11270
11271 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11272
11273         * check/Makefile.am:
11274         * tools/gst-register.1.in:
11275           remove gst-register
11276
11277 2005-09-15  David Schleef  <ds@schleef.org>
11278
11279         * check/gst/gstplugin.c:
11280         * gst/gstelementfactory.c:
11281         * gst/gstplugin.c:
11282         * gst/gstpluginfeature.c:
11283         * gst/gstregistry.c:
11284           Getting tired of debugging.  Disabled all the unreffing of
11285           plugins and features, which fixes the segfaults, but of
11286           course leaks like crazy.  At least playbin works.
11287
11288 2005-09-15  David Schleef  <ds@schleef.org>
11289
11290         * check/gst/gstplugin.c: (register_check_elements),
11291         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
11292         More testing
11293         * gst/elements/gsttypefindelement.c: Fix refcounting.
11294         * gst/gsttypefind.c:
11295         * gst/gsttypefindfactory.c:
11296         * gst/gsttypefindfactory.h:
11297
11298 2005-09-15  David Schleef  <ds@schleef.org>
11299
11300         * gst/gstindex.c: get refcounting correct.
11301         * gst/gstregistry.c: Handle the case where a feature/plugin is
11302           not found.
11303
11304 2005-09-15  David Schleef  <ds@schleef.org>
11305
11306         * check/Makefile.am:
11307         * check/gst/gstplugin.c: Add test
11308         * gst/gstplugin.c: Fix problems noticed by testsuite
11309         * gst/gstplugin.h:
11310         * gst/gstregistry.c: 
11311         * gst/gstregistry.h:
11312
11313 2005-09-15  David Schleef  <ds@schleef.org>
11314
11315         * gst/gstplugin.c: Implement semi-decent recounting and locking
11316           in plugins and plugin features.
11317         * gst/gstplugin.h:
11318         * gst/gstpluginfeature.c:
11319         * gst/gstpluginfeature.h:
11320         * gst/gstregistry.c:
11321
11322 2005-09-15  Michael Smith <msmith@fluendo.com>
11323
11324         * gst/gstregistry.c: (gst_registry_get_feature_list):
11325           Implement this. Makes oggdemux work; decodebin still broken.
11326
11327 2005-09-14  David Schleef  <ds@schleef.org>
11328
11329         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
11330           #316076)
11331         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
11332         * gst/check/Makefile.am:
11333         * libs/gst/controller/Makefile.am:
11334         * libs/gst/dataprotocol/Makefile.am:
11335
11336 2005-09-14  David Schleef  <ds@schleef.org>
11337
11338         * configure.ac: Remove getbits library.  Nothing uses it, and
11339           it should be in something like liboil if someone did want
11340           to use it.
11341         * libs/gst/Makefile.am:
11342         * libs/gst/getbits/Makefile.am:
11343         * libs/gst/getbits/gbtest.c:
11344         * libs/gst/getbits/getbits.c:
11345         * libs/gst/getbits/getbits.h:
11346         * libs/gst/getbits/gstgetbits_generic.c:
11347         * libs/gst/getbits/gstgetbits_i386.s:
11348         * libs/gst/getbits/gstgetbits_inl.h:
11349
11350 2005-09-14  David Schleef  <ds@schleef.org>
11351
11352         * gst/Makefile.am: Dist glib-compat.h
11353
11354 2005-09-14  David Schleef  <ds@schleef.org>
11355
11356         * configure.ac: Remove gst/registries, since it's no longer used.
11357         * gst/registries/Makefile.am:
11358         * gst/registries/gstlibxmlregistry.c:
11359         * gst/registries/gstlibxmlregistry.h:
11360         * gst/registries/gstxmlregistry.c:
11361         * gst/registries/gstxmlregistry.h:
11362         * gst/registries/registrytest.c:
11363
11364 2005-09-14  David Schleef  <ds@schleef.org>
11365
11366         * gst/glib-compat.h:
11367         * gst/gstregistryxml.c:
11368           Convergence is near.  Seriously.
11369
11370 2005-09-14  David Schleef  <ds@schleef.org>
11371
11372         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11373         * gst/glib-compat.h:
11374           Attempt #4 to appease the buildbots.
11375
11376 2005-09-14  David Schleef  <ds@schleef.org>
11377
11378         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11379           Attempt #3.
11380
11381 2005-09-14  David Schleef  <ds@schleef.org>
11382
11383         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11384         Attempt #2.
11385
11386 2005-09-14  David Schleef  <ds@schleef.org>
11387
11388         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
11389           the new functions.
11390
11391 2005-09-14  David Schleef  <ds@schleef.org>
11392
11393         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11394         * gst/glib-compat.h: Add some functions that are in newer versions
11395           of glib than we care to require.
11396         * gst/gstregistryxml.c: Use them.
11397
11398 2005-09-14  David Schleef  <ds@schleef.org>
11399
11400         * po/POTFILES.in: remove gst-register.c
11401
11402 2005-09-14  David Schleef  <ds@schleef.org>
11403
11404         * docs/gst/gstreamer-docs.sgml:
11405         * docs/gst/gstreamer-sections.txt:
11406         * docs/gst/gstreamer.types:
11407         * docs/gst/tmpl/gstelement.sgml:
11408         * docs/gst/tmpl/gstplugin.sgml:
11409         * docs/gst/tmpl/gstpluginfeature.sgml:
11410           Documentation updates for registry changes.
11411
11412 2005-09-14  David Schleef  <ds@schleef.org>
11413
11414         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
11415           because we don't require glib-2.8.
11416
11417 2005-09-14  David Schleef  <ds@schleef.org>
11418
11419         * gst/gstregistryxml.c: Added.  Essentially moved out of the
11420           registries directory.
11421
11422 2005-09-14  David Schleef  <ds@schleef.org>
11423
11424         * check/Makefile.am:
11425         * check/generic/states.c:
11426         * gst/Makefile.am:
11427         * gst/gst.c:
11428         * gst/gst.h:
11429         * gst/gst_private.h:
11430         * gst/gstelementfactory.c:
11431         * gst/gstindex.c:
11432         * gst/gstinfo.c:
11433         * gst/gstplugin.c:
11434         * gst/gstplugin.h:
11435         * gst/gstpluginfeature.c:
11436         * gst/gstpluginfeature.h:
11437         * gst/gstregistry.c:
11438         * gst/gstregistry.h:
11439         * gst/gstregistrypool.c: remove
11440         * gst/gstregistrypool.h: remove
11441         * gst/gsttypefind.c:
11442         * gst/gsttypefindfactory.c:
11443         * gst/gsturi.c:
11444         * tools/Makefile.am:
11445         * tools/gst-compprep.c:
11446         * tools/gst-inspect.c:
11447         * tools/gst-register.c: remove
11448         * tools/gst-xmlinspect.c:
11449           Registry rewrite.  Changes registry from being a file created
11450           by a tool into a simple cache file created automatically by 
11451           libgstreamer.  Removed gst-register (because it's no longer
11452           needed).  Remove registry pools, because we only have one
11453           registry implementation (XML).  Fix up other subsystems as
11454           necessary.
11455
11456 2005-09-13  Michael Smith <msmith@fluendo.com>
11457
11458         * gst/gstconfig.h.in:
11459           Don't Use windows linking attributes for MinGW. Fixes #316157
11460
11461 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11462
11463         * gst/gstutils.c: (set_state_async_thread_func),
11464         (gst_element_set_state_async):
11465           Apparently people think it's better if this function doesn't
11466           try to set the state to whatever state was asked for on the first
11467           call to this function for any object.  Seriously.
11468
11469 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11470
11471         * check/gst/gstpipeline.c: (GST_START_TEST):
11472         * docs/gst/gstreamer-sections.txt:
11473         * gst/gstutils.c: (set_state_async_thread_func),
11474         (gst_element_set_state_async):
11475         * gst/gstutils.h:
11476           add a "gst_element_set_state_async" method that
11477           sets the state and starts a thread to make sure the state
11478           change completes as best as it can
11479
11480 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11481
11482         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11483           codify design+behaviour in testsuite after discussion
11484
11485 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11486
11487         * docs/gst/tmpl/gstelement.sgml:
11488         * docs/manual/appendix-quotes.xml:
11489           add a quote
11490         * gst/gstelement.c: (gst_element_set_state):
11491           add some debug
11492
11493 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
11494
11495         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11496         (gst_base_transform_prepare_output_buf),
11497         (gst_base_transform_handle_buffer):
11498         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
11499         (gst_capsfilter_prepare_buf):
11500           Remove the requirement for sub-classes to call the parent
11501           implementation of prepare_output_buffer with a wrapper function.
11502           
11503         * gst/gsttaglist.h:
11504         * gst/gsttagsetter.h:
11505           Fix #define wrapper
11506
11507 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
11508
11509         * docs/gst/gstreamer-sections.txt:
11510           more doc cleanups
11511
11512 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11513
11514         * docs/gst/gstreamer-sections.txt:
11515         * docs/gst/tmpl/gstelement.sgml:
11516         * docs/gst/tmpl/gstplugin.sgml:
11517         * gst/gstminiobject.c:
11518         * gst/gstvalue.h:
11519           docs now stop throwing warnings
11520
11521 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11522
11523         * docs/gst/gstreamer-sections.txt:
11524         * docs/gst/gstreamer.types:
11525         * docs/gst/tmpl/gstpad.sgml:
11526         * docs/gst/tmpl/gsttypes.sgml:
11527         * gst/base/gstadapter.h:
11528         * gst/base/gstbasesink.h:
11529         * gst/base/gstbasesrc.h:
11530         * gst/gstbin.h:
11531         * gst/gstbuffer.h:
11532         * gst/gstbus.h:
11533         * gst/gstcaps.h:
11534         * gst/gstclock.h:
11535         * gst/gstelement.h:
11536         * gst/gstevent.h:
11537         * gst/gstmessage.h:
11538         * gst/gstpad.h:
11539         * gst/gststructure.c:
11540         * gst/registries/gstlibxmlregistry.h:
11541           various documentation fixes
11542
11543 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11544
11545         * docs/gst/gstreamer-sections.txt:
11546         * docs/gst/tmpl/gstvalue.sgml:
11547           rearrange gstvalue section
11548         * gst/gstutils.c: (gst_element_state_get_name):
11549           NONE -> VOID
11550         * gst/gstvalue.c: (_gst_value_initialize):
11551         * gst/gstvalue.h:
11552           doc updates
11553
11554 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
11555
11556         * check/gst-libs/controller.c:
11557           Header include fix.
11558         * gst/base/gstbasetransform.c:
11559         (gst_base_transform_default_prepare_buf),
11560         (gst_base_transform_handle_buffer):
11561         * gst/base/gstbasetransform.h:
11562           Some more basetransform changes and fixes to enable sub-classes
11563           that modify buffer metadata only.
11564         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11565         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
11566         (gst_capsfilter_prepare_buf):
11567           If the output pad has fixed allowed caps and input buffers 
11568           don't have any, set the fixed caps on outgoing buffers.
11569
11570 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
11571         * check/elements/identity.c: (GST_START_TEST):
11572           Make the error a little clearer when the test fails because
11573           identity made a copy of the buffer.
11574         * docs/gst/gstreamer-sections.txt:
11575           New symbols in gstbasetransform.h
11576         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11577         (gst_base_transform_init), (gst_base_transform_transform_size),
11578         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
11579         (gst_base_transform_default_prepare_buf),
11580         (gst_base_transform_get_unit_size),
11581         (gst_base_transform_buffer_alloc),
11582         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11583         (gst_base_transform_change_state),
11584         (gst_base_transform_set_passthrough),
11585         (gst_base_transform_set_in_place),
11586         (gst_base_transform_is_in_place):
11587         * gst/base/gstbasetransform.h:
11588           Change BaseTransform to separate in_place operate from same_caps
11589           output. in_place implies that the element can perform the transform
11590           on incoming buffers in-place, even if the caps on the output are
11591           different.
11592           Sub-class elements can now implement special buffer allocation
11593           methods for outgoing buffers if they wish to.
11594           Big documentation addition.
11595         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
11596         * gst/elements/gstelements.c:
11597           Changes for basetransform modifications.
11598         * gst/elements/Makefile.am:
11599         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
11600           Compile fix. Extra debug output.
11601
11602 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11603
11604         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
11605         (gst_pad_suite):
11606           add tests for valid pad naming
11607         * gst/check/gstcheck.c: (gst_check_log_message_func),
11608         (gst_check_log_critical_func):
11609           add ASSERT_WARNING
11610           remove printing of code, it is fragile when the code contains
11611           % and the line number is enough info
11612         * gst/check/gstcheck.h:
11613         * gst/gstpad.c: (gst_pad_template_new):
11614           fix memleaks
11615
11616 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11617
11618         * configure.ac:
11619           say what CHECK flags we use
11620         * docs/libs/gstreamer-libs.types:
11621         * libs/gst/controller/Makefile.am:
11622         * libs/gst/controller/gst-controller.c:
11623         * libs/gst/controller/gst-controller.h:
11624         * libs/gst/controller/gst-helper.c:
11625         * libs/gst/controller/gst-interpolation.c:
11626         * libs/gst/controller/gstcontroller.c:
11627         * libs/gst/controller/gsthelper.c:
11628         * libs/gst/controller/gstinterpolation.c:
11629         * tools/gst-inspect.c: (print_plugin_info):
11630           we don't use dashes in header names
11631
11632 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11633
11634         * check/Makefile.am:
11635         * check/gst/.cvsignore:
11636         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
11637         (gst_pipeline_suite), (main):
11638           adding a test for pipelines and state changes
11639         * gst/gstutils.c: (get_state_func):
11640           add some debugging
11641         * gstreamer.spec.in:
11642           fix up spec file
11643
11644 2005-09-08  Michael Smith <msmith@fluendo.com>
11645
11646         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
11647         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
11648         (gst_file_src_is_seekable), (gst_file_src_get_size),
11649         (gst_file_src_start):
11650         * gst/elements/gstfilesrc.h:
11651           Various fixes for unseekable, unmmapable, and non-normal files, so
11652           that fallback to read() rather than mmap() works.
11653         * gst/gstevent.c: (gst_event_new_newsegment):
11654           Allow newsegment events with segment_start == segment_end, as will
11655           correctly happen if you use filesrc on a zero-size file, for
11656           example.
11657
11658 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
11659
11660         * gst/gstplugin.c: (gst_plugin_load_file):
11661           Call g_module_close when we don't load the module
11662
11663         * gst/registries/gstlibxmlregistry.c:
11664         (gst_xml_registry_get_property):
11665           Port leak fix from 0.8
11666
11667 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
11668
11669         * docs/gst/gstreamer-docs.sgml:
11670         * docs/gst/tmpl/.cvsignore:
11671         * docs/gst/tmpl/gsttrace.sgml:
11672         * docs/gst/tmpl/gsttrashstack.sgml:
11673         * gst/Makefile.am:
11674         * gst/gst.h:
11675         * gst/gstelement.h:
11676         * gst/gstevent.h:
11677         * gst/gstmessage.c:
11678         * gst/gstmessage.h:
11679         * gst/gsttag.c:
11680         * gst/gsttag.h:
11681         * gst/gsttaginterface.c:
11682         * gst/gsttaginterface.h:
11683         * gst/gsttaglist.c:
11684         * gst/gsttaglist.h:
11685         * gst/gsttagsetter.c:
11686         * gst/gsttagsetter.h:
11687         * gst/gsttrace.c:
11688         * gst/gsttrace.h:
11689         * gst/gsttrashstack.c:
11690           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
11691           inlined docs for gsttrace, gsttrashstack
11692
11693 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
11694
11695         * gst/Makefile.am:
11696         * gst/elements/gstbufferstore.h:
11697         * gst/elements/gsttypefindelement.c:
11698         * gst/elements/gsttypefindelement.h:
11699         * gst/gst.h:
11700         * gst/gsttypefind.c:
11701         * gst/gsttypefind.h:
11702         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
11703         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
11704         (gst_type_find_factory_dispose),
11705         (gst_type_find_factory_unload_thyself),
11706         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
11707         (gst_type_find_factory_get_caps),
11708         (gst_type_find_factory_get_extensions),
11709         (gst_type_find_factory_call_function):
11710         * gst/gsttypefindfactory.h:
11711         * gst/registries/gstlibxmlregistry.c:
11712         * gst/registries/gstxmlregistry.c:
11713           splitted gsttypefind into gsttypefind, gsttypefindfactory
11714
11715 2005-09-07  Andy Wingo  <wingo@pobox.com>
11716
11717         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
11718         condition whereby the pad's task function is entered before the
11719         pad_mode variable was set.
11720
11721 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
11722
11723         * gst/gstpad.c: (gst_pad_alloc_buffer):
11724           Catch misbehaving pad_alloc functions that don't
11725           set up caps and do it for them.
11726
11727 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
11728
11729         * check/pipelines/simple_launch_lines.c: (run_pipeline):
11730           test for pipe!=NULL
11731         * docs/gst/tmpl/.cvsignore:
11732         * docs/gst/tmpl/gstmemchunk.sgml:
11733         * docs/gst/tmpl/gstparse.sgml:
11734         * docs/gst/tmpl/gsttaglist.sgml:
11735         * docs/gst/tmpl/gsttagsetter.sgml:
11736         * docs/gst/tmpl/gsttypefind.sgml:
11737         * docs/gst/tmpl/gsttypefindfactory.sgml:
11738         * gst/gstmemchunk.c:
11739         * gst/gstparse.c:
11740         * gst/gsttag.c:
11741         * gst/gsttaginterface.c:
11742         * gst/gsttypefind.c:
11743         * gst/gsttypefind.h:
11744           inlined more docs
11745
11746 === release 0.9.2 ===
11747
11748 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11749
11750         * NEWS:
11751         * RELEASE:
11752         * configure.ac:
11753           releasing 0.9.2, "South"
11754
11755 2005-09-05  Andy Wingo  <wingo@pobox.com>
11756
11757         * gst/registries/gstxmlregistry.h:
11758         * gst/registries/gstxmlregistry.c: Um... resurrect...
11759         
11760         * gst/registries/gstxmlregistry.h:
11761         * gst/registries/gstxmlregistry.c: and update to newer API.
11762         Incidentally they should be a bit faster now that they don't have
11763         to parse the caps.
11764         
11765 2005-09-05  Andy Wingo  <wingo@pobox.com>
11766
11767         * gst/registries/gstxmlregistry.h:
11768         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
11769         replaced by the libxml registry a while back
11770
11771 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11772
11773         * docs/gst/tmpl/gstplugin.sgml:
11774         * gst/elements/gstelements.c:
11775         * gst/gst.c:
11776         * gst/gstplugin.c: (gst_plugin_register_func),
11777         (gst_plugin_desc_copy), (gst_plugin_desc_free),
11778         (gst_plugin_get_source):
11779         * gst/gstplugin.h:
11780         * gst/registries/gstlibxmlregistry.c: (load_plugin),
11781         (gst_xml_registry_save_plugin):
11782         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
11783         (gst_xml_registry_save_plugin):
11784         * tools/gst-inspect.c: (print_plugin_info):
11785           add a "source" plugin description field, to represent the source
11786           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
11787           will set it to PACKAGE, which is automake's idea of the name of
11788           the source project.
11789
11790 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11791
11792         * Makefile.am:
11793         * autogen.sh:
11794         * configure.ac:
11795         * docs/Makefile.am:
11796         * docs/faq/Makefile.am:
11797         * docs/gst/tmpl/gstelement.sgml:
11798         * docs/gst/tmpl/gsttypes.sgml:
11799         * docs/htmlinstall.mak:
11800         * docs/manual/Makefile.am:
11801         * docs/pwg/Makefile.am:
11802           reorganize doc build a little
11803           split out docbook and gtk-doc stuff
11804           have two separate --enable's and enable them through autogen
11805           but disable by default in configure (to be similar to other
11806           projects)
11807         * gstreamer.spec.in:
11808           clean up docs install
11809         * po/af.po:
11810         * po/az.po:
11811         * po/ca.po:
11812         * po/cs.po:
11813         * po/de.po:
11814         * po/en_GB.po:
11815         * po/fr.po:
11816         * po/it.po:
11817         * po/nb.po:
11818         * po/nl.po:
11819         * po/ru.po:
11820         * po/sq.po:
11821         * po/sr.po:
11822         * po/sv.po:
11823         * po/tr.po:
11824         * po/uk.po:
11825         * po/vi.po:
11826           translation updates
11827
11828 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
11829
11830         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
11831           Add comment.
11832           
11833         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
11834         (gst_fake_sink_change_state):
11835           Make state change function thread-safe.
11836           
11837         * gst/gstpad.c: (gst_pad_alloc_buffer):
11838           Set offset on generic buffer allocated by fallback.
11839
11840 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
11841
11842         * docs/gst/gstreamer-sections.txt:
11843         * docs/gst/tmpl/gstelement.sgml:
11844         * gst/gstpad.c:
11845         * libs/gst/controller/gst-controller.c:
11846         (gst_controlled_property_set_interpolation_mode),
11847         (gst_controlled_property_new),
11848         (gst_controller_find_controlled_property):
11849          run the wingo-magic script against the docs
11850
11851 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
11852
11853         * docs/gst/gstreamer-docs.sgml:
11854         * docs/gst/gstreamer-sections.txt:
11855         * docs/gst/tmpl/.cvsignore:
11856         * docs/gst/tmpl/gstelementdetails.sgml:
11857         * docs/gst/tmpl/gstelementfactory.sgml:
11858         * gst/gst.c:
11859         * gst/gstbus.c:
11860         * gst/gstelementfactory.c:
11861         * gst/gstelementfactory.h:
11862           merged elementdetails docs into elementfactory docs
11863           inlined both
11864
11865 2005-09-02  Andy Wingo  <wingo@pobox.com>
11866
11867         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
11868         consider this enum an enum and not a flags.
11869
11870 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
11871
11872         * docs/gst/gstreamer-docs.sgml:
11873         * docs/gst/tmpl/.cvsignore:
11874         * docs/gst/tmpl/gstghostpad.sgml:
11875         * docs/gst/tmpl/gstiterator.sgml:
11876         * docs/gst/tmpl/gstmacros.sgml:
11877         * docs/gst/tmpl/gstrealpad.sgml:
11878         * docs/gst/tmpl/gstregistry.sgml:
11879         * docs/gst/tmpl/gstregistrypool.sgml:
11880         * docs/gst/tmpl/gststructure.sgml:
11881         * docs/gst/tmpl/gstsystemclock.sgml:
11882         * docs/gst/tmpl/gsttrace.sgml:
11883         * gst/gstghostpad.c:
11884         * gst/gstmacros.h:
11885         * gst/gstmemchunk.c:
11886         * gst/gstmemchunk.h:
11887         * gst/gstqueue.c:
11888         * gst/gstregistry.c:
11889         * gst/gstregistrypool.c:
11890         * gst/gststructure.c:
11891         * gst/gstsystemclock.c:
11892           more docs inlined
11893
11894 2005-09-02  Andy Wingo  <wingo@pobox.com>
11895
11896         * gst/gstelement.h (GstState): Renamed from GstElementState,
11897         changed to be a normal enum instead of flags.
11898         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
11899         munged to be GST_STATE_CHANGE_*.
11900         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
11901         work with the new state representation.
11902         (GstStateChange): New enumeration of possible state transitions.
11903         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
11904         (GstElementClass::change_state): Pass the GstStateChange along as
11905         an argument. Helps language bindings, so they don't have to use
11906         tricky lock-needing macros like GST_STATE_CHANGE ().
11907
11908         * scripts/update-states (file): New script. Run it on a file to
11909         update it for state naming and API changes. Updates files in
11910         place.
11911
11912         * All files updated for the new API.
11913
11914 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11915
11916         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
11917         * gst/gstutils.c: (gst_util_set_value_from_string),
11918         (gst_util_set_object_arg):
11919           fix a bunch of unchecked return values
11920         * tools/gst-complete.c: (main):
11921         * gstreamer.spec.in:
11922           clean up a little
11923
11924 2005-09-01  Wim Taymans  <wim@fluendo.com>
11925
11926         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11927         (gst_base_sink_event), (gst_base_sink_do_sync),
11928         (gst_base_sink_handle_event):
11929         * gst/base/gstbasesink.h:
11930         Handle newsegments more correctly.
11931
11932         * gst/gstbus.c:
11933         Fix docs.
11934
11935         * gst/gstevent.c: (gst_event_new_newsegment):
11936         A newsegment cannot have a start_time of -1
11937
11938 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
11939
11940         * win32/gstenumtypes.c:
11941         * win32/gstenumtypes.h:
11942           Update
11943
11944 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
11945
11946         * libs/gst/controller/gst-controller.c:
11947         (gst_controlled_property_set_interpolation_mode),
11948         (gst_controlled_property_new):
11949          fixed boolean again
11950
11951 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
11952
11953         * docs/faq/gst-uninstalled:
11954           add -good
11955         * gst/gstevent.c:
11956         * gst/gstevent.h:
11957           remove wrong docs
11958         * gst/gstutils.c: (gst_element_link_filtered):
11959         * gst/gstutils.h:
11960           add gst_element_link_filtered
11961
11962 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
11963
11964         * docs/gst/gstreamer-docs.sgml:
11965         * docs/gst/gstreamer-sections.txt:
11966         * docs/gst/tmpl/.cvsignore:
11967         * docs/gst/tmpl/gsterror.sgml:
11968         * docs/gst/tmpl/gstfilter.sgml:
11969         * docs/gst/tmpl/gsturihandler.sgml:
11970         * docs/gst/tmpl/gsturitype.sgml:
11971         * docs/gst/tmpl/gstutils.sgml:
11972         * docs/gst/tmpl/gstxml.sgml:
11973         * gst/gsterror.c:
11974         * gst/gsterror.h:
11975         * gst/gstfilter.c:
11976         * gst/gsturi.c:
11977         * gst/gsturitype.c:
11978         * gst/gstutils.c:
11979         * gst/gstxml.c:
11980           inlined more docs, fixed double id-ref
11981
11982 2005-08-31  Wim Taymans  <wim@fluendo.com>
11983
11984         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11985         (gst_base_transform_handle_buffer):
11986         Passthrough elements don't need the caps as they don't care.
11987
11988 2005-08-31  Wim Taymans  <wim@fluendo.com>
11989
11990         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11991         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
11992         Don't leak refcounts on buffers.
11993
11994 2005-08-31  Wim Taymans  <wim@fluendo.com>
11995
11996         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
11997         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11998         (gst_base_transform_chain), (gst_base_transform_change_state):
11999         * gst/base/gstbasetransform.h:
12000         Handle the case where we are not negotiated more gracefully.
12001
12002 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
12003
12004         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
12005         (gst_file_src_map_region):
12006           Set READONLY flag on mmap'ed buffers, otherwise
12007           gst_buffer_make_writable() won't work properly (#314708).
12008
12009 2005-08-31  Wim Taymans  <wim@fluendo.com>
12010
12011         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
12012         passthrough elements can even do inplace on non writable
12013         buffers (as they don't touch them).
12014
12015 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
12016
12017         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
12018         (gst_test_mono_source_set_property),
12019         (gst_test_mono_source_class_init), (GST_START_TEST),
12020         (gst_controller_suite):
12021           more tests (hehe I have the most)
12022         * gst/gstbus.c:
12023           describe popping messages whenusing mulltiple sources
12024         * libs/gst/controller/gst-controller.c:
12025         (gst_controlled_property_set_interpolation_mode),
12026         (gst_controlled_property_new):
12027         * libs/gst/controller/gst-controller.h:
12028         * libs/gst/controller/gst-interpolation.c:
12029           implement boolean properties
12030
12031 2005-08-31  Wim Taymans  <wim@fluendo.com>
12032
12033         * gst/gstminiobject.c: (gst_mini_object_ref):
12034         Cannot assert that the refcount has to be positive
12035         since a disposed object can be resurrected.
12036
12037 2005-08-31  Wim Taymans  <wim@fluendo.com>
12038
12039         * gst/gstpad.c: (gst_pad_init):
12040         Revert change, need to first fix badly behaving 
12041         apps.
12042
12043 2005-08-30  Wim Taymans  <wim@fluendo.com>
12044
12045         * check/elements/fakesrc.c: (setup_fakesrc):
12046         * check/elements/identity.c: (setup_identity):
12047         Activate pads before using them.
12048
12049 2005-08-30  Wim Taymans  <wim@fluendo.com>
12050
12051         * gst/base/gstadapter.c: (gst_adapter_flush):
12052         Flushing out 0 bytes is ok for this function.
12053
12054         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12055         no newsegment gives a warning and sets the start/stop to 
12056         invalid.
12057
12058         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
12059         (gst_base_transform_set_passthrough):
12060         Some debug info.
12061
12062         * gst/gstminiobject.c: (gst_mini_object_ref):
12063         Check refcount here too.
12064
12065         * gst/gstpad.c: (gst_pad_init):
12066         Pads are initially flushing and refusing data.
12067
12068         * gst/gstutils.c: (gst_element_link_pads_filtered):
12069         When adding a capsfilter element make sure it has the
12070         same state as the parent bin.
12071
12072 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
12073
12074         * docs/gst/tmpl/.cvsignore:
12075         * docs/gst/tmpl/gstformat.sgml:
12076         * docs/gst/tmpl/gstversion.sgml:
12077         * gst/gstbus.h:
12078         * gst/gstformat.c:
12079         * gst/gstformat.h:
12080         * gst/gstversion.h.in:
12081           more docs and two more inlined
12082
12083 2005-08-30  Wim Taymans  <wim@fluendo.com>
12084
12085         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
12086         Don't sync to clock.
12087
12088 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
12089
12090         * docs/gst/gstreamer-sections.txt:
12091           ultral33t func10ns deserve to appear in the docs actually
12092         * docs/gst/tmpl/.cvsignore:
12093         * docs/gst/tmpl/gstcompat.sgml:
12094         * docs/gst/tmpl/gstconfig.sgml:
12095         * gst/check/gstcheck.c:
12096         * gst/gstcompat.h:
12097         * gst/gstconfig.h.in:
12098           inlined more docs
12099
12100 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
12101
12102         * docs/gst/tmpl/.cvsignore:
12103         * docs/gst/tmpl/gstquery.sgml:
12104         * docs/gst/tmpl/gstutils.sgml:
12105         * gst/gstquery.c:
12106         * gst/gstquery.h:
12107           inlined and extended docs
12108
12109 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
12110
12111         * check/gst-libs/controller.c: (GST_START_TEST),
12112         (gst_controller_suite):
12113           more tests
12114         * docs/gst/tmpl/gstutils.sgml:
12115         * docs/libs/gstreamer-libs-sections.txt:
12116         * docs/libs/tmpl/gstdataprotocol.sgml:
12117           include path fixes
12118         * examples/controller/audio-example.c: (main):
12119           controller example works now
12120         * gst/gstclock.h:
12121           doc fixes
12122         * tools/gst-inspect.c: (print_element_properties_info):
12123           show param spec flags
12124
12125 2005-08-29  Andy Wingo  <wingo@pobox.com>
12126
12127         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
12128
12129 2005-08-28  Andy Wingo  <wingo@pobox.com>
12130
12131         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
12132         as having two arguments instead of just one. Allows superclasses
12133         to access information on subclasses -- see the terrible for() loop
12134         in gtype.c:g_type_create_instance for the reason why. All callers
12135         changed.
12136
12137 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
12138
12139         * docs/design/part-messages.txt:
12140           update info
12141         * docs/gst/tmpl/.cvsignore:
12142         * docs/gst/tmpl/gstcaps.sgml:
12143         * docs/gst/tmpl/gstclock.sgml:
12144         * gst/gstbus.c:
12145         * gst/gstcaps.c:
12146         * gst/gstcaps.h:
12147         * gst/gstclock.c:
12148         * gst/gstclock.h:
12149         * gst/gstmessage.c:
12150           added descriptions for bus and message
12151           inline caps and clock docs
12152
12153 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
12154
12155         * gst/gstmessage.c:
12156         * gst/gstmessage.h:
12157           doc fixes
12158
12159 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
12160
12161         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12162           fix div-by-zero
12163
12164 2005-08-26  Andy Wingo  <wingo@pobox.com>
12165
12166         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
12167         element_set_state's return val.
12168         (test_2_elements): Add test that's been disabled for months.
12169
12170         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
12171         can-activate-pull properties.
12172
12173         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
12174         can-activate-pull properties. Implement is_seekable so fakesrc can
12175         operate in pull mode.
12176
12177         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
12178         properties.
12179         (gst_base_sink_activate, gst_base_sink_activate_pull)
12180         (gst_base_sink_activate_push): Make activation mode choosing work.
12181         Cleanups.
12182         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
12183         is right. Make pull mode work. Post an eos before pausing in pull
12184         mode.
12185         (gst_base_sink_change_state): Pay attention to the core's
12186         change_state() return val.
12187         
12188         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
12189         has-getrange properties. Cleanups.
12190         
12191         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
12192         has_getrange and replace with can_activate_pull and
12193         can_activate_push.
12194
12195         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
12196         locking comments. Remove has_loop, has_chain and replace with
12197         can_activate_pull and can_activate_push.
12198
12199 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
12200
12201         * configure.ac:
12202         * examples/Makefile.am:
12203         * examples/metadata/Makefile.am:
12204         * examples/metadata/read-metadata.c: (message_loop),
12205         (have_pad_handler), (make_pipeline), (print_tag), (main):
12206           Add metadata reading example that loops over a list of filenames,
12207           dumping any tags found.
12208
12209         * gst/gstbus.c: (gst_bus_dispose):
12210         * gst/gstelement.c: (gst_element_dispose):
12211           Release a few potentially-held references in dispose.
12212
12213 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
12214
12215         * docs/gst/tmpl/gstminiobject.sgml:
12216           do *not* add tmpl/*.sgml files to CVS!
12217
12218 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
12219
12220         * libs/gst/bytestream/.cvsignore:
12221         * libs/gst/bytestream/Makefile.am:
12222         * libs/gst/bytestream/adapter.c:
12223         * libs/gst/bytestream/adapter.h:
12224         * libs/gst/bytestream/bytestream.c:
12225         * libs/gst/bytestream/bytestream.h:
12226         * libs/gst/bytestream/filepad.c:
12227         * libs/gst/bytestream/filepad.h:
12228           removing obsolete files
12229
12230 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
12231
12232         * docs/gst/gstreamer-docs.sgml:
12233         * docs/libs/gstreamer-libs-docs.sgml:
12234           disabed additional index entries again, as this makes docs-gen just
12235           slow and they aren't useful yet
12236         * docs/libs/gstreamer-libs-sections.txt:
12237           little -section.txt cleanup for libs
12238
12239 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
12240
12241         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12242         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
12243           fix up some debugging
12244         (gst_base_transform_get_unit_size),
12245         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
12246         (gst_base_transform_handle_buffer):
12247         * gst/base/gstbasetransform.h:
12248           handle and store timed NEWSEGMENT events so that subclasses that
12249           calculate time by counting samples have a segment_start time they
12250           need to add to their timestamps - see audioresample
12251
12252 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
12253
12254         * gst/gstbin.h:
12255           removed ';' from the end of macro defs
12256         * docs/gst/gstreamer-docs.sgml:
12257         * docs/gst/gstreamer-sections.txt:
12258         * docs/gst/tmpl/.cvsignore:
12259         * gst/gstbus.h:
12260         * gst/gstelement.c: (gst_element_class_init),
12261         (gst_element_set_state), (activate_pads),
12262         (gst_element_save_thyself):
12263         * gst/gstevent.c: (gst_event_new_newsegment):
12264         * gst/gstevent.h:
12265         * gst/gstiterator.c:
12266         * gst/gstiterator.h:
12267         * gst/gstpad.c:
12268         * gst/gstprobe.h:
12269         * gst/gstutils.c: (gst_pad_query_convert):
12270         * gst/gstutils.h:
12271           fixed parameter name mismatches between source, header and docs
12272           added some more docs, resolved the last batch of unused elements in
12273           docs (now someone needs to doc them)
12274
12275 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12276
12277         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
12278         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
12279           don't walk through the plugins backwards.  Where is all this
12280           reversed logic coming from ?
12281
12282 2005-08-25  Wim Taymans  <wim@fluendo.com>
12283
12284         * gst/base/gstbasetransform.c: (gst_base_transform_init),
12285         (gst_base_transform_transform_size),
12286         (gst_base_transform_configure_caps),
12287         (gst_base_transform_get_unit_size),
12288         (gst_base_transform_buffer_alloc),
12289         (gst_base_transform_change_state):
12290         * gst/base/gstbasetransform.h:
12291         Cache caps unit_size.
12292         Make sure we cannot negotiate up and downstream at the
12293         same time.
12294
12295 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12296
12297         * gst/gst.c: (init_pre), (init_post):
12298           register the installed plugin path after the env var
12299         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
12300         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
12301           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
12302           directories, so the tests can prefer uninstalled over installed
12303
12304 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12305
12306         * gst/base/gstbasetransform.h:
12307           comment
12308         * gst/gstpad.c:
12309           add to docs
12310
12311 2005-08-25  Wim Taymans  <wim@fluendo.com>
12312
12313         * gst/gstbin.c: (bin_bus_handler):
12314         Be a bit more conservative about the posted message.
12315         
12316         * gst/gstbus.c: (gst_bus_post):
12317         Some cleanups, warn wrong return values.
12318
12319 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
12320
12321         * check/gst/gstbin.c: (GST_START_TEST):
12322         * gst/gstbin.c: (bin_bus_handler):
12323         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12324         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12325         (gst_message_new_warning), (gst_message_new_tag),
12326         (gst_message_new_state_changed), (gst_message_new_segment_start),
12327         (gst_message_new_segment_done), (gst_message_new_custom):
12328         * gst/gstmessage.h:
12329         * tools/gst-launch.c: (event_loop):
12330         * tools/gst-md5sum.c: (event_loop):
12331           Revert unpopular change for GST_MESSAGE_SRC to GObject.
12332
12333 2005-08-25  Wim Taymans  <wim@fluendo.com>
12334
12335         * check/generic/states.c: (GST_START_TEST):
12336         Cleanup can be done at the end.
12337
12338         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
12339         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12340         (gst_task_get_state), (gst_task_start), (gst_task_pause):
12341         Oh boy.. Thanks for finding this, Thomas. 
12342
12343 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
12344
12345         * docs/gst/gstreamer.types:
12346           added missing types
12347
12348 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
12349
12350         * docs/gst/gstreamer-docs.sgml:
12351         * docs/gst/gstreamer-sections.txt:
12352         * docs/gst/tmpl/.cvsignore:
12353         * gst/gstbin.c:
12354         * gst/gstiterator.c:
12355         * gst/gstutils.c:
12356         * gst/registries/gstxmlregistry.h:
12357           added missing classes and symbols (123 more to go)
12358           removed removed symbols from section file
12359           fixed many doc-comments
12360
12361 2005-08-24  Wim Taymans  <wim@fluendo.com>
12362
12363         * check/generic/states.c: (GST_START_TEST):
12364         Make sure all tasks are stopped.
12365
12366         * check/gst/gstbin.c: (GST_START_TEST):
12367         Unref after usage for proper valgrinding.
12368
12369         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
12370         Really wait for the task to stop before destroying the
12371         mutex.
12372
12373         * gst/gstqueue.c: (gst_queue_sink_activate_push),
12374         (gst_queue_src_activate_push):
12375         Small cleanups. Don't stop the task when we did not start
12376         it.
12377
12378         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
12379         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12380         (gst_task_get_state), (gst_task_start), (gst_task_pause),
12381         (gst_task_join):
12382         * gst/gsttask.h:
12383         Protect the stream lock with the object lock.
12384         Disallow setting the stream lock when running.
12385         Add cleanup_all to wait for the threadpool to finish.
12386         Remove code to autoallocate a mutex if none was provided.
12387         Add _join() to wait for a task to stop.
12388         Protect the thread pool with a global lock.
12389
12390 2005-08-24  Wim Taymans  <wim@fluendo.com>
12391
12392         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12393         (gst_base_sink_get_times), (gst_base_sink_do_sync),
12394         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
12395         * gst/base/gstbasesink.h:
12396         Handle newsegment events correctly.
12397         Drop buffers out of the segment range.
12398
12399 2005-08-22  Andy Wingo  <wingo@pobox.com>
12400
12401         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
12402         macro, implements an interface and gstimplementsinterface for a
12403         new type.
12404
12405 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12406
12407         * check/Makefile.am:
12408         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
12409           add a test that does a bunch of state changes on elements
12410           needs some fixing for valgrind
12411         * check/states/sinks.c: (gst_object_suite):
12412           whitespace
12413         * gst/gstcaps.h:
12414           add prototype for gst_caps_is_equal_fixed
12415         * gst/gstplugin.c:
12416         * gst/gstregistrypool.c:
12417           doc fixes
12418
12419 2005-08-24  Andy Wingo  <wingo@pobox.com>
12420
12421         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
12422         convert a negative value. Doesn't make much sense. Mostly this is
12423         here to force callers to ensure -1 maps to -1.
12424
12425 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
12426
12427         * docs/pwg/advanced-types.xml:
12428           Well done to Michael for catching my deliberate introduction
12429           of this spelling mistake. 
12430         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
12431         * gst/gstelement.h:
12432           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
12433           unlink pads before removing the element from the bin.
12434
12435 2005-08-24  Andy Wingo  <wingo@pobox.com>
12436
12437         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
12438         the same thing as GST_DEBUG=*:4.
12439         (parse_debug_level, parse_debug_category): New helper parsers.
12440
12441 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12442
12443         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12444         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
12445         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
12446         (gst_base_transform_buffer_alloc),
12447         (gst_base_transform_handle_buffer):
12448           use gboolean return values and pointers to size so we can use the
12449           full GST_BUFFER_SIZE range (guint) for buffer sizes
12450           use GstPadDirection for transform_caps
12451         * gst/base/gstbasetransform.h:
12452           rename get_size to get_unit_size since that's what it is
12453         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
12454           use GstPadDirection for transform_caps
12455         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12456         * gst/gstutils.h:
12457           cleanup and debugging
12458
12459 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
12460
12461         * gst/gstelement.c: (gst_element_class_init),
12462         (gst_element_set_state), (activate_pads),
12463         (gst_element_save_thyself):
12464         * tools/gst-compprep.c: (main):
12465         * tools/gst-inspect.c: (print_element_properties_info):
12466         * tools/gst-xmlinspect.c: (print_element_properties):
12467           Fixed long standing mem-leak
12468
12469 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
12470
12471         * check/gst/gstbin.c: (GST_START_TEST):
12472         * gst/gstbin.c: (bin_bus_handler):
12473         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12474         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12475         (gst_message_new_warning), (gst_message_new_tag),
12476         (gst_message_new_state_changed), (gst_message_new_segment_start),
12477         (gst_message_new_segment_done), (gst_message_new_custom):
12478         * gst/gstmessage.h:
12479         * tools/gst-launch.c: (event_loop):
12480         * tools/gst-md5sum.c: (event_loop):
12481           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
12482           that applications can sensibly post custom messages with references
12483           to their own objects.
12484
12485 2005-08-24  Andy Wingo  <wingo@pobox.com>
12486
12487         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
12488         already.
12489
12490 2005-08-24  Wim Taymans  <wim@fluendo.com>
12491
12492         * gst/base/gstbasetransform.c: (gst_base_transform_init),
12493         (gst_base_transform_transform_caps),
12494         (gst_base_transform_transform_size),
12495         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12496         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
12497         (gst_base_transform_handle_buffer):
12498         * gst/base/gstbasetransform.h:
12499         Many fixes and new features added by Thomas. Can now also do
12500         transforms with variable sizes and a custom fixate_caps function.
12501
12502 2005-08-24  Wim Taymans  <wim@fluendo.com>
12503
12504         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12505         Some debugging.
12506
12507         * gst/gstclock.h:
12508         Cast to ClockTime before formatting to time.
12509
12510         * gst/gstutils.h:
12511         Cleanups.
12512
12513 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
12514
12515         * check/gst-libs/controller.c: (GST_START_TEST),
12516         (gst_controller_suite):
12517         * docs/gst/tmpl/gstcaps.sgml:
12518         * docs/gst/tmpl/gstghostpad.sgml:
12519         * docs/gst/tmpl/gstquery.sgml:
12520         * docs/gst/tmpl/gstutils.sgml:
12521         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
12522         (gst_object_sink_values), (gst_object_get_value_arrays),
12523         (gst_object_get_value_array):
12524           gracefully handle helper method calls to objects that are not beeing
12525           controlled, added test case for that          
12526
12527 2005-08-23  Wim Taymans  <wim@fluendo.com>
12528
12529         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
12530         (gst_event_new_newsegment), (gst_event_parse_newsegment),
12531         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
12532         (gst_event_parse_qos), (gst_event_new_seek),
12533         (gst_event_parse_seek):
12534         * gst/gstevent.h:
12535         Some more debugging output and doc cleanups.
12536
12537         * gst/gstqueue.c: (gst_queue_handle_sink_event):
12538         Fix possible deadlock.
12539
12540 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
12541
12542         * docs/gst/gstreamer-docs.sgml:
12543         * docs/gst/gstreamer-sections.txt:
12544         * docs/gst/gstreamer.types:
12545         * docs/gst/tmpl/.cvsignore:
12546         * gst/gstbin.h:
12547         * gst/gstbus.c:
12548         * gst/gstelement.c:
12549         * gst/gstevent.h:
12550           added 100 symbols from gstreamer-unused.txt to the right sections
12551           fixed more broken comments
12552           added GstBus to docs
12553
12554 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
12555
12556         * docs/gst/gstreamer-sections.txt:
12557         * docs/gst/tmpl/.cvsignore:
12558         * docs/gst/tmpl/gstbin.sgml:
12559         * docs/gst/tmpl/gstbuffer.sgml:
12560         * gst/base/gstbasesrc.c:
12561         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
12562         * gst/gstbuffer.c:
12563         * gst/gstbuffer.h:
12564         * tools/gst-launch.1.in:
12565           inlined more doc comments, added missing comments and fixed comments
12566           fixed typos
12567
12568 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12569
12570         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12571           some debugging
12572         * gst/gstcaps.h:
12573           whitespace fixes
12574         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
12575           more debugging
12576         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
12577         * gst/gststructure.h:
12578           add a fixate function for booleans; add a FIXME that these func
12579           names should probably be gst_structure_fixate_*
12580
12581 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
12582
12583         * docs/gst/gstreamer-docs.sgml:
12584         * docs/gst/gstreamer-sections.txt:
12585         * gst/Makefile.am:
12586         * gst/gstbin.c: (gst_bin_get_type),
12587         (gst_bin_child_proxy_get_child_by_index),
12588         (gst_bin_child_proxy_get_children_count),
12589         (gst_bin_child_proxy_init):
12590         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12591         (gst_child_proxy_get_child_by_index),
12592         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
12593         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
12594         (gst_child_proxy_get), (gst_child_proxy_set_property),
12595         (gst_child_proxy_set_valist), (gst_child_proxy_set),
12596         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
12597         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
12598         * gst/gstchildproxy.h:
12599         * gst/parse/grammar.y:
12600         * tools/gst-inspect.c: (print_interfaces),
12601         (print_element_properties_info), (print_element_info):
12602           ported gstchildproxy over from 0.8
12603           ported gst-inspect fixes and enhancements over from 0.8
12604
12605 2005-08-22  Wim Taymans  <wim@fluendo.com>
12606
12607         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12608         (gst_base_transform_handle_buffer):
12609         Also call the transform function if we have ANY caps.
12610
12611         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
12612         Fix debug info.
12613
12614 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
12615
12616         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
12617           Don't pretend to handle seek events if the source is not seekable
12618
12619 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
12620
12621         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12622           Remove extra parameter to debug output
12623
12624         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12625         (gst_base_src_do_seek), (gst_base_src_activate_push):
12626           Fix seek event handling.
12627
12628         * gst/gstpipeline.c: (gst_pipeline_change_state):
12629         * gst/gstqueue.c: (gst_queue_handle_sink_event),
12630         (gst_queue_src_activate_push):
12631           Don't start the src pad task on FLUSH_STOP if the pad
12632           isn't linked.
12633           Debug changes.
12634
12635 2005-08-22  Wim Taymans  <wim@fluendo.com>
12636
12637         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12638         Added check for gst_static_caps_get() refcounting.
12639
12640 2005-08-22  Wim Taymans  <wim@fluendo.com>
12641
12642         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
12643         Make _static_caps_get() refcounting sane.
12644         
12645         * gst/gstelement.c: (gst_element_set_state):
12646         Add g_return_val_if_fail() to protect against segfaults.
12647
12648 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
12649
12650         * docs/gst/tmpl/gstevent.sgml:
12651         * gst/gstevent.c:
12652         * gst/gstevent.h:
12653           inlined remaining docs, added missing doc comments
12654
12655 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12656
12657         * check/gst/gstbin.c: (GST_START_TEST):
12658           since we don't know when preroll is done, use refcount range
12659           check for the sink
12660         * gst/check/gstcheck.h:
12661           add macro for checking refcount range
12662
12663 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12664
12665         * check/Makefile.am:
12666           clean up environment for when registry gets built versus
12667           when actual tests are run; valgrind seems to not report
12668           leaks if GST_PLUGIN_PATH is set to some specific values
12669         * check/gst/gstbin.c: (GST_START_TEST):
12670           add more refcounting checks; maybe this exposes a
12671           preroll lock bug ?
12672         * common/check.mak:
12673         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12674         * gst/check/gstcheck.h:
12675         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
12676         (gst_bin_change_state):
12677         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
12678           add/fix debugging/whitespace
12679
12680 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
12681
12682         * check/gst/gstevent.c: (event_probe), (test_event),
12683         (GST_START_TEST):
12684          Er, don't call gst_bin_watch_for_state_change you idiot.
12685
12686 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
12687
12688         * check/Makefile.am:
12689           Use CHECK_CFLAGS and CHECK_LIBS
12690         * check/gst/gstevent.c: (event_probe), (test_event),
12691         (GST_START_TEST):
12692           Don't leak events.
12693         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12694         (gst_base_src_start), (gst_base_src_stop),
12695         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12696         (gst_base_src_change_state):
12697           Sprinkle gst_base_src_stop liberally around error paths to fix
12698           problems reusing a source after failed state changes.
12699         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12700         (helper_find_suggest), (gst_type_find_helper):
12701           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
12702         * gst/gstevent.h:
12703         * docs/gst/tmpl/gstevent.sgml:
12704           Migrate part of the docs from the SGML file. Wait for ensonic to
12705           tell me how I did it wrong ;)
12706         * tools/gst-typefind.c: (main):
12707           Extra robustness to state changes between files.
12708
12709 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12710
12711         * check/Makefile.am:
12712           don't valgrind the controller test - it's leaking - Stefan, HELP
12713         * gst/check/gstcheck.c: (gst_check_message_error),
12714         (gst_check_chain_func), (gst_check_setup_element),
12715         (gst_check_teardown_element), (gst_check_setup_src_pad),
12716         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12717         (gst_check_teardown_sink_pad):
12718         * gst/check/gstcheck.h:
12719           add a bunch of methods to set up elements, and src and sink pads
12720         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
12721         * check/elements/identity.c: (setup_identity), (cleanup_identity),
12722         (GST_START_TEST):
12723           use them
12724         * gst/gstmessage.c:
12725         * gst/gsttag.h:
12726           whitespace/doc fixes
12727
12728 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12729
12730         * gst/gstelement.h:
12731           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
12732           be handled by the application and not always printed as well
12733
12734 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12735
12736         * check/Makefile.am:
12737           set GST_TOOLS_DIR
12738         * gst/check/gstcheck.c: (gst_check_message_error):
12739         * gst/check/gstcheck.h:
12740           add a fail_unless_equals_int
12741           add fail_unless for error messages
12742
12743 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12744
12745         * check/Makefile.am:
12746         * check/gst.supp:
12747         * common/Makefile.am:
12748         * common/check.mak:
12749         * common/gst.supp:
12750           factor out some of the common stuff so we can use it
12751
12752 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12753
12754         * check/Makefile.am:
12755         * check/gst/gstiterator.c: (GST_START_TEST):
12756         * check/gst/gstsystemclock.c: (GST_START_TEST),
12757         (gst_systemclock_suite):
12758         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12759         * gst/gstclock.c:
12760           valgrind more tests
12761
12762 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12763
12764         * check/elements/.cvsignore:
12765         * check/elements/gstfakesrc.c:
12766           rename to name of element
12767         * check/elements/identity.c: (chain_func), (event_func),
12768         (setup_identity), (cleanup_identity), (GST_START_TEST),
12769         (identity_suite), (main):
12770           add a test for identity
12771         * check/Makefile.am:
12772         * pkgconfig/Makefile.am:
12773         * pkgconfig/gstreamer-check.pc.in:
12774         * pkgconfig/gstreamer-check-uninstalled.pc.in:
12775         * gst/check:
12776         * gst/Makefile.am:
12777         * configure.ac:
12778           move the check stuff to a library that gets installed
12779         * check/gst-libs/controller.c: (GST_START_TEST):
12780         * check/gst-libs/gdp.c:
12781         * check/gst/gst.c: (GST_START_TEST):
12782         * check/gst/gstbin.c:
12783         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12784         * check/gst/gstbus.c:
12785         * check/gst/gstcaps.c: (GST_START_TEST):
12786         * check/gst/gstelement.c:
12787         * check/gst/gstghostpad.c:
12788         * check/gst/gstiterator.c:
12789         * check/gst/gstmessage.c:
12790         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
12791         * check/gst/gstobject.c:
12792         * check/gst/gstpad.c: (GST_START_TEST):
12793         * check/gst/gststructure.c: (GST_START_TEST):
12794         * check/gst/gstsystemclock.c: (GST_START_TEST),
12795         (gst_systemclock_suite):
12796         * check/gst/gsttag.c: (gst_tag_suite):
12797         * check/gst/gstvalue.c:
12798         * check/pipelines/cleanup.c:
12799         * check/pipelines/simple_launch_lines.c:
12800         * check/states/sinks.c:
12801           change include statement
12802
12803         * docs/gst/gstreamer-sections.txt:
12804         * docs/gst/tmpl/gstpad.sgml:
12805           document more pad stuff
12806         * gst/gstminiobject.c: (gst_mini_object_ref),
12807         (gst_mini_object_unref):
12808           debug refcounting
12809
12810 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
12811
12812         * docs/gst/tmpl/gst.sgml:
12813         * gst/gst.c:
12814           eliminate another tmpl file, fix spelling in the long-description
12815
12816 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12817
12818         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12819         (test_event), (timediff), (gstevents_suite):
12820           Should fix build on 64-bit arch's
12821
12822 2005-08-18  Andy Wingo  <wingo@pobox.com>
12823
12824         Make sure that when a pipeline goes to PLAYING, that data has
12825         actually hit the sink.
12826
12827         * check/states/sinks.c (test_sink): A sink that doesn't get any
12828         data shouldn't return SUCCESS for going to either PLAYING or
12829         PAUSED. Test also the return values on the way back down.
12830
12831         * gst/gstelement.c (gst_element_set_state): When changing the
12832         state of an element currently changing state asynchronously, go to
12833         lost-state after commiting the pending state. Makes future calls
12834         to get_state continue to return ASYNC.
12835
12836         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
12837         ASYNC when going to PLAYING if we still don't have preroll, as can
12838         happen with live sources.
12839
12840 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12841
12842         * docs/pwg/advanced-types.xml:
12843           Hack long paragraph into 2 chunks as a workaround for buggy
12844           jadetex version in sid and breezy that loops infinitely and
12845           eats all RAM.
12846
12847 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12848
12849         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12850         (test_event), (timediff), (gstevents_suite):
12851           Provide more error margin in clock measurements to allow for 
12852           g_get_current_time inaccuracies.
12853
12854 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12855
12856         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12857         (test_event), (timediff), (gstevents_suite):
12858            Fix error message output so I might be able to tell why the
12859            test works here but fails on the build farm.
12860
12861 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12862
12863         * check/Makefile.am:
12864         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12865         (test_event), (timediff), (gstevents_suite), (main):
12866           I wrote a test!
12867
12868         * docs/design/part-seeking.txt:
12869           Spelling correction
12870
12871         * docs/gst/tmpl/gstevent.sgml:
12872         * docs/gst/tmpl/gstfakesrc.sgml:
12873           Docs updates.
12874
12875         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12876           Treat a buffer-without-newsegment the same as a receiving 
12877           a newsegment not in time format, and disable syncing to the clock
12878           with a warning.
12879
12880         * gst/gstbus.c: (gst_bus_set_sync_handler):
12881           Assert if anyone tries to replace the existing sync_handler for bus, 
12882           as only the owner should be setting it.
12883
12884         * gst/gstevent.h:
12885           Have a fixed set of custom event enums with events identified by
12886           their structure name (as in 0.8), rather than a free-for-all
12887           allowing collisions between enum values from different plugins.
12888
12889         * gst/gstpad.c: (gst_pad_class_init):
12890           Docs change.
12891           
12892         * gst/gstqueue.c: (gst_queue_handle_sink_event):
12893           Handle out-of-band downstream events from the sending thread.
12894
12895 2005-08-17  Andy Wingo  <wingo@pobox.com>
12896
12897         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
12898         play-timeout==0 to mean no timeout at all. In that case, don't
12899         bother with a get_state or a warning, just return directly, even
12900         if it's ASYNC.
12901
12902         * gst/base/gstbasetransform.c: Debug changes.
12903
12904         * gst/gstutils.h:
12905         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
12906         ensure bins post state change messages. A bit of a hack but I can't
12907         think of a way to avoid it.
12908
12909         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
12910
12911 2005-08-16  Andy Wingo  <wingo@pobox.com>
12912
12913         * gst/base/gstadapter.h:
12914         * gst/base/gstadapter.c (gst_adapter_take): New function, like
12915         peek() but you own the data. Not terribly efficient atm.
12916
12917 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12918
12919         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
12920         (gst_element_found_tags):
12921         * gst/gstutils.h:
12922           Add two utility functions for tag handling.
12923
12924 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12925
12926         * docs/manual/advanced-dataaccess.xml:
12927         * docs/manual/basics-helloworld.xml:
12928           Fix docs to use _bin_add() before _link(), which fixes the examples
12929           with recent core versions (reported by Madhan Raj M
12930           <raj_madan@rediffmail.com>, #313199).
12931
12932 2005-08-16  Wim Taymans  <wim@fluendo.com>
12933
12934         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12935         Added subtract checks.
12936
12937         * docs/design/part-events.txt:
12938         Some more docs about newsegment
12939
12940         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
12941         Fix FIXME
12942
12943         * gst/gstcaps.c: (gst_caps_to_string):
12944         Add comments, cleanups.
12945         
12946         * gst/gstelement.c: (gst_element_save_thyself):
12947         cleanups
12948         
12949         * gst/gstvalue.c: (gst_value_collect_int_range),
12950         (gst_string_unwrap), (gst_value_union_int_int_range),
12951         (gst_value_union_int_range_int_range),
12952         (gst_value_intersect_int_int_range),
12953         (gst_value_intersect_int_range_int_range),
12954         (gst_value_intersect_double_double_range),
12955         (gst_value_intersect_double_range_double_range),
12956         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
12957         (gst_value_subtract_int_range_int),
12958         (gst_value_subtract_double_range_double),
12959         (gst_value_subtract_double_range_double_range),
12960         (gst_value_subtract_from_list), (gst_value_subtract_list),
12961         (gst_value_can_compare), (gst_value_compare_fraction):
12962         Cleanups, add comments, remove unneeded asserts.
12963
12964 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12965
12966         * tools/gst-launch.c: (event_loop):
12967           don't convert NULL structures to strings
12968
12969 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
12970
12971         * docs/gst/gstreamer-sections.txt:
12972           made some defines private
12973         * docs/gst/tmpl/gstconfig.sgml:
12974         * docs/gst/tmpl/gstqueue.sgml:
12975         * docs/gst/tmpl/gsttaglist.sgml:
12976         * docs/gst/tmpl/gsttypes.sgml:
12977         * docs/gst/tmpl/gstutils.sgml:
12978         * docs/pwg/appendix-porting.xml:
12979         * gst/base/gstbasesink.h:
12980         * gst/base/gstbasesrc.c:
12981         * gst/base/gstbasesrc.h:
12982         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
12983         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
12984         * gst/gstelement.c: (gst_element_class_init):
12985         * gst/gstpad.c: (gst_pad_class_init):
12986         * gst/gstqueue.c: (gst_queue_class_init):
12987         * gst/gstxml.c: (gst_xml_class_init):
12988           documented all undocumented signal inline
12989         * libs/gst/controller/gst-controller.h:
12990           added padding
12991
12992 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12993
12994         * docs/pwg/appendix-porting.xml:
12995           Document _set_link_function -> _set_setcaps_function.
12996
12997 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12998
12999         * check/Makefile.am:
13000           add a .check target for running the check
13001         * check/gst-libs/controller.c: (GST_START_TEST):
13002           cosmetic fixups
13003         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13004           complete checks for gstbuffer; would be nice if I could get the
13005           gcov stuff to work so I can see if I actually completed gstbuffer.c
13006         * check/gstcheck.h:
13007           add ASSERT_BUFFER_REFCOUNT
13008
13009 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
13010
13011         * docs/gst/gstreamer-sections.txt:
13012         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
13013         * gst/gsttag.h:
13014           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
13015           spew out a warning if a tag that is already registered
13016           is re-registered, unless it is re-registered with a 
13017           different type (#308438).
13018
13019 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
13020
13021         * docs/pwg/appendix-porting.xml:
13022         * docs/pwg/building-state.xml:
13023           Add some paragraphs about state changes in 0.9 to the PWG
13024           and the porting guide, in particular about the new meaning
13025           of GST_STATE_PAUSED and how to write state change functions
13026           with concurrent access by multiple threads in mind.
13027
13028 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
13029
13030         * docs/gst/gstreamer-docs.sgml:
13031         * docs/libs/gstreamer-libs-docs.sgml:
13032           added deprecation and since indexes
13033         * libs/gst/controller/gst-controller.c:
13034         * libs/gst/controller/gst-helper.c:
13035           added since tags
13036
13037
13038 2005-08-11  Wim Taymans  <wim@fluendo.com>
13039
13040         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
13041         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
13042         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
13043         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
13044         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
13045         (gst_ghost_pad_set_target):
13046         Actually implement (re)setting the target on a ghostpad
13047         as described in the docs.
13048
13049 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
13050
13051         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
13052           Check whether GST_DEBUG_NO_COLOR environment variable is
13053           set and disable coloured debug output if that is the case.
13054
13055 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
13056
13057         * gst/base/gsttypefindhelper.c: (helper_find_peek),
13058         (gst_type_find_helper):
13059           The memory returned by gst_type_find_peek() needs to
13060           stay valid until the end of a typefind function, and
13061           typefind functions may keep results from different 
13062           offsets around, so we can't just unref the buffer from
13063           the previous _peek(), but have to save all buffers 
13064           returned by _peek() until typefinding is done and only
13065           free them then.
13066
13067 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13068
13069         * docs/gst/gstreamer-sections.txt:
13070         * gst/gstutils.h:
13071           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
13072
13073 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13074
13075         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13076           Fix a pretty good memleak.
13077
13078 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13079
13080         * gst/gstiterator.h:
13081           Fix wrong include and 'make distcheck'.
13082
13083 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13084
13085         * gst/gstbin.c: (bin_bus_handler):
13086           Use gst_element_post_message() instead.
13087
13088 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13089
13090         * gst/base/gstadapter.h:
13091         * gst/base/gstbasesink.h:
13092         * gst/base/gstbasesrc.h:
13093         * gst/base/gstbasetransform.h:
13094         * gst/base/gstcollectpads.h:
13095         * gst/base/gstpushsrc.h:
13096         * gst/gstiterator.h:
13097           Add padding to our base elements' class and instance structs and
13098           to GstIterator (you will need to rebuild all plugins and apps!)
13099
13100 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13101
13102         * gst/gstbin.c: (bin_bus_handler):
13103           Make default message forwarding from child->bus to bin->bus
13104           threadsafe and make it not emit warnings if the parent has no bus.
13105
13106 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13107
13108         * gst/gstelement.c: (activate_pads):
13109           On paused->ready, set pad->caps to NULL, as is the documented
13110           behaviour in this state change. Fixes playback of series of
13111           media files when visualization is enabled in Totem.
13112
13113 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13114
13115         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
13116           Allow NULL as filter-caps (which means "any").
13117
13118 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
13119
13120         * docs/libs/gstreamer-libs-sections.txt:
13121         * libs/gst/controller/gst-controller.c:
13122         * libs/gst/controller/gst-controller.h:
13123         * libs/gst/controller/gst-helper.c:
13124           adding more entries to the docs and fix small doc-bugs
13125
13126 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
13127
13128         * docs/gst/gstreamer-docs.sgml:
13129         * docs/gst/gstreamer-sections.txt:
13130         * docs/gst/gstreamer.types:
13131         * docs/gst/tmpl/gstbasesink.sgml:
13132         * docs/gst/tmpl/gstbasesrc.sgml:
13133         * docs/gst/tmpl/gstbasetransform.sgml:
13134         * docs/gst/tmpl/gstfakesrc.sgml:
13135         * gst/base/gstcollectpads.c:
13136         * gst/base/gstcollectpads.h:
13137         * libs/gst/controller/gst-controller.c:
13138         * libs/gst/controller/gst-controller.h:
13139         * libs/gst/controller/gst-helper.c:
13140         * libs/gst/controller/gst-interpolation.c:
13141         * libs/gst/controller/lib.c:
13142           added long/short desc for controller docs
13143           added collectpads base class docs
13144           added correct includes to base-class docs
13145
13146 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
13147
13148         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13149         (gst_test_mono_source_set_property),
13150         (gst_test_mono_source_class_init), (GST_START_TEST),
13151         (gst_controller_suite):
13152         * docs/gst/gstreamer-docs.sgml:
13153         * docs/gst/gstreamer-sections.txt:
13154         * docs/gst/gstreamer.types:
13155         * docs/libs/gstreamer-libs-docs.sgml:
13156         * docs/libs/gstreamer-libs-sections.txt:
13157         * gst/base/gstadapter.c:
13158         * libs/gst/controller/gst-controller.c:
13159         (gst_controlled_property_new), (gst_controlled_property_free),
13160         (gst_controller_new_valist),
13161         (gst_controller_remove_properties_valist),
13162         (gst_controller_sink_values), (_gst_controller_finalize):
13163         * libs/gst/controller/gst-controller.h:
13164         * libs/gst/controller/gst-helper.c:
13165         (gst_object_control_properties), (gst_object_uncontrol_properties),
13166         (gst_object_get_controller), (gst_object_set_controller),
13167         (gst_object_sink_values), (gst_object_get_value_arrays),
13168         (gst_object_get_value_array):
13169           more tests (and fixes) for the controller
13170           more docs for the controller
13171           integrated companies docs for the adapter 
13172
13173 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13174
13175         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
13176         (GST_START_TEST), (fakesrc_suite):
13177           add tests for sizetype
13178
13179 2005-08-04  Andy Wingo  <wingo@pobox.com>
13180
13181         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
13182         fixes buffer_alloc proxying among other things.
13183
13184         * gst/base/gstbasetransform.c:
13185         * gst/base/gstbasetransform.h:
13186         Revert patch to gstbasetransform from 7-28 removing
13187         delay_configure.
13188
13189         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
13190         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
13191         Semantics changed, should return not the size of the output buffer
13192         but the byte size of a buffer with a given caps.
13193
13194         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
13195         debug object.
13196         (gst_base_transform_configure_caps): Don't set out_size here: (in,
13197         out) are not the pad caps until setcaps finishes.
13198         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
13199         not-in-place case as well. Deal with changing from in-place to
13200         not-in-place within calling pad_alloc_buffer. Still a bit
13201         concerned about the overhead here...
13202
13203 2005-08-03  Andy Wingo  <wingo@pobox.com>
13204
13205         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
13206         fixating is an error.
13207
13208 2005-08-04  Edward Hervey  <edward@fluendo.com>
13209
13210         * gst/base/gstadapter.h: 
13211         Added gst_adapter_get_type() to the header
13212
13213 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
13214
13215         * check/Makefile.am:
13216         * check/gst-libs/controller.c:
13217         * libs/gst/controller/gst-controller.c:
13218         (gst_controller_new_valist):
13219           added check test suite for the controller
13220         * gst/base/gstpushsrc.c:
13221           fixed a doc typo
13222
13223 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
13224
13225         * docs/gst/Makefile.am:
13226         * docs/gst/gstreamer-docs.sgml:
13227         * docs/gst/gstreamer-sections.txt:
13228         * docs/gst/gstreamer.types:
13229         * docs/gst/tmpl/gstfakesrc.sgml:
13230         * gst/base/README:
13231         * gst/base/gstbasesink.c:
13232         * gst/base/gstbasesink.h:
13233         * gst/base/gstbasesrc.c:
13234         * gst/base/gstbasesrc.h:
13235         * gst/base/gstbasetransform.c:
13236         * gst/base/gstpushsrc.c:
13237         * gst/base/gstpushsrc.h:
13238           add short/long description docs to base classes
13239           add pushsrc to the docs
13240           remove consolidated doc fragments
13241
13242 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
13243
13244         * configure.ac:
13245         * docs/libs/Makefile.am:
13246         * docs/libs/gstreamer-libs-docs.sgml:
13247         * docs/libs/gstreamer-libs-sections.txt:
13248         * docs/libs/gstreamer-libs.types:
13249         * examples/Makefile.am:
13250         * examples/controller/.cvsignore:
13251         * examples/controller/Makefile.am:
13252         * examples/controller/audio-example.c: (main):
13253         * libs/gst/Makefile.am:
13254         * libs/gst/controller/.cvsignore:
13255         * libs/gst/controller/Makefile.am:
13256         * libs/gst/controller/gst-controller.c:
13257         (on_object_controlled_property_changed), (gst_timed_value_compare),
13258         (gst_timed_value_find),
13259         (gst_controlled_property_set_interpolation_mode),
13260         (gst_controlled_property_new), (gst_controlled_property_free),
13261         (gst_controller_find_controlled_property),
13262         (gst_controller_new_valist), (gst_controller_new),
13263         (gst_controller_remove_properties_valist),
13264         (gst_controller_remove_properties), (gst_controller_set),
13265         (gst_controller_set_from_list), (gst_controller_unset),
13266         (gst_controller_get), (gst_controller_get_all),
13267         (gst_controller_sink_values), (gst_controller_get_value_arrays),
13268         (gst_controller_get_value_array),
13269         (gst_controller_set_interpolation_mode),
13270         (_gst_controller_finalize), (_gst_controller_init),
13271         (_gst_controller_class_init), (gst_controller_get_type):
13272         * libs/gst/controller/gst-controller.h:
13273         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
13274         (g_object_uncontrol_properties), (g_object_get_controller),
13275         (g_object_set_controller), (g_object_sink_values),
13276         (g_object_get_value_arrays), (g_object_get_value_array):
13277         * libs/gst/controller/gst-interpolation.c:
13278         (gst_controlled_property_find_timed_value_node),
13279         (interpolate_none_get), (interpolate_trigger_get),
13280         (interpolate_trigger_get_value_array):
13281         * libs/gst/controller/lib.c: (gst_controller_init):
13282         * pkgconfig/Makefile.am:
13283         * pkgconfig/gstreamer-control-uninstalled.pc.in:
13284         * pkgconfig/gstreamer-control.pc.in:
13285         * testsuite/Makefile.am:
13286         * testsuite/controller/.cvsignore:
13287         * testsuite/controller/Makefile.am:
13288         * testsuite/controller/interpolator.c: (main):
13289           added controller code
13290           removed dparam pc files
13291
13292 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
13293         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
13294         (gst_collectpads_stop):
13295           Broadcast the condition when shutting down, to make sure we wake all
13296           threads up. Shut down pads on finalize, for safety.
13297
13298 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
13299         * gst/base/gstbasetransform.c: (gst_base_transform_init),
13300         (gst_base_transform_handle_buffer),
13301         (gst_base_transform_change_state):
13302           Handle PAUSED->READY->PAUSED transition after negotiation
13303           occurred already.
13304         * gst/gstmessage.c: (gst_message_init):
13305           Extra piece of debug for new messages.
13306
13307 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
13308
13309         * configure.ac:
13310         * docs/gst/tmpl/gstbasesrc.sgml:
13311         * docs/gst/tmpl/gstelement.sgml:
13312         * docs/gst/tmpl/gstevent.sgml:
13313         * docs/gst/tmpl/gstfakesrc.sgml:
13314         * docs/gst/tmpl/gstformat.sgml:
13315         * docs/gst/tmpl/gstghostpad.sgml:
13316         * docs/gst/tmpl/gstpad.sgml:
13317         * docs/gst/tmpl/gstquery.sgml:
13318         * docs/gst/tmpl/gststructure.sgml:
13319         * docs/gst/tmpl/gsttaglist.sgml:
13320         * docs/gst/tmpl/gstvalue.sgml:
13321         * docs/libs/gstreamer-libs-docs.sgml:
13322         * docs/libs/gstreamer-libs-sections.txt:
13323         * docs/libs/gstreamer-libs.types:
13324         * libs/gst/Makefile.am:
13325         * libs/gst/control/.cvsignore:
13326         * libs/gst/control/Makefile.am:
13327         * libs/gst/control/control.c:
13328         * libs/gst/control/control.h:
13329         * libs/gst/control/dparam.c:
13330         * libs/gst/control/dparam.h:
13331         * libs/gst/control/dparam_smooth.c:
13332         * libs/gst/control/dparam_smooth.h:
13333         * libs/gst/control/dparamcommon.h:
13334         * libs/gst/control/dparammanager.c:
13335         * libs/gst/control/dparammanager.h:
13336         * libs/gst/control/dplinearinterp.c:
13337         * libs/gst/control/dplinearinterp.h:
13338         * libs/gst/control/unitconvert.c:
13339         * libs/gst/control/unitconvert.h:
13340         * testsuite/Makefile.am:
13341         * testsuite/dynparams/.cvsignore:
13342         * testsuite/dynparams/Makefile.am:
13343         * testsuite/dynparams/dparamstest.c:
13344         * tools/Makefile.am:
13345         * tools/gst-inspect.c: (print_element_info), (main):
13346         * tools/gst-xmlinspect.c: (print_element_info), (main):
13347           deactivate and remove dparams (libgstcontrol)
13348
13349 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
13350
13351         * gst/elements/gsttypefindelement.c:
13352         (gst_type_find_element_have_type), (gst_type_find_element_init),
13353         (stop_typefinding), (gst_type_find_element_handle_event),
13354         (gst_type_find_element_chain), (gst_type_find_element_getrange):
13355         * gst/elements/gsttypefindelement.h:
13356           Set caps on all outgoing buffers, not just the first one.
13357
13358 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
13359
13360         * gst/elements/gsttypefindelement.c:
13361         (gst_type_find_element_have_type),
13362         (gst_type_find_element_check_set_buffer_caps),
13363         (gst_type_find_element_init), (stop_typefinding),
13364         (gst_type_find_element_handle_event),
13365         (gst_type_find_element_chain), (gst_type_find_element_getrange):
13366         * gst/elements/gsttypefindelement.h:
13367           Set caps on first outgoing buffer when we've found the type.
13368
13369 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
13370
13371         * docs/gst/gstreamer-docs.sgml:
13372         * docs/gst/gstreamer-sections.txt:
13373         * docs/gst/tmpl/gstscheduler.sgml:
13374         * docs/gst/tmpl/gstschedulerfactory.sgml:
13375           Remove some old cruft from docs.
13376
13377 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
13378
13379         * gst/gstpad.h:
13380           Fix inline docs for GstPadLinkReturn.
13381           
13382         * gst/gststructure.c: (gst_structure_has_name):
13383         * gst/gststructure.h:
13384         * docs/gst/gstreamer-sections.txt:
13385           New API: gst_structure_has_name().
13386
13387 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
13388
13389         * configure.ac:
13390           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
13391           and _LARGEFILE_SOURCE in config.h as required. Do not 
13392           export those flags in our .pc files any longer (#142209).
13393
13394           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
13395
13396         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
13397         (gst_file_sink_do_seek), (gst_file_sink_event),
13398         (gst_file_sink_get_current_offset), (gst_file_sink_render):
13399           Redo seek/tell calls with large file support in mind; add some
13400           debugging messages; add log message that tells us when large
13401           file support is unavailable or not enabled for some reason.
13402
13403         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
13404           Add log message that tells us when large file support 
13405           is unavailable or not enabled for some reason.
13406
13407 2005-07-29  Wim Taymans  <wim@fluendo.com>
13408
13409         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13410         Added test for removing an element with ghostpad from a bin.
13411         Fixed test as current implementation does the right thing.
13412
13413         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
13414         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
13415         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
13416         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
13417         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
13418         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13419         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13420         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13421         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
13422         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
13423         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
13424         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
13425         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13426         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
13427         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
13428         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
13429         * gst/gstghostpad.h:
13430         Clean up ghostpads, remove properties for internal stuff.
13431         Make threadsafe.
13432         Fix refcounting.
13433         Prepare for switching targets, not all use cases work yet.
13434
13435 2005-07-29  Wim Taymans  <wim@fluendo.com>
13436
13437         * docs/design/part-gstghostpad.txt:
13438         Small update.
13439
13440         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13441         (gst_bin_remove_func):
13442         Unlinking pads while holding the bin LOCK is not a good
13443         idea.
13444
13445         * gst/gstpad.c: (gst_pad_class_init),
13446         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
13447         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
13448         No prob setting template after creating the pad.
13449
13450 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
13451
13452         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
13453         (gst_bus_peek), (gst_bus_source_dispatch),
13454         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
13455         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
13456           gst_bus_poll may be called from other threads. Handle
13457           this nicely by not making poll_data disappear off the
13458           stack once gst_bus_poll returns.
13459           gst_bus_peek now increments the refcount on the returned
13460           message.
13461
13462 2005-07-29  Wim Taymans  <wim@fluendo.com>
13463
13464         * docs/design/part-gstghostpad.txt:
13465         Overview of current GhostPad datastructures and use
13466         cases for changing the target.
13467
13468 2005-07-28  Wim Taymans  <wim@fluendo.com>
13469
13470         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13471         Added checks for hierarchy consistency whan adding linked
13472         elements to bins.
13473
13474         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
13475         Added check to test element scheduling without bin/pipeline.
13476
13477         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
13478         First add elements to bin, then link.
13479         
13480         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13481         (gst_bin_remove_func):
13482         Unlink pads from elements added/removed from bin to maintain
13483         hierarchy consistency.
13484
13485 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13486
13487         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13488         (gst_base_transform_handle_buffer):
13489         * gst/base/gstbasetransform.h:
13490           Remove broken delay_configure (fixes renegotiation of software
13491           scaling pipelines); remove some leftover printf()s.
13492
13493 2005-07-28  Wim Taymans  <wim@fluendo.com>
13494
13495         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13496         Added some more tests for wrong hierarchy
13497
13498         * docs/design/part-overview.txt:
13499         Some updates.
13500
13501         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
13502         Cleanups.
13503
13504         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
13505         (gst_element_dispose):
13506         Some more cleanups.
13507
13508         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
13509         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
13510         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13511         (gst_pad_set_caps), (gst_pad_send_event):
13512         Check for correct hierarchy when linking pads. Moving to
13513         strict requirement for ghostpads when linking elements in
13514         different bins.
13515
13516         * gst/gstpad.h:
13517         Clean ups. Added WRONG_HIERARCHY return value.
13518
13519 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13520
13521         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13522           Better debug if no transform is possible.
13523
13524 2005-07-27  Wim Taymans  <wim@fluendo.com>
13525
13526         * docs/random/wtay/network-transp:
13527         Some old doc I had.
13528
13529 2005-07-27  Wim Taymans  <wim@fluendo.com>
13530
13531         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13532         (gst_dp_event_from_packet):
13533         Fix serialization of seek events.
13534
13535 2005-07-27  Wim Taymans  <wim@fluendo.com>
13536
13537         * check/gst-libs/gdp.c: (GST_START_TEST):
13538         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13539         Fix compilation and fix event serialization.
13540
13541 2005-07-27  Wim Taymans  <wim@fluendo.com>
13542
13543         * CHANGES-0.9:
13544         * docs/design/part-TODO.txt:
13545         * docs/design/part-events.txt:
13546         Some docs updates
13547
13548         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13549         (gst_base_sink_event), (gst_base_sink_do_sync),
13550         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13551         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13552         (gst_base_src_do_seek), (gst_base_src_event_handler),
13553         (gst_base_src_loop):
13554         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13555         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13556         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13557         (gst_base_transform_event), (gst_base_transform_handle_buffer),
13558         (gst_base_transform_set_passthrough),
13559         (gst_base_transform_is_passthrough):
13560         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13561         * gst/elements/gstfilesink.c: (gst_file_sink_event):
13562         Event updates.
13563
13564         * gst/gstbuffer.h:
13565         Use faster casts.
13566
13567         * gst/gstelement.c: (gst_element_seek):
13568         * gst/gstelement.h:
13569         Update gst_element_seek.
13570
13571         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
13572         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
13573         (gst_event_new_flush_start), (gst_event_new_flush_stop),
13574         (gst_event_new_eos), (gst_event_new_newsegment),
13575         (gst_event_parse_newsegment), (gst_event_new_tag),
13576         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
13577         (gst_event_parse_qos), (gst_event_new_seek),
13578         (gst_event_parse_seek), (gst_event_new_navigation):
13579         * gst/gstevent.h:
13580         Make GstEvent use GstStructure. Add parsing code, make sure the
13581         API is sufficiently generic.
13582         Mark possible directions of events and serialization.
13583
13584         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
13585         (_gst_message_copy), (gst_message_new_segment_start),
13586         (gst_message_new_segment_done), (gst_message_new_custom),
13587         (gst_message_parse_segment_start),
13588         (gst_message_parse_segment_done):
13589         Small cleanups.
13590
13591         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13592         (gst_pad_set_caps), (gst_pad_send_event):
13593         Update for new events. 
13594         Catch events sent in wrong directions.
13595
13596         * gst/gstqueue.c: (gst_queue_link_src),
13597         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
13598         (gst_queue_handle_src_query):
13599         Event updates.
13600
13601         * gst/gsttag.c:
13602         * gst/gsttag.h:
13603         Remove event code from this file.
13604
13605         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13606         (gst_dp_event_from_packet):
13607         Event updates.
13608
13609 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13610
13611         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
13612         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13613         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
13614           Make debugging actually useful.
13615
13616 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13617
13618         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
13619         (gst_pad_fixate_caps):
13620           Implement default fixation once again, so that gst_pad_fixate()
13621           actually does anything at all. This probably needs to be some
13622           sort of a last resort, and use profile-based fixation first, but
13623           since that doesn't exist yet, this is the best we have. Fixes
13624           visualization in Totem.
13625
13626 2005-07-22  Wim Taymans  <wim@fluendo.com>
13627
13628         * docs/design/part-events.txt:
13629         Small update.
13630
13631         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13632         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
13633         (gst_base_sink_activate_pull):
13634         Some more comments.
13635
13636         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
13637         (gst_fake_src_create):
13638         Fix handoff marshall.
13639
13640         * gst/elements/gstidentity.c: (gst_identity_class_init),
13641         (gst_identity_transform_ip):
13642         We're a real inplace element.
13643
13644         * gst/gstbus.c: (gst_bus_post):
13645         Added some comments.
13646
13647         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
13648         * tests/muxing/case1.c: (main):
13649         * tests/sched/dynamic-pipeline.c: (main):
13650         * tests/sched/interrupt1.c: (main):
13651         * tests/sched/interrupt2.c: (main):
13652         * tests/sched/interrupt3.c: (main):
13653         * tests/sched/runxml.c: (main):
13654         * tests/sched/sched-stress.c: (main):
13655         * tests/seeking/seeking1.c: (event_received), (main):
13656         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
13657         (main):
13658         * tests/threadstate/threadstate3.c: (main):
13659         * tests/threadstate/threadstate4.c: (main):
13660         * tests/threadstate/threadstate5.c: (main):
13661         Fix the tests.
13662
13663 2005-07-21  Wim Taymans  <wim@fluendo.com>
13664
13665         * docs/design/part-seeking.txt:
13666         Some small additions.
13667
13668         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13669         (gst_base_sink_get_times), (gst_base_sink_do_sync),
13670         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13671         * gst/base/gstbasesink.h:
13672         discont values are gint64, handle the math correctly.
13673
13674         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13675         Make the basesrc report error if the source pad is not linked.
13676
13677         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13678         (gst_queue_loop), (gst_queue_handle_src_query),
13679         (gst_queue_src_activate_push):
13680         Make queue collect data even if the srcpad is not linked.
13681         Start pushing out data as soon as it is linked.
13682
13683         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
13684         * gst/gstutils.h:
13685         Added gst_flow_get_name() to ease error reporting.
13686
13687 2005-07-20  Wim Taymans  <wim@fluendo.com>
13688
13689         * gst/gstmessage.c: (gst_message_new_segment_start),
13690         (gst_message_new_segment_done), (gst_message_parse_segment_start),
13691         (gst_message_parse_segment_done):
13692         * gst/gstmessage.h:
13693         Added a bunch of messages for advanced seeking.
13694
13695         * gst/parse/grammar.y:
13696         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
13697         (gst_dpman_state_changed):
13698         Fix some new-pad -> pad-added signals
13699
13700 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13701
13702         * docs/manual/appendix-porting.xml:
13703         * docs/pwg/appendix-porting.xml:
13704           Document new-pad/state-change signal renames and the FixedList
13705           type rename.
13706
13707 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13708
13709         * docs/manual/advanced-autoplugging.xml:
13710         * docs/manual/basics-helloworld.xml:
13711         * docs/manual/basics-pads.xml:
13712         * docs/random/ds/0.9-suggested-changes:
13713         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
13714         * gst/gstelement.h:
13715         * gst/gstevent.h:
13716         * gst/gstformat.h:
13717         * gst/gstquery.h:
13718         * gst/gststructure.c: (gst_structure_value_get_generic_type),
13719         (gst_structure_parse_array), (gst_structure_parse_value):
13720         * gst/gstvalue.c: (gst_type_is_fixed),
13721         (gst_value_list_prepend_value), (gst_value_list_append_value),
13722         (gst_value_list_get_size), (gst_value_list_get_value),
13723         (gst_value_transform_array_string), (gst_value_serialize_array),
13724         (gst_value_deserialize_array), (gst_value_intersect_array),
13725         (gst_value_is_fixed), (_gst_value_initialize):
13726         * gst/gstvalue.h:
13727           GstElement::new-pad -> pad-added, GstElement::state-change ->
13728           state-changed, GstValueFixedList -> GstValueArray, add format and
13729           flags as their own arguments in gst_element_seek() (should improve
13730           "bindeability"), remove function generators since they don't work
13731           under a whole bunch of compilers (they were deprecated already
13732           anyway).
13733
13734 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13735
13736         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13737         (_gst_debug_register_funcptr):
13738         * gst/gstinfo.h:
13739           Fix illegal cast on some platforms (#309253).
13740
13741 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13742
13743         * gst/gstmessage.c: (gst_message_new_custom):
13744         * gst/gstmessage.h:
13745           Add _new_custom, make _new_application a macro to _new_custom.
13746
13747 2005-07-20  Wim Taymans  <wim@fluendo.com>
13748
13749         * gst/base/gstbasesrc.c: (gst_base_src_init),
13750         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13751         * gst/base/gstbasesrc.h:
13752         Add a gboolean to decide when to push out a discont.
13753
13754         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13755         (gst_queue_loop), (gst_queue_handle_src_query),
13756         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
13757         (gst_queue_set_property), (gst_queue_get_property):
13758         Some cleanups.
13759
13760         * tests/threadstate/threadstate1.c: (main):
13761         Make a thread test compile and run... very silly..
13762
13763
13764 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13765
13766         * docs/manual/appendix-porting.xml:
13767           Mention removal of libgstgconf-0.9.la and existence of gconf
13768           elements.
13769
13770 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13771
13772         * docs/pwg/advanced-clock.xml:
13773         * docs/pwg/appendix-porting.xml:
13774         * docs/pwg/intro-preface.xml:
13775         * docs/pwg/other-base.xml:
13776         * docs/pwg/other-manager.xml:
13777         * docs/pwg/other-nton.xml:
13778         * docs/pwg/other-ntoone.xml:
13779         * docs/pwg/other-oneton.xml:
13780         * docs/pwg/pwg.xml:
13781           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
13782           demuxer), remove n-to-n (was never written), fix some code examples
13783           and links and update the porting section to include all this.
13784
13785 2005-07-19  Wim Taymans  <wim@fluendo.com>
13786
13787         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
13788         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
13789         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
13790         (gst_queue_src_activate_push), (gst_queue_change_state),
13791         (gst_queue_get_property):
13792         * gst/gstqueue.h:
13793         Propagate GstFlowReturn more intelligently upstream and output
13794         an ERROR/EOS when streaming stopped due to fatal error.
13795
13796 2005-07-19  Wim Taymans  <wim@fluendo.com>
13797
13798         * tools/gst-launch.c: (check_intr), (event_loop), (main):
13799         Don't block forever for the state change to complete, the
13800         pipeline already did with a sensible timeout.
13801
13802 2005-07-19  Wim Taymans  <wim@fluendo.com>
13803
13804         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13805         Make sure we never call the create function is we
13806         got deactivated.
13807
13808 2005-07-19  Andy Wingo  <wingo@pobox.com>
13809
13810         * gst/parse/parse.l: Attempt to solve bug #172815.
13811
13812 2005-07-19  Wim Taymans  <wim@fluendo.com>
13813
13814         * docs/design/part-clocks.txt:
13815         * docs/design/part-events.txt:
13816         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
13817         Small docs updates.
13818         Only update the seeking values when we are not
13819         busy streaming.
13820
13821 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
13822
13823         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13824           Oops, ignore the result of gst_pad_push_event here.
13825
13826 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
13827
13828         * gst/base/gstbasesrc.c: (gst_base_src_loop),
13829         (gst_base_src_activate_push):
13830           Send discont event from the loop function, as pads
13831           aren't activated yet in the activate_push handler.
13832
13833         * gst/gstbin.c: (bin_bus_handler):
13834           Don't leak element name.
13835
13836 2005-07-18  Andy Wingo  <wingo@pobox.com>
13837
13838         * configure.ac: Use AS_LIBTOOL_TAGS.
13839
13840 2005-07-18  Wim Taymans  <wim@fluendo.com>
13841
13842         * docs/gst/gstreamer.types:
13843         Remove deleted types.
13844
13845 2005-07-18  Wim Taymans  <wim@fluendo.com>
13846
13847         * check/elements/gstfakesrc.c: (GST_START_TEST):
13848         * configure.ac:
13849         * gst/Makefile.am:
13850         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
13851         (init_popt_callback):
13852         * gst/gst.h:
13853         * gst/gst_private.h:
13854         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
13855         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
13856         * gst/gstbin.h:
13857         * gst/gstbus.h:
13858         * gst/gstconfig.h.in:
13859         * gst/gstelement.c: (gst_element_class_init),
13860         (gst_element_set_base_time), (gst_element_get_base_time),
13861         (iterator_fold_with_resync), (gst_element_change_state),
13862         (gst_element_dispose), (gst_element_get_bus):
13863         * gst/gstelement.h:
13864         * gst/gstelementfactory.h:
13865         * gst/gsterror.c: (_gst_core_errors_init):
13866         * gst/gsterror.h:
13867         * gst/gstevent.h:
13868         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13869         * gst/gstindex.c:
13870         * gst/gstinfo.c: (_gst_debug_init):
13871         * gst/gstmessage.c: (_gst_message_copy):
13872         * gst/gstmessage.h:
13873         * gst/gstminiobject.h:
13874         * gst/gstobject.c:
13875         * gst/gstobject.h:
13876         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13877         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
13878         * gst/gstpad.h:
13879         * gst/gstparse.h:
13880         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
13881         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13882         (gst_pipeline_get_last_stream_time):
13883         * gst/gstpipeline.h:
13884         * gst/gstpluginfeature.h:
13885         * gst/gstquery.h:
13886         * gst/gstscheduler.c:
13887         * gst/gstscheduler.h:
13888         * gst/gststructure.h:
13889         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13890         (gst_task_finalize), (gst_task_func), (gst_task_create),
13891         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
13892         (gst_task_stop), (gst_task_pause):
13893         * gst/gsttask.h:
13894         * gst/gsttypefind.h:
13895         * gst/gsttypes.h:
13896         * gst/registries/gstlibxmlregistry.c: (load_feature),
13897         (gst_xml_registry_load), (gst_xml_registry_save_feature):
13898         * gst/registries/gstxmlregistry.c:
13899         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
13900         * gst/schedulers/threadscheduler.c:
13901         * libs/gst/control/dparammanager.h:
13902         * tools/gst-inspect.c: (print_element_list),
13903         (print_plugin_features), (print_element_features):
13904         * tools/gst-xmlinspect.c: (print_element_list),
13905         (print_plugin_info), (main):
13906         Removed plugable schedulers.
13907         Removed Scheduler/Manager from elements.
13908         Removed gsttypes.h, rearranged includes.
13909         Removed dependency pad<->element, element<>pipeline, and
13910         various others,  fix includes.
13911         implement gst_pad_get_parent() with gst_object_get_parent()
13912         Make GstTask sefcontained.
13913         Fix _get_state() on GstBin, it did not return ASYNC with a 0
13914         timeout.
13915         Fix endless loop in iterator_fold_with_resync.
13916
13917
13918 2005-07-18  Wim Taymans  <wim@fluendo.com>
13919
13920         * gst/Makefile.am:
13921         * gst/gstarch.h:
13922         Remove old file.
13923
13924 2005-07-18  Wim Taymans  <wim@fluendo.com>
13925
13926         * gst/Makefile.am:
13927         No more cothreads.h
13928
13929 2005-07-18  Wim Taymans  <wim@fluendo.com>
13930
13931         * gst/cothreads.c:
13932         * gst/cothreads.h:
13933         Let's remove these.
13934
13935 2005-07-18  Wim Taymans  <wim@fluendo.com>
13936
13937         * docs/design/part-dynamic.txt:
13938         * docs/design/part-events.txt:
13939         * docs/design/part-seeking.txt:
13940         Some more docs in the works.
13941
13942         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13943         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
13944         (gst_base_transform_setcaps), (gst_base_transform_get_size),
13945         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13946         (gst_base_transform_handle_buffer),
13947         (gst_base_transform_sink_activate_push),
13948         (gst_base_transform_src_activate_pull),
13949         (gst_base_transform_set_passthrough),
13950         (gst_base_transform_is_passthrough):
13951         Refcounting fixes.
13952
13953         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
13954         Cleanups.
13955
13956         * gst/gstevent.c: (gst_event_finalize):
13957         Set SRC to NULL.
13958
13959         * gst/gstutils.c: (gst_element_unlink),
13960         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
13961         (gst_pad_proxy_setcaps):
13962         * gst/gstutils.h:
13963         Add _get_parent_element() to get a pads parent as an element.
13964
13965 2005-07-18  Wim Taymans  <wim@fluendo.com>
13966
13967         * check/gst/gstbin.c: (GST_START_TEST):
13968         Remove bogus test.
13969
13970 2005-07-18  Wim Taymans  <wim@fluendo.com>
13971
13972         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
13973         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
13974         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
13975         (gst_base_sink_event), (gst_base_sink_do_sync),
13976         (gst_base_sink_chain), (gst_base_sink_loop),
13977         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
13978         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13979         Refcounting fixes.
13980         Fix logic for returning ASYNC when not prerolled.
13981
13982 2005-07-18  Wim Taymans  <wim@fluendo.com>
13983
13984         * gst/gstqueue.c: (gst_queue_handle_sink_event):
13985         Fix nasty refcount bug.
13986
13987 2005-07-16 Philippe Khalaf <burger@speedy.org>
13988
13989         * gst/elements/gstfdsrc.c:
13990         * gst/elements/gstfdsrc.h:
13991         * gst/elements/gstelements.c:
13992         * gst/elements/Makefile.am:
13993         Ported fdsrc to 0.9.
13994
13995 2005-07-16  Wim Taymans  <wim@fluendo.com>
13996
13997         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13998         (gst_base_sink_do_sync):
13999         Fix compile error.
14000
14001 2005-07-16  Wim Taymans  <wim@fluendo.com>
14002
14003         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14004         (gst_base_sink_event), (gst_base_sink_get_times),
14005         (gst_base_sink_do_sync), (gst_base_sink_change_state):
14006         * gst/base/gstbasesink.h:
14007         Store and use discont values when syncing buffers as described
14008         in design docs.
14009         
14010         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14011         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
14012         (gst_base_src_activate_push):
14013         Push discont event when starting.
14014
14015         * gst/elements/gstidentity.c: (gst_identity_transform):
14016         Small cleanups.
14017
14018         * gst/gstbin.c: (gst_bin_change_state):
14019         Small cleanups in base_time  distribution.
14020
14021         * gst/gstelement.c: (gst_element_set_base_time),
14022         (gst_element_get_base_time), (gst_element_change_state):
14023         * gst/gstelement.h:
14024         Added methods for the base_time of the element.
14025         Some MT fixes.
14026
14027         * gst/gstpipeline.c: (gst_pipeline_send_event),
14028         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
14029         (gst_pipeline_get_last_stream_time):
14030         * gst/gstpipeline.h:
14031         MT fixes.
14032         Handle seeking as described in design doc, remove stream_time
14033         hack.
14034         Cleanups clock and stream_time selection code. Added accessors
14035         for the stream_time.
14036         
14037
14038 2005-07-16  Andy Wingo  <wingo@pobox.com>
14039
14040         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
14041         (#305291).
14042
14043 2005-07-16  Wim Taymans  <wim@fluendo.com>
14044
14045         * check/gst/gstbin.c: (GST_START_TEST):
14046         Make elements silent as the deep_notify refs the
14047         parent, which might make the test fail.
14048
14049         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
14050         Don't hold the lock for too long.
14051
14052 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
14053
14054         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14055           Don't unref the caps we passed to gst_caps_make_writable() after
14056           passing them. gst_caps_make_writable() will do that for us.
14057
14058 2005-07-15  Andy Wingo  <wingo@pobox.com>
14059
14060         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
14061         (#157311).
14062
14063         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
14064         own marshalling function for the handoff signal. Properly type the
14065         buffer as a buffer. Fixes some warnings. Should do a more general
14066         solution.
14067         (gst_identity_class_init): Plug into the right marshaller.
14068
14069 2005-07-15  Wim Taymans  <wim@fluendo.com>
14070
14071         * docs/design/part-TODO.txt:
14072         * docs/design/part-clocks.txt:
14073         * docs/design/part-element-sink.txt:
14074         * docs/design/part-events.txt:
14075         * docs/design/part-gstpipeline.txt:
14076         Updated docs, mostly DISCONT related.
14077
14078 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
14079
14080         * docs/pwg/building-pads.xml:
14081           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
14082
14083 2005-07-15  Andy Wingo  <wingo@pobox.com>
14084
14085         * tools/gst-typefind.c: Update, add copyright block.
14086
14087         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
14088         Normalize and truncate caps before fixation.
14089
14090         * gst/gstcaps.h:
14091         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
14092         discards all but the first structure from its argument.
14093
14094 2005-07-15  Wim Taymans  <wim@fluendo.com>
14095
14096         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14097         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
14098         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14099         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14100         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
14101         (gst_base_transform_chain), (gst_base_transform_change_state),
14102         (gst_base_transform_set_passthrough),
14103         (gst_base_transform_is_passthrough):
14104         * gst/base/gstbasetransform.h:
14105         Make passthrough work using the bufferpools.
14106         Changed API a bit, subclasses have to write into a buffer
14107         provided by the base class.
14108         More debug info in nego functions.
14109         
14110         * gst/elements/gstidentity.c: (gst_identity_init),
14111         (gst_identity_transform):
14112         Port to new base class.
14113
14114 2005-07-15  Wim Taymans  <wim@fluendo.com>
14115
14116         * gst/gstmessage.c: (gst_message_new_state_changed):
14117         * tools/gst-launch.c: (event_loop), (main):
14118         Totally dump messages in -launch with the -m option.
14119         Fix message name for State messages,
14120
14121 2005-07-14  Wim Taymans  <wim@fluendo.com>
14122
14123         * gst/base/gstbasesrc.c: (gst_base_src_loop):
14124         Post error messages on errors.
14125
14126 2005-07-14  Wim Taymans  <wim@fluendo.com>
14127
14128         * gst/gstcaps.c: (gst_caps_do_simplify):
14129         Remove debug info.
14130
14131         * gst/gsterror.h:
14132         Define error for stream stopped.
14133
14134         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14135         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
14136         Do proper return values.
14137
14138         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14139         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
14140         (gst_pad_get_range):
14141         Better return values.
14142
14143         * gst/gstpad.h:
14144         Reorganise return values, add macro to check for fatal errors.
14145
14146         * gst/gstqueue.c: (gst_queue_chain):
14147         Return proper GstFlowReturn values,
14148
14149 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
14150
14151         * docs/gst/gstreamer-sections.txt:
14152         * docs/gst/gstreamer.types:
14153         * docs/gst/tmpl/gst.sgml:
14154         * docs/gst/tmpl/gstbasesink.sgml:
14155         * docs/gst/tmpl/gstbasesrc.sgml:
14156         * docs/gst/tmpl/gstbasetransform.sgml:
14157         * docs/gst/tmpl/gstbin.sgml:
14158         * docs/gst/tmpl/gstbuffer.sgml:
14159         * docs/gst/tmpl/gstcaps.sgml:
14160         * docs/gst/tmpl/gstclock.sgml:
14161         * docs/gst/tmpl/gstcompat.sgml:
14162         * docs/gst/tmpl/gstconfig.sgml:
14163         * docs/gst/tmpl/gstelement.sgml:
14164         * docs/gst/tmpl/gstelementdetails.sgml:
14165         * docs/gst/tmpl/gstelementfactory.sgml:
14166         * docs/gst/tmpl/gstenumtypes.sgml:
14167         * docs/gst/tmpl/gsterror.sgml:
14168         * docs/gst/tmpl/gstevent.sgml:
14169         * docs/gst/tmpl/gstfakesink.sgml:
14170         * docs/gst/tmpl/gstfakesrc.sgml:
14171         * docs/gst/tmpl/gstfilesink.sgml:
14172         * docs/gst/tmpl/gstfilesrc.sgml:
14173         * docs/gst/tmpl/gstfilter.sgml:
14174         * docs/gst/tmpl/gstformat.sgml:
14175         * docs/gst/tmpl/gstghostpad.sgml:
14176         * docs/gst/tmpl/gstimplementsinterface.sgml:
14177         * docs/gst/tmpl/gstindex.sgml:
14178         * docs/gst/tmpl/gstindexfactory.sgml:
14179         * docs/gst/tmpl/gstinfo.sgml:
14180         * docs/gst/tmpl/gstiterator.sgml:
14181         * docs/gst/tmpl/gstmacros.sgml:
14182         * docs/gst/tmpl/gstmemchunk.sgml:
14183         * docs/gst/tmpl/gstminiobject.sgml:
14184         * docs/gst/tmpl/gstobject.sgml:
14185         * docs/gst/tmpl/gstpad.sgml:
14186         * docs/gst/tmpl/gstpadtemplate.sgml:
14187         * docs/gst/tmpl/gstparse.sgml:
14188         * docs/gst/tmpl/gstpipeline.sgml:
14189         * docs/gst/tmpl/gstplugin.sgml:
14190         * docs/gst/tmpl/gstpluginfeature.sgml:
14191         * docs/gst/tmpl/gstquery.sgml:
14192         * docs/gst/tmpl/gstqueue.sgml:
14193         * docs/gst/tmpl/gstregistry.sgml:
14194         * docs/gst/tmpl/gstregistrypool.sgml:
14195         * docs/gst/tmpl/gstscheduler.sgml:
14196         * docs/gst/tmpl/gstschedulerfactory.sgml:
14197         * docs/gst/tmpl/gststructure.sgml:
14198         * docs/gst/tmpl/gstsystemclock.sgml:
14199         * docs/gst/tmpl/gsttaglist.sgml:
14200         * docs/gst/tmpl/gsttagsetter.sgml:
14201         * docs/gst/tmpl/gsttrace.sgml:
14202         * docs/gst/tmpl/gsttrashstack.sgml:
14203         * docs/gst/tmpl/gsttypefind.sgml:
14204         * docs/gst/tmpl/gsttypefindfactory.sgml:
14205         * docs/gst/tmpl/gsttypes.sgml:
14206         * docs/gst/tmpl/gsturihandler.sgml:
14207         * docs/gst/tmpl/gsturitype.sgml:
14208         * docs/gst/tmpl/gstutils.sgml:
14209         * docs/gst/tmpl/gstvalue.sgml:
14210         * docs/gst/tmpl/gstversion.sgml:
14211         * docs/gst/tmpl/gstxml.sgml:
14212         * docs/libs/tmpl/gstcontrol.sgml:
14213         * docs/libs/tmpl/gstdataprotocol.sgml:
14214         * docs/libs/tmpl/gstdparam.sgml:
14215         * docs/libs/tmpl/gstdplinint.sgml:
14216         * docs/libs/tmpl/gstdpman.sgml:
14217         * docs/libs/tmpl/gstdpsmooth.sgml:
14218         * docs/libs/tmpl/gstgetbits.sgml:
14219         * docs/libs/tmpl/gstunitconvert.sgml:
14220         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
14221         (gst_push_src_base_init), (gst_push_src_class_init),
14222         (gst_push_src_init), (gst_push_src_create):
14223         * gst/base/gstpushsrc.h:
14224         * gst/elements/gstelements.c:
14225         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
14226         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
14227         (gst_fake_sink_init), (gst_fake_sink_set_property),
14228         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
14229         (gst_fake_sink_event), (gst_fake_sink_preroll),
14230         (gst_fake_sink_render), (gst_fake_sink_change_state):
14231         * gst/elements/gstfakesink.h:
14232         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14233         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14234         (gst_fake_src_base_init), (gst_fake_src_class_init),
14235         (gst_fake_src_init), (gst_fake_src_event_handler),
14236         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
14237         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
14238         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
14239         (gst_fake_src_create_buffer), (gst_fake_src_create),
14240         (gst_fake_src_start), (gst_fake_src_stop):
14241         * gst/elements/gstfakesrc.h:
14242         * gst/elements/gstfilesink.c: (_do_init),
14243         (gst_file_sink_base_init), (gst_file_sink_class_init),
14244         (gst_file_sink_init), (gst_file_sink_dispose),
14245         (gst_file_sink_set_location), (gst_file_sink_set_property),
14246         (gst_file_sink_get_property), (gst_file_sink_open_file),
14247         (gst_file_sink_close_file), (gst_file_sink_query),
14248         (gst_file_sink_event), (gst_file_sink_render),
14249         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
14250         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
14251         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
14252         * gst/elements/gstfilesink.h:
14253         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
14254         (gst_file_src_class_init), (gst_file_src_init),
14255         (gst_file_src_finalize), (gst_file_src_set_location),
14256         (gst_file_src_set_property), (gst_file_src_get_property),
14257         (gst_file_src_map_region), (gst_file_src_map_small_region),
14258         (gst_file_src_create_mmap), (gst_file_src_create_read),
14259         (gst_file_src_create), (gst_file_src_is_seekable),
14260         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
14261         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
14262         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
14263         (gst_file_src_uri_handler_init):
14264         * gst/elements/gstfilesrc.h:
14265           more autistic cleanliness in functions/names/defines
14266
14267 2005-07-13  Andy Wingo  <wingo@pobox.com>
14268
14269         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
14270         source couldn't negotiate.
14271
14272         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
14273         connections again.
14274
14275         * gst/gstutils.h:
14276         * gst/gstutils.c (gst_element_link_pads_filtered): New old
14277         function. I am channeling Hades. Put your boots on suckers!!!
14278
14279 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14280
14281         * testsuite/caps/Makefile.am:
14282         * testsuite/caps/value_compare.c:
14283         * testsuite/caps/value_intersect.c:
14284         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14285           move two testsuite apps over to the check dir
14286
14287 2005-07-12  Wim Taymans  <wim@fluendo.com>
14288
14289         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
14290         Added more debug info in the negotiate process.
14291
14292         * gst/gstmessage.h:
14293         Prepare for segment playback.
14294
14295         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
14296         Better debugging.
14297
14298         * gst/gstutils.c:
14299         Some more docs.
14300
14301         * tools/gst-launch.c: (main):
14302         NULL pipeline on errors.
14303
14304 2005-07-12  Andy Wingo  <wingo@pobox.com>
14305
14306         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
14307         not it comes from a malloc region. Make sure our copy gets freed.
14308
14309 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14310
14311         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14312         * check/gst/gstmessage.c: (GST_START_TEST):
14313         * check/gst/gststructure.c: (GST_START_TEST),
14314         (gst_structure_suite), (main):
14315           more testing
14316         * gst/gstelement.c: (gst_element_message_full):
14317           clean up GError and debug string now that they get copied
14318         * gst/gstmessage.c: (gst_message_new_error),
14319         (gst_message_new_warning), (gst_message_parse_error),
14320         (gst_message_parse_warning):
14321           use GST_TYPE_G_ERROR for structure_new, and take copies of
14322           arguments, so that we don't mess up refcounting
14323
14324 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14325
14326         * check/Makefile.am:
14327           add per-test valgrind targets
14328         * check/gst-libs/gdp.c: (GST_START_TEST),
14329         (gst_data_protocol_suite), (main):
14330           clean up
14331
14332 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14333
14334         * check/Makefile.am:
14335           instate more valgrindable tests
14336         * check/elements/gstfakesrc.c: (chain_func), (event_func),
14337         (GST_START_TEST), (fakesrc_suite):
14338         * check/gst/gstpad.c: (GST_START_TEST):
14339         * check/gst/gststructure.c: (GST_START_TEST):
14340           fix test leaks
14341         * docs/gst/tmpl/gstminiobject.sgml:
14342         * gst/gstpad.c: (gst_pad_finalize):
14343           fix the static mutex leak
14344
14345 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14346
14347         * check/Makefile.am:
14348           add two more tests for valgrinding
14349         * check/gst/gstvalue.c: (GST_START_TEST):
14350           test refcount of deserialized buffer, found a leak
14351         * docs/gst/gstreamer-docs.sgml:
14352         * docs/gst/gstreamer-sections.txt:
14353         * docs/gst/gstreamer.types:
14354         * docs/gst/tmpl/gstminiobject.sgml:
14355           add miniobject to docs
14356         * gst/gstminiobject.c:
14357           add some docs
14358         * gst/gstvalue.c: (gst_value_deserialize_buffer),
14359         (gst_string_unwrap):
14360           fix a hard-to-find invalid write for one of the tests
14361           fix a leak for deserialized buffers
14362
14363 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14364
14365         * docs/pwg/advanced-events.xml:
14366         * docs/pwg/advanced-request.xml:
14367         * docs/pwg/advanced-scheduling.xml:
14368         * docs/pwg/appendix-porting.xml:
14369         * docs/pwg/building-boiler.xml:
14370         * docs/pwg/intro-preface.xml:
14371         * docs/pwg/other-ntoone.xml:
14372           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
14373           of example code and explanation for pad activation, loop() and
14374           getrange() functions and a bit more. Remove old comments pointing
14375           to loop-functions.
14376         * examples/pwg/Makefile.am:
14377           Add loop/getrange examples.
14378
14379 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14380
14381         * configure.ac:
14382           check for valgrind binary + some fixes
14383         * check/gst.supp:
14384           valgrind suppressions for the tests
14385         * check/Makefile.am:
14386           add a valgrind: target that valgrinds the unit tests
14387         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
14388         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
14389         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14390         * check/gst/gstghostpad.c:
14391           added some cleanup
14392         * check/gst/gstdata.c:
14393           removed
14394         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
14395         (thread_unref), (gst_mini_object_suite), (main):
14396           added
14397         * gst/gst.c: (gst_deinit):
14398         * gst/gst.h:
14399           add a method to clean up.
14400         * gst/gstsystemclock.c: (gst_system_clock_dispose),
14401         (gst_system_clock_obtain):
14402           allow for disposing the system clock.
14403         * tools/gst-launch.c: (main):
14404           deinit
14405
14406 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14407
14408         * docs/gst/tmpl/gstbasesrc.sgml:
14409         * docs/gst/tmpl/gstfakesrc.sgml:
14410         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14411         (gst_base_src_init), (gst_base_src_set_property),
14412         (gst_base_src_get_property), (gst_base_src_get_range),
14413         (gst_base_src_start):
14414         * gst/base/gstbasesrc.h:
14415           add num-buffers property
14416         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14417         (gst_fakesrc_init), (gst_fakesrc_set_property),
14418         (gst_fakesrc_get_property), (gst_fakesrc_create),
14419         (gst_fakesrc_start):
14420           remove num-buffers property
14421
14422 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14423
14424         * docs/gst/gstreamer-sections.txt:
14425         * docs/gst/tmpl/gstbasesink.sgml:
14426         * docs/gst/tmpl/gstbasesrc.sgml:
14427         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
14428         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
14429         (gst_base_sink_finalize), (gst_base_sink_set_clock),
14430         (gst_base_sink_set_property), (gst_base_sink_get_property),
14431         (gst_base_sink_handle_object), (gst_base_sink_event),
14432         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14433         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
14434         (gst_base_sink_loop), (gst_base_sink_deactivate),
14435         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
14436         (gst_base_sink_change_state):
14437         * gst/base/gstbasesink.h:
14438         * gst/base/gstbasesrc.h:
14439         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
14440         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
14441         (gst_filesink_init):
14442           more macro splitting
14443
14444 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14445
14446         * gst/gstelement.c: (gst_element_get_bus):
14447           add debug
14448         * tools/gst-launch.c: (check_intr), (event_loop):
14449           fix bus leaks
14450
14451 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14452
14453         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
14454           fix a caps leak
14455
14456 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14457
14458         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14459         (gst_base_src_finalize):
14460           add finalize method and clean up properly
14461         * gst/gstpipeline.c: (gst_pipeline_dispose):
14462           add debug
14463
14464 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14465
14466         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
14467         (gst_bin_suite):
14468           add more things to check
14469         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14470         * gst/gstelement.c:
14471           more debug
14472
14473 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14474
14475         * check/elements/gstfakesrc.c: (chain_func), (event_func),
14476         (GST_START_TEST), (fakesrc_suite):
14477         * check/gst-libs/gdp.c: (GST_START_TEST):
14478         * check/gst/gst.c: (GST_START_TEST):
14479         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14480         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14481         * check/gst/gstbus.c: (GST_START_TEST):
14482         * check/gst/gstcaps.c: (GST_START_TEST):
14483         * check/gst/gstdata.c: (GST_START_TEST):
14484         * check/gst/gstelement.c: (GST_START_TEST):
14485         * check/gst/gstghostpad.c: (GST_START_TEST):
14486         * check/gst/gstiterator.c: (GST_START_TEST):
14487         * check/gst/gstmessage.c: (GST_START_TEST):
14488         * check/gst/gstobject.c: (GST_START_TEST):
14489         * check/gst/gstpad.c: (GST_START_TEST):
14490         * check/gst/gststructure.c: (GST_START_TEST):
14491         * check/gst/gstsystemclock.c: (GST_START_TEST),
14492         (gst_systemclock_suite):
14493         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14494         * check/gst/gstvalue.c: (GST_START_TEST):
14495         * check/pipelines/cleanup.c: (GST_START_TEST):
14496         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14497         * check/states/sinks.c: (GST_START_TEST):
14498         * check/gstcheck.c: (gst_check_init):
14499         * check/gstcheck.h:
14500           add debugging category
14501           use GST_START_TEST now, so we add a debug line
14502
14503 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14504
14505         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
14506           add test for state change message on a bin
14507         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
14508           add another test
14509         * gst/gstbin.c: (gst_bin_init):
14510         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
14511         * gst/gstelement.c: (gst_element_post_message),
14512         (gst_element_set_state):
14513         * gst/gstelementfactory.c: (gst_element_factory_create):
14514         * gst/gstmessage.c: (gst_message_new):
14515         * gst/gstscheduler.c:
14516           various debugging additions and cleanups
14517
14518 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14519
14520         * check/Makefile.am:
14521         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
14522         (main):
14523           adding tests for elements
14524         * gst/gstelement.c: (gst_element_dispose):
14525
14526 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14527
14528         * gst/registries/gstlibxmlregistry.c: (load_feature):
14529           plug more leaks.  A simple gst_init() now is leakfree, yay.
14530
14531 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14532
14533         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
14534         (gst_xml_registry_load):
14535           plug another memleak
14536
14537 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14538
14539         * configure.ac:
14540           use GST_SET_ERROR_CFLAGS
14541         * docs/faq/cvs.xml:
14542           change to ERROR_CFLAGS
14543
14544 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14545
14546         * configure.ac:
14547           make GST_ERROR_CFLAGS overridable and re-enable Werror
14548         * docs/faq/cvs.xml:
14549           add a note about error CFLAGS
14550         * docs/gst/tmpl/gstfakesrc.sgml:
14551         * gst/elements/gstfakesrc.c:
14552           comment out some unused code
14553         * gst/gst.c: (split_and_iterate):
14554         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
14555         (load_feature):
14556           plug some memleaks
14557
14558 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14559
14560         * common/Makefile.am:
14561         * common/gtk-doc.mak:
14562         * docs/gst/Makefile.am:
14563           factor out gtk-doc.mak
14564
14565 2005-07-07  Wim Taymans  <wim@fluendo.com>
14566
14567         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
14568         (gst_thread_scheduler_dispose):
14569         Unlock the STREAM_LOCK completely.
14570
14571 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14572
14573         * check/Makefile.am:
14574         * check/elements/.cvsignore:
14575         * check/elements/gstfakesrc.c: (chain_func), (event_func),
14576         (START_TEST), (fakesrc_suite), (main):
14577         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14578         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
14579         (gst_fakesrc_create), (gst_fakesrc_start):
14580         * gst/elements/gstfakesrc.h:
14581           adding a first element test
14582
14583 2005-07-07  Andy Wingo  <wingo@pobox.com>
14584
14585         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
14586         debug message.
14587
14588 2005-07-07  Wim Taymans  <wim@fluendo.com>
14589
14590         * gst/gstquery.c:
14591         * gst/gstquery.h:
14592         Remove old types
14593
14594 2005-07-07  Wim Taymans  <wim@fluendo.com>
14595
14596         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
14597         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
14598         Allow subclasses to implement their own negotiation.
14599
14600 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
14601
14602         * docs/design/part-gstbin.txt:
14603         * docs/design/part-gstpipeline.txt:
14604           Update design notes to reflect the movement of
14605           responsibility for bus handling from GstPipeline to
14606           GstBin
14607
14608 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
14609
14610         * configure.ac:
14611           Remove unnecessary queue2/3/4 examples.
14612
14613 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
14614
14615         * examples/Makefile.am:
14616         * examples/helloworld/helloworld.c: (event_loop), (main):
14617         * examples/queue/queue.c: (event_loop), (main):
14618         * examples/queue2/queue2.c: (main):
14619           Update a couple of the examples to work again.
14620
14621         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14622         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
14623          Spelling corrections and extra debug.
14624         
14625         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
14626         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
14627         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
14628         * gst/gstbin.h:
14629         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
14630         (gst_pipeline_change_state):
14631         * gst/gstpipeline.h:
14632           Move the bus handler for children to the GstBin, and create a
14633           separate bus for receiving messages from children to the one the
14634           bus sends 'upwards' on.
14635
14636 2005-07-06  Wim Taymans  <wim@fluendo.com>
14637
14638         * gst/base/README:
14639         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14640         (gst_base_sink_handle_object), (gst_base_sink_loop),
14641         (gst_base_sink_change_state):
14642         * gst/base/gstbasesink.h:
14643         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14644         (gst_base_src_init), (gst_base_src_setcaps),
14645         (gst_base_src_getcaps), (gst_base_src_loop),
14646         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
14647         (gst_base_src_start), (gst_base_src_change_state):
14648         * gst/base/gstbasesrc.h:
14649         Make basesrc negotiate.
14650         Handle the case where preroll fails in basesink.
14651         Update README.
14652
14653 2005-07-06  Wim Taymans  <wim@fluendo.com>
14654
14655         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
14656         Implement the fixate function.
14657         Clean up acceptcaps.
14658
14659 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14660
14661         * docs/pwg/building-filterfactory.xml:
14662         * docs/pwg/pwg.xml:
14663           Remove never-written filter-factory chapter; I'll add the various
14664           base classes to part 4 ("other element types") later on.
14665
14666 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14667
14668         * docs/pwg/advanced-negotiation.xml:
14669         * docs/pwg/building-boiler.xml:
14670         * docs/pwg/building-pads.xml:
14671         * docs/pwg/pwg.xml:
14672         * examples/pwg/Makefile.am:
14673           Add a chapter on caps negotiation, simplify the original code
14674           samples a bit w.r.t. caps negotiation, add link to the advanced
14675           section. Add a bunch of examples showing different use cases of
14676           different types of caps negotiation. Upstream renegotiation isn't
14677           fully documented yet since nobody knows how that works.
14678
14679 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14680
14681         * check/gst/gstpad.c:
14682         * check/gstcheck.c:
14683         * gst/gstpad.c: (gst_pad_get_internal_links_default):
14684           if pad has no parent, return NULL as list of internal links
14685
14686 2005-07-05  Andy Wingo  <wingo@pobox.com>
14687
14688         * gst/elements/gstfilesrc.c:
14689         * gst/elements/gstfakesrc.c: 
14690         * gst/base/gstpushsrc.c:
14691         * gst/base/gstbasesrc.h: 
14692         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
14693         
14694 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
14695
14696         * Makefile.am:
14697           better report generation target (lcov needs a patch)
14698
14699 2005-07-05  Andy Wingo  <wingo@pobox.com>
14700
14701         * gst/elements, testsuite: Null if we got it...
14702
14703 2005-07-05  Wim Taymans  <wim@fluendo.com>
14704
14705         * configure.ac:
14706         * libs/gst/dataprotocol/Makefile.am:
14707         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
14708         * libs/gst/dataprotocol/dataprotocol.h:
14709         * pkgconfig/Makefile.am:
14710         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
14711         * pkgconfig/gstreamer-dataprotocol.pc.in:
14712         Ported dataprotol to 0.9. 
14713         Added pkgconfig files.
14714
14715 2005-07-05  Andy Wingo  <wingo@pobox.com>
14716
14717         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
14718         Default to returning TRUE for the case when tranform_caps returns
14719         a fixed caps, like for identity or volume.
14720
14721         * check/gst/gstbus.c (pound_bus_with_messages): 
14722         * check/gst/gstmessage.c (START_TEST): 
14723         * check/pipelines/simple_launch_lines.c (got_handoff): Application
14724         message API change.
14725
14726         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
14727         logic weaks here: always run transform_caps, trying passthrough
14728         operation only if the original caps intersects with the transform.
14729
14730         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
14731         source and sink caps.
14732
14733         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
14734         Intersect the peer caps with the pad template before going into
14735         transform_caps.
14736         (gst_base_transform_transform_caps): More debugging.
14737
14738         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
14739         src argument.
14740
14741 2005-07-04  Edward Hervey  <edward@fluendo.com>
14742
14743         * gst/gstutils.c:
14744         * gst/gstutils.h:
14745         (gst_pad_add_*_probe): now returns the signal id for better wrapping
14746         in bindings.
14747
14748 2005-07-04  Andy Wingo  <wingo@pobox.com>
14749
14750         * check/gst/gstpad.c: Only set explicit caps on pads.
14751
14752 2005-07-01  Andy Wingo  <wingo@pobox.com>
14753
14754         * tests/network-clock.scm: Commentary update.
14755
14756         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
14757         Didn't really make sense, not implementable with basetransform,
14758         etc.
14759         (gst_identity_transform): Unref inbuf via make_writable. Feeble
14760         attempt at implementing the sync property, needs an unlock method.
14761
14762         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
14763         New func, by default returns the same caps (the identity
14764         transformation).
14765         (gst_base_transform_getcaps): Uses transform_caps to return
14766         something sensible.
14767         (gst_base_transform_setcaps): Complicated logic to get caps on
14768         both pads, even if they are different, and to call set_caps once
14769         for every time both pads get their caps set.
14770         (gst_base_transform_handle_buffer): Give the ref to the transform
14771         function. Allows in-place modification of the buffer.
14772
14773         * gst/base/gstbasetransform.h (transform_caps): New class method.
14774         Given caps on one side, what can I do on the other.
14775         (set_caps): Take two caps, one for each side of the element.
14776
14777         * gst/gstpad.h:
14778         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
14779         caps in place. This is safe because we can check the mutability of
14780         the caps, and a good idea because fixate functions are just called
14781         as a matter of last resort. (Not actually implemented.)
14782         (gst_pad_set_caps): If the caps we're setting is actually the same
14783         as the existing pad caps, just update the pointer without calling
14784         setcaps. Assert that caps is either NULL or fixed, as per the
14785         docs.
14786
14787         * gst/gstghostpad.c: Update for fixate changes.
14788
14789 2005-07-02  Andy Wingo  <wingo@pobox.com>
14790
14791         * gst/gstcaps.c:
14792         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
14793         two refcounts makes it immutable, which is enough. Doc more.
14794
14795 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
14796
14797         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
14798           Put the mini_object into GValue as a mini_object,
14799           not a gpointer, since that's how we declared
14800           the signal.
14801
14802 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14803
14804         * examples/pwg/Makefile.am:
14805           Fix buildbot again.
14806
14807 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14808
14809         * docs/pwg/building-testapp.xml:
14810           Add extra check.
14811         * examples/pwg/Makefile.am:
14812           Fix buildbot.
14813
14814 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14815
14816         * configure.ac:
14817         * examples/Makefile.am:
14818         * examples/pwg/Makefile.am:
14819         * examples/pwg/extract.pl:
14820           Enable building the PWG examples.
14821         * docs/pwg/advanced-interfaces.xml:
14822           Add URI interface stub.
14823         * docs/pwg/advanced-types.xml:
14824         * docs/pwg/other-autoplugger.xml:
14825         * docs/pwg/appendix-porting.xml:
14826         * docs/pwg/pwg.xml:
14827           Add porting guide (mostly stubs), remove autoplugging (see ADM).
14828         * docs/pwg/building-boiler.xml:
14829         * docs/pwg/building-chainfn.xml:
14830         * docs/pwg/building-pads.xml:
14831         * docs/pwg/building-props.xml:
14832         * docs/pwg/building-state.xml:
14833         * docs/pwg/building-testapp.xml:
14834           Update the building-*.xml parts for 0.9 changes. All examples
14835           code blocks compile in examples/pwg/*.
14836
14837 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14838
14839         * docs/manual/advanced-autoplugging.xml:
14840         * docs/manual/appendix-checklist.xml:
14841         * docs/manual/appendix-integration.xml:
14842         * docs/manual/highlevel-components.xml:
14843           Fix playbin/decodebin examples, update docs a bit, mention bus
14844           instead of signals in various places, mention kmplayer and
14845           kaffeine since they have a working GStreamer backend in the KDE
14846           section.
14847
14848 2005-06-30  Wim Taymans  <wim@fluendo.com>
14849
14850         * CHANGES-0.9:
14851         * docs/design/draft-ghostpads.txt:
14852         * docs/design/draft-push-pull.txt:
14853         * docs/design/draft-query.txt:
14854         * docs/design/part-TODO.txt:
14855         * docs/design/part-query.txt:
14856         Added CHANGES-0.9 doc, updated status of other docs.
14857         
14858         * gst/gstquery.h:
14859         Remove "hmm" macro
14860
14861 2005-06-30  Wim Taymans  <wim@fluendo.com>
14862
14863         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14864         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
14865         (gst_base_sink_change_state):
14866         * gst/base/gstbasesink.h:
14867         Some tweaks, only EOS and a buffer complete a preroll.
14868
14869 2005-06-30  Andy Wingo  <wingo@pobox.com>
14870
14871         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
14872         activate_push down to the internal pad as well.
14873
14874 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
14875
14876         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14877
14878         * gst/gsttaginterface.c:
14879           Some documentation fixes (#307394 and #307397).
14880
14881 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
14882
14883         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14884
14885         * gst/gstvalue.c: (gst_value_intersect_list):
14886           Fix memleak (#309125).
14887
14888 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14889
14890         * docs/manual/advanced-dataaccess.xml:
14891           Fix fakesrc example to compile; doesn't work, bug somewhere...?
14892         * docs/manual/basics-pads.xml:
14893           Add reference for filtered caps to above chapter.
14894
14895 2005-06-30  Wim Taymans  <wim@fluendo.com>
14896
14897         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
14898         (gst_bin_change_state):
14899         Probes are gone.
14900         Lame attempt at making the state change function a bit
14901         more readable.
14902
14903 2005-06-30  Wim Taymans  <wim@fluendo.com>
14904
14905         * docs/design/part-clocks.txt:
14906         * docs/design/part-element-sink.txt:
14907         * docs/design/part-events.txt:
14908         * docs/design/part-preroll.txt:
14909         * docs/design/part-states.txt:
14910         Some more tweeks and additions to the docs.
14911
14912 2005-06-30  Wim Taymans  <wim@fluendo.com>
14913
14914         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14915         (default_have_data), (gst_pad_class_init), (gst_pad_init),
14916         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14917         (gst_pad_check_pull_range), (gst_pad_get_range),
14918         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
14919         * gst/gstpad.h:
14920         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
14921         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14922         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14923         (gst_pad_remove_buffer_probe):
14924         Removed atomic operations, use existing LOCK.
14925         Move exception handling out of main code path.
14926
14927 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14928
14929         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14930         (silly_return_true_function), (gst_pad_class_init),
14931         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14932         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
14933         (gst_pad_send_event):
14934           Fix accumulator, add default value by using _emitv() instead
14935           of _emit() for signal emission.
14936
14937 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14938
14939         * docs/manual/advanced-dataaccess.xml:
14940         * examples/manual/Makefile.am:
14941           Add probe example.
14942         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
14943           Make work (??).
14944
14945 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
14946
14947         * gst/elements/gstfilesink.c: (gst_filesink_render):
14948           Simplify code so that we don't have to handle short
14949           writes and return GST_FLOW_ERROR if an error occured.
14950
14951 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14952
14953         * docs/gst/gstreamer-docs.sgml:
14954           Remove probes more.
14955
14956 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14957
14958         * docs/gst/gstreamer-sections.txt:
14959         * docs/gst/tmpl/gstpad.sgml:
14960         * docs/gst/tmpl/gstprobe.sgml:
14961         * gst/Makefile.am:
14962         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14963         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
14964         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
14965         (gst_pad_push_event), (gst_pad_send_event):
14966         * gst/gstpad.h:
14967         * gst/gstutils.c: (gst_pad_add_data_probe),
14968         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14969         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14970         (gst_pad_remove_buffer_probe):
14971         * gst/gstutils.h:
14972           Remove old probes, add new g-signal-based probes and some utility
14973           functions.
14974
14975 2005-06-29  Edward Hervey  <edward@fluendo.com>
14976
14977         * gst/gstelementfactory.c:
14978         * gst/gstutils.h:
14979         * gst/gstutils.c:
14980         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
14981         the definition to the header file.
14982
14983 2005-06-29  Andy Wingo  <wingo@pobox.com>
14984
14985         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
14986         plugins from the source directory.
14987
14988 2005-06-29  Wim Taymans  <wim@fluendo.com>
14989
14990         * docs/gst/tmpl/gstbuffer.sgml:
14991         * docs/gst/tmpl/gstclock.sgml:
14992         Some fixings for blantently wrong text.
14993
14994 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14995
14996         * check/Makefile.am:
14997         * gst/gst.c: (add_path_func), (init_pre):
14998         * gst/gstregistry.c: (gst_registry_add_path):
14999           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
15000           only scan the GST_PLUGIN_PATH locations, and not add
15001           system locations
15002
15003 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15004
15005         * docs/gst/gstreamer-sections.txt:
15006         * docs/gst/tmpl/gstbasesrc.sgml:
15007         * gst/gstelement.c:
15008         * gst/gstelement.h:
15009         * gst/gstevent.c:
15010         * gst/gstutils.c:
15011           doc fixes
15012
15013 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15014
15015         * docs/manual/advanced-autoplugging.xml:
15016           Fix autoplugging example.
15017
15018 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15019
15020         * docs/manual/advanced-autoplugging.xml:
15021         * docs/manual/mime-world.fig:
15022           Try to get autoplugging working, fix type detection. Fix text
15023           in hello-world image.
15024
15025 2005-06-29  Wim Taymans  <wim@fluendo.com>
15026
15027         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15028         (gst_base_sink_change_state):
15029         Small debug line.
15030
15031         * gst/gstclock.h:
15032         map SIGNAL and BROADCAST to the right function.
15033
15034         * gst/gstobject.h:
15035         Remove redundant braces.
15036
15037         * gst/gstpad.c: (gst_pad_set_caps):
15038         Don't call setcaps function when reseting caps to NULL.
15039
15040         * gst/gstsystemclock.c: (gst_system_clock_dispose),
15041         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
15042         (gst_system_clock_id_unschedule):
15043         Use BROADCAST as this is what we do.
15044
15045 2005-06-29  Wim Taymans  <wim@fluendo.com>
15046
15047         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15048         We are actually prerolling before commiting the state
15049         change. 
15050
15051 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15052
15053         * docs/manual/advanced-clocks.xml:
15054         * docs/manual/advanced-interfaces.xml:
15055         * docs/manual/advanced-metadata.xml:
15056         * docs/manual/advanced-position.xml:
15057         * docs/manual/advanced-schedulers.xml:
15058         * docs/manual/advanced-threads.xml:
15059         * docs/manual/appendix-porting.xml:
15060         * docs/manual/basics-bins.xml:
15061         * docs/manual/basics-bus.xml:
15062         * docs/manual/basics-elements.xml:
15063         * docs/manual/basics-helloworld.xml:
15064         * docs/manual/basics-pads.xml:
15065         * docs/manual/highlevel-components.xml:
15066         * docs/manual/manual.xml:
15067         * docs/manual/thread.fig:
15068           Update (until threads/scheduling) Application Development Manual;
15069           remove GstThread, add GstBus, add simple porting checklist, add
15070           documentation for tag writing, clocks, make all examples until this
15071           part compile and run.
15072         * examples/manual/Makefile.am:
15073           Update from changes to Application Development Manual; add bus
15074           example, remove thread example.
15075
15076 2005-06-28  Wim Taymans  <wim@fluendo.com>
15077
15078         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
15079         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
15080         (gst_bus_source_dispatch):
15081         Add debugging messages.
15082         Make internal methods static.
15083         Handle the case where the bus is flushed in the handler.
15084         
15085         * gst/gstelement.c: (gst_element_get_bus):
15086         Fix refcount in _get_bus();
15087
15088         * gst/gstpipeline.c: (gst_pipeline_change_state),
15089         (gst_pipeline_get_clock_func):
15090         Clock refcounting fixes.
15091         Handle the case where preroll timed out more gracefully.
15092         
15093         * gst/gstsystemclock.c: (gst_system_clock_dispose):
15094         Clean up the internal thread in dispose. This is needed
15095         for subclasses that actually get disposed.
15096         
15097         * gst/schedulers/threadscheduler.c:
15098         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
15099         (gst_thread_scheduler_dispose):
15100         Free thread pool in dispose.
15101
15102 2005-06-28  Andy Wingo  <wingo@pobox.com>
15103
15104         * tests/network-clock-utils.scm (debug, print-event): New utils.
15105
15106         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
15107         (*packet-loss*): Unified loss probability.
15108         (network-time): Report out-of-band events.
15109
15110         * tests/plot-data: Add support for out-of-band events. Hack it
15111         into this script instead of passing it down the pipe; should fix
15112         this later.
15113
15114 2005-06-28  Wim Taymans  <wim@fluendo.com>
15115
15116         * docs/gst/gstreamer.types:
15117         * docs/gst/tmpl/gstbasesrc.sgml:
15118         * docs/gst/tmpl/gstpad.sgml:
15119         Docs fixes.
15120
15121 2005-06-28  Wim Taymans  <wim@fluendo.com>
15122
15123         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15124         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
15125         (gst_proxy_pad_do_fixatecaps):
15126         Correctly proxy the check_pull_range function.
15127
15128 2005-06-28  Andy Wingo  <wingo@pobox.com>
15129
15130         * tests/network-clock.scm: Removed need for slib.
15131         
15132 2005-06-28  Wim Taymans  <wim@fluendo.com>
15133
15134         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
15135         (gst_basesink_preroll_queue_flush):
15136         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
15137         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
15138         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15139         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15140         (gst_proxy_pad_set_property):
15141         * gst/gstpad.c:
15142         * gst/gstpad.h:
15143         * gst/gstqueue.c: (gst_queue_init):
15144         The deprecated pad loop function is removed now.
15145
15146 2005-06-28  Andy Wingo  <wingo@pobox.com>
15147
15148         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
15149         New parameters, simulate network packet loss.
15150
15151         * tests/network-clock-utils.scm: Initialize the RNG.
15152
15153 2005-06-28  Wim Taymans  <wim@fluendo.com>
15154
15155         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
15156         (gst_basesink_event), (gst_basesink_deactivate):
15157         Flushing the preroll queue always needs to unlock the waiters.
15158
15159 2005-06-28  Edward Hervey  <edward@fluendo.com>
15160
15161         * gst/gstpipeline.c: (gst_pipeline_send_event): 
15162         Wheen a seek was successful on a pipeline, set the stream_time to the
15163         seek offset in order to have a synchronized stream_time.
15164
15165 2005-06-28  Wim Taymans  <wim@fluendo.com>
15166
15167         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15168         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
15169         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
15170         (gst_proxy_pad_do_fixatecaps):
15171         Call wrapper function instead of just calling the function
15172         pointers. This takes care of any locking and whatmore.
15173
15174 2005-06-28  Wim Taymans  <wim@fluendo.com>
15175
15176         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
15177         (gst_pad_pull_range):
15178         * gst/gstpad.h:
15179         CONNECTED -> LINKED.
15180
15181 2005-06-28  Andy Wingo  <wingo@pobox.com>
15182
15183         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
15184         source-munging commit!!!
15185
15186         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
15187         (gst_object_sink): Take gpointer arguments, not GstObject --
15188         avoids casts. Like GLib.
15189
15190         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
15191         activate.
15192
15193 2005-06-27  Andy Wingo  <wingo@pobox.com>
15194
15195         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
15196         remaining buffer.
15197
15198         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
15199         returns a sorted copy of the trace list.
15200         (gst_alloc_trace_print_live): New API, only prints traces with
15201         live objects. Sort the list.
15202         (gst_alloc_trace_print_all): Sort the list.
15203         (gst_alloc_trace_print): Align columns.
15204
15205         * gst/elements/gstttypefindelement.c:
15206         * gst/elements/gsttee.c:
15207         * gst/base/gstbasesrc.c:
15208         * gst/base/gstbasesink.c:
15209         * gst/base/gstbasetransform.c:
15210         * gst/gstqueue.c: Adapt for pad activation changes.
15211
15212         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
15213         sched.
15214         (gst_pipeline_dispose): Drop ref on sched.
15215
15216         * gst/gstpad.c (gst_pad_init): Set the default activate func.
15217         (gst_pad_activate_default): Push mode by default.
15218         (pre_activate_switch, post_activate_switch): New stubs, things to
15219         do before and after switching activation modes on pads.
15220         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
15221         the pad's activate function to choose which mode to activate.
15222         Shortcut on deactivation and call the right function directly.
15223         (gst_pad_activate_pull): New API, (de)activates a pad in pull
15224         mode.
15225         (gst_pad_activate_push): New API, same for push mode.
15226         (gst_pad_set_activate_function) 
15227         (gst_pad_set_activatepull_function) 
15228         (gst_pad_set_activatepush_function): Setters for new API.
15229
15230         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
15231         Trace all miniobjects.
15232         (gst_mini_object_make_writable): Unref the arg if we copy, like
15233         gst_caps_make_writable.
15234
15235         * gst/gstmessage.c (_gst_message_initialize): No trace init.
15236
15237         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
15238         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
15239         Adapt for new pad API.
15240
15241         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
15242
15243         * gst/gstelement.h:
15244         * gst/gstelement.c (gst_element_iterate_src_pads) 
15245         (gst_element_iterate_sink_pads): New API functions.
15246         
15247         * gst/gstelement.c (iterator_fold_with_resync): New utility,
15248         should fold into gstiterator.c in some form.
15249         (gst_element_pads_activate): Simplified via use of fold and
15250         delegation of decisions to gstpad->activate.
15251
15252         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
15253         help in debugging.
15254
15255         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
15256         class once in init, like gstmessage. Didn't run into this issue
15257         but it seems correct. Don't initialize a trace, gstminiobject does
15258         that.
15259
15260         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
15261         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
15262         to the bus.
15263         (assert_live_count): New util function, uses alloc traces to check
15264         cleanup.
15265
15266         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
15267         To be modified when unlink drops the internal pad.
15268
15269 2005-06-27  Wim Taymans  <wim@fluendo.com>
15270
15271         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
15272         (gst_bin_change_state):
15273         Cleanup the get_state() function a little, make sure it
15274         iterates the same set of elements.
15275         Added stub iterate_state_order().
15276
15277 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15278
15279         * docs/gst/gstreamer-docs.sgml:
15280         * docs/gst/gstreamer-sections.txt:
15281         * docs/gst/gstreamer.types:
15282         * docs/gst/tmpl/gstbasesink.sgml:
15283         * docs/gst/tmpl/gstbasesrc.sgml:
15284         * docs/gst/tmpl/gstbasetransform.sgml:
15285         * docs/gst/tmpl/gstelement.sgml:
15286         * docs/gst/tmpl/gstiterator.sgml:
15287         * gst/base/gstbasesrc.c:
15288         * gst/base/gstbasesrc.h:
15289         * gst/base/gstbasetransform.h:
15290         * gst/gstelement.c:
15291         * gst/gstiterator.h:
15292           adding basetransform and iterator docs
15293
15294 2005-06-27  Andy Wingo  <wingo@pobox.com>
15295
15296         * docs/design/part-activation.txt: Notes on how activation should
15297         work -- not quite implemented yet.
15298
15299 2005-06-25  Wim Taymans  <wim@fluendo.com>
15300
15301         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
15302         At least get the chain function correct, needs more
15303         fixing.
15304
15305 2005-06-25  Wim Taymans  <wim@fluendo.com>
15306
15307         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15308         (gst_basesink_handle_object), (gst_basesink_event),
15309         (gst_basesink_do_sync), (gst_basesink_handle_event),
15310         (gst_basesink_change_state):
15311         * gst/gsttask.h:
15312         Right, two problems here: ghostpads don't take locks and
15313         glib _rec_mutex_lock_full() with depth==0 still locks.
15314         Catch illegal locking and g_warn them.
15315
15316 2005-06-25  Wim Taymans  <wim@fluendo.com>
15317
15318         * check/states/sinks.c: (START_TEST), (gst_object_suite):
15319         Have to check for completion now...
15320
15321 2005-06-25  Wim Taymans  <wim@fluendo.com>
15322
15323         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15324         (gst_basesink_handle_object), (gst_basesink_event),
15325         (gst_basesink_do_sync), (gst_basesink_handle_event),
15326         (gst_basesink_change_state):
15327         * gst/gstpad.h:
15328         Unlock STREAM_LOCK whatever the recursion was.
15329
15330 2005-06-25  Wim Taymans  <wim@fluendo.com>
15331
15332         * gst/base/gstbasesink.c: (gst_basesink_set_property),
15333         (gst_basesink_preroll_queue_empty),
15334         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
15335         (gst_basesink_event), (gst_basesink_do_sync),
15336         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
15337         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
15338         (gst_basesink_change_state):
15339         Reworked the base sink, handle event and buffer serialisation
15340         correctly and removed possible deadlock.
15341         Handle EOS correctly.
15342
15343 2005-06-25  Wim Taymans  <wim@fluendo.com>
15344
15345         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
15346         (gst_pipeline_change_state):
15347         * tools/gst-launch.c: (check_intr), (event_loop), (main):
15348         Allow elements to post EOS in the state change function.
15349         Fix up -launch, make it exit the poll loop when the
15350         pipeline actually changed state.
15351         Fix up warning parsing in -launch.
15352
15353 2005-06-25  Wim Taymans  <wim@fluendo.com>
15354
15355         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
15356         (gst_tee_sink_activate):
15357         Core takes STREAM_LOCK for us now.
15358
15359 2005-06-25  Wim Taymans  <wim@fluendo.com>
15360
15361         * gst/gstelement.c: (gst_element_get_state_func),
15362         (gst_element_set_state):
15363         * gst/gstelement.h:
15364         * gst/gstmessage.c: (gst_message_parse_error),
15365         (gst_message_parse_warning):
15366         Keep track of current target state while performing a state
15367         change so that subclasses can do something interesting.
15368         Fix parsing of warning/error messages when GError is NULL.
15369
15370 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15371
15372         * docs/gst/Makefile.am:
15373         * docs/gst/gstreamer-docs.sgml:
15374         * docs/gst/gstreamer-sections.txt:
15375         * docs/gst/gstreamer.types:
15376         * docs/gst/tmpl/gstbasesink.sgml:
15377         * docs/gst/tmpl/gstbasesrc.sgml:
15378         * docs/gst/tmpl/gstbin.sgml:
15379         * docs/gst/tmpl/gstcompat.sgml:
15380         * docs/gst/tmpl/gstfakesink.sgml:
15381         * docs/gst/tmpl/gstfakesrc.sgml:
15382         * docs/gst/tmpl/gstfilesink.sgml:
15383         * docs/gst/tmpl/gstfilesrc.sgml:
15384         * docs/gst/tmpl/gstindex.sgml:
15385         * docs/manual/appendix-quotes.xml:
15386         * gst/base/gstbasesrc.h:
15387         * gst/elements/gstfakesrc.h:
15388         * gst/gstmessage.h:
15389           start pulling in base classes and elements in our docs
15390
15391 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
15392
15393         * docs/gst/Makefile.am:
15394         * docs/libs/Makefile.am:
15395           fixed make distcheck with gtk-doc 1.3
15396
15397 2005-06-23  Wim Taymans  <wim@fluendo.com>
15398
15399         * gst/gstelement.c: (gst_element_get_state_func),
15400         (gst_element_set_state), (gst_element_change_state):
15401         When the state did not change, also report NO_PREROLL
15402         when it matters.
15403
15404 2005-06-23  Wim Taymans  <wim@fluendo.com>
15405
15406         * gst/gstpad.c: (gst_pad_event_default):
15407         * gst/gstqueue.c: (gst_queue_loop):
15408         No unsafe task pausing please.
15409
15410 2005-06-23  Wim Taymans  <wim@fluendo.com>
15411
15412         * gst/schedulers/threadscheduler.c:
15413         (gst_thread_scheduler_task_start),
15414         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
15415         Ref the task before pushing it on the threadpool. This
15416         makes sure that we have a ref when the threadfunction is
15417         actually called.
15418
15419 2005-06-23  Andy Wingo  <wingo@pobox.com>
15420
15421         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
15422         offset is greater than the file's size.
15423
15424         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
15425         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
15426         * gst/gstobject.c (gst_object_class_init): Make the class lock
15427         recursive. Wim won't let me drop deep_notify. Decodebin works
15428         again, whoopdy doo.
15429
15430         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
15431         internal pad, and hacks accordingly. Doesn't do it on the target
15432         pad because we change its caps. Probably catches all cases of
15433         interest tho.
15434         (gst_ghost_pad_set_property): Connect to notify::caps as
15435         appropritate.
15436
15437         * tests/network-clock.scm (plot-simulation): Pipe data to the
15438         elite python skript.
15439
15440         * tests/network-clock-utils.scm (define-parameter): New macro,
15441         defines a parameter that can be set via the command line.
15442         (set-parameter!, parse-parameter-arguments): Command line args
15443         parser.
15444
15445         * tests/plot-data: Simple matplotlib-based plotter, takes input on
15446         stdin.
15447
15448 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
15449
15450         * gst/elements/gsttypefindelement.c:
15451         (gst_type_find_element_handle_event):
15452           Don't restart typefinding on a discont.
15453         * gst/gstelement.c: (gst_element_set_state):
15454           Debug spelling fix.
15455         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
15456           Allow changing mode of an active pad.
15457           Debug output fixes.
15458         * gst/registries/gstlibxmlregistry.c: (load_feature):
15459           Don't cast a static pad template to a normal pad template.
15460
15461 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15462
15463         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15464         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15465           remove gst_strtoll completely, since it didn't actually do
15466           anything more than what g_ascii_strtoull already does.
15467           check for range errors when deserializing
15468           do a cast for the unsigned cases; but further fixing needs
15469           a decision on what the interpretation of "(int)" and
15470           deserialization should be for values that fall outside the
15471           type's boundaries (ie, refuse, or interpret as casting)
15472
15473 2005-06-23  Wim Taymans  <wim@fluendo.com>
15474
15475         * check/Makefile.am:
15476         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
15477         * docs/design/part-live-source.txt:
15478         * docs/design/part-states.txt:
15479         * gst/base/gstbasesrc.c: (gst_basesrc_init),
15480         (gst_basesrc_set_live), (gst_basesrc_is_live),
15481         (gst_basesrc_get_range), (gst_basesrc_activate),
15482         (gst_basesrc_change_state):
15483         * gst/base/gstbasesrc.h:
15484         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15485         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
15486         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
15487         * gst/gstelement.c: (gst_element_get_state_func),
15488         (gst_element_set_state):
15489         * gst/gstelement.h:
15490         * gst/gsttypes.h:
15491         * tools/gst-launch.c: (event_loop), (main):
15492         Added support for live sources and other elements that
15493         cannot do preroll.
15494         Updated design docs, added live-source design doc.
15495         Implemented live source functionality in basesrc
15496         Fix error condition in _bin_get_state()
15497         Implement live source handling in -launch.
15498         Added check for live sources.
15499         Fixed case in GstBin where elements were changed state
15500         multiple times.
15501
15502
15503 2005-06-23  Andy Wingo  <wingo@pobox.com>
15504
15505         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
15506         borken refcounting.
15507
15508         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
15509         gst_caps_replace takes care of this for us.
15510
15511         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
15512         gst_pad_set_caps on the target, not just its setcaps() function.
15513
15514         * tests/network-clock.scm: 
15515         * tests/network-clock-utils.scm: A network clock simulator.
15516         Something of an algorithmic testbed before doing something in C.
15517
15518 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15519
15520         * check/Makefile.am:
15521         * check/gst/capslist.h:
15522           copy over from 0.8, and add two with bitmasks specified with
15523           (int) 0xFF...
15524         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
15525           add test to parse everything from capslist.h
15526         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
15527         (main):
15528           add test for structure deserialization
15529         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15530           add tests for deserialization of strings to int types
15531         * gst/gststructure.c: (gst_structure_nth_field_name):
15532         * gst/gststructure.h:
15533           add a way to get the name of a field referenced by index
15534         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15535           instead of checking if the resulting long long lies between
15536           min and max, we check if the long long would fit into
15537           a number of bytes for the final type.
15538           This fixes cases where a string represents 2^32 - 1, which
15539           when cast to int would be the (valid) -1, but is bigger than
15540           G_MAXINT
15541
15542 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15543
15544         * gst/parse/grammar.y:
15545           add a log line for type deserialization
15546
15547 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15548
15549         * check/gst/gstvalue.c: (START_TEST):
15550         * gst/gstvalue.c: (gst_value_deserialize):
15551           return long long, not int, so gint64 deserialization actually
15552           works.  Is there any flag that makes the compiler check this ?
15553           Fixes #308559
15554
15555 2005-06-22  Wim Taymans  <wim@fluendo.com>
15556
15557         * gst/gstbuffer.h:
15558         Added convenience macros for setting buffers in GValue.
15559
15560 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
15561
15562         * check/gst/.cvsignore:
15563         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15564           add a test deserializing int64, and comment part out because
15565           it fails, yay !
15566
15567 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
15568
15569         * check/Makefile.am:
15570         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
15571         * testsuite/Makefile.am:
15572         * testsuite/caps/Makefile.am:
15573         * testsuite/caps/value_serialize.c:
15574         * testsuite/test_gst_init.c:
15575           move a value_serialize test over
15576
15577 2005-06-20  Wim Taymans  <wim@fluendo.com>
15578
15579         * gst/gstpad.c:
15580         Small doc updates.
15581         
15582         * gst/gstvalue.c: (gst_value_compare_buffer),
15583         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
15584         (gst_value_compare_flags), (gst_value_serialize_flags),
15585         (gst_value_deserialize_flags), (_gst_value_initialize):
15586         Fix serialisation of buffers, they are not boxed types anymore
15587
15588 2005-06-20  Wim Taymans  <wim@fluendo.com>
15589
15590         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
15591         Testcase to show error in buffer-on-caps serialisation.
15592
15593 2005-06-20  Andy Wingo  <wingo@pobox.com>
15594
15595         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
15596         will be adding to later.
15597
15598         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
15599         if its socks fill with rocks.
15600         (gst_system_clock_obtain): Set the name on object construction.
15601         Avoid double-checked locking.
15602
15603 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
15604
15605         * gst/gsturi.c: (gst_element_make_from_uri):
15606           Fix potential endless loop.
15607
15608 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15609
15610         * check/Makefile.am:
15611           add gsttag
15612         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
15613         (main):
15614           move over from testsuite dir and clean up
15615         * configure.ac:
15616         * gst/gsttag.c:
15617         * testsuite/Makefile.am:
15618         * testsuite/tags/.cvsignore:
15619         * testsuite/tags/Makefile.am:
15620         * testsuite/tags/merge.c:
15621           remove testsuite/tags
15622
15623 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15624
15625         * docs/gst/gstreamer-sections.txt:
15626         * docs/gst/tmpl/gstenumtypes.sgml:
15627         * win32/gstenumtypes.c:
15628           clean up documentation build a little
15629
15630 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15631
15632         * check/gstcheck.h:
15633           add macros for checking refcounts on objects and caps
15634         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
15635           add some more unit tests
15636         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15637         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
15638           fix leaked refcounts (I hope :)) so unittest works
15639         * gst/gstpad.h:
15640           whitespace removal
15641
15642 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15643
15644         * configure.ac: back to HEAD
15645
15646 === release 0.9.1 ===
15647
15648 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15649
15650         * NEWS:
15651         * RELEASE:
15652           updated
15653
15654 2005-06-17  Andy Wingo  <wingo@pobox.com>
15655
15656         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
15657         assert; it's always possible that the pad gets deactivated in
15658         between the checks in gstpad.c and the implementation. Rely on
15659         finish_preroll() to return a FLUSHING or similar instead of on the
15660         assert.
15661         
15662         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
15663         clock and post an EOS message if we come out of finish_preroll in
15664         the playing state.
15665
15666 2005-06-16  David Schleef  <ds@schleef.org>
15667
15668         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
15669         (gst_capsfilter_set_property): Allow NULL as possible value
15670         for filter_caps property, indicating GST_CAPS_ANY.
15671
15672 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15673
15674         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
15675           fix debug output
15676         * gst/schedulers/Makefile.am:
15677           use libgst prefix
15678         * gstreamer.spec.in:
15679           fix spec for it
15680
15681 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15682
15683         * gstreamer.spec.in:
15684           clean up
15685
15686 2005-06-08  Andy Wingo  <wingo@pobox.com>
15687
15688         * gst/gstutils.c: RPAD fixes all around.
15689         (gst_element_link_pads): Refcounting fixes.
15690
15691         * tools/gst-inspect.c:
15692         * tools/gst-xmlinspect.c:
15693         * parse/grammar.y:
15694         * gst/base/gsttypefindhelper.c:
15695         * gst/base/gstbasesink.c:
15696         * gst/gstqueue.c: RPAD fixes.
15697
15698         * gst/gstghostpad.h:
15699         * gst/gstghostpad.c: New ghost pad implementation as full proxy
15700         pads. The tricky thing is they provide both source and sink
15701         interfaces, since they proxy the internal pad for the external
15702         pad, and vice versa. Implement with lower-level ProxyPad objects,
15703         with the interior proxy pad as a child of the exterior ghost pad.
15704         Should write a doc on this.
15705         
15706         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
15707         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
15708         gst_object API.
15709         
15710         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
15711         pads are real pads. No ghost pads in this file. Not documenting
15712         the myriad s/RPAD/PAD/ and REALIZE fixes.
15713         (gst_pad_class_init): Add properties for "direction" and
15714         "template". Both are construct-only, so they can't change during
15715         the life of the pad. Fixes properly deriving from GstPad.
15716         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
15717         derived objects, just set properties when creating the objects via
15718         g_object_new.
15719         (gst_pad_get_parent): Implement as a function, return NULL if the
15720         parent is not an element.
15721         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
15722         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
15723         
15724         * gst/gstobject.c (gst_object_class_init): Make name a construct
15725         property. Don't set it in the object init.
15726
15727         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
15728         with UNKNOWN direction.
15729         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
15730         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
15731         (gst_element_remove_pad): Remove ghost-pad special cases.
15732         (gst_element_pads_activate): Remove rpad cruft.
15733
15734         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
15735         catch the pad's-parent-not-an-element case.
15736
15737         * gst/gst.h: Include gstghostpad.h.
15738
15739         * gst/gst.c (init_post): No more real, ghost pads.
15740
15741         * gst/Makefile.am: Add gstghostpad.[ch].
15742
15743         * check/Makefile.am:
15744         * check/gst/gstbin.c:
15745         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
15746         into a bin creates ghost pads, and that the refcounts are right.
15747         Partly moved from gstbin.c.
15748
15749 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15750
15751         * check/gst-libs/.cvsignore:
15752         * check/gst/.cvsignore:
15753         * check/pipelines/.cvsignore:
15754           ignore more
15755         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
15756         (START_TEST), (cleanup_suite), (main):
15757           add some tests related to cleanup after running pipelines
15758
15759 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15760
15761         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
15762           add a testsuite for GstBuffer
15763
15764 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15765
15766         * gst/gstminiobject.h:
15767           add defines for accessing the refcount
15768
15769 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
15770
15771         * Makefile.am: added support for html unit test coverage reports
15772
15773 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
15774
15775         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15776           Free existing caps if the capsfilter changes. Add a FIXME about
15777           setting those caps on the pads.
15778
15779         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
15780           Before adding a ghost pad to a parent bin, check that there isn't
15781           already one for the element on the bin. Prevents infinite recursion
15782           when using decodebin in parse pipelines. Andy says he'll rewrite the
15783           way this works anyway, so ignore the hack.
15784
15785 2005-06-02  Andy Wingo  <wingo@pobox.com>
15786
15787         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
15788         file size, pass it on to the type find helper.
15789
15790         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
15791         segment_start and segment_end properly according to the seek
15792         method. Segment_end is still a bit flaky because offset can be
15793         negative for CUR and END cases, but it takes -1 as an "unset"
15794         value.
15795
15796 2005-06-02  Wim Taymans  <wim@fluendo.com>
15797
15798         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
15799         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
15800         (gst_basesink_activate):
15801         * gst/base/gstbasesink.h:
15802         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15803         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15804         (gst_pad_query), (gst_pad_start_task):
15805         * gst/gstpad.h:
15806         * gst/gstqueue.c: (gst_queue_bufferalloc),
15807         (gst_queue_handle_sink_event), (gst_queue_chain):
15808         Bufferalloc: return GstFlowReturn to more accuratly report
15809         why allocation failed.
15810
15811 2005-06-02  Wim Taymans  <wim@fluendo.com>
15812
15813         * gst/gstpipeline.c: (gst_pipeline_send_event):
15814         Take snapshot of state without blocking.
15815
15816 2005-06-02  Wim Taymans  <wim@fluendo.com>
15817
15818         * docs/design/part-TODO.txt:
15819         * docs/design/part-caps.txt:
15820         * docs/design/part-clocks.txt:
15821         * docs/design/part-negotiation.txt:
15822         * docs/design/part-preroll.txt:
15823         Small doc updates 
15824
15825 2005-05-30  Wim Taymans  <wim@fluendo.com>
15826
15827         * gst/elements/gstidentity.c: (gst_identity_event),
15828         (gst_identity_transform), (gst_identity_get_property):
15829         Protect last_message property as it is accessed from
15830         multiple threads.
15831
15832 2005-05-30  Wim Taymans  <wim@fluendo.com>
15833
15834         * gst/gstelement.c: (gst_element_init),
15835         (gst_element_pads_activate), (gst_element_change_state):
15836         Slicker pad activation code.
15837
15838 2005-05-30  Wim Taymans  <wim@fluendo.com>
15839
15840         * gst/Makefile.am:
15841         * gst/gstelement.h:
15842         * gst/gstelementfactory.h:
15843         * gst/gsttypes.h:
15844         Move elementfactory methods to separate .h file.
15845
15846 2005-05-30  Wim Taymans  <wim@fluendo.com>
15847
15848         * docs/design/part-overview.txt:
15849         * gst/gstsystemclock.h:
15850         Small typo fixes, doc updates.
15851
15852 2005-05-30  Wim Taymans  <wim@fluendo.com>
15853
15854         * gst/gst.c: (gst_init_get_popt_table), (init_post),
15855         (init_popt_callback):
15856         Remove cpu-opt flag.
15857
15858 2005-05-30  Wim Taymans  <wim@fluendo.com>
15859
15860         * gst/gstbuffer.c: (gst_subbuffer_finalize),
15861         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
15862         * gst/gstbuffer.h:
15863         Avoid typechecking in places where not needed.
15864         Added accessor for malloc_data.
15865
15866 2005-05-30  Wim Taymans  <wim@fluendo.com>
15867
15868         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
15869         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
15870         (gst_pad_configure_sink), (gst_pad_configure_src),
15871         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
15872         (gst_pad_start_task):
15873         Propagate errors from _set_caps() in configure_src/sink
15874         functions instead of returning TRUE.
15875         FLUSH events can travel up and downstream
15876
15877
15878 2005-05-30  Wim Taymans  <wim@fluendo.com>
15879
15880         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15881         (gst_basesink_activate):
15882         Handle EOS in preroll.
15883
15884 2005-05-30  Wim Taymans  <wim@fluendo.com>
15885
15886         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15887         (gst_queue_loop), (gst_queue_handle_src_event):
15888         Remove old pieces of code
15889         Flushing the queue in an upstream event is a very bad idea.
15890
15891 2005-05-26  Andy Wingo  <wingo@pobox.com>
15892
15893         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
15894         gst_value_set_mini_object so as to add a ref on the object (which
15895         will be removed when the value is unset).
15896
15897         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
15898         arg type in ::handoff.
15899
15900         * gst/gstelement.c (gst_element_change_state): Also deactivate
15901         pads in READY->NULL, just in case the element didn't make it to
15902         PAUSED. Wingo tested, Wim approved.
15903
15904 2005-05-26  Wim Taymans  <wim@fluendo.com>
15905
15906         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15907         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15908         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
15909         A flushing pad cannot be used to alloc_buffer from.
15910
15911 2005-05-26  Wim Taymans  <wim@fluendo.com>
15912
15913         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
15914         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
15915         (gst_bus_source_dispatch), (gst_bus_source_finalize),
15916         (gst_bus_create_watch), (gst_bus_add_watch_full):
15917         * gst/gstbus.h:
15918         Implement a real GSource and use g_main_context_wakeup() to
15919         signal new messages instead of the socketpair.
15920
15921 2005-05-25  Wim Taymans  <wim@fluendo.com>
15922
15923         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
15924         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
15925         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15926         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15927         (gst_pad_send_event), (gst_pad_start_task):
15928         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
15929         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15930         (gst_queue_sink_activate), (gst_queue_src_activate),
15931         (gst_queue_change_state):
15932         * gst/gstqueue.h:
15933         Fix state changes for non sinks. We now change sinks, then elements
15934         with unconnected srcpads, then the rest.
15935         More efficient queue unlocking in flush and state changes.
15936         Set the pad activate mode even if it does not have an activate
15937         function.
15938
15939 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15940
15941         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
15942           Don't go in pull mode for non-seekable sources.
15943         * gst/elements/gsttypefindelement.h:
15944         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
15945         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
15946         (free_entry), (stop_typefinding),
15947         (gst_type_find_element_handle_event), (find_peek),
15948         (gst_type_find_element_chain), (do_pull_typefind),
15949         (gst_type_find_element_change_state):
15950           Allow typefinding (w/o seeking) in push-mode, simplified version
15951           of what was in 0.8.
15952         * gst/gstutils.c: (gst_buffer_join):
15953         * gst/gstutils.h:
15954           gst_buffer_join() from 0.8.
15955
15956 2005-05-25  Wim Taymans  <wim@fluendo.com>
15957
15958         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15959         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15960         (gst_pad_send_event), (gst_pad_start_task):
15961         Disable attempt at mode switching until it is figured out.
15962
15963 2005-05-25  Wim Taymans  <wim@fluendo.com>
15964
15965         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
15966         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15967         (gst_basesink_finish_preroll), (gst_basesink_chain),
15968         (gst_basesink_loop), (gst_basesink_activate),
15969         (gst_basesink_change_state):
15970         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
15971         (gst_basesrc_get_range), (gst_basesrc_loop),
15972         (gst_basesrc_activate):
15973         * gst/elements/gsttee.c: (gst_tee_sink_activate):
15974         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
15975         (gst_real_pad_init), (gst_real_pad_set_property),
15976         (gst_real_pad_get_property), (gst_pad_set_active),
15977         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
15978         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
15979         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
15980         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
15981         (gst_pad_event_default_dispatch), (gst_pad_event_default),
15982         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
15983         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
15984         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
15985         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
15986         (gst_pad_stop_task):
15987         * gst/gstpad.h:
15988         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15989         (gst_queue_loop), (gst_queue_src_activate):
15990         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
15991         (gst_task_get_state):
15992         * gst/gsttask.h:
15993         * gst/schedulers/threadscheduler.c:
15994         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
15995         Implement gst_pad_pause/start/stop_task(), take STREAM lock
15996         in task function.
15997         Remove ACTIVE pad flag, use FLUSHING everywhere
15998         Added _pad_chain(), _pad_get_range() to call chain/getrange 
15999         functions.
16000         Add locks around IS_FLUSHING when reading.
16001         Take STREAM lock in chain(), get_range() functions so plugins
16002         don't need to take it anymore.
16003         
16004
16005
16006 2005-05-25  Wim Taymans  <wim@fluendo.com>
16007
16008         * tools/gst-launch.c: (event_loop):
16009         Unref message after using its contents instead of
16010         before.
16011
16012 2005-05-24  Wim Taymans  <wim@fluendo.com>
16013
16014         * docs/design/draft-ghostpads.txt:
16015         * docs/design/draft-push-pull.txt:
16016         * docs/design/draft-query.txt:
16017         * docs/design/part-overview.txt:
16018         Docs updates, added general overview doc.
16019
16020 2005-05-21  David Schleef  <ds@schleef.org>
16021
16022         * docs/gst/tmpl/old/GstBin.sgml:
16023         * docs/gst/tmpl/old/GstBuffer.sgml:
16024         * docs/gst/tmpl/old/GstCaps.sgml:
16025         * docs/gst/tmpl/old/GstClock.sgml:
16026         * docs/gst/tmpl/old/GstCompat.sgml:
16027         * docs/gst/tmpl/old/GstData.sgml:
16028         * docs/gst/tmpl/old/GstElement.sgml:
16029         * docs/gst/tmpl/old/GstEvent.sgml:
16030         * docs/gst/tmpl/old/GstIndex.sgml:
16031         * docs/gst/tmpl/old/GstStructure.sgml:
16032         * docs/gst/tmpl/old/GstTag.sgml:
16033         * docs/gst/tmpl/old/cothreads.sgml:
16034         * docs/gst/tmpl/old/cothreads_compat.sgml:
16035         * docs/gst/tmpl/old/gettext.sgml:
16036         * docs/gst/tmpl/old/gobject2gtk.sgml:
16037         * docs/gst/tmpl/old/grammar.tab.sgml:
16038         * docs/gst/tmpl/old/gst-i18n-app.sgml:
16039         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
16040         * docs/gst/tmpl/old/gst_private.sgml:
16041         * docs/gst/tmpl/old/gstaggregator.sgml:
16042         * docs/gst/tmpl/old/gstarch.sgml:
16043         * docs/gst/tmpl/old/gstatomic_impl.sgml:
16044         * docs/gst/tmpl/old/gstbufferstore.sgml:
16045         * docs/gst/tmpl/old/gstdata_private.sgml:
16046         * docs/gst/tmpl/old/gstdisksink.sgml:
16047         * docs/gst/tmpl/old/gstdisksrc.sgml:
16048         * docs/gst/tmpl/old/gstelementfactory.sgml:
16049         * docs/gst/tmpl/old/gstextratypes.sgml:
16050         * docs/gst/tmpl/old/gstfakesink.sgml:
16051         * docs/gst/tmpl/old/gstfakesrc.sgml:
16052         * docs/gst/tmpl/old/gstfdsink.sgml:
16053         * docs/gst/tmpl/old/gstfdsrc.sgml:
16054         * docs/gst/tmpl/old/gstfilesink.sgml:
16055         * docs/gst/tmpl/old/gstfilesrc.sgml:
16056         * docs/gst/tmpl/old/gsthttpsrc.sgml:
16057         * docs/gst/tmpl/old/gstidentity.sgml:
16058         * docs/gst/tmpl/old/gstindexfactory.sgml:
16059         * docs/gst/tmpl/old/gstmarshal.sgml:
16060         * docs/gst/tmpl/old/gstmd5sink.sgml:
16061         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
16062         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
16063         * docs/gst/tmpl/old/gstpadtemplate.sgml:
16064         * docs/gst/tmpl/old/gstpipefilter.sgml:
16065         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
16066         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
16067         * docs/gst/tmpl/old/gstshaper.sgml:
16068         * docs/gst/tmpl/old/gstspider.sgml:
16069         * docs/gst/tmpl/old/gstspideridentity.sgml:
16070         * docs/gst/tmpl/old/gststatistics.sgml:
16071         * docs/gst/tmpl/old/gsttee.sgml:
16072         * docs/gst/tmpl/old/gsttimecache.sgml:
16073         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
16074         * docs/gst/tmpl/old/gstxmlregistry.sgml:
16075         * docs/gst/tmpl/old/gthread-cothreads.sgml:
16076         * docs/gst/tmpl/old/types.sgml:
16077           I didn't intend to add these or check them in.
16078
16079 2005-05-19  David Schleef  <ds@schleef.org>
16080
16081         * configure.ac: Use -no-common everywhere.  In a sane world, it
16082           would be the default in libtool, because without it, you can't
16083           build DLLs on Windows.
16084         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
16085         * docs/gst/gstreamer-sections.txt:
16086         * docs/gst/tmpl/gstcpu.sgml:
16087         * docs/gst/tmpl/gstdata.sgml:
16088         * docs/gst/tmpl/gstthread.sgml:
16089
16090 2005-05-19  David Schleef  <ds@schleef.org>
16091
16092         * gst/gstminiobject.c: (gst_value_set_mini_object),
16093         (gst_value_take_mini_object), (gst_value_get_mini_object):
16094         * gst/gstminiobject.h: Add GValue set/get functions.
16095
16096 2005-05-19  Wim Taymans  <wim@fluendo.com>
16097
16098         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
16099         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
16100         (gst_subbuffer_init), (gst_buffer_is_span_fast):
16101         * gst/gstbuffer.h:
16102         * gst/gstbus.c: (gst_bus_post):
16103         * gst/gstelement.c: (gst_element_get_random_pad):
16104         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
16105         Make subbufer unref the parent in finalize.
16106         some more debugging info.
16107
16108
16109 2005-05-19  Wim Taymans  <wim@fluendo.com>
16110
16111         * gst/base/gstbasesink.c: (gst_basesink_class_init),
16112         (gst_basesink_init), (gst_basesink_finalize),
16113         (gst_basesink_activate), (gst_basesink_change_state):
16114         Don't free preroll queue too early.
16115
16116 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16117
16118         * gst/Makefile.am:
16119         * gst/ROADMAP:
16120           Hi, I'm outdated. Please shoot me.
16121
16122 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16123
16124         * gst/gstpipeline.c: (gst_pipeline_send_event):
16125           Do not access variables after they have been deleted.
16126
16127 2005-05-19  Wim Taymans  <wim@fluendo.com>
16128
16129         * tools/gst-inspect.c: (print_plugin_features):
16130         A plugin feature does unfortunatly not use the
16131         object name yet...
16132
16133 2005-05-18  Wim Taymans  <wim@fluendo.com>
16134
16135         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
16136         Port _span() functions to new subbuffers.
16137
16138 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16139
16140         * gst/gstbin.c: (gst_bin_add_func):
16141           Fix clock settery in bins when adding kids after the clock has
16142           been selected.
16143
16144 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16145
16146         * gst/elements/gstidentity.c: (gst_identity_class_init):
16147           Workaround until signals support GstMiniObject.
16148
16149 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
16150
16151         * gst/gstbuffer.c:
16152         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
16153
16154 2005-05-18  Wim Taymans  <wim@fluendo.com>
16155
16156         * gst/base/Makefile.am:
16157         * gst/base/gstadapter.c: (gst_adapter_base_init),
16158         (gst_adapter_class_init), (gst_adapter_init),
16159         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
16160         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
16161         (gst_adapter_flush), (gst_adapter_available),
16162         (gst_adapter_available_fast):
16163         * gst/base/gstadapter.h:
16164         Ported and added adapter to the base classes.
16165
16166 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16167
16168         * gst/gst.c:
16169         * gst/gstmessage.c:
16170           Make sure the class is reffed/unreffed once before threads can be
16171           used.  Fixes #304551.
16172
16173 2005-05-17  Wim Taymans  <wim@fluendo.com>
16174
16175         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
16176         (gst_basesink_chain_unlocked), (gst_basesink_activate):
16177         * gst/gstminiobject.c: (gst_mini_object_get_type),
16178         (gst_mini_object_free):
16179         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
16180         (gst_pad_push), (gst_pad_push_event):
16181         * gst/gstqueue.c: (gst_queue_change_state):
16182         Don't queue buffers in basesink when we are flushing.
16183         Unref buffer when flushing in basesink.
16184         Flush queue when going to READY
16185         Unref buffer when _push() returns an error.
16186         Don't free MiniObject instance when refcount is incremented
16187         in _finalize() so that we can recover objects.
16188
16189 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16190
16191         * docs/manual/advanced-schedulers.xml:
16192         * docs/manual/appendix-checklist.xml:
16193         * docs/pwg/advanced-clock.xml:
16194         * docs/pwg/advanced-interfaces.xml:
16195         * docs/pwg/advanced-request.xml:
16196         * docs/pwg/advanced-types.xml:
16197         * docs/pwg/intro-preface.xml:
16198         * examples/plugins/example.c: (gst_example_get_type),
16199         (gst_example_class_init), (gst_example_chain),
16200         (gst_example_set_property), (gst_example_get_property),
16201         (gst_example_change_state), (plugin_init):
16202         * examples/plugins/example.h:
16203           small doc fixes
16204
16205 2005-05-17  Wim Taymans  <wim@fluendo.com>
16206
16207         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
16208         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
16209         * gst/gstqueue.c: (gst_queue_change_state):
16210         Clear queue when going to READY.
16211         Remove IN_SETCAPS flag too.
16212
16213 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
16214
16215         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
16216           Remove implicit cast from gboolean to GstElementStateReturn;
16217           make sure we still return failure in paused => ready case if
16218           the parent class fails to change state and our own stop 
16219           vfunc succeeds.
16220
16221 2005-05-17  Wim Taymans  <wim@fluendo.com>
16222
16223         * tools/gst-launch.c: (event_loop):
16224         Message was unreffed too soon.
16225
16226 2005-05-16  Andy Wingo  <wingo@pobox.com>
16227
16228         * gst/gstbin.c (sink_iterator_filter): Err... um...
16229
16230         * check/gst/gstbin.c (test_ghost_pads): New test for the
16231         ghosting-if-elements-not-in-same-bin behavior.
16232
16233 2005-05-16  David Schleef  <ds@schleef.org>
16234
16235         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
16236         accessing refcount directly.
16237
16238 2005-05-15  David Schleef  <ds@schleef.org>
16239
16240         * check/Makefile.am: remove GstData checks
16241         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
16242         * gst/Makefile.am: add miniobject, remove data
16243         * gst/gst.h: add miniobject, remove data
16244         * gst/gstdata.c: remove
16245         * gst/gstdata.h: remove
16246         * gst/gstdata_private.h: remove
16247         * gst/gsttypes.h: remove GstEvent and GstMessage
16248         * gst/gstelement.c: (gst_element_post_message): fix for API changes
16249         * gst/gstmarshal.list: change BOXED -> OBJECT
16250
16251         Implement GstMiniObject.
16252         * gst/gstminiobject.c:
16253         * gst/gstminiobject.h:
16254
16255         Modify to be subclasses of GstMiniObject.
16256         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
16257         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
16258         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
16259         (gst_subbuffer_get_type), (gst_subbuffer_init),
16260         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
16261         (gst_buffer_span):
16262         * gst/gstbuffer.h:
16263         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
16264         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
16265         (_gst_event_copy), (gst_event_new):
16266         * gst/gstevent.h:
16267         * gst/gstmessage.c: (_gst_message_initialize),
16268         (gst_message_get_type), (gst_message_class_init),
16269         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
16270         (gst_message_new), (gst_message_new_error),
16271         (gst_message_new_warning), (gst_message_new_tag),
16272         (gst_message_new_state_changed), (gst_message_new_application):
16273         * gst/gstmessage.h:
16274         * gst/gstprobe.c: (gst_probe_perform),
16275         (gst_probe_dispatcher_dispatch):
16276         * gst/gstprobe.h:
16277         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
16278         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
16279         (_gst_query_copy), (gst_query_new):
16280
16281         Update elements for GstData -> GstMiniObject changes
16282         * gst/gstquery.h:
16283         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
16284         (gst_queue_chain), (gst_queue_loop):
16285         * gst/elements/gstbufferstore.c:
16286         (gst_buffer_store_add_buffer_func),
16287         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
16288         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16289         (gst_fakesink_render):
16290         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
16291         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
16292         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
16293         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
16294         (gst_filesrc_create_read):
16295         * gst/elements/gstidentity.c: (gst_identity_class_init):
16296         * gst/elements/gsttypefindelement.c:
16297         (gst_type_find_element_src_event), (free_entry_buffers),
16298         (gst_type_find_element_handle_event):
16299         * libs/gst/dataprotocol/dataprotocol.c:
16300         (gst_dp_header_from_buffer):
16301         * libs/gst/dataprotocol/dataprotocol.h:
16302         * libs/gst/dataprotocol/dp-private.h:
16303
16304 2005-05-15  David Schleef  <ds@schleef.org>
16305
16306         * gst/elements/gstelements.c: Don't include headers that were
16307         just removed.
16308
16309 2005-05-15  David Schleef  <ds@schleef.org>
16310
16311         * gst/elements/Makefile.am: Remove some elements that don't
16312         need to be in the core (or even exist at all).
16313         * gst/elements/gstaggregator.c:
16314         * gst/elements/gstaggregator.h:
16315         * gst/elements/gstmd5sink.c:
16316         * gst/elements/gstmd5sink.h:
16317         * gst/elements/gstmultifilesrc.c:
16318         * gst/elements/gstmultifilesrc.h:
16319         * gst/elements/gstpipefilter.c:
16320         * gst/elements/gstpipefilter.h:
16321         * gst/elements/gstshaper.c:
16322         * gst/elements/gstshaper.h:
16323         * gst/elements/gststatistics.c:
16324         * gst/elements/gststatistics.h:
16325         * po/POTFILES.in: Remove above files.
16326
16327 2005-05-14  Andy Wingo  <wingo@pobox.com>
16328
16329         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
16330         so as to get the refs right.
16331         (sink_iterator_filter): New function, wraps bin_element_is_sink,
16332         unreffing objects that don't pass the filter.
16333
16334         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
16335         gst_element_set_bus.
16336         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
16337         normal cases, this will destroy the bus.
16338
16339         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
16340         object.
16341
16342         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
16343         has no sinks.
16344
16345 2005-05-13  Andy Wingo  <wingo@pobox.com>
16346
16347         * gst/gstutils.c (gst_element_link_pads): Instead of calling
16348         gst_pad_link, call pad_link_maybe_ghosting,
16349         (pad_link_maybe_ghosting): Links pads, making sure that the
16350         elements being linked are in the same bin.
16351         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
16352         Helpers for pad_link_maybe_ghosting.
16353
16354 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
16355
16356         * configure.ac:
16357           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
16358
16359 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
16360
16361         * docs/design/part-element-source.txt:
16362           Mention GstPushSrc
16363
16364 2005-05-12  Wim Taymans  <wim@fluendo.com>
16365
16366         * gst/base/gstbasesink.c: (gst_basesink_init),
16367         (gst_basesink_activate):
16368         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
16369         (gst_basesrc_is_seekable):
16370         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16371         (bin_element_is_sink), (gst_bin_change_state):
16372         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16373         * gst/gstelement.h:
16374         Identify sinks by their flag to avoid overly complicated
16375         checks (fow now).
16376         Do state changes even for elements not reachable from the
16377         sinks.
16378         BaseSink is a sink now :)
16379         Some more debugging info in the basesrc.
16380
16381
16382 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16383
16384         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
16385           Implement _query on a bin, similar to _send_event.
16386
16387 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
16388
16389         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
16390           Discont event offset format should be GST_FORMAT_BYTES,
16391           not GST_FORMAT_TIME.
16392
16393 2005-05-12  Wim Taymans  <wim@fluendo.com>
16394
16395         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
16396         Same fix as Ronald's but without the signal. 
16397
16398 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16399
16400         * gst/gstutils.c: (gst_element_query_position):
16401           No, an element is not a pad.
16402
16403 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16404
16405         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
16406         (gst_bin_get_state):
16407           If a child is removed from a bin while we remove the child from
16408           the bin and while we're retrieving its state, signal this to the
16409           get_state function so we abort the wait (instead of waiting for
16410           a timeout) and can immediately re-iterate over all other elements.
16411
16412 2005-05-12  Wim Taymans  <wim@fluendo.com>
16413
16414         * gst/base/Makefile.am:
16415         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
16416         (gst_basesrc_start):
16417         * gst/base/gstbasesrc.h:
16418         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
16419         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
16420         (gst_pushsrc_init), (gst_pushsrc_create):
16421         * gst/base/gstpushsrc.h:
16422         Added is_seekable to BaseSrc
16423         Added simple PushSrc.
16424
16425 2005-05-11  Wim Taymans  <wim@fluendo.com>
16426
16427         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16428         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16429         (gst_element_link_pads), (gst_element_query_position),
16430         (gst_element_query_convert), (intersect_caps_func),
16431         (gst_pad_query_position), (gst_pad_query_convert):
16432         Fix refcounting in utils function.
16433         No point in trying to activate a pad when it's added, it could
16434         be added from the state change function and then we deadlock, the
16435         element has to decide what to do.
16436
16437 2005-05-10  Andy Wingo  <wingo@pobox.com>
16438
16439         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
16440         *all* the arguments.
16441
16442         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
16443         stream lock if it's a FLUSH_DONE; normal flushes don't get the
16444         lock (according to the docs -- if this is wrong change the docs).
16445
16446         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
16447         flush messages in the NULL state.
16448
16449         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
16450         message immediately and return.
16451         (gst_bus_set_flushing): New function. If a bus is flushing, it
16452         flushes out any queued messages and immediately unrefs new
16453         messages. This is so when an element goes to NULL, all of the
16454         unhandled messages coming from it can be freed, and their
16455         references to the element dropped. In other words: message source
16456         ref considered harmful :P
16457
16458         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
16459         we're finished with it.
16460
16461         * gst/gstmessage.c (gst_message_new_state_changed): 
16462
16463 2005-05-10  Wim Taymans  <wim@fluendo.com>
16464
16465         * gst/gstvalue.c: (gst_value_compare_flags),
16466         (gst_value_serialize_flags), (gst_value_deserialize_flags),
16467         (_gst_value_initialize):
16468         Added flags serialize/deserialize/compare code.
16469
16470 2005-05-09  Andy Wingo  <wingo@pobox.com>
16471
16472         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
16473         Intersect the peer's caps with our caps.
16474
16475 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16476
16477         * gst/base/gsttypefindhelper.c: (helper_find_peek):
16478         * gst/elements/gsttypefindelement.c: (find_peek):
16479           Handle negative offsets better. Fixes decodebin.
16480
16481 2005-05-09  Wim Taymans  <wim@fluendo.com>
16482
16483         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
16484         (gst_base_transform_event):
16485         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
16486         Implement accept_caps.
16487         Fix silly lock/unlock mismatch in base class.
16488
16489 2005-05-09  Wim Taymans  <wim@fluendo.com>
16490
16491         * docs/design/draft-push-pull.txt:
16492         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
16493         * gst/elements/gstfilesink.c: (gst_filesink_init),
16494         (gst_filesink_query):
16495         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
16496         (gst_type_find_handle_src_query), (find_element_get_length):
16497         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
16498         * gst/gstelement.h:
16499         * gst/gstmessage.c:
16500         * gst/gstmessage.h:
16501         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
16502         (gst_real_pad_get_caps_unlocked),
16503         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
16504         (gst_pad_event_default_dispatch), (gst_pad_event_default),
16505         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
16506         (gst_real_pad_dispose), (gst_real_pad_finalize),
16507         (gst_pad_load_and_link), (gst_pad_save_thyself),
16508         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
16509         (gst_pad_check_pull_range), (gst_pad_pull_range),
16510         (gst_pad_template_get_type), (gst_pad_template_class_init),
16511         (gst_pad_template_init), (gst_pad_template_dispose),
16512         (name_is_valid), (gst_static_pad_template_get),
16513         (gst_pad_template_new), (gst_static_pad_template_get_caps),
16514         (gst_pad_template_get_caps), (gst_pad_set_element_private),
16515         (gst_pad_get_element_private), (gst_pad_start_task),
16516         (gst_pad_pause_task), (gst_pad_stop_task),
16517         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
16518         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
16519         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
16520         (gst_ghost_pad_new):
16521         * gst/gstpad.h:
16522         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
16523         (gst_query_new_position), (gst_query_set_position),
16524         (gst_query_parse_position), (gst_query_new_convert),
16525         (gst_query_set_convert), (gst_query_parse_convert):
16526         * gst/gstquery.h:
16527         * gst/gstqueryutils.c:
16528         * gst/gstqueryutils.h:
16529         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
16530         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16531         (gst_queue_handle_src_query):
16532         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16533         (gst_element_query_position), (gst_element_query_convert),
16534         (intersect_caps_func), (gst_pad_query_position),
16535         (gst_pad_query_convert):
16536         * gst/gstutils.h:
16537         * tools/gst-inspect.c: (print_pad_info):
16538         * tools/gst-xmlinspect.c: (print_element_info):
16539         Remove old query functions. Ported old code.
16540         Added position/convert helper functions to gstutils.
16541         Reordered gstpad.c code, grouping relevant things.
16542         Remove gst_message_new(), always need to speficy a specific
16543         message.
16544
16545
16546 2005-05-09  Andy Wingo  <wingo@pobox.com>
16547
16548         * gst/gstiterator.h: Add some includes.
16549
16550         * gst/gstqueryutils.h: Include more headers.
16551
16552         * gst/gstpad.h:
16553         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
16554         some uses of gst_pad_query.
16555
16556         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
16557         NULL out parameters.
16558         (gst_query_new_position): New proc, allocates a new position
16559         query.
16560
16561         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
16562         gstqueryutils.c to the build.
16563
16564         * gst/gststructure.c (gst_structure_set_valist): Implement with
16565         the generic G_VALUE_COLLECT.
16566         
16567 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
16568
16569         * gst/Makefile.am: (gst_headers):
16570         Added gstqueryutils.h to the list of headers to install, that was
16571         a 'nachty' move wingo :)
16572
16573 2005-05-06  Andy Wingo  <wingo@pobox.com>
16574
16575         * gst/gstquery.h
16576         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
16577         GstData, init a memchunk.
16578         (standard_definitions): Add a few query types, deprecate a few.
16579         (gst_query_get_type): New proc.
16580         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
16581         implementation.
16582         (gst_query_new_application, gst_query_get_structure): New public
16583         procs.
16584
16585         * docs/design/draft-query.txt: Removed LINKS from the query types,
16586         because all the rest can be dispatched to other pads -- seemed
16587         ugly to have a query that couldn't be dispatched. internal_links
16588         is fine as a pad method.
16589
16590         * gst/gstpad.h: Add query2 as a pad method, add the new functions
16591         in gstpad.c, but maintain binary compatibility for the moment.
16592         Will fix before 0.9 is out.
16593
16594         * gst/gstqueryutils.c: 
16595         * gst/gstqueryutils.h: New files, implement 3 methods for each
16596         query type: parse_query, parse_response, and set. Probably need an
16597         allocator as well.
16598
16599         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
16600
16601         * gst/elements/gstfilesink.c (gst_filesink_query2):
16602         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
16603         query_types, and formats methods.
16604
16605         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
16606         (gst_pad_set_query2_function): New functions.
16607         (gst_real_pad_init): Set query2_default as the default query2
16608         function. Basically just dispatches to internally linked pads.
16609
16610         Needs review!
16611         
16612         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
16613         without using the atomic operations. Only one thread can possibly
16614         be accessing the data at this point. Changed so as to avoid
16615         gst_atomic operations.
16616
16617 2005-05-06  Wim Taymans  <wim@fluendo.com>
16618
16619         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
16620         Also set caps if we use the fallback buffer alloc.
16621
16622 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
16623
16624         * docs/gst/Makefile.am:
16625         * docs/gst/gstreamer-docs.sgml:
16626         * docs/gst/gstreamer-sections.txt:
16627         * docs/gst/tmpl/gstatomic.sgml:
16628         * docs/gst/tmpl/gstmemchunk.sgml:
16629         * testsuite/elements/struct_i386.h:
16630         * win32/GStreamer.vcproj:
16631         * win32/Makefile:
16632           Purge GstAtomic stuff from docs and win32 makefiles as well
16633
16634 2005-05-06  Wim Taymans  <wim@fluendo.com>
16635
16636         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
16637         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
16638         * gst/gstpad.c: (gst_pad_peer_get_caps):
16639         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
16640         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16641         (gst_queue_src_activate), (gst_queue_change_state):
16642         * gst/gstqueue.h:
16643         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16644         (intersect_caps_func):
16645         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
16646         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
16647         Some fixes for the peer_get_caps() change.
16648
16649 2005-05-06  Wim Taymans  <wim@fluendo.com>
16650
16651         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16652         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
16653         (gst_basesink_activate):
16654         Actually do something with error codes returned from the push
16655         functions.
16656
16657 2005-05-06  Wim Taymans  <wim@fluendo.com>
16658
16659         * docs/design/part-element-sink.txt:
16660         * docs/design/part-element-source.txt:
16661         * gst/base/gstbasesink.c: (gst_basesink_class_init),
16662         (gst_basesink_event), (gst_basesink_activate):
16663         * gst/base/gstbasesink.h:
16664         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
16665         (gst_basesrc_activate):
16666         * gst/base/gstbasesrc.h:
16667         * gst/gstelement.c: (gst_element_pads_activate):
16668         Some more documentation.
16669         Fixed scheduling decision in _pads_activate().
16670
16671 2005-05-05  Andy Wingo  <wingo@pobox.com>
16672
16673         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
16674         the test suite.
16675
16676 2005-05-05  Wim Taymans  <wim@fluendo.com>
16677
16678         * gst/base/Makefile.am:
16679         * gst/base/gstbasesink.h:
16680         * gst/base/gstbasesrc.c: (gst_basesrc_init),
16681         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
16682         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
16683         (gst_collectpads_class_init), (gst_collectpads_init),
16684         (gst_collectpads_finalize), (gst_collectpads_new),
16685         (gst_collectpads_set_function), (gst_collectpads_add_pad),
16686         (find_pad), (gst_collectpads_remove_pad),
16687         (gst_collectpads_is_active), (gst_collectpads_collect),
16688         (gst_collectpads_collect_range), (gst_collectpads_start),
16689         (gst_collectpads_stop), (gst_collectpads_peek),
16690         (gst_collectpads_pop), (gst_collectpads_available),
16691         (gst_collectpads_read), (gst_collectpads_flush),
16692         (gst_collectpads_chain):
16693         * gst/base/gstcollectpads.h:
16694         * gst/elements/Makefile.am:
16695         * gst/elements/gstelements.c:
16696         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16697         (gst_fakesink_get_times), (gst_fakesink_event),
16698         (gst_fakesink_preroll), (gst_fakesink_render):
16699         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16700         (gst_filesink_init), (gst_filesink_set_location),
16701         (gst_filesink_open_file), (gst_filesink_close_file),
16702         (gst_filesink_pad_query), (gst_filesink_event),
16703         (gst_filesink_render), (gst_filesink_change_state):
16704         * gst/elements/gstfilesink.h:
16705         Added object to help in making collect pad based elements.
16706         Ported filesink.
16707         Make event function in sink baseclass return gboolean.
16708
16709 2005-05-05  Wim Taymans  <wim@fluendo.com>
16710
16711         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
16712         (gst_bin_get_by_name):
16713         * gst/gstbuffer.h:
16714         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
16715         (gst_clock_finalize):
16716         * gst/gstdata.c: (gst_data_replace):
16717         * gst/gstdata.h:
16718         * gst/gstelement.c: (gst_element_request_pad),
16719         (gst_element_pads_activate):
16720         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
16721         (gst_object_unref):
16722         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16723         (gst_pad_set_checkgetrange_function),
16724         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
16725         (gst_pad_check_pull_range), (gst_pad_pull_range),
16726         (gst_static_pad_template_get_caps), (gst_pad_start_task),
16727         (gst_pad_pause_task), (gst_pad_stop_task):
16728         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16729         (gst_element_request_pad), (gst_pad_proxy_getcaps):
16730         Fix name lookup in GstBin.
16731         Added _data_replace() function and _buffer_replace()
16732         Use finalize method to clean up clock.
16733         Fix refcounting on request pads.
16734         Fix pad schedule mode error.
16735         Some more object refcounting debug info,
16736
16737
16738 2005-05-04  Andy Wingo <wingo@pobox.com>
16739
16740         * check/Makefile.am:
16741         * docs/gst/tmpl/gstatomic.sgml:
16742         * docs/gst/tmpl/gstplugin.sgml:
16743         * gst/base/gstbasesink.c: (gst_basesink_activate):
16744         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
16745         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
16746         (gst_basesrc_query), (gst_basesrc_set_property),
16747         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
16748         (gst_basesrc_activate):
16749         * gst/base/gstbasesrc.h:
16750         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
16751         (gst_base_transform_src_activate):
16752         * gst/elements/gstelements.c:
16753         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16754         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
16755         * gst/elements/gsttee.c: (gst_tee_sink_activate):
16756         * gst/elements/gsttypefindelement.c: (find_element_get_length),
16757         (gst_type_find_element_checkgetrange),
16758         (gst_type_find_element_activate):
16759         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
16760         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
16761         (gst_caps_load_thyself):
16762         * gst/gstelement.c: (gst_element_pads_activate),
16763         (gst_element_save_thyself), (gst_element_restore_thyself):
16764         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
16765         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
16766         * gst/gstpad.h:
16767         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
16768         (gst_xml_parse_file), (gst_xml_parse_memory),
16769         (gst_xml_get_element), (gst_xml_make_element):
16770         * gst/indexers/gstfileindex.c: (gst_file_index_load),
16771         (_file_index_id_save_xml), (gst_file_index_commit):
16772         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
16773         (read_enum), (load_pad_template), (load_feature), (load_plugin),
16774         (load_paths):
16775         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
16776         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
16777         * tools/gst-complete.c: (main):
16778         * tools/gst-compprep.c: (main):
16779         * tools/gst-inspect.c: (print_element_properties_info):
16780         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
16781         * tools/gst-xmlinspect.c: (print_element_properties):
16782         GCC 4 fixen.
16783         
16784 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16785
16786         * gst/gstplugin.c: (gst_plugin_check_module),
16787         (gst_plugin_check_file), (gst_plugin_load_file):
16788             apply patch from #172526 to make register work on MacOSX
16789
16790 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16791
16792         * docs/gst/tmpl/gstconfig.sgml:
16793         * gst/gstconfig.h.in:
16794           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
16795         * testsuite/debug/printf_extension.c: (main):
16796           Do not use GST_PTR_FORMAT on pointers to types with
16797           sizeof < sizeof(gpointer).  Fixes test on 64-bit
16798         * testsuite/elements/property.h:
16799           use correct printf format
16800
16801 2005-05-02  Wim Taymans  <wim@fluendo.com>
16802
16803         * docs/design/draft-push-pull.txt:
16804         * docs/design/draft-query.txt:
16805         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
16806         (gst_basesrc_start):
16807         Added draft for new query API.
16808         Added draft for better selecting scheduling methods.
16809         Make basesrc ignore length if the subclass does not support
16810         it.
16811
16812 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16813
16814         * gst/Makefile.am:
16815           possible fixes for automake-1.5 - _LIBADD is reserved
16816
16817 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16818
16819         * docs/faq/Makefile.am:
16820         * docs/manual/Makefile.am:
16821         * docs/manuals.mak:
16822         * docs/pwg/Makefile.am:
16823         * gst/Makefile.am:
16824           possible fixes for automake-1.5
16825
16826 2005-04-28  Wim Taymans  <wim@fluendo.com>
16827
16828         * gst/base/gstbasesink.c: (gst_basesink_base_init),
16829         (gst_basesink_pad_getcaps), (gst_basesink_init),
16830         (gst_basesink_do_sync):
16831         * gst/gstclock.c: (gst_clock_entry_new):
16832         * gst/gstevent.c: (gst_event_discont_get_value):
16833         * gst/gstpipeline.c: (pipeline_bus_handler),
16834         (gst_pipeline_change_state):
16835         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16836         Better debugging of clocking info.
16837         Allow NULL values when getting discont values.
16838
16839 2005-04-27  Wim Taymans  <wim@fluendo.com>
16840
16841         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
16842         * check/gst/gstpad.c: (gst_pad_suite):
16843         Increase timeout for checks.
16844
16845 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16846
16847         * check/Makefile.am:
16848           fix the broken rule for cleanup.  Apparently this rule is
16849           only needed on FC2, so maybe this warrants further autotool
16850           inspection.
16851
16852 2005-04-26  Wim Taymans  <wim@fluendo.com>
16853
16854         * gst/gsttrashstack.h:
16855         Ooohh. a nasty one! After having a failed pop() from the stack,
16856         it's possible that the stack is empty. In that case, don't
16857         follow the NULL pointer.
16858
16859 2005-04-25  Wim Taymans  <wim@fluendo.com>
16860
16861         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16862         (gst_pad_set_checkgetrange_function),
16863         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
16864         (gst_pad_check_pull_range), (gst_pad_pull_range),
16865         (gst_static_pad_template_get_caps), (gst_pad_start_task),
16866         (gst_pad_pause_task), (gst_pad_stop_task):
16867         * gst/gstplugin.c: (gst_plugin_load):
16868         * gst/gstplugin.h:
16869         Remove gst_library_load as it does more harm than good with
16870         the new g_module flags.
16871         Revert bogus caps template check in pad linking, pad caps
16872         are important when linking not the template, which is more
16873         general than the current caps.
16874
16875 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16876
16877         * gst/autoplug/.cvsignore:
16878         * gst/autoplug/Makefile.am:
16879         * gst/autoplug/gstsearchfuncs.c:
16880         * gst/autoplug/gstsearchfuncs.h:
16881         * gst/autoplug/gstspider.c:
16882         * gst/autoplug/gstspider.h:
16883         * gst/autoplug/gstspideridentity.c:
16884         * gst/autoplug/gstspideridentity.h:
16885         * gst/autoplug/spidertest.c:
16886           Die, spider, die.
16887
16888 2005-04-25  Wim Taymans  <wim@fluendo.com>
16889
16890         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16891         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16892         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
16893         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
16894         * gst/gstpad.h:
16895         Added stubs for unimplemented functions. 
16896
16897 2005-04-24  David Schleef  <ds@schleef.org>
16898
16899         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
16900         please fix.
16901
16902 2005-04-24  David Schleef  <ds@schleef.org>
16903
16904         Convert everything from GstAtomicInt to g_atomic_int_*, and
16905         remove gstatomic.
16906         * gst/Makefile.am:
16907         * gst/gstatomic.c:
16908         * gst/gstatomic.h:
16909         * gst/gstatomic_impl.h:
16910         * gst/gstbuffer.c:
16911         * gst/gstcaps.c:
16912         * gst/gstcaps.h:
16913         * gst/gstclock.c:
16914         * gst/gstclock.h:
16915         * gst/gstdata.c:
16916         * gst/gstdata.h:
16917         * gst/gstdata_private.h:
16918         * gst/gstevent.c:
16919         * gst/gstinfo.c:
16920         * gst/gstinfo.h:
16921         * gst/gstmessage.c:
16922         * gst/gstobject.c:
16923         * gst/gstobject.h:
16924         * gst/gststructure.c:
16925         * gst/gststructure.h:
16926         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
16927         * gst/gstutils.h:
16928
16929 2005-04-24  David Schleef  <ds@schleef.org>
16930
16931         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
16932         make the regressions tests work.  Remove some code that is no
16933         longer true.
16934         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
16935         Disable warning for pads without templates.
16936
16937 2005-04-24  David Schleef  <ds@schleef.org>
16938
16939         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
16940         functions that handle filtered links.
16941         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
16942         removed functions.
16943         * gst/gstutils.c: Fix/remove utility functions that handle
16944         filtered caps.
16945         * gst/gstutils.h:
16946         * gst/gstvalue.c: Add serialization/deserialization of caps
16947         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
16948         requires fixing so that the filter caps notation creates
16949         a capsfilter element and sets the filter_caps property.  I
16950         think everyone probably wants to keep the shorthand notation.
16951         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
16952         * docs/gst/tmpl/gstpad.sgml:
16953
16954         * gst/elements/gstelements.c: Register capsfilter element.
16955         * gst/Makefile.am: fix spacing
16956         * docs/random/ds/0.9-suggested-changes: random
16957
16958 2005-04-23  David Schleef  <ds@schleef.org>
16959
16960         * gst/elements/Makefile.am:
16961         * gst/elements/gstcapsfilter.c: New element that acts like an
16962         identity, but filters caps.  Will eventually replace filtered
16963         caps in pad linking.
16964         * gst/gstutils.c: (gst_element_create_all_pads): New function
16965         to create all the ALWAYS pads that are registered with an
16966         element class.  This functionality should eventually be
16967         merged in with GstElement initialization.
16968         * gst/gstutils.h:
16969         * testsuite/trigger/README: part of trigger test code that should
16970         have been checked in a long time ago.
16971
16972 2005-04-23  David Schleef  <ds@schleef.org>
16973
16974         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
16975         needed with new versions of libtool (nobody will confirm this),
16976         and hard to carry around.
16977         * gst/autoplug/Makefile.am:
16978         * gst/base/Makefile.am:
16979         * gst/elements/Makefile.am:
16980         * gst/indexers/Makefile.am:
16981         * gst/schedulers/Makefile.am:
16982         * libs/gst/bytestream/Makefile.am:
16983         * libs/gst/control/Makefile.am:
16984         * libs/gst/dataprotocol/Makefile.am:
16985         * libs/gst/getbits/Makefile.am:
16986
16987 2005-04-21  Wim Taymans  <wim@fluendo.com>
16988
16989         * docs/design/draft-push-pull.txt:
16990         * docs/design/part-MT-refcounting.txt:
16991         * docs/design/part-TODO.txt:
16992         * docs/design/part-caps.txt:
16993         * docs/design/part-events.txt:
16994         * docs/design/part-gstbus.txt:
16995         * docs/design/part-gstpipeline.txt:
16996         * docs/design/part-messages.txt:
16997         * docs/design/part-push-pull.txt:
16998         * docs/design/part-query.txt:
16999         Some more docs.
17000
17001 2005-04-21  Wim Taymans  <wim@fluendo.com>
17002
17003         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
17004         (gst_message_new), (gst_message_new_error),
17005         (gst_message_new_warning), (gst_message_new_tag),
17006         (gst_message_new_state_changed), (gst_message_new_application),
17007         (gst_message_get_structure):
17008         * gst/gstmessage.h:
17009         * gst/gststructure.c: (gst_structure_set_parent_refcount),
17010         (gst_structure_copy_conditional):
17011         Use parent refcount in GstMessage to ensure GstStructure
17012         consistency.
17013         Cleaned up headers a bit.
17014         
17015
17016 2005-04-20  Wim Taymans  <wim@fluendo.com>
17017
17018         * gst/base/gstbasesink.c: (gst_basesink_base_init),
17019         (gst_basesink_pad_getcaps), (gst_basesink_init),
17020         (gst_basesink_chain_unlocked):
17021         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
17022         (gst_type_find_helper):
17023         * gst/elements/gsttypefindelement.c:
17024         (gst_type_find_element_have_type), (gst_type_find_element_init),
17025         (stop_typefinding), (gst_type_find_element_handle_event),
17026         (find_suggest), (gst_type_find_element_chain),
17027         (gst_type_find_element_checkgetrange),
17028         (gst_type_find_element_getrange), (do_typefind),
17029         (gst_type_find_element_activate):
17030         * gst/gstbuffer.c: (_gst_buffer_sub_free),
17031         (gst_buffer_default_free), (gst_buffer_default_copy),
17032         (gst_buffer_set_caps):
17033         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
17034         (gst_caps_replace):
17035         * gst/gstmessage.c: (gst_message_new),
17036         (gst_message_new_state_changed):
17037         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17038         (gst_pad_set_checkgetrange_function),
17039         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
17040         (gst_pad_set_caps), (gst_pad_check_pull_range),
17041         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
17042         * gst/gstpad.h:
17043         * gst/gsttypefind.c: (gst_type_find_register):
17044         Make gst_caps_replace() work like other _replace() functions.
17045         Use _caps_replace() where possible.
17046         Make sure _message_new() initialises its field.
17047         Add gst_static_pad_template_get_caps()
17048
17049
17050 2005-04-18  Andy Wingo  <wingo@pobox.com>
17051
17052         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
17053         on the peer, not the pad. I think that was a typo. Pass an extra
17054         arg to see if random access is possible. Activate the pads as
17055         PULL_RANGE if possible.
17056
17057         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
17058
17059         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
17060         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
17061         to PROP_....
17062
17063 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17064
17065         * docs/faq/using.xml:
17066           Add note on gstreamer-properties (#154996).
17067
17068 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17069
17070         * docs/random/bbb/optional-properties:
17071           Some analysis on optional properties.
17072
17073 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17074
17075         * docs/gst/tmpl/gstelementfactory.sgml:
17076         * gst/gstelement.h:
17077         * gst/gstelementfactory.c: (gst_element_factory_init),
17078         (gst_element_factory_cleanup), (gst_element_register),
17079         (__gst_element_factory_add_static_pad_template),
17080         (gst_element_factory_get_static_pad_templates),
17081         (gst_element_factory_can_src_caps),
17082         (gst_element_factory_can_sink_caps):
17083         * gst/registries/Makefile.am:
17084         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
17085         (gst_xml_registry_class_init), (gst_xml_registry_init),
17086         (gst_xml_registry_new), (gst_xml_registry_set_property),
17087         (gst_xml_registry_get_property), (get_time), (make_dir),
17088         (gst_xml_registry_get_perms_func),
17089         (plugin_times_older_than_recurse), (plugin_times_older_than),
17090         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
17091         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
17092         (add_to_char_array), (read_string), (read_uint), (read_enum),
17093         (load_pad_template), (load_feature), (load_plugin), (load_paths),
17094         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
17095         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
17096         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
17097         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
17098         (gst_xml_registry_rebuild):
17099         * gst/registries/gstlibxmlregistry.h:
17100         * tools/gst-compprep.c: (main):
17101         * tools/gst-inspect.c: (print_pad_templates_info):
17102         * tools/gst-xmlinspect.c: (print_element_info):
17103           Use libxml2 for registry parsing, use staticpadtemplates in
17104           elementfactories. Makes gst_init() +/- 10x faster.
17105
17106 2005-04-12  Wim Taymans  <wim@fluendo.com>
17107
17108         * gst/base/Makefile.am:
17109         * gst/base/gstbasesink.c: (gst_basesink_base_init),
17110         (gst_basesink_pad_getcaps), (gst_basesink_init),
17111         (gst_basesink_event), (gst_basesink_change_state):
17112         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17113         (gst_basesrc_init), (gst_basesrc_query),
17114         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
17115         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
17116         (gst_basesrc_check_get_range), (gst_basesrc_loop),
17117         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
17118         (gst_basesrc_stop), (gst_basesrc_activate),
17119         (gst_basesrc_change_state):
17120         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17121         (helper_find_suggest), (gst_type_find_helper):
17122         * gst/base/gsttypefindhelper.h:
17123         * gst/elements/Makefile.am:
17124         * gst/elements/gstelements.c:
17125         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17126         (gst_fakesink_get_times), (gst_fakesink_event),
17127         (gst_fakesink_preroll), (gst_fakesink_render):
17128         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17129         (gst_fakesrc_init), (gst_fakesrc_event_handler),
17130         (gst_fakesrc_get_property), (gst_fakesrc_create),
17131         (gst_fakesrc_start), (gst_fakesrc_stop):
17132         * gst/elements/gstfakesrc.h:
17133         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
17134         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
17135         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
17136         (gst_filesrc_create_read), (gst_filesrc_create),
17137         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
17138         (gst_filesrc_start):
17139         * gst/elements/gsttypefindelement.c:
17140         (gst_type_find_element_have_type), (gst_type_find_element_init),
17141         (start_typefinding), (stop_typefinding), (push_buffer_store),
17142         (gst_type_find_element_handle_event),
17143         (gst_type_find_element_chain),
17144         (gst_type_find_element_checkgetrange),
17145         (gst_type_find_element_getrange), (do_typefind),
17146         (gst_type_find_element_activate),
17147         (gst_type_find_element_change_state):
17148         * gst/elements/gsttypefindelement.h:
17149         * gst/gstpipeline.c: (pipeline_bus_handler):
17150         Added typefind helper.
17151         Small preroll fix in the base sink.
17152         Disable typefind code in basesrc.
17153         Crude port of typefindelement.
17154         Fakesrc cleanups.
17155
17156
17157 2005-04-11  Wim Taymans  <wim@fluendo.com>
17158
17159         * check/gst/gstbus.c: (gstbus_suite):
17160         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
17161         * check/gstcheck.h:
17162           Fix up the timeout so that the test does not fail.
17163
17164 2005-04-06  Wim Taymans  <wim@fluendo.com>
17165
17166         * gst/base/README:
17167         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17168         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
17169         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
17170         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
17171         (gst_basesrc_check_get_range), (gst_basesrc_loop),
17172         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
17173         (gst_basesrc_stop), (gst_basesrc_activate),
17174         (gst_basesrc_change_state), (basesrc_find_peek),
17175         (basesrc_find_suggest), (gst_basesrc_type_find):
17176         * gst/base/gstbasesrc.h:
17177         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
17178         (gst_filesrc_class_init), (gst_filesrc_init),
17179         (gst_filesrc_finalize), (gst_filesrc_set_location),
17180         (gst_filesrc_set_property), (gst_filesrc_get_property),
17181         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
17182         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
17183         (gst_filesrc_create_read), (gst_filesrc_create),
17184         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
17185         * gst/elements/gstfilesrc.h:
17186         * gst/gstelement.c: (gst_element_get_state_func),
17187         (gst_element_lost_state), (gst_element_pads_activate):
17188         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17189         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
17190         (gst_pad_pull_range):
17191         * gst/gstpad.h:
17192         More work on the generic source base class, implement seeking,
17193         query.
17194         Make filesrc extend the base source class.
17195         Added gst_pad_set_checkgetrange_function to GstPad.
17196
17197 2005-04-06  Andy Wingo  <wingo@pobox.com>
17198
17199         * pkgconfig/gstreamer-base.pc.in:
17200         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
17201
17202         * pkgconfig/Makefile.am:
17203         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
17204
17205 2005-04-04  Wim Taymans  <wim@fluendo.com>
17206
17207         * gst/base/Makefile.am:
17208         * gst/base/README:
17209         * gst/base/gstbasesink.c: (gst_basesink_base_init),
17210         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17211         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17212         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
17213         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17214         (gst_basesrc_base_init), (gst_basesrc_class_init),
17215         (gst_basesrc_init), (gst_basesrc_get_formats),
17216         (gst_basesrc_get_query_types), (gst_basesrc_query),
17217         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
17218         (gst_basesrc_set_property), (gst_basesrc_get_property),
17219         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
17220         (gst_basesrc_loop), (gst_basesrc_activate),
17221         (gst_basesrc_change_state):
17222         * gst/base/gstbasesrc.h:
17223         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
17224         (gst_fakesrc_class_init), (gst_fakesrc_init),
17225         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
17226         (gst_fakesrc_get_property), (gst_fakesrc_create):
17227         * gst/elements/gstfakesrc.h:
17228         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
17229         (gst_filesrc_open_file), (gst_filesrc_loop),
17230         (gst_filesrc_activate), (filesrc_find_peek),
17231         (gst_filesrc_type_find):
17232         Made base source class, make fakesrc extend it.
17233         Add comments to basesink class.
17234         Some filesrc cleanup.
17235
17236 2005-03-31  David Schleef  <ds@schleef.org>
17237
17238         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
17239         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
17240         expected to link against libgstreamer.
17241         * gst/base/Makefile.am: link against libgstreamer
17242         * gst/elements/Makefile.am: same
17243
17244 2005-03-31  Andy Wingo  <wingo@pobox.com>
17245
17246         * tests/instantiate/Makefile.am:
17247         * tests/instantiate/caps.c: Add test to test speed of caps copy
17248         and free.
17249
17250         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
17251         GMemChunk to be fair.
17252
17253         * gst/gsttrashstack.h: Remove warning about using the fallback
17254         trash stack implementation, it's still faster than malloc.
17255
17256 2005-03-30  Andy Wingo  <wingo@pobox.com>
17257
17258         * tests/complexity.c: Add a copyright.
17259
17260 2005-03-31  Wim Taymans  <wim@fluendo.com>
17261
17262         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
17263         (gst_base_transform_class_init), (gst_base_transform_init),
17264         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
17265         (gst_base_transform_get_property),
17266         (gst_base_transform_sink_activate),
17267         (gst_base_transform_src_activate),
17268         (gst_base_transform_change_state):
17269         * gst/base/gstbasetransform.h:
17270         * gst/elements/gstidentity.c: (gst_identity_class_init),
17271         (gst_identity_event), (gst_identity_check_perfect),
17272         (gst_identity_transform), (gst_identity_start),
17273         (gst_identity_stop):
17274         Added start/stop methods to transform base class so subclasses 
17275         don't need to deal with state changes even.
17276
17277 2005-03-31  Wim Taymans  <wim@fluendo.com>
17278
17279         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
17280         (gst_event_new_discontinuous), (gst_event_discont_get_value):
17281         * gst/gstevent.h:
17282         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17283         (gst_pad_pull_range):
17284         Added rate to the discont event to prepare for variable speed
17285         and reverse playback.
17286
17287 2005-03-29  David Schleef  <ds@schleef.org>
17288
17289         * configure.ac:
17290         * testsuite/trigger/Makefile.am:
17291         * testsuite/trigger/trigger.c: A little example program to show
17292         how trigger-based elements can work.
17293
17294 2005-03-29  Wim Taymans  <wim@fluendo.com>
17295
17296         * gst/base/Makefile.am:
17297         * gst/base/README:
17298         * gst/base/gstbasesink.c: (gst_basesink_get_type),
17299         (gst_basesink_base_init), (gst_basesink_class_init),
17300         (gst_basesink_pad_getcaps), (gst_basesink_init),
17301         (gst_basesink_activate), (gst_basesink_change_state):
17302         * gst/base/gstbasesink.h:
17303         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
17304         (gst_base_transform_base_init), (gst_base_transform_finalize),
17305         (gst_base_transform_class_init), (gst_base_transform_init),
17306         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
17307         (gst_base_transform_event), (gst_base_transform_getrange),
17308         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
17309         (gst_base_transform_set_property),
17310         (gst_base_transform_get_property),
17311         (gst_base_transform_sink_activate),
17312         (gst_base_transform_src_activate),
17313         (gst_base_transform_change_state):
17314         * gst/base/gstbasetransform.h:
17315         * gst/elements/gstidentity.c: (gst_identity_finalize),
17316         (gst_identity_class_init), (gst_identity_init),
17317         (gst_identity_event), (gst_identity_check_perfect),
17318         (gst_identity_transform), (gst_identity_set_property),
17319         (gst_identity_get_property), (gst_identity_change_state):
17320         * gst/elements/gstidentity.h:
17321         * gst/gstelement.c: (gst_element_get_state_func),
17322         (gst_element_lost_state), (gst_element_pads_activate):
17323         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17324         (gst_pad_check_pull_range), (gst_pad_pull_range):
17325         * gst/gstpad.h:
17326         Simplify pad activation.
17327         Added function to check if pull_range can be performed.
17328         Error out when pulling inactive or flushing pads.
17329         Removed const from refcounted types as it does not make sense.
17330         Simplify pad templates in basesink
17331         Added base class for simple 1-to-1 transforms.
17332         Make identity subclass the base transform.
17333
17334 2005-03-29  Andy Wingo  <wingo@pobox.com>
17335
17336         * docs/libs/gstreamer-libs-overrides.txt: 
17337         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
17338         really don't understand what's going on, but like whatever. I want
17339         green buildbot!
17340
17341         * docs/gst/Makefile.am:
17342         * docs/libs/Makefile.am: Dist the overrides files.
17343
17344         * check/Makefile.am (clean-local): Remove .libs directories.
17345
17346         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
17347         elements to EXTRA_DIST, so po/ files are happy.
17348
17349         * po/POTFILES.in: Er, remove it here.
17350
17351         * po/POTFILES: Remove gstspider.c.
17352
17353         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
17354
17355         * docs/libs/gstreamer-libs-docs.sgml: 
17356         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
17357         bytestream.
17358
17359         * tests/complexity.c (main): Set the length of the preroll queue
17360         on the sinks to prevent a lockup.
17361
17362         * libs/gst/dataprotocol/Makefile.am: 
17363         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
17364         the same as the one in check/gst-libs/gdp.c.
17365
17366         * po/, docs/gst/: Commit automatic changes to docs and po files.
17367
17368         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
17369         the versioned libgstbase.
17370
17371         * check/Makefile.am: Depend on an unversioned gst-register, seems
17372         to make autoconf happier.
17373
17374         * gst/base/Makefile.am: Make libgstbase a versioned lib.
17375
17376 2005-03-28  Wim Taymans  <wim@fluendo.com>
17377
17378         * configure.ac:
17379         * docs/design/part-gstelement.txt:
17380         * docs/design/part-negotiation.txt:
17381         * docs/design/part-preroll.txt:
17382         * docs/design/part-scheduling.txt:
17383         * docs/design/part-states.txt:
17384         * gst/Makefile.am:
17385         * gst/base/Makefile.am:
17386         * gst/base/README:
17387         * gst/base/gstbasesink.c: (gst_basesink_get_template),
17388         (gst_basesink_base_init), (gst_basesink_class_init),
17389         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17390         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17391         (gst_basesink_set_pad_functions),
17392         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
17393         (gst_basesink_set_property), (gst_basesink_get_property),
17394         (gst_base_sink_get_template), (gst_base_sink_get_caps),
17395         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
17396         (gst_basesink_preroll_queue_push),
17397         (gst_basesink_preroll_queue_empty),
17398         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
17399         (gst_basesink_event), (gst_basesink_get_times),
17400         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
17401         (gst_basesink_chain_unlocked), (gst_basesink_chain),
17402         (gst_basesink_loop), (gst_basesink_activate),
17403         (gst_basesink_change_state):
17404         * gst/base/gstbasesink.h:
17405         * gst/elements/Makefile.am:
17406         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
17407         (gst_fakesink_class_init), (gst_fakesink_init),
17408         (gst_fakesink_set_property), (gst_fakesink_get_property),
17409         (gst_fakesink_get_times), (gst_fakesink_event),
17410         (gst_fakesink_preroll), (gst_fakesink_render),
17411         (gst_fakesink_change_state):
17412         * gst/elements/gstfakesink.h:
17413         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17414         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
17415         * gst/gstelement.c: (gst_element_add_pad),
17416         (gst_element_get_state_func), (gst_element_abort_state),
17417         (gst_element_commit_state), (gst_element_lost_state),
17418         (gst_element_set_state), (gst_element_pads_activate):
17419         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
17420         * gst/gstpipeline.c: (gst_pipeline_send_event),
17421         (gst_pipeline_change_state):
17422         Added state change code.
17423         Added/updated docs.
17424         Added sink base class, make fakesink extend the base class.
17425         Small cleanups in GstPipeline.
17426
17427 2005-03-26  David Schleef  <ds@schleef.org>
17428
17429         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
17430         is broken and should be implemented in a different library.
17431         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
17432         * gst/gst.h: remove gstcpu.h
17433         * gst/gstcpu.c: remove
17434         * gst/gstcpu.h: remove
17435         * gst/Makefile.am.future: Remove this file.  It's ancient.
17436
17437 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17438
17439         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17440         (gst_bin_send_event):
17441           Add default event/set_manager handlers. The set_manager handler
17442           takes care that the manager is distributed over kids that were
17443           already in the bin before the manager was set. The event handler
17444           is a utility virtual function that sends the event over all sinks,
17445           so that gst_element_send_event (bin, event); has the expected
17446           behaviour.
17447         * gst/gstpad.c: (gst_pad_event_default):
17448           Re-install default event handling for discontinuities, so that
17449           seeking works without requiring hacks in applications or extra
17450           code in sinks.
17451         * gst/gstpipeline.c: (gst_pipeline_class_init),
17452         (gst_pipeline_send_event):
17453           Half hack, half utility: set a pipeline to PAUSED for seek events,
17454           since that is the only way we can guarantee a/v sync. Means that
17455           you can do gst_element_seek (pipeline, method, pos); on a pipeline
17456           and it "just works".
17457
17458 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17459
17460         * gst/gstpipeline.c: (gst_pipeline_use_clock):
17461           Lock/unlock mismatch.
17462
17463 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17464
17465         * docs/faq/gst-uninstalled:
17466           add gst-plugins-base
17467         * docs/gst/Makefile.am:
17468           don't error out until docs are fixed
17469         * docs/gst/gstreamer.types:
17470           remove thread
17471
17472 2005-03-22  Wim Taymans  <wim@fluendo.com>
17473
17474         * check/Makefile.am:
17475         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
17476         * gst/gststructure.c: (gst_structure_set_valist),
17477         (gst_structure_copy_conditional):
17478         Activated more tests.
17479         Added message test.
17480         Added G_TYPE_POINTER to GstStructure.
17481         
17482
17483 2005-03-22  Wim Taymans  <wim@fluendo.com>
17484
17485         * docs/design/part-TODO.txt:
17486         * docs/design/part-events.txt:
17487         * docs/design/part-gstbin.txt:
17488         * docs/design/part-gstbus.txt:
17489         * docs/design/part-gstpipeline.txt:
17490         * docs/design/part-messages.txt:
17491         * gst/gstbus.c:
17492         * gst/gstmessage.c:
17493         Docs updates
17494
17495 2005-03-21  Wim Taymans  <wim@fluendo.com>
17496
17497         * gst/gstbus.c: (gst_bus_post):
17498         Fix copy-and-paste error.
17499
17500 2005-03-21  Wim Taymans  <wim@fluendo.com>
17501
17502         * check/Makefile.am:
17503         * gst/Makefile.am:
17504         * gst/elements/Makefile.am:
17505         * gst/elements/gstelements.c:
17506         * gst/elements/gstfakesink.c: (gst_fakesink_init),
17507         (gst_fakesink_event), (gst_fakesink_chain):
17508         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17509         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
17510         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
17511         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
17512         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
17513         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
17514         (gst_fakesrc_loop), (gst_fakesrc_activate),
17515         (gst_fakesrc_change_state):
17516         * gst/elements/gstfakesrc.h:
17517         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
17518         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
17519         (gst_filesrc_open_file), (gst_filesrc_loop),
17520         (gst_filesrc_activate), (gst_filesrc_change_state),
17521         (filesrc_find_peek), (filesrc_find_suggest),
17522         (gst_filesrc_type_find):
17523         * gst/elements/gstidentity.c: (gst_identity_finalize),
17524         (gst_identity_class_init), (gst_identity_init),
17525         (gst_identity_proxy_getcaps), (identity_queue_push),
17526         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
17527         (gst_identity_getrange), (gst_identity_chain),
17528         (gst_identity_sink_loop), (gst_identity_src_loop),
17529         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
17530         (gst_identity_set_property), (gst_identity_get_property),
17531         (gst_identity_change_state):
17532         * gst/elements/gstidentity.h:
17533         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
17534         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
17535         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
17536         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
17537         (gst_tee_sink_activate):
17538         * gst/elements/gsttee.h:
17539         * gst/gst.c: (gst_register_core_elements), (init_post):
17540         * gst/gst.h:
17541         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
17542         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
17543         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
17544         (gst_bin_change_state):
17545         * gst/gstbin.h:
17546         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
17547         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
17548         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
17549         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
17550         (gst_bus_set_sync_handler), (gst_bus_create_watch),
17551         (bus_watch_callback), (bus_watch_destroy),
17552         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
17553         (poll_timeout), (gst_bus_poll):
17554         * gst/gstbus.h:
17555         * gst/gstcaps.h:
17556         * gst/gstdata.h:
17557         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
17558         (gst_element_post_message), (gst_element_message_full),
17559         (gst_element_get_state_func), (gst_element_get_state),
17560         (gst_element_abort_state), (gst_element_commit_state),
17561         (gst_element_lost_state), (gst_element_set_state),
17562         (gst_element_pads_activate), (gst_element_change_state),
17563         (gst_element_dispose), (gst_element_set_manager_func),
17564         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
17565         (gst_element_set_manager), (gst_element_get_manager),
17566         (gst_element_set_bus), (gst_element_get_bus),
17567         (gst_element_set_scheduler), (gst_element_get_scheduler):
17568         * gst/gstelement.h:
17569         * gst/gstevent.c: (gst_event_new_segment_seek),
17570         (gst_event_new_flush):
17571         * gst/gstevent.h:
17572         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
17573         (_gst_message_free), (gst_message_get_type), (gst_message_new),
17574         (gst_message_new_eos), (gst_message_new_error),
17575         (gst_message_new_warning), (gst_message_new_tag),
17576         (gst_message_new_state_changed), (gst_message_new_application),
17577         (gst_message_get_structure), (gst_message_parse_tag),
17578         (gst_message_parse_state_changed), (gst_message_parse_error),
17579         (gst_message_parse_warning):
17580         * gst/gstmessage.h:
17581         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
17582         (gst_real_pad_set_property), (gst_pad_set_active),
17583         (gst_pad_is_active), (gst_pad_set_blocked_async),
17584         (gst_pad_set_blocked), (gst_pad_is_blocked),
17585         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
17586         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
17587         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
17588         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
17589         (gst_pad_link_filtered), (gst_pad_relink_filtered),
17590         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
17591         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
17592         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
17593         (gst_pad_set_caps), (gst_pad_configure_sink),
17594         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
17595         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
17596         (gst_real_pad_dispose), (gst_real_pad_finalize),
17597         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
17598         (gst_pad_event_default_dispatch), (gst_pad_event_default),
17599         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
17600         * gst/gstpad.h:
17601         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
17602         (pipeline_bus_handler), (gst_pipeline_change_state),
17603         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
17604         * gst/gstpipeline.h:
17605         * gst/gstprobe.h:
17606         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17607         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
17608         (gst_queue_link_src), (gst_queue_bufferalloc),
17609         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
17610         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
17611         (gst_queue_loop), (gst_queue_handle_src_event),
17612         (gst_queue_handle_src_query), (gst_queue_src_activate),
17613         (gst_queue_change_state):
17614         * gst/gstqueue.h:
17615         * gst/gstscheduler.c: (gst_scheduler_init),
17616         (gst_scheduler_dispose), (gst_scheduler_create_task),
17617         (gst_scheduler_factory_create):
17618         * gst/gstscheduler.h:
17619         * gst/gststructure.c: (gst_structure_get_type),
17620         (gst_structure_copy_conditional):
17621         * gst/gststructure.h:
17622         * gst/gsttaginterface.h:
17623         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
17624         (gst_task_init), (gst_task_dispose), (gst_task_create),
17625         (gst_task_get_state), (gst_task_start), (gst_task_stop),
17626         (gst_task_pause):
17627         * gst/gsttask.h:
17628         * gst/gstthread.c:
17629         * gst/gstthread.h:
17630         * gst/gsttypes.h:
17631         * gst/schedulers/Makefile.am:
17632         * gst/schedulers/cothreads_compat.h:
17633         * gst/schedulers/entryscheduler.c:
17634         * gst/schedulers/faircothreads.c:
17635         * gst/schedulers/faircothreads.h:
17636         * gst/schedulers/fairscheduler.c:
17637         * gst/schedulers/gstbasicscheduler.c:
17638         * gst/schedulers/gstoptimalscheduler.c:
17639         * gst/schedulers/gthread-cothreads.h:
17640         * gst/schedulers/threadscheduler.c:
17641         (gst_thread_scheduler_task_get_type),
17642         (gst_thread_scheduler_task_class_init),
17643         (gst_thread_scheduler_task_init),
17644         (gst_thread_scheduler_task_start),
17645         (gst_thread_scheduler_task_stop),
17646         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
17647         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17648         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
17649         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
17650         (plugin_init):
17651         * libs/gst/Makefile.am:
17652         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
17653         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
17654         (gst_file_pad_parent_set):
17655         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
17656         (gst_dp_event_from_packet):
17657         * tests/complexity.c: (main):
17658         * tests/mass_elements.c: (main):
17659         * testsuite/states/locked.c: (message_received), (main):
17660         * testsuite/states/parent.c: (main):
17661         * tools/gst-inspect.c: (print_element_flag_info),
17662         (print_implementation_info), (print_pad_info):
17663         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
17664         (main):
17665         * tools/gst-md5sum.c: (event_loop), (main):
17666         * tools/gst-typefind.c: (main):
17667         * tools/gst-xmlinspect.c: (print_element_info):
17668         Next big merge.
17669         Added GstBus for mainloop integration.
17670         Added GstMessage for sending notifications on the bus.
17671         Added GstTask as an abstraction for pipeline entry points.
17672         Removed GstThread.
17673         Removed Schedulers.
17674         Simplified GstQueue for multithreaded core.
17675         Made _link threadsafe, removed old capsnego.
17676         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
17677         Added pad blocking functions.
17678         Reworked scheduling functions in GstPad to prepare for
17679         scheduling updates soon.
17680         Moved events out of data stream.
17681         Simplified GstEvent types.
17682         Added return values to push/pull.
17683         Removed clocking from GstElement.
17684         Added prototypes for state change function for next merge.
17685         Removed iterate from bins and state change management.
17686         Fixed some elements, disabled others for now.
17687         Fixed -inspect and -launch.
17688         Added check for GstBus.
17689
17690 2005-03-10  Wim Taymans  <wim@fluendo.com>
17691
17692         * docs/design/part-MT-refcounting.txt:
17693         * docs/design/part-clocks.txt:
17694         * docs/design/part-gstelement.txt:
17695         * docs/design/part-gstobject.txt:
17696         * docs/design/part-standards.txt:
17697         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17698         (gst_bin_remove_func), (gst_bin_remove):
17699         * gst/gstbin.h:
17700         * gst/gstbuffer.c:
17701         * gst/gstcaps.h:
17702         * testsuite/clock/clock1.c: (main):
17703         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
17704         (main):
17705         * testsuite/dlopen/loadgst.c: (do_test):
17706         * testsuite/refcounting/bin.c: (add_remove_test1),
17707         (add_remove_test2), (main):
17708         * testsuite/refcounting/element.c: (main):
17709         * testsuite/refcounting/element_pad.c: (main):
17710         * testsuite/refcounting/pad.c: (main):
17711         * tools/gst-launch.c: (sigint_handler_sighandler):
17712         * tools/gst-typefind.c: (main):
17713         Doc updates.
17714         Added doc about clock.
17715         removed gst_bin_iterate_recurse_up(), marked methods
17716         for removal.
17717         Fix more testsuites.
17718
17719 2005-03-09  Wim Taymans  <wim@fluendo.com>
17720
17721         * gst/gstpad.c: (gst_pad_get_direction),
17722         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
17723         (gst_pad_collect_valist):
17724         * testsuite/bins/interface.c: (main):
17725         * testsuite/caps/audioscale.c: (test_caps):
17726         * testsuite/caps/caps.c: (test1), (test2), (test3):
17727         * testsuite/caps/deserialize.c: (main):
17728         * testsuite/caps/enumcaps.c: (main):
17729         * testsuite/caps/filtercaps.c: (main):
17730         * testsuite/caps/intersect2.c: (main):
17731         * testsuite/caps/random.c: (main):
17732         * testsuite/caps/renegotiate.c: (my_fixate), (main):
17733         * testsuite/caps/sets.c: (check_caps):
17734         * testsuite/caps/simplify.c: (check_caps), (main):
17735         * testsuite/caps/subtract.c: (check_caps):
17736         Fix _pad_get_direction wrt ghostpads.
17737         Fix caps testsuite.
17738
17739 2005-03-09  Wim Taymans  <wim@fluendo.com>
17740
17741         * check/Makefile.am:
17742         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
17743         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
17744         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
17745         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
17746         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
17747         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
17748         (gst_bin_remove), (gst_bin_iterate_recurse_up),
17749         (bin_element_is_sink), (gst_bin_iterate_sinks),
17750         (gst_bin_iterate_all_by_interface):
17751         * gst/gstbin.h:
17752         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
17753         (gst_element_change_state), (gst_element_dispose),
17754         (gst_element_finalize), (gst_element_set_loop_function):
17755         * gst/gstelement.h:
17756         * gst/gstiterator.c: (find_custom_fold_func):
17757         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17758         (gst_pad_collectv), (gst_pad_collect_valist),
17759         (gst_pad_template_new):
17760         * gst/gstpipeline.c: (gst_pipeline_class_init),
17761         (gst_pipeline_dispose), (gst_pipeline_set_property),
17762         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
17763         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
17764         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
17765         * gst/gstutils.h:
17766         * gst/schedulers/entryscheduler.c:
17767         * gst/schedulers/gstbasicscheduler.c:
17768         (gst_basic_scheduler_cothreaded_chain),
17769         (gst_basic_scheduler_chain_add_element):
17770         * testsuite/bins/interface.c: (main):
17771         Added GstBin test.
17772         Added GstSystemClock test.
17773         Implemented clock distribution code in GstBin.
17774         Implemented iterate sinks method for future use.
17775         Rearranged gstelement.h
17776         Fix GstIterator comparison bug.
17777         Moved some code to GstPipeline, mostly clocking related.
17778
17779 2005-03-09  Wim Taymans  <wim@fluendo.com>
17780
17781         * configure.ac:
17782         * gst/gst_private.h:
17783         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17784         (gst_bin_remove_func), (gst_bin_remove),
17785         (gst_bin_get_by_name_recurse_up):
17786         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
17787         (gst_clock_id_compare_func), (gst_clock_id_wait),
17788         (gst_clock_id_wait_async), (gst_clock_init),
17789         (gst_clock_adjust_unlocked), (gst_clock_get_time):
17790         * gst/gstelement.h:
17791         * gst/gstinfo.c: (_gst_debug_init):
17792         * gst/gstobject.h:
17793         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17794         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
17795         * gst/gstpad.h:
17796         Bump version number, we're now 0.9.0
17797         Add future debugging category.
17798         Fix NULL _unref() in _get_by_name_recurse_up
17799         Rearrange gstpad.h.
17800         Update some docs.
17801
17802 2005-03-08  Wim Taymans  <wim@fluendo.com>
17803
17804         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
17805         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
17806         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17807         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
17808         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
17809         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
17810         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
17811         * gst/elements/gstidentity.c: (gst_identity_class_init):
17812         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
17813         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
17814         * gst/elements/gstshaper.c: (gst_shaper_class_init):
17815         * gst/elements/gststatistics.c: (gst_statistics_class_init):
17816         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
17817         (gst_tee_link):
17818         * gst/gstelement.c: (gst_element_class_init),
17819         (gst_element_base_class_init), (gst_element_init),
17820         (gst_element_get_random_pad), (gst_element_wait_state_change),
17821         (gst_element_change_state), (gst_element_dispose),
17822         (gst_element_finalize), (gst_element_set_loop_function):
17823         * gst/gstelement.h:
17824         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
17825         * gst/gstthread.c: (gst_thread_class_init),
17826         (gst_thread_release_children_locks), (gst_thread_change_state):
17827         * gst/schedulers/gstbasicscheduler.c:
17828         (gst_basic_scheduler_loopfunc_wrapper),
17829         (gst_basic_scheduler_chain_wrapper),
17830         (gst_basic_scheduler_src_wrapper),
17831         (gst_basic_scheduler_remove_element):
17832         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
17833         Remove threadsafe properties. Fix elements because GObject
17834         complains when installing a property before declaring a
17835         set/get_property handler.
17836         Rearrange gstelement.h file, use STATE macros for state locks.
17837         Free mutexes in the finalize method instead of dispose.
17838
17839 2005-03-08  Wim Taymans  <wim@fluendo.com>
17840
17841         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
17842         * gst/gstthread.c: (gst_thread_release_children_locks):
17843         Added parentage check.
17844         Fix build og GstThread again.
17845
17846 2005-03-08  Wim Taymans  <wim@fluendo.com>
17847
17848         * docs/design/part-MT-refcounting.txt:
17849         * docs/design/part-conventions.txt:
17850         * docs/design/part-gstobject.txt:
17851         * docs/design/part-relations.txt:
17852         * docs/design/part-standards.txt:
17853         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17854         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
17855         (gst_bin_get_by_name), (gst_bin_get_by_interface),
17856         (gst_bin_iterate_all_by_interface):
17857         * gst/gstbuffer.h:
17858         * gst/gstclock.h:
17859         * gst/gstelement.c: (gst_element_class_init),
17860         (gst_element_change_state), (gst_element_set_loop_function):
17861         * gst/gstelement.h:
17862         * gst/gstiterator.c:
17863         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
17864         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
17865         (gst_object_dispatch_properties_changed), (gst_object_set_name),
17866         (gst_object_set_parent), (gst_object_unparent),
17867         (gst_object_check_uniqueness):
17868         * gst/gstobject.h:
17869         Docs updates, clean up some headers.
17870
17871 2005-03-07  Wim Taymans  <wim@fluendo.com>
17872
17873         * check/.cvsignore:
17874         * check/Makefile.am:
17875         * check/gst-libs/.cvsignore:
17876         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
17877         * check/gst/.cvsignore:
17878         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
17879         (START_TEST), (gstbus_suite), (main):
17880         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
17881         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
17882         (gst_data_suite), (main):
17883         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
17884         (add_fold_func), (gstiterator_suite), (main):
17885         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
17886         (thread_name_object), (thread_name_object_default),
17887         (gst_object_name_compare), (gst_object_suite), (main):
17888         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
17889         (gst_pad_suite), (main):
17890         * check/gstcheck.c: (gst_check_log_message_func),
17891         (gst_check_log_critical_func), (gst_check_init):
17892         * check/gstcheck.h:
17893         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17894         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
17895         Added checks.
17896
17897 2005-03-07  Wim Taymans  <wim@fluendo.com>
17898
17899         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17900         (gst_list_iterator_next), (gst_list_iterator_resync),
17901         (gst_list_iterator_free), (gst_iterator_new_list),
17902         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
17903         (gst_iterator_free), (gst_iterator_push), (filter_next),
17904         (filter_resync), (filter_uninit), (filter_free),
17905         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
17906         (gst_iterator_foreach), (find_custom_fold_func),
17907         (gst_iterator_find_custom):
17908         * gst/gstiterator.h:
17909         Added missing files.
17910
17911 2005-03-07  Wim Taymans  <wim@fluendo.com>
17912
17913         * Makefile.am:
17914         * configure.ac:
17915         * docs/design/part-MT-refcounting.txt:
17916         * docs/design/part-conventions.txt:
17917         * docs/design/part-gstobject.txt:
17918         * docs/design/part-relations.txt:
17919         * examples/mixer/mixer.c: (main):
17920         * examples/thread/thread.c: (eos), (main):
17921         * gst/Makefile.am:
17922         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
17923         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
17924         (gst_spider_plug_from_srcpad):
17925         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
17926         (gst_spider_identity_change_state),
17927         (gst_spider_identity_sink_loop_type_finding):
17928         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
17929         * gst/elements/gstidentity.c: (gst_identity_init):
17930         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
17931         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
17932         * gst/elements/gsttypefindelement.c: (free_entry):
17933         * gst/gst.c:
17934         * gst/gst.h:
17935         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
17936         (gst_bin_set_clock_func), (gst_bin_auto_clock),
17937         (gst_bin_set_index), (gst_bin_set_element_sched),
17938         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
17939         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
17940         (gst_bin_iterate_elements), (iterate_child_recurse),
17941         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
17942         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
17943         (compare_interface), (gst_bin_get_by_interface),
17944         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
17945         * gst/gstbin.h:
17946         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
17947         (gst_buffer_default_free), (gst_buffer_default_copy),
17948         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
17949         (gst_buffer_create_sub):
17950         * gst/gstbuffer.h:
17951         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
17952         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
17953         (gst_caps_unref), (gst_static_caps_get),
17954         (gst_caps_remove_and_get_structure), (gst_caps_append),
17955         (gst_caps_append_structure), (gst_caps_remove_structure),
17956         (gst_caps_copy_nth), (gst_caps_set_simple),
17957         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
17958         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
17959         (gst_caps_structure_intersect_field), (gst_caps_intersect),
17960         (gst_caps_structure_subtract_field), (gst_caps_subtract),
17961         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
17962         (gst_caps_structure_figure_out_union),
17963         (gst_caps_switch_structures), (gst_caps_do_simplify),
17964         (gst_caps_replace), (gst_caps_from_string),
17965         (gst_caps_copy_conditional):
17966         * gst/gstcaps.h:
17967         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
17968         (_gst_clock_id_free), (gst_clock_id_unref),
17969         (gst_clock_id_compare_func), (gst_clock_id_wait),
17970         (gst_clock_id_wait_async), (gst_clock_class_init),
17971         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
17972         (gst_clock_get_time), (gst_clock_set_time_adjust),
17973         (gst_clock_set_property), (gst_clock_get_property):
17974         * gst/gstclock.h:
17975         * gst/gstcompat.h:
17976         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
17977         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
17978         * gst/gstdata.h:
17979         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
17980         (gst_element_requires_clock), (gst_element_provides_clock),
17981         (gst_element_set_clock), (gst_element_clock_wait),
17982         (gst_element_wait), (gst_element_set_time_delay),
17983         (gst_element_is_indexable), (gst_element_add_pad),
17984         (gst_element_add_ghost_pad), (gst_element_remove_pad),
17985         (pad_compare_name), (gst_element_get_static_pad),
17986         (gst_element_request_pad), (gst_element_get_request_pad),
17987         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
17988         (gst_element_class_get_pad_template_list),
17989         (gst_element_class_get_pad_template), (gst_element_error_func),
17990         (gst_element_get_random_pad), (gst_element_get_event_masks),
17991         (gst_element_send_event), (gst_element_seek),
17992         (gst_element_get_query_types), (gst_element_query),
17993         (gst_element_get_formats), (gst_element_convert),
17994         (gst_element_is_locked_state), (gst_element_set_locked_state),
17995         (gst_element_sync_state_with_parent), (gst_element_change_state),
17996         (gst_element_finalize), (gst_element_yield),
17997         (gst_element_interrupt), (gst_element_set_scheduler),
17998         (gst_element_get_scheduler), (gst_element_set_loop_function):
17999         * gst/gstelement.h:
18000         * gst/gstevent.h:
18001         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
18002         (gst_format_get_by_nick), (gst_format_get_details),
18003         (gst_format_iterate_definitions):
18004         * gst/gstformat.h:
18005         * gst/gstindex.c: (gst_index_gtype_resolver):
18006         * gst/gstinfo.c:
18007         * gst/gstinfo.h:
18008         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
18009         (gst_mem_chunk_free):
18010         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
18011         (gst_object_ref), (gst_object_unref), (gst_object_sink),
18012         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
18013         (gst_object_dispatch_properties_changed),
18014         (gst_object_set_name_default), (gst_object_set_name),
18015         (gst_object_get_name), (gst_object_set_name_prefix),
18016         (gst_object_get_name_prefix), (gst_object_set_parent),
18017         (gst_object_get_parent), (gst_object_unparent),
18018         (gst_object_check_uniqueness), (gst_object_save_thyself),
18019         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
18020         (gst_object_set_property), (gst_object_get_property),
18021         (gst_object_get_path_string):
18022         * gst/gstobject.h:
18023         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18024         (gst_real_pad_init), (gst_real_pad_get_property),
18025         (gst_pad_custom_new), (gst_pad_get_direction),
18026         (gst_pad_set_active), (gst_pad_is_active),
18027         (gst_pad_set_event_function), (gst_pad_is_linked),
18028         (gst_pad_link_free), (gst_pad_link_intersect),
18029         (gst_pad_link_fixate), (gst_pad_set_caps),
18030         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
18031         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
18032         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
18033         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
18034         (gst_pad_get_caps), (gst_pad_peer_get_caps),
18035         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
18036         (gst_pad_realize), (gst_pad_get_allowed_caps),
18037         (gst_real_pad_dispose), (gst_real_pad_finalize),
18038         (gst_pad_collectv), (gst_pad_collect_valist),
18039         (gst_pad_template_dispose), (gst_pad_template_new),
18040         (gst_pad_get_internal_links):
18041         * gst/gstpad.h:
18042         * gst/gstpipeline.c: (gst_pipeline_dispose),
18043         (gst_pipeline_change_state):
18044         * gst/gstpipeline.h:
18045         * gst/gstplugin.c:
18046         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
18047         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
18048         * gst/gstpluginfeature.h:
18049         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
18050         * gst/gstquery.c: (_gst_query_type_initialize),
18051         (gst_query_type_register), (gst_query_type_get_by_nick),
18052         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
18053         * gst/gstquery.h:
18054         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
18055         * gst/gstscheduler.c: (gst_scheduler_add_element),
18056         (gst_scheduler_factory_create):
18057         * gst/gststructure.c: (gst_structure_set_parent_refcount),
18058         (gst_structure_free), (gst_structure_set_name),
18059         (gst_structure_id_set_value), (gst_structure_set_value),
18060         (gst_structure_set_valist), (gst_structure_remove_field),
18061         (gst_structure_remove_fields),
18062         (gst_structure_remove_fields_valist),
18063         (gst_structure_remove_all_fields), (gst_structure_foreach),
18064         (gst_structure_map_in_place),
18065         (gst_caps_structure_fixate_field_nearest_int),
18066         (gst_caps_structure_fixate_field_nearest_double):
18067         * gst/gststructure.h:
18068         * gst/gstsystemclock.c: (gst_system_clock_class_init),
18069         (gst_system_clock_init), (gst_system_clock_dispose),
18070         (gst_system_clock_async_thread),
18071         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
18072         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
18073         * gst/gstsystemclock.h:
18074         * gst/gsttag.c: (gst_tag_list_add_value_internal),
18075         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
18076         * gst/gsttaginterface.c:
18077         * gst/gstthread.c: (gst_thread_dispose),
18078         (gst_thread_release_children_locks), (gst_thread_change_state),
18079         (gst_thread_main_loop):
18080         * gst/gsttrashstack.h:
18081         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
18082         * gst/gsttypes.h:
18083         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18084         (gst_element_request_pad), (gst_element_get_pad_from_template),
18085         (gst_element_request_compatible_pad),
18086         (gst_element_get_compatible_pad_filtered),
18087         (gst_element_get_compatible_pad), (gst_element_state_get_name),
18088         (gst_element_link_pads_filtered), (gst_element_link_filtered),
18089         (gst_element_link_many), (gst_element_link),
18090         (gst_element_link_pads), (gst_element_unlink_pads),
18091         (gst_element_unlink_many), (gst_element_unlink),
18092         (gst_pad_can_link_filtered), (gst_pad_can_link),
18093         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
18094         (gst_object_default_error), (gst_bin_add_many),
18095         (gst_bin_remove_many), (gst_element_populate_std_props),
18096         (gst_element_class_install_std_props), (gst_buffer_merge),
18097         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
18098         (link_fold_func), (gst_pad_proxy_setcaps):
18099         * gst/gstutils.h:
18100         * gst/gstvalue.c: (gst_value_deserialize_string):
18101         * gst/parse/grammar.y:
18102         * gst/schedulers/gstbasicscheduler.c:
18103         (gst_basic_scheduler_cothreaded_chain),
18104         (gst_basic_scheduler_chain_recursive_add),
18105         (gst_basic_scheduler_pad_link):
18106         * gst/schedulers/gstoptimalscheduler.c:
18107         (get_group_schedule_function),
18108         (gst_opt_scheduler_state_transition),
18109         (gst_opt_scheduler_add_element), (element_get_reachables_func):
18110         * libs/gst/bytestream/bytestream.c:
18111         * libs/gst/dataprotocol/dataprotocol.c:
18112         (gst_dp_header_from_buffer):
18113         * po/nb.po:
18114         * po/ru.po:
18115         * tests/threadstate/threadstate2.c: (eos):
18116         * tools/gst-compprep.c: (main):
18117         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
18118         (print_pad_info), (print_children_info):
18119         * tools/gst-launch.c: (idle_func), (main):
18120         * tools/gst-md5sum.c: (idle_func), (main):
18121         * tools/gst-xmlinspect.c: (print_element_info):
18122         First THREADED backport attempt, focusing on adding locks and
18123         making sure the API is threadsafe. Needs more work. More docs
18124         follow this week.
18125
18126 2005-02-24  Andy Wingo  <wingo@pobox.com>
18127
18128         * tests/bench-complexity.scm:
18129         * tests/complexity.gnuplot: New files, good for running complexity
18130         benchmarks.
18131
18132         * tests/Makefile.am:
18133         * tests/complexity.c: New test, sets up N elements, at each level
18134         teeing into M streams per element. Eeeenteresting.
18135
18136         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
18137         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
18138         running bench-mass_elements.scm.
18139
18140         * tests/bench-mass_elements.scm: New script, runs mass_elements
18141         for various numbers of identities, outputting the results to a
18142         file. Requires guile 1.6. Just for testing.
18143
18144 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18145
18146         * gst/schedulers/fairscheduler.c:
18147           compile with debug disabled
18148
18149 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18150
18151         * configure.ac:
18152           hunting season on 0.9 is now OPEN