plugins/elements/gstfilesrc.*: Add "sequential" property, off by default, to use...
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
2
3         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4         (gst_file_src_init), (gst_file_src_set_property),
5         (gst_file_src_get_property), (gst_file_src_map_region):
6         * plugins/elements/gstfilesrc.h:
7         Add "sequential" property, off by default, to use madvise and hint
8         to the kernel that sequential access is desired.
9         Touch all retrieved pages by default to ensure they are pulled
10         into memory. (Closes #345720)
11
12 2006-07-03  Wim Taymans  <wim@fluendo.com>
13
14         * docs/design/part-block.txt:
15         * docs/design/part-dynamic.txt:
16         Small docs updates.
17
18 2006-07-03  Wim Taymans  <wim@fluendo.com>
19
20         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
21         (gst_caps_unref), (gst_static_caps_get),
22         (gst_caps_append_structure):
23         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
24         Use GSlice when the glib we build against is >= 2.10
25
26 2006-07-03  Wim Taymans  <wim@fluendo.com>
27
28         * gst/gstelement.c: (gst_element_pads_activate):
29         Small cleanup in pad activation code.
30
31 2006-07-03  Wim Taymans  <wim@fluendo.com>
32
33         Patch by: Peter Kjellerstedt <pkj at axis dot com>
34
35         * gst/gst-i18n-app.h:
36         * gst/gst-i18n-lib.h:
37         * tools/gst-inspect.c: (print_signal_info):
38         The attached patch will make the inclusion of gettext.h unconditional in
39         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
40         libintl.h in tools/gst-inspect.c.
41         This allows use of --disable-nls again and fixes #344642.
42
43 2006-07-03  Edward Hervey  <edward@fluendo.com>
44
45         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
46         Implement pad blocking on events according to part-block.txt.
47         More comments on behaviour.
48         * tests/check/gst/gstevent.c: (test_event):
49         Send event to peer pad of blocked pad (else it will block).
50
51 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
52
53         * libs/gst/check/gstcheck.c: (gst_check_message_error),
54         (gst_check_run_suite):
55           if we get the wrong message, give us the types as string
56         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
57           Fix a translatable
58         * tests/check/elements/filesrc.c: (GST_START_TEST):
59           add a test for trying to open a non-existing file
60
61 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
62
63         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
64           add a test for adding self
65
66 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
67
68         * libs/gst/check/gstcheck.h:
69           add some assert_ as alias for fail_unless_*
70         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
71           increase test coverage
72
73 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
74
75         * Makefile.am:
76           include lcov.mak for lcov coverage generation
77         * tools/Makefile.am:
78           add to CLEANFILES
79
80 2006-07-02  Edward Hervey  <edward@fluendo.com>
81
82         * tests/check/elements/.cvsignore:
83         moaping
84
85 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
86
87         * configure.ac:
88           don't set CFLAGS and friends for gcov, done from GST_GCOV now
89         * tests/check/Makefile.am:
90           clean up gcov files
91
92 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
93
94         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
95           remove gst_caps_simplify; it was not declared and not used
96           and deprecated in 0.8
97
98 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
99
100         * docs/faq/gst-uninstalled:
101           don't put empty paths on PYTHONPATH
102         * docs/gst/gstreamer-sections.txt:
103           remove some symbols that are not there
104
105 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
106
107         * gst/gstcaps.c: (gst_caps_compare_structures):
108           whitespace fixes
109         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
110         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
111           add more tests
112
113 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
114
115         * libs/gst/dataprotocol/Makefile.am:
116           build dataprotocol test by linking to the lib, instead of
117           compiling the source, so we get coverage
118         * tests/check/Makefile.am:
119         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
120         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
121           add a test for filesrc
122
123 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
124
125         * tests/check/gst/gststructure.c: (GST_START_TEST),
126         (gst_structure_suite):
127           Push coverage from 59.04% to 70.00%
128
129 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
130
131         * tests/check/Makefile.am:
132           gst-inspect every element; this makes sure that we also get
133           coverage on element's get/set functions
134
135 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
136
137         * configure.ac:
138           set CFLAGS and friends to -O0 if gcov is being used
139           add GCOV LIBS
140         * gst/Makefile.am:
141         * libs/gst/base/Makefile.am:
142         * libs/gst/check/Makefile.am:
143         * libs/gst/controller/Makefile.am:
144         * libs/gst/dataprotocol/Makefile.am:
145         * libs/gst/net/Makefile.am:
146         * plugins/elements/Makefile.am:
147         * plugins/indexers/Makefile.am:
148           add makefile rules to generate gcov data and clean up
149         * tests/check/Makefile.am:
150           add a coverage target that generates an html overview
151           of coverage data
152
153 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
154
155         * tests/check/elements/fakesink.c:
156         * tests/check/elements/fakesrc.c:
157         * tests/check/elements/fdsrc.c:
158         * tests/check/elements/identity.c:
159         * tests/check/generic/sinks.c: (gst_sinks_suite):
160         * tests/check/generic/states.c:
161         * tests/check/gst/gst.c:
162         * tests/check/gst/gstabi.c:
163         * tests/check/gst/gstbin.c:
164         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
165         * tests/check/gst/gstbus.c: (gst_bus_suite):
166         * tests/check/gst/gstcaps.c: (GST_START_TEST):
167         * tests/check/gst/gstelement.c:
168         * tests/check/gst/gstevent.c: (gst_event_suite):
169         * tests/check/gst/gstghostpad.c:
170         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
171         * tests/check/gst/gstmessage.c: (gst_message_suite):
172         * tests/check/gst/gstminiobject.c:
173         * tests/check/gst/gstobject.c:
174         * tests/check/gst/gstpad.c:
175         * tests/check/gst/gstpipeline.c:
176         * tests/check/gst/gstplugin.c:
177         * tests/check/gst/gstquery.c: (gst_query_suite):
178         * tests/check/gst/gstsegment.c: (gst_segment_suite):
179         * tests/check/gst/gststructure.c:
180         * tests/check/gst/gstsystemclock.c:
181         * tests/check/gst/gsttag.c:
182         * tests/check/gst/gsttask.c: (gst_task_suite):
183         * tests/check/gst/gstutils.c:
184         * tests/check/gst/gstvalue.c:
185         * tests/check/libs/adapter.c:
186         * tests/check/libs/basesrc.c:
187         * tests/check/libs/collectpads.c:
188         * tests/check/libs/controller.c:
189         * tests/check/libs/gdp.c: (gst_dp_suite):
190         * tests/check/libs/gstnetclientclock.c:
191         * tests/check/libs/gstnettimeprovider.c:
192         * tests/check/libs/libsabi.c: (libsabi_suite):
193         * tests/check/libs/typefindhelper.c:
194         * tests/check/pipelines/cleanup.c:
195         * tests/check/pipelines/parse-launch.c:
196         * tests/check/pipelines/simple-launch-lines.c:
197         * tests/check/pipelines/stress.c: (stress_suite):
198           use the new macro
199
200 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
201
202         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
203         * libs/gst/check/gstcheck.h:
204           create a macro and function so that the simple unit test
205           case can be just one macro to create main()
206
207 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
208
209         * gst/gstbin.c: (gst_bin_restore_thyself):
210         * gst/gstxml.c: (gst_xml_make_element):
211           Fix deserialisation from XML. Set parent manually
212           instead of using gst_bin_add(), since gst_bin_add()
213           will unlink all pads of the element being added.
214           Fixes #341667.
215
216 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
217
218         Patch by: Peter Kjellerstedt <pkj at axis com>
219
220         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
221           Fix missing g_strdup() and double free when using the
222           --gst-plugin-load command line option (#346097).
223
224 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
225
226         * gst/gstinfo.c:
227           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
228
229         * libs/gst/net/gstnetclientclock.c:
230         * libs/gst/net/gstnettimeprovider.c:
231           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
232
233 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
234
235         * docs/manual/advanced-dataaccess.xml:
236           Fix buffer probe example compilation in
237           ADM (#345708).
238         
239 2006-06-22  Edward Hervey  <edward@fluendo.com>
240
241         * gst/gstelement.c: (gst_element_pads_activate):
242         We need to deactivate src pads first and then sink pads.
243         The reason is the src pads might be blocking while holding the streaming
244         lock, so we need to deactivate them first so that deactivating the sink
245         pads doesn't block (since it will require the streaming lock).
246
247 2006-06-22  Wim Taymans  <wim@fluendo.com>
248
249         * libs/gst/base/gstbasetransform.c:
250         (gst_base_transform_buffer_alloc):
251         Forgot to remove two unneeded unrefs.
252         Simplify a check _is_equal allready checks the obvious case.
253
254 2006-06-22  Wim Taymans  <wim@fluendo.com>
255
256         * docs/design/part-block.txt:
257         Some docs about what pad_block should do.
258
259 2006-06-22  Wim Taymans  <wim@fluendo.com>
260
261         * gst/gstcaps.c: (gst_caps_replace):
262         Fix crasher when passed NULL. Doc clarification.
263         Optimize for the trivial case.
264
265         * gst/gstpipeline.c: (gst_pipeline_change_state):
266         Small cleanups.
267
268         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
269         Small documentation cleanup.
270
271         * libs/gst/base/gstbasetransform.c:
272         (gst_base_transform_buffer_alloc):
273         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
274         is what we need and it avoids a whole lot of redundant 
275         refcount operations.
276
277 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
278
279         Patch by: Philip Jägenstedt  <philip at lysator liu se>
280
281         * docs/manual/advanced-dataaccess.xml:
282           Fix 'Embedding static elements' section to use
283           GST_PLUGIN_DEFINE_STATIC (#345607).
284
285 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
286
287         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
288           Attempt to 'fix' spuriously failing test case: it seems like the
289           timeout of half a second is simply too small when the system is under
290           load otherwise, and the timeout doesn't really seem to serve any
291           particular purpose here. Give the pipeline a few seconds to preroll
292           first, and then give it another half a second to go from PAUSED to
293           PLAYING and marshal the message into the main thread.
294
295 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
296
297         * tools/gst-feedback-m.m:
298           Don't only use unversioned tools, try versioned tools as well
299           (#345086).
300
301 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
302
303         * gst/gstbus.c: (gst_bus_class_init):
304           Fix some typos, make docs more explicit.
305
306 2006-06-20  Wim Taymans  <wim@fluendo.com>
307
308         * tests/check/gst/gstghostpad.c: (block_callback),
309         (GST_START_TEST), (gst_ghost_pad_suite):
310         Added some more ghostpad tests, mainly blocking
311         and probes.
312
313 2006-06-16  Wim Taymans  <wim@fluendo.com>
314
315         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
316         (gst_file_sink_close_file), (gst_file_sink_do_seek),
317         (gst_file_sink_event), (gst_file_sink_render):
318         * plugins/elements/gstfilesink.h:
319         Check if we can seek in the file instead of assuming
320         we always can. Post an error when we are asked to seek in a
321         non-seekable file (like a fifo). Fixes #343312.
322         Some cleanups.
323
324 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
325
326         * tools/gst-launch.1.in:
327           Un-garble (fourcc) bit in filtered caps section.
328
329 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
330
331         * docs/manual/advanced-autoplugging.xml:
332         * docs/manual/basics-helloworld.xml:
333         * docs/manual/highlevel-components.xml:
334           Don't leak bus reference in sample code.
335
336 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
337
338         * autogen.sh:
339           Add default for new --enable-plugin-docs switch.
340
341         * configure.ac:
342           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
343           Fixes #344039.
344
345         * docs/Makefile.am:
346           Use new ENABLE_PLUGIN_DOCS conditional.
347
348 2006-06-14  Wim Taymans  <wim@fluendo.com>
349
350         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
351         Make it clear with a FIXME and a real define what the #if 0
352         previously disabled.
353
354 2006-06-14  Wim Taymans  <wim@fluendo.com>
355
356         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
357         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
358         * libs/gst/base/gstbasetransform.c:
359         (gst_base_transform_sink_eventfunc):
360         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
361         Don't randomly and silently reset a segment when the format 
362         changes as this is a bug somewhere upstream. Fixes #330379.
363
364 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
365
366         Patch by: Wouter Paesen  <wouter at kangaroot net>
367
368         * libs/gst/controller/gstcontroller.c:
369         (gst_controlled_property_new):
370           Fix controlling of float properties (#344849).
371
372         * tests/check/libs/controller.c:
373         (gst_test_mono_source_get_property),
374         (gst_test_mono_source_set_property),
375         (gst_test_mono_source_class_init), (GST_START_TEST):
376           While we're at it, add some float stuff to unit test.
377
378 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
379
380         * docs/README:
381         * docs/images/gdp-header.svg:
382           add a gdp image
383         * docs/libs/Makefile.am:
384         * docs/libs/gdp-header.png:
385         * libs/gst/dataprotocol/dataprotocol.c:
386           add it to the API docs
387         * docs/manual/intro-motivation.xml:
388           fix typo
389
390 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
391
392         * gst/gst.c: (scan_and_update_registry), (init_post):
393           If the fork()'ed child process can't write the updated registry cache
394           file to disk for some reason, make it exit with a failure exit code,
395           so that the parent can then re-scan the plugins itself and update the
396           registry structures in memory and work with that (rather than failing
397           when creating elements because seemingly no plugins are available).
398           Refactor registry scanning code into separate function for this and
399           also separate fork() and non-fork() code paths. Fixes #344748.
400
401 2006-06-13  Wim Taymans  <wim@fluendo.com>
402
403         * docs/manual/advanced-dataaccess.xml:
404         Fix wrong PluginDesc. Fixes #344755.
405
406 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
407
408         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
409           Fix silly bug that prevented us from creating
410           ~/.gstreamer-0.10 and writing the registry in one
411           go (the first call to g_mkstemp() would overwrite the
412           placeholder in the template string, so the second call
413           to g_mkstemp() after creating the missing directory
414           would then error out with 'invalid argument').
415
416 2006-06-13  Edward Hervey  <edward@fluendo.com>
417
418         * gst/gst.c: (init_post):
419         Free string.
420
421 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
422
423         * gst/glib-compat-private.h:
424         * gst/glib-compat.c:
425         * gst/glib-compat.h:
426         * gst/gstvalue.c: (gst_value_serialize_flags):
427           remove GLib 2.6 compatibility code
428
429 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
430
431         * gst/parse/Makefile.am:
432           Fix build with 'make -j N' even more (#340016).
433
434 2006-06-12  Wim Taymans  <wim@fluendo.com>
435
436         * docs/gst/gstreamer-sections.txt:
437         Fix docs.
438
439 2006-06-12  Wim Taymans  <wim@fluendo.com>
440
441         * gst/gstsegment.c: (gst_segment_set_duration),
442         (gst_segment_set_last_stop), (gst_segment_set_seek),
443         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
444         (gst_segment_to_running_time), (gst_segment_clip):
445         Use G_UNLIKELY to help the compiler a bit.
446
447 2006-06-12  Wim Taymans  <wim@fluendo.com>
448
449         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
450
451         * gst/gstevent.c: (gst_event_get_type):
452         * gst/gstmessage.c:
453         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
454         (gst_pad_push):
455         constify quark registration strings. Fixes #344115
456         Avoid unneeded type checking is _pad_push() by internally
457         calling gst_pad_chain_unchecked().
458
459 2006-06-12  Wim Taymans  <wim@fluendo.com>
460
461         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
462         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
463         (gst_subbuffer_finalize), (gst_buffer_create_sub),
464         (gst_buffer_is_span_fast), (gst_buffer_span):
465         Init _type for consistency.
466         Use _FLAGS macro to avoid type check.
467         Avoid unneeded type checks in subbufer code.
468
469 2006-06-12  Wim Taymans  <wim@fluendo.com>
470
471         * gst/gst.c: (gst_debug_help):
472         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
473         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
474         (gst_plugin_feature_list_free):
475         * gst/gstregistry.c: (gst_registry_add_plugin),
476         (gst_registry_add_feature), (gst_registry_plugin_filter),
477         (gst_registry_feature_filter), (gst_registry_find_plugin),
478         (gst_registry_find_feature), (gst_registry_get_plugin_list),
479         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
480         * gst/gstregistryxml.c: (load_feature),
481         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
482         * gst/gstminiobject.c: (gst_mini_object_unref),
483         (gst_mini_object_replace), (gst_value_mini_object_free),
484         (gst_value_mini_object_copy):
485         Use _CAST macros to avoid unneeded type checking.
486         Added some more G_UNLIKELY.
487
488 2006-06-12  Wim Taymans  <wim@fluendo.com>
489
490         * gst/gstbuffer.h:
491         Avoid unneeded type checking.
492         API: GST_BUFFER_IS_DISCONT
493
494         * gst/gstminiobject.h:
495         Avoid type check in flag accessor.
496
497         * gst/gstelementfactory.h:
498         * gst/gstplugin.h:
499         * gst/gstpluginfeature.h:
500         Add _CAST macros.
501         API: GST_ELEMENT_FACTORY_CAST
502         API: GST_PLUGIN_CAST
503         API: GST_PLUGIN_FEATURE_CAST
504
505 2006-06-12  Wim Taymans  <wim@fluendo.com>
506
507         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
508         (gst_object_unref):
509         Add G_UNLIKELY in type registration.
510         Avoid type check in _ref/_unref since that is also
511         done in glib.
512
513 2006-06-12  Wim Taymans  <wim@fluendo.com>
514
515         * gst/gsterror.c: (gst_g_error_get_type):
516         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
517         (gst_static_pad_template_get_type):
518         * gst/gsttaglist.c: (gst_tag_list_get_type):
519         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
520         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
521         * gst/gsturi.c: (gst_uri_handler_get_type):
522         * gst/gstvalue.c: (gst_date_get_type):
523         * gst/gstxml.c: (gst_xml_get_type):
524         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
525         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
526         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
527         Add G_UNLIKELY in type registration.
528
529 2006-06-12  Wim Taymans  <wim@fluendo.com>
530
531         * tools/gst-inspect.c: (print_signal_info):
532         Properly print enum values.
533
534 2006-06-12  Wim Taymans  <wim@fluendo.com>
535
536         * gst/gstinfo.c: (gst_debug_set_active),
537         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
538         * gst/gstinfo.h:
539         Add some G_[UN]LIKELY.
540         Maintain __gst_debug_min to avoid formatting the arguments of
541         debug messages that will be dropped anyway to avoid a lot of 
542         overhead from the debugging system.
543
544 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
545
546         * po/POTFILES.in:
547         * po/POTFILES.skip:
548           add missing files containing translatable strings, tell intltool about
549           one exception
550
551 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
552
553         * tests/check/libs/.cvsignore:
554         add test-binary to ignore list
555
556 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
557
558         * docs/libs/gstreamer-libs-docs.sgml:
559         reorder (put dp into a chapter) and indent
560
561 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
562
563         * configure.ac:
564           back to HEAD
565
566 === release 0.10.8 ===
567
568 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
569
570         * configure.ac:
571           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
572
573 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
574
575         * gst/gst.c: (init_post):
576           move pid declaration to declaration block
577
578 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
579
580         * gst/gst.c: (init_post):
581           use _exit() instead of exit() in our forked child; this ensures
582           that none of the registered exit handlers from whatever is using
583           GStreamer get executed.  This fixes gnome-mixer-applet failing
584           to load, because ORBit would shut down.
585           Spotted by: Edward Hervey  <edward@fluendo.com>
586           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
587           Fixes #344474
588
589 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
590
591         * configure.ac:
592           back to TRUNK
593
594 === release 0.10.7 ===
595
596 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
597
598         * configure.ac:
599           releasing 0.10.7, "Soepeke, ik zie ou"
600
601 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
602
603         * configure.ac:
604         * po/af.po:
605         * po/az.po:
606         * po/bg.po:
607         * po/ca.po:
608         * po/cs.po:
609         * po/de.po:
610         * po/en_GB.po:
611         * po/fr.po:
612         * po/it.po:
613         * po/nb.po:
614         * po/nl.po:
615         * po/ru.po:
616         * po/sq.po:
617         * po/sr.po:
618         * po/sv.po:
619         * po/tr.po:
620         * po/uk.po:
621         * po/vi.po:
622         * po/zh_CN.po:
623         * po/zh_TW.po:
624         * win32/common/config.h:
625           0.10.6.2 prerelease
626
627 2006-06-07  Wim Taymans  <wim@fluendo.com>
628
629         * gst/gstindex.c: (gst_index_gtype_resolver):
630         * tools/gst-xmlinspect.c: (print_plugin_info):
631         Fix leak spotted by coverity checker. Fixes #343827
632         Fix another other leak found by paolo borelli.
633
634 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
635
636         * libs/gst/dataprotocol/dataprotocol.c:
637         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
638         (gst_dp_version_get_type), (gst_dp_init),
639         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
640         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
641         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
642         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
643         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
644         (gst_dp_packetizer_free):
645         * libs/gst/dataprotocol/dataprotocol.h:
646           API: add a GstDPPacketizer object, and create/free functions
647           API: add GstDPVersion enum
648           Add 1.0 event function that uses the string serialization
649           Serialize more useful buffer flags
650           Fixes #343988
651
652 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
653
654         * tests/check/Makefile.am:
655         * tests/check/gst/gstabi.c:
656         * tests/check/gst/struct_ppc64.h:
657         * tests/check/libs/libsabi.c:
658         * tests/check/libs/struct_ppc64.h:
659           add ppc64 structure sizes
660
661 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
662
663         * tests/check/Makefile.am:
664         * tests/check/gst/gstabi.c:
665         * tests/check/gst/struct_x86_64.h:
666         * tests/check/libs/libsabi.c:
667         * tests/check/libs/struct_x86_64.h:
668           generate and add structure size lists for x86_64
669
670 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
671
672         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
673         * libs/gst/check/gstcheck.h:
674           factor out the method from tests that checks size of structures,
675           and add code to generate the header containing these sizes
676         * tests/check/gst/gstabi.c: (GST_START_TEST):
677         * tests/check/gst/struct_i386.h:
678         * tests/check/libs/libsabi.c: (GST_START_TEST):
679         * tests/check/libs/struct_i386.h:
680           use it
681
682 2006-06-06  Michael Smith  <msmith@fluendo.com>
683
684         * gst/gstsegment.h:
685           Don't use c++-style comments, fixes #343929
686
687 2006-06-05  Edward Hervey  <edward@fluendo.com>
688
689         * gst/gst.c:
690         plugin_paths is not used if we build without registry support.
691
692         * gst/gstsegment.c: (gst_segment_copy): 
693         _copy() was always returning NULL...
694
695 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
696
697         * libs/gst/dataprotocol/dataprotocol.c:
698         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
699         (gst_dp_packet_from_event):
700           factor out CRC code
701
702 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
703
704         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
705           make sure we unset caps
706
707 2006-06-02  Michael Smith  <msmith@fluendo.com>
708
709         * libs/gst/check/gstcheck.c: (gst_check_init),
710         (gst_check_chain_func):
711         * libs/gst/check/gstcheck.h:
712           Add a cond/mutex to the check support lib, signal this whenever we
713           add to the buffers list. This will allow tests to not busy-wait on
714           the buffer-list.
715
716 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
717
718         * libs/gst/dataprotocol/dataprotocol.c:
719         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
720         (gst_dp_packet_from_event):
721           factor out some common header init code
722
723 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
724
725         * docs/libs/gstreamer-libs-sections.txt:
726         * docs/libs/tmpl/gstdataprotocol.sgml:
727         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
728         * libs/gst/dataprotocol/dataprotocol.h:
729           API: make gst_dp_crc() public
730
731 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
732
733         * plugins/indexers/gstindexers.c: (plugin_init):
734         conditionally register fileindexer (fixes #343598)
735
736 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
737
738         * gst/gsttagsetter.h:
739         Can't cast ifaces to a class
740
741         * libs/gst/net/gstnetclientclock.h:
742         * libs/gst/net/gstnettimeprovider.h:
743         * plugins/elements/gstfakesink.h:
744         * plugins/elements/gstfakesrc.h:
745         * plugins/elements/gstfdsink.h:
746         * plugins/elements/gstfdsrc.h:
747         * plugins/elements/gstfilesink.h:
748         * plugins/elements/gstfilesrc.h:
749         * plugins/elements/gstidentity.h:
750         * plugins/elements/gstqueue.h:
751         * plugins/elements/gsttee.h:
752         * plugins/indexers/gstfileindex.c:
753         * plugins/indexers/gstmemindex.c:
754         * tests/old/examples/plugins/example.h:
755         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
756
757 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
758
759         * libs/gst/dataprotocol/dataprotocol.c:
760         (gst_dp_header_from_buffer):
761           make sure we zero the whole ABI-compatible area
762
763 2006-06-01  Wim Taymans  <wim@fluendo.com>
764
765         Patch by: Alessandro Decina <alessandro at nnva dot org>
766
767         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
768         Make sure the EOS flag is cleared from pads after a flush
769         or stop. Fixes #343538.
770
771         * tests/check/libs/collectpads.c: (GST_START_TEST),
772         (gst_collect_pads_suite):
773         Added test for collectpads reusage after EOS.
774
775 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
776
777         * gst/gst.c:
778          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
779         * win32/common/libgstbase.def:
780          export gst_collect_pads_set_flushing
781         * win32/common/libgstreamer.def:
782          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
783          gst_value_fraction_multiply
784         * win32/vs6/gst_inspect.dsp:
785          add a link to intl.lib
786
787 2006-05-30  Wim Taymans  <wim@fluendo.com>
788
789         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
790         (gst_collect_pads_chain):
791         Handle the case where a pad is removed from the collection
792         that could cause the other pads to become collectable.
793
794 2006-05-30  Wim Taymans  <wim@fluendo.com>
795
796         * gst/gstelement.c:
797         Clarify the use of _release_request_pad() and
798         _get_request_pad() a bit better.
799
800         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
801         (gst_adapter_take_buffer):
802         Fix some doc and comment typos.
803
804 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
805
806         * docs/gst/gstreamer-sections.txt:
807         * docs/libs/gstreamer-libs-sections.txt:
808           add declared symbols
809
810 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
811
812         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
813         Add debug that can be enabled using a #define at the top of the file,
814         for dumping stats about how late/early we were when waking up from
815         waiting on the clock.
816
817 2006-05-30  Wim Taymans  <wim@fluendo.com>
818
819         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
820         When rebuilding the pad list, don't leak the previous list.
821
822 2006-05-30  Wim Taymans  <wim@fluendo.com>
823
824         Patch by: Lutz Mueller <lutz at topfrose dot de>
825
826         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
827         (gst_base_src_get_query_types), (gst_base_src_update_length):
828         Publish supported query types.
829         Update last_stop field in get_range mode so the position
830         query works. Fixes #342321.
831
832 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
833
834         * docs/gst/gstreamer-sections.txt:
835         * gst/gsttaglist.c: (_gst_tag_initialize):
836         * gst/gsttaglist.h:
837           API: add GST_TAG_PREVIEW_IMAGE (#343341).
838
839 2006-05-30  Wim Taymans  <wim@fluendo.com>
840
841         Patch by: Alessandro Decina <alessandro at nnva dot org>
842
843         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
844         Unlock mutex when removing an unknown pad.
845         Fixes #343334.
846
847         * tests/check/Makefile.am:
848         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
849         (push_event), (setup), (teardown), (GST_START_TEST),
850         (gst_collect_pads_suite), (main):
851         Added collecpads check, disabled for now as check crashes for
852         some reason.
853
854 2006-05-29  Wim Taymans  <wim@fluendo.com>
855
856         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
857         Don't leak pads lists.
858
859 2006-05-29  Wim Taymans  <wim@fluendo.com>
860
861         * docs/libs/gstreamer-libs-sections.txt:
862         * libs/gst/base/gstcollectpads.c:
863         (gst_collect_pads_set_flushing_unlocked),
864         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
865         (gst_collect_pads_stop):
866         * libs/gst/base/gstcollectpads.h:
867         API: gst_collect_pads_set_flushing()
868         Added api to set the pads to flushing, useful for seeking
869         code in elements using collectpads.
870         Clear segment when receiving a flush.
871
872 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
873
874         * gst/gst.c: (add_path_func), (init_post):
875           Don't scan registry paths passed via --gst-plugin-path immediately
876           (will crash, because absolutely nothing is set up and no types are
877           registered etc.); do this later in init_post(). Fixes #343057.
878
879 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
880
881         * gst/gst.c: (init_post):
882           if we have fork, fork while reading/rebuilding the registry
883           so the parent doesn't take the hit of having all plugins loaded
884           in memory.  Fixes #342777.
885         * configure.ac:
886           Check if we have fork()
887         * win32/common/config.h.in:
888           no fork() on win32
889
890 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
891
892         * plugins/elements/gstelements.c:
893         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
894         (gst_file_src_init), (gst_file_src_set_property),
895         (gst_file_src_get_property), (gst_file_src_start):
896         * plugins/elements/gstfilesrc.h:
897           API: GstFileSrc::use-mmap
898
899         Add a use-mmap property to enable easier testing of all code paths.
900         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
901         in the absence of gnomevfssrc. (Closes #340501)
902
903 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
904
905         * tools/gst-inspect.c:
906         Add missing include, removes warning of ngettext not being defined on
907         some arches.
908
909 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
910
911         * gst/gstvalue.c: (gst_value_deserialize_fraction):
912         Handle NULL input and output pointers silently as a failed conversion,
913         rather than g_warnings.
914
915 2006-05-25  Wim Taymans  <wim@fluendo.com>
916
917         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
918         Initialize variable before using. Fixes #342820.
919
920 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
921
922         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
923           Fix off-by-one bug that would only allow peeks of N-1 bytes
924           from the start even if the buffer to typefind on contains
925           in fact N bytes of data (makes vorbis typefinding from a
926           vorbis identification header buffer work).
927
928         * tests/check/Makefile.am:
929         * tests/check/libs/.cvsignore:
930         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
931         (gst_typefindhelper_suite), (main), (foobar_typefind),
932         (plugin_init):
933           Add very basic unit test for gst_type_find_helper_for_buffer()
934           that checks for the problem fixed above.
935
936 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
937
938         * tools/gst-inspect.c: (print_interfaces),
939         (print_element_properties_info), (print_element_list), (main):
940           add more translatable strings
941
942 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
943
944         Patch by: Julien Moutte  <julien at moutte net>
945
946         * docs/gst/gstreamer-sections.txt:
947           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
948           
949         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
950         (gst_fake_sink_preroll):
951         * plugins/elements/gstfakesink.h:
952           API: Add new GstFakeSink::preroll-handoff signal (#337100).
953
954 2006-05-23  Wim Taymans  <wim@fluendo.com>
955
956         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
957         * gst/gstpad.h:
958         Added _CUSTOM error and success GstFlowReturn that can be
959         used be elements internally. 
960         Added macro to check for SUCCESS flowreturns.
961         API: GST_FLOW_CUSTOM_SUCCESS
962         API: GST_FLOW_CUSTOM_ERROR
963         API: GST_FLOW_IS_SUCCESS
964
965         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
966         Added check for GstFlowReturn sanity.
967
968 2006-05-23  Wim Taymans  <wim@fluendo.com>
969
970         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
971
972         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
973         (gst_collect_pads_event):
974         clear/reset segment info in FLUSH_STOP.
975         Fixes #336929.
976
977 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
978
979         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
980         (gst_collect_pads_check_collected):
981         Flush queued buffer on _stop(), fixes playing again (#342454)
982
983 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
984
985         * tests/check/gst/gststructure.c: (GST_START_TEST),
986         (gst_structure_suite):
987           add a test for a complete structure
988
989 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
990
991         * docs/faq/developing.xml:
992         * docs/faq/faq.xml:
993         * docs/faq/troubleshooting.xml:
994         * docs/faq/using.xml:
995           Some minor FAQ updates that won't change the fact that
996           our FAQ is badly structured, full of information hardly
997           anyone new to GStreamer needs to know and lacking lots
998           of information people constantly ask for.
999           
1000 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
1001
1002         * gst/gstpad.c: (gst_pad_set_caps):
1003           Short-circuit gst_pad_set_caps if setting the existing
1004           caps pointer again, and avoid printing debug and 
1005           reffing/unreffing the caps.
1006
1007         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1008           There's actually no need to set the caps before pushing -
1009           the acceptcaps method will handle it anyway.
1010
1011 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
1012
1013         * docs/gst/gstreamer-sections.txt:
1014         * win32/common/libgstreamer.def:
1015         * gst/gstutils.c: (gst_element_seek_simple):
1016         * gst/gstutils.h:
1017           API: add gst_element_seek_simple() (#342238).
1018
1019 2006-05-18  Edward Hervey  <edward@fluendo.com>
1020
1021         * gst/gsttypefind.c: (gst_type_find_get_type):
1022         * gst/gsttypefind.h:
1023         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
1024         registered for GstTypeFind pointers. This allows wrapping the structure
1025         in bindings (i.e. gst-python).
1026
1027 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
1028
1029         * gst/gsttagsetter.c:
1030           Docs additions and fixes (see #339918).
1031
1032 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
1033
1034         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1035         The caps intersection algorithm can produce multiple copies of the
1036         caps. Until that is fixed, we need to simplify the result to be
1037         sure whether the allowed caps are fixed or not.
1038
1039         * plugins/elements/gstqueue.c: (gst_queue_init),
1040         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
1041         (gst_queue_push_one):
1042         Proxied buffer alloc should not set the caps on the source pad.
1043         When pushing buffers, we always accept the caps change that triggers.
1044         This prevents negotiation errors caused by caps changing mid-stream 
1045         and then being refused on our source pad (because upstream is now
1046         refusing those caps).
1047
1048 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
1049
1050         * tests/examples/helloworld/helloworld.c: (main):
1051           Must plug audioconvert and audioresample between decoder
1052           and audio sink.
1053
1054 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
1055
1056         * gst/gstregistryxml.c: (read_string), (load_pad_template),
1057         (load_feature), (load_plugin):
1058         Allow empty strings for some of the plugin fields so we don't 
1059         drop valid plugin entries that were written out correctly
1060         (Fixes #341479)
1061
1062 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
1063         
1064         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
1065           Use g_remove and g_rename instead of remove and rename that don't 
1066           handle utf8 characters. rename was failing for users who had specific
1067           characters in their name then the registry was built at each 
1068           gstreamer init.
1069         * win32/vs6/gst_inspect.dsp:
1070         * win32/vs6/gst_launch.dsp:
1071         * win32/vs6/libgstbase.dsp:
1072         * win32/vs6/libgstcoreelements.dsp:
1073         * win32/vs6/libgstreamer.dsp:
1074           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
1075           build of libgstreamer and clean unused libraries in projects link 
1076           settings.
1077
1078 2006-05-17  Edward Hervey  <edward@fluendo.com>
1079
1080         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1081         The queue is not responsible for pushing an EOS when receiving a fatal
1082         flow error. It's up to the real element driving the pipeline to do that.
1083
1084 2006-05-16  Edward Hervey  <edward@fluendo.com>
1085
1086         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1087         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
1088         buffer returned a fatal error. It should just send an EOS and stop
1089         its task.
1090         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
1091         when pushing buffers on the queue and will be able to handle the event.
1092
1093 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
1094
1095         * docs/manual/basics-bins.xml:
1096         * docs/manual/basics-init.xml:
1097           Fix typos and minor errors in sample code (#341856).
1098
1099 2006-05-16  Wim Taymans  <wim@fluendo.com>
1100
1101         * docs/design/part-qos.txt:
1102         Fix indexes in formulas to make more sense.
1103
1104 2006-05-15  Wim Taymans  <wim@fluendo.com>
1105
1106         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
1107         Don't report POSITION based on clock time if sync is
1108         disabled in a sink.
1109
1110 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
1111
1112         * gst/gstobject.h:
1113           Add cast to make compiler happy - refcount variable was a gint
1114           in GstObject but is a guint in GObject and g_atomic_int_get()
1115           wants a gint *.
1116
1117 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1118
1119         * gst/parse/Makefile.am:
1120           chain commands using &&, which also makes parallel make work
1121
1122 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
1123
1124         * docs/gst/gstreamer-sections.txt:
1125         * gst/gstevent.c:
1126         * gst/gstevent.h:
1127         * gst/gstmessage.h:
1128           Minor docs fixes.
1129
1130 === release 0.10.6 ===
1131
1132 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
1133
1134         * configure.ac:
1135           releasing 0.10.6, "Take the cannoli"
1136
1137 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
1138
1139         * tools/gst-launch.c: (print_tag):
1140           Fix use of uninitialized variable in the hypothetical
1141           case that some broken plugin creates a GST_TAG_IMAGE
1142           tag containing a NULL buffer (#341667).
1143
1144 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
1145
1146         * tools/gst-launch.c: (print_tag):
1147           Print something more intelligible for image tags when
1148           using the -t switch (#341556).
1149
1150 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1151
1152         * Makefile.am:
1153           updates for win32
1154         * configure.ac:
1155           define GST_MAJORMINOR so we have it available in win32/common/config.h
1156           Possibly remove it from our Makefile.am files later
1157         * win32/common/config.h:
1158         * win32/common/config.h.in:
1159           added GST_MAJORMINOR
1160         * win32/common/gstenumtypes.c: (register_gst_resource_error):
1161         * win32/common/gstversion.h:
1162           updated
1163
1164 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
1165
1166         * win32/MANIFEST:
1167           Update win32 files listing.
1168         * win32/common/gstversion.h:
1169           Add GST_MAJORMINOR definition.
1170         * win32/common/libgstreamer.def:
1171           Add new exported functions.
1172           
1173 2006-05-12  Michael Smith  <msmith@fluendo.com>
1174
1175         * gst/gstplugin.c: (gst_plugin_load_file):
1176           If an so file has no plugin entry point, unload the module.
1177
1178 2006-05-11  Wim Taymans  <wim@fluendo.com>
1179
1180         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
1181         (gst_queue_set_property):
1182         Don't forget to signal the _chain or _loop function 
1183         when the queue size or thresholds change since that might
1184         cause them to make progres again.
1185
1186 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
1187
1188         * gst/gstclock.c: (gst_clock_class_init):
1189         * gst/gstindex.c: (gst_index_class_init):
1190         * gst/gstobject.c: (gst_object_class_init):
1191         * gst/gstpad.c: (gst_pad_class_init):
1192         * gst/gstpipeline.c: (gst_pipeline_class_init):
1193         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1194         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1195         * libs/gst/base/gstbasetransform.c:
1196         (gst_base_transform_class_init):
1197         * libs/gst/net/gstnetclientclock.c:
1198         (gst_net_client_clock_class_init):
1199         * libs/gst/net/gstnettimeprovider.c:
1200         (gst_net_time_provider_class_init):
1201         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1202         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1203         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1204         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1205         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1206         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1207         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1208         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1209         * plugins/elements/gsttee.c: (gst_tee_class_init):
1210         * tests/old/examples/plugins/example.c: (gst_example_class_init):
1211         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1212           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
1213
1214 2006-05-11  Wim Taymans  <wim@fluendo.com>
1215
1216         * gst/gstbuffer.c: (_gst_buffer_initialize):
1217         Register subbufer along with the buffer type so that
1218         it does not accidentally gets registered from N
1219         different streaming threads in a non threadsafe way.
1220
1221 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
1222
1223         * gst/gstbuffer.h:
1224         * gst/gstevent.h:
1225         * gst/gstmessage.h:
1226           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
1227           gst_event_ref() and gst_message_ref() functions again
1228           (ugly hack, please do fix if there's a better way besides
1229           overrides.txt, which doesn't seem to work).
1230
1231 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1232
1233         * libs/gst/check/gstcheck.h:
1234           add an assert for setting state to avoid lots of repetitive code
1235           in the future
1236
1237 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1238
1239         * gst/gstvalue.c: (gst_value_serialize_flags):
1240           fix a leak if no flags are set
1241         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1242           fix leak in tests
1243
1244 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
1245
1246         * docs/manual/basics-pads.xml:
1247           Expand a bit on caps and filtered links and update
1248           examples that were still using the no longer existing
1249           gst_pad_link_filtered() (#338206).
1250
1251 2006-05-10  Wim Taymans  <wim@fluendo.com>
1252
1253         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1254         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1255         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
1256         (gst_collect_pads_stop):
1257         * libs/gst/base/gstcollectpads.h:
1258         No need to call _stop in _finalize.
1259         Iterate the main pad list in _finalize.
1260         Added some more debug.
1261         Free lists and data in the right order.
1262         Also free data whem doing _remove_pad when stopped for
1263         backward compatibility protect ::started with PAD_LOCK as
1264         well.
1265
1266 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1267
1268         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
1269         (gst_structure_parse_value):
1270           add some comments
1271           rename a method so that it actually says what it does better
1272
1273 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1274
1275         * gst/gstevent.c: (_gst_event_initialize):
1276         * gst/gstformat.c: (_gst_format_initialize):
1277           make sure some essential types used by events are registered
1278           as part of gst_init()
1279         * gst/gstvalue.c: (gst_value_serialize_flags):
1280           if no flags are set, serialize them to a value that represents NONE
1281           so that deserializing them works
1282         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1283           add tests for serialization and deserialization of flags
1284
1285 2006-05-10  Wim Taymans  <wim@fluendo.com>
1286
1287         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
1288         (gst_collect_pads_collect_range), (gst_collect_pads_available),
1289         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
1290         (gst_collect_pads_event), (gst_collect_pads_chain):
1291         Update docs.
1292         Better debug info.
1293         Catch and return errors from the collect function
1294         Refuse data on eos pads.
1295
1296 2006-05-10  Edward Hervey  <edward@fluendo.com>
1297
1298         * gst/gstinterface.h:
1299         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
1300         GInterface type checking.
1301         They were previously using non-defined macros.
1302
1303 2006-05-09  Wim Taymans  <wim@fluendo.com>
1304
1305         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
1306         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
1307         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
1308         (gst_collect_pads_start), (gst_collect_pads_stop),
1309         (gst_collect_pads_peek), (gst_collect_pads_pop),
1310         (gst_collect_pads_available), (gst_collect_pads_read),
1311         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
1312         (gst_collect_pads_is_collected), (gst_collect_pads_event),
1313         (gst_collect_pads_chain):
1314         * libs/gst/base/gstcollectpads.h:
1315         Clean up the mess that is collectpads, add comments and
1316         FIXMEs where needed.
1317         Maintain a separate pad list so we can add pads while
1318         collecting the other ones. For this we need a new separate 
1319         lock (see comics).
1320         Fix memory leak in finalize.
1321         Refactor some weird code to set/unset pad flushing flags, mark
1322         with comments.
1323         Don't crash in _available, _read, _flush when we're EOS.
1324
1325         * tests/check/libs/.cvsignore:
1326         Ignore adapter check binary.
1327
1328 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1329
1330         * gst/gstindex.c: (gst_index_resolver_get_type):
1331         * plugins/elements/gstfakesink.c:
1332         (gst_fake_sink_state_error_get_type):
1333         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1334         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
1335         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1336           Const-ify GEnumValue arrays.
1337
1338 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1339
1340         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1341           Add test case for flags + gst_buffer_make_metadata_writable().
1342
1343 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1344
1345         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
1346           gst_buffer_make_metadata_writable() should maintain the
1347           buffer flags (those that make sense at least) (see #340859).
1348
1349 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1350
1351         * tools/gst-inspect.c:
1352         * tools/gst-launch.c:
1353         * tools/gst-typefind.c:
1354         * tools/gst-xmlinspect.c:
1355         * tools/tools.h:
1356           Fix up includes: need to include stdlib.h in tools.h for exit().
1357
1358 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1359
1360         * gst/gsttaglist.c: (_gst_tag_initialize):
1361         * gst/gsttaglist.h:
1362           API: add GST_TAG_IMAGE tag (#340721).
1363
1364 2006-05-08  Wim Taymans  <wim@fluendo.com>
1365
1366         * gst/gstquery.c:
1367         Added some docs for the segment query.
1368
1369 2006-05-08  Wim Taymans  <wim@fluendo.com>
1370
1371         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1372         (gst_base_src_loop), (gst_base_src_change_state):
1373         Always push non-flushing serialized events in the streaming 
1374         thread.
1375
1376 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
1377
1378         * gst/gsterror.c: (_gst_stream_errors_init):
1379           Add a missing error string.
1380
1381 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
1382
1383         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
1384         Add applied_rate to the debug
1385
1386         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1387         Copy applied_rate into the outgoing NEWSEGMENT event
1388
1389 2006-05-08  Wim Taymans  <wim@fluendo.com>
1390
1391         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
1392
1393         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
1394         (gst_base_sink_change_state):
1395         call ::unlock before taking the PREROLL_LOCK so we can safely
1396         handle elements that lock in ::render.
1397         Fixes #340174.
1398
1399 2006-05-08  Edward Hervey  <edward@fluendo.com>
1400
1401         * autogen.sh: (CONFIGURE_DEF_OPT): 
1402         Darwin's libtoolize is in fact called glibtoolize.
1403         Adding glibtoolize to the list of accepted names for libtoolize.
1404
1405 2006-05-08  Wim Taymans  <wim@fluendo.com>
1406
1407         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1408         Unify error handling, don't post an error message
1409         when a push() returns EOS but perform our normal EOS
1410         handling code. Fixes #340772.
1411
1412 2006-05-08  Wim Taymans  <wim@fluendo.com>
1413
1414         * docs/design/part-overview.txt:
1415         Make upsteam/downstream concepts more clear.
1416         Give an example of serialized/non-serialized events.
1417
1418         * docs/design/part-events.txt:
1419         * docs/design/part-streams.txt:
1420         Mention applied_rate.
1421
1422         * docs/design/part-trickmodes.txt:
1423         Mention applied rate, flesh out some more use cases.
1424
1425         * gst/gstevent.c: (gst_event_new_new_segment),
1426         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
1427         (gst_event_parse_new_segment_full), (gst_event_new_tag),
1428         (gst_event_parse_tag), (gst_event_new_buffer_size),
1429         (gst_event_parse_buffer_size), (gst_event_new_qos),
1430         (gst_event_parse_qos), (gst_event_parse_seek),
1431         (gst_event_new_navigation):
1432         * gst/gstevent.h:
1433         Add applied_rate field to NEWSEGMENT event.
1434         API: gst_event_new_new_segment_full()
1435         API: gst_event_parse_new_segment_full()
1436
1437         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
1438         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
1439         (gst_segment_to_stream_time), (gst_segment_to_running_time):
1440         * gst/gstsegment.h:
1441         Add applied_rate to GstSegment structure.
1442         Make calculation of stream_time and running_time more correct
1443         wrt rate/applied_rate.
1444         Add some more docs.
1445         API: GstSegment::applied_rate field
1446         API: gst_segment_set_newsegment_full();
1447
1448         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1449         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
1450         * libs/gst/base/gstbasetransform.c:
1451         (gst_base_transform_sink_eventfunc),
1452         (gst_base_transform_handle_buffer):
1453         Parse and use applied_rate in the GstSegment field.
1454
1455         * tests/check/gst/gstevent.c: (GST_START_TEST):
1456         Add check for applied_rate field.
1457
1458         * tests/check/gst/gstsegment.c: (GST_START_TEST),
1459         (gstsegments_suite):
1460         Add more checks for various GstSegment operations.
1461
1462 2006-05-08  Wim Taymans  <wim@fluendo.com>
1463
1464         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1465         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
1466         (gst_base_sink_get_position), (gst_base_sink_change_state):
1467         Store the sync time of the buffer end position separatly in a
1468         new variable eos_rtime so we can properly sync the EOS event.
1469         Fixes #340697.
1470         Fix the docs for gst_base_sink_set_qos_enabled().
1471         Don't set segment start to invalid value when we receive a 
1472         non TIME newsegment.
1473         get closer to handling position reporting for negative rates 
1474         correctly.
1475
1476 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
1477
1478         * gst/gstcaps.c:
1479         Docs about how to print caps for debug purposes.
1480
1481         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
1482         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
1483
1484 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
1485
1486         * gst/gstelement.c:
1487           use full enum names and preprend a '%' in docs strings to make recent 
1488           gtk-doc turn that into a link
1489
1490 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1491
1492         * docs/manual/basics-bins.xml:
1493         * docs/manual/basics-bus.xml:
1494         * docs/manual/basics-pads.xml:
1495           Some typo fixes, some additions, some clarifications. 
1496
1497 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1498
1499         * tools/gst-inspect.c: (main):
1500         * tools/gst-launch.c: (main):
1501         * tools/gst-run.c: (main):
1502         * tools/gst-typefind.c: (main):
1503         * tools/gst-xmlinspect.c: (main):
1504           Use the string passed to g_option_context_new() for
1505           what it's intended for - the program name is already
1506           printed elsewhere.
1507
1508 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1509
1510         * tools/Makefile.am:
1511         * tools/gst-inspect.c: (main):
1512         * tools/gst-launch.c: (main):
1513         * tools/gst-xmlinspect.c: (main):
1514         * tools/tools.h:
1515           Add back --version command line option (#340460).
1516
1517         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
1518           Add --version option and use GOption for argument parsing; refactor a
1519           bit; accept directories as arguments and recurse into them; lastly,
1520           print a decent error message when things go wrong.
1521
1522 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
1523
1524         * docs/manual/basics-bins.xml:
1525         Don't mention GstThread (#340611)
1526         * docs/manual/basics-elements.xml:
1527         Update link to GObject tutorial (#340607)
1528         
1529 2006-05-05  Wim Taymans  <wim@fluendo.com>
1530
1531         * gst/gstbuffer.h:
1532         * gst/gstminiobject.c:
1533         Add note about refcounting and miniobject/buffer writeability
1534         to docs. Fixes #340604
1535
1536         * gst/gstelementfactory.h:
1537         Added some explanation about @klass.
1538
1539 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
1540
1541         * docs/manual/intro-motivation.xml:
1542         * docs/manual/manual.xml:
1543         Avoid CORBA & Bonobo references (#340598)
1544
1545 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
1546
1547         * docs/manual/basics-bus.xml:
1548         * docs/manual/basics-pads.xml:
1549         Fix up some inaccuracies and omissions (#340609)
1550         
1551 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
1552
1553         * gst/gstghostpad.c:
1554           Small typo in docs (#340625)
1555
1556 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1557
1558         * gst/parse/Makefile.am:
1559           Make 'make -j' proof (see #340698).
1560
1561 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1562
1563         * configure.ac:
1564           Require GLib-2.8 here as well.
1565
1566 2006-05-05  Wim Taymans  <wim@fluendo.com>
1567
1568         * gst/glib-compat.c:
1569         * gst/gst.c: (init_pre):
1570         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
1571         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
1572         (gst_object_dispatch_properties_changed):
1573         * gst/gstobject.h:
1574         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
1575         * gst/gststructure.c: (gst_structure_set_valist):
1576         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1577         Remove pre glib2.8 compatibility, fixes #340508
1578
1579 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
1580
1581         * gst/gsttaglist.h:
1582           Mention type of tags in doc blurbs.
1583
1584 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
1585
1586         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1587         (gst_pad_configure_src), (gst_pad_push):
1588         Restore acceptcaps checking behaviour now that good plugins have
1589         been released.
1590
1591 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
1592
1593         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
1594
1595         * gst/gst.c:
1596         * gst/gstbus.c:
1597         * gst/gstclock.c:
1598         * gst/gstevent.c:
1599         * gst/gstformat.c:
1600         * gst/gstmessage.c:
1601         * gst/gstparse.c:
1602         * gst/gstquery.c:
1603         * gst/gstutils.c:
1604         * gst/parse/Makefile.am:
1605         * libs/gst/base/gstadapter.c:
1606         * libs/gst/base/gstbasesrc.c:
1607         * libs/gst/base/gstpushsrc.c:
1608         * libs/gst/base/gsttypefindhelper.c:
1609         * plugins/elements/gstfakesrc.c:
1610         * plugins/elements/gstidentity.c:
1611           Make sure gstprivate.h and/or config.h are
1612           always included first, otherwise some of our
1613           defines (like _FILE_OFFSET_BITS) might be
1614           redefined in the system headers. Fixes build
1615           on opensolaris (#340016).
1616
1617 2006-05-04  Wim Taymans  <wim@fluendo.com>
1618
1619         * docs/libs/gstreamer-libs-sections.txt:
1620         API: addition: gst_adapter_take_buffer()
1621         
1622         * libs/gst/base/gstadapter.c: (gst_adapter_push),
1623         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
1624         (gst_adapter_available_fast):
1625         * libs/gst/base/gstadapter.h:
1626         Prepare for optimizing the hell out of this hugely inefficient
1627         piece of code. 
1628         Added gst_adapter_take_buffer() so we can at least start thinking
1629         about subbuffering and merging.
1630         Added some comments.
1631
1632         * tests/check/Makefile.am:
1633         * tests/check/libs/adapter.c: (GST_START_TEST),
1634         (gst_adapter_suite), (main):
1635         Added GstAdapter check.
1636
1637 2006-05-04  Wim Taymans  <wim@fluendo.com>
1638
1639         * docs/design/part-overview.txt:
1640         Fix some typos, add blurb about buffer flags.
1641
1642 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1643
1644         * docs/libs/gstreamer-libs-sections.txt:
1645           make sure GstBaseTransformClass shows up in the docs
1646         * libs/gst/base/gstbasetransform.c:
1647         * libs/gst/base/gstbasetransform.h:
1648           move docs so gtk-doc picks it up now
1649
1650 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
1651
1652         * docs/libs/gstreamer-libs-sections.txt:
1653           add missing symbols to docs
1654
1655 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
1656
1657         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1658           back out the newsegment handling change, see #340060 for ongoing
1659           discussion
1660
1661 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
1662
1663         * tools/gst-run.c: (get_candidates), (main):
1664           Fix wrong g_file_test() usage (see glib docs for why it doesn't
1665           work); fix typo in error message. Fixes #340079.
1666
1667 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1668
1669         * common/Makefile.am:
1670         * docs/Makefile.am:
1671         * docs/faq/Makefile.am:
1672         * docs/gst/Makefile.am:
1673         * docs/libs/Makefile.am:
1674         * docs/manual/Makefile.am:
1675         * docs/plugins/Makefile.am:
1676         * docs/pwg/Makefile.am:
1677         * docs/slides/Makefile.am:
1678         * docs/upload.mak:
1679         * common/upload.mak:
1680           move upload.mak to common
1681
1682 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1683
1684         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1685           add more asserts on refcounts
1686           do more cleanup at end of tests
1687           fix test leaks showing in FC5
1688
1689 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
1690
1691         * plugins/elements/gsttypefindelement.c:
1692         (gst_type_find_element_handle_event):
1693         reverted wrong change and reflowed code to avoid others falling into
1694         this trap
1695
1696 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1697
1698         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1699           fix changelog entry about last collectpads change,
1700           add notes about proper fix
1701
1702 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1703
1704         * gst/gst.c:
1705         * gst/gstregistry.c: (gst_registry_scan_path_level),
1706         (gst_registry_scan_path):
1707         * gst/gstregistry.h:
1708           only write out registry if it has changed, fixes #338339
1709
1710 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1711
1712         * gst/gstbin.c:
1713         * gst/gstpipeline.c:
1714         * plugins/elements/gstcapsfilter.c:
1715         * plugins/elements/gstfakesink.c:
1716         * plugins/elements/gstfakesrc.c:
1717         * plugins/elements/gstfdsink.c:
1718         * plugins/elements/gstfdsrc.c:
1719         * plugins/elements/gstfilesink.c:
1720         * plugins/elements/gstfilesrc.c:
1721         * plugins/elements/gstidentity.c:
1722         * plugins/elements/gstqueue.c:
1723         * plugins/elements/gsttee.c:
1724         * plugins/elements/gsttypefindelement.c:
1725         (gst_type_find_element_handle_event):
1726           make GstElementDetails const
1727
1728 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1729
1730         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
1731         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1732         (gst_collect_pads_is_collected), (gst_collect_pads_event):
1733           more detailed debug and formatting cleanup,
1734           forward newsegments to src-pad (so that e.g. adder not eats them)
1735
1736 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1737
1738         * gst/gstutils.c: (gst_element_link_pads):
1739           cleanup double code
1740
1741 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1742
1743         * libs/gst/controller/gstcontroller.c:
1744         (gst_controller_sync_values):
1745           some little tuning
1746         * tests/check/libs/controller.c: (GST_START_TEST),
1747         (gst_controller_suite):
1748           a new test for live value handling
1749
1750 2006-04-28  Wim Taymans  <wim@fluendo.com>
1751
1752         * gst/gstutils.c: (push_and_ref):
1753         Added some more docs.
1754         Fix refcount issue whith gst_element_found_tags() helper 
1755         function. Fixes #338335
1756
1757         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1758         Added testsuite for gst_element_found_tags().
1759
1760 2006-04-28  Michael Smith  <msmith@fluendo.com>
1761
1762         * gst/gstvalue.c: (gst_value_serialize_flags):
1763           Avoid NULL dereference when trying to serialize flags containing
1764           invalid values.
1765
1766 2006-04-28  Michael Smith  <msmith@fluendo.com>
1767
1768         * plugins/elements/gsttypefindelement.c:
1769         (gst_type_find_element_handle_event):
1770           If we get EOS before any data is accumulated, don't use
1771           uninitialised local variables.
1772
1773 2006-04-28  Michael Smith  <msmith@fluendo.com>
1774
1775         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
1776         (gst_dp_event_from_packet):
1777           Fixes in reading/writing events over GDP (not currently used?) - 
1778           dereferencing NULL events for unknown/invalid event types, memory
1779           leak, and change g_warning to GST_WARNING.
1780
1781 2006-04-28  Wim Taymans  <wim@fluendo.com>
1782
1783         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
1784         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1785         (gst_base_sink_get_position), (gst_base_sink_change_state):
1786         When frame dropping is enabled, we should not ignore frames
1787         without a duration.
1788         Update some documentation.
1789
1790 2006-04-28  Wim Taymans  <wim@fluendo.com>
1791
1792         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1793         (gst_base_src_send_event), (gst_base_src_change_state):
1794         Documentation updates.
1795
1796 2006-04-28  Wim Taymans  <wim@fluendo.com>
1797
1798         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
1799         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
1800         handle EAGAIN, EINTR and short writes correctly. Also clean
1801         up some error cases, avoid a deadlock on bad file descriptors and
1802         use GST_DEBUG_OBJECT.
1803         Fixes #339843
1804
1805 2006-04-28  Wim Taymans  <wim@fluendo.com>
1806
1807         * gst/gstvalue.c: (gst_value_serialize_buffer),
1808         (gst_value_deserialize_buffer):
1809         Don't try to serialize a GValue with a NULL buffer. 
1810         Fixes #339821.
1811
1812         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1813         Added check for serialisation of NULL buffers.
1814
1815 2006-04-28  Wim Taymans  <wim@fluendo.com>
1816
1817         * gst/gstminiobject.c: (gst_value_take_mini_object):
1818         Taking a NULL miniobject is valid, fix the case where
1819         we try to unref the NULL miniobject.
1820
1821 2006-04-28  Wim Taymans  <wim@fluendo.com>
1822
1823         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1824
1825         * gst/gstbin.c: (gst_bin_handle_message_func):
1826         Update docs.
1827         Don't leak bin refcount when a state recalc is
1828         in progress and we delay another one #339808.
1829
1830 2006-04-28  Wim Taymans  <wim@fluendo.com>
1831
1832         * docs/design/part-TODO.txt:
1833         Mention QoS as an ongoing work item.
1834
1835         * docs/design/part-buffering.txt:
1836         New doc about buffering that needs to be fleshed out
1837         at some point.
1838
1839         * docs/design/part-qos.txt:
1840         More QoS policy for decoders/demuxers/transforms
1841
1842         * docs/design/part-trickmodes.txt:
1843         Small update.
1844
1845 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1846
1847         * configure.ac:
1848           back to HEAD
1849
1850 === release 0.10.5 ===
1851
1852 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
1853
1854         * configure.ac:
1855           releasing 0.10.5, "Fogo"
1856
1857 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1858
1859         patch by: Wim Taymans
1860
1861         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1862         (gst_pad_configure_src), (gst_pad_push):
1863         * gst/gstpipeline.c: (gst_pipeline_init):
1864           Fix internal data flow errors.  Fixes #338711.
1865
1866 2006-04-12  Wim Taymans  <wim@fluendo.com>
1867
1868         * tests/check/gst/gstelement.c: (GST_START_TEST):
1869         Don't leak the factory.
1870
1871 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1872
1873         * configure.ac:
1874         * win32/common/config.h:
1875           prerelease
1876
1877 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1878
1879         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1880         (gst_controller_unset_all):
1881           Free allocated GstTimedValues when freeing list nodes.
1882           Should fix leaks 'make check-valgrind' complains about.
1883
1884         * win32/common/libgstcontroller.def:
1885           Add gst_controller_unset_all.
1886
1887 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
1888
1889         * docs/libs/gstreamer-libs-sections.txt:
1890         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1891         (gst_controller_unset_all):
1892         * libs/gst/controller/gstcontroller.h:
1893         API: Added new method gst_controller_unset_all()
1894         fixed gst_controller_unset()
1895         * tests/check/libs/controller.c: (GST_START_TEST),
1896         (gst_controller_suite):
1897         Added two testcases for new and fixed method
1898
1899 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
1900
1901         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1902           MSG_DONTWAIT is not defined on Cygwin, so work
1903           around that (fixes #317048).
1904           
1905 2006-04-11  Wim Taymans  <wim@fluendo.com>
1906
1907         * gst/gstelementfactory.c: (gst_element_register),
1908         (gst_element_factory_create), (gst_element_factory_make):
1909         Some cleanups.
1910         Fixed a FIXME.
1911         Updated docs (Fixes #131079)
1912
1913         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1914         Small cleanups.
1915
1916         * tests/check/gst/gstelement.c: (GST_START_TEST),
1917         (gst_element_suite):
1918         Added testcase for elementfactory class field.
1919
1920 2006-04-10  Wim Taymans  <wim@fluendo.com>
1921
1922         * gst/gstsegment.c:
1923         Added some more docs.
1924
1925         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
1926         (gst_base_sink_reset_qos):
1927         Calculate more accurate rate values.
1928
1929 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
1930
1931         * gst/gst_private.h:
1932           add a new #ifdef to use __declspec(dllimport) only for
1933           other modules and not for gstreamer core
1934         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
1935           use gst_guint64_to_gdouble for conversion
1936         * win32/common/libgstreamer.def:
1937           add new exported functions
1938         * win32/vs6/gst_inspect.dsp:
1939         * win32/vs6/gst_launch.dsp:
1940         * win32/vs6/libgstbase.dsp:
1941         * win32/vs6/libgstcontroller.dsp:
1942         * win32/vs6/libgstcoreelements.dsp:
1943         * win32/vs6/libgstdataprotocol.dsp:
1944         * win32/vs6/libgstnet.dsp:
1945           update project files
1946
1947 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
1948
1949         * gst/gstbuffer.c: (gst_subbuffer_class_init):
1950         * gst/gstclock.c: (gst_clock_class_init):
1951         * gst/gstelement.c: (gst_element_class_init):
1952         * gst/gstindex.c: (gst_index_class_init):
1953         * gst/gstindexfactory.c: (gst_index_factory_class_init):
1954         * gst/gstobject.c: (gst_object_class_init),
1955         (gst_signal_object_class_init):
1956         * gst/gstpad.c: (gst_pad_class_init):
1957         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
1958         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
1959         * gst/gstregistry.c: (gst_registry_class_init):
1960         * gst/gstsystemclock.c: (gst_system_clock_class_init):
1961         * gst/gsttask.c: (gst_task_class_init):
1962         * gst/gstxml.c: (gst_xml_class_init):
1963         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1964         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1965         (gst_base_src_loop):
1966         * libs/gst/controller/gstcontroller.c:/
1967         (_gst_controller_class_init):
1968         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1969         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1970         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
1971         * tests/old/examples/plugins/example.c: (gst_example_class_init):
1972         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1973         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
1974
1975 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
1976
1977         * gst/gstpad.c: (gst_pad_link):
1978           Must set peer pads before calling the link function, otherwise
1979           a task started from a link function might get a flow-not-linked
1980           result when trying to push because the other thread where the
1981           linking happens hasn't had a chance to set the peers yet. This
1982           might happen for example when a queue gets linked to a downstream
1983           element, as queue starts a streaming task when its source pad
1984           gets linked. Happens in real life when playing back flac/musepack
1985           files in playbin (#332390).
1986           
1987 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
1988
1989         * gst/gstindex.h:
1990         * gst/gstxml.h:
1991         * libs/gst/base/gstadapter.h:
1992         * libs/gst/base/gstbasesink.h:
1993         * libs/gst/base/gstbasesrc.h:
1994         * libs/gst/base/gstbasetransform.h:
1995         * libs/gst/base/gstcollectpads.h:
1996         * libs/gst/base/gstpushsrc.h:
1997         Fix broken GObject macros
1998
1999 2006-04-07  Wim Taymans  <wim@fluendo.com>
2000
2001         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2002         Initialize start and stop times, thanks valgrind.
2003
2004 2006-04-07  Wim Taymans  <wim@fluendo.com>
2005
2006         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2007         Be a bit nicer to badly behaving upstream elements that expect
2008         us to deal with non TIME segments and timestamps (such as fakesrc
2009         in the testsuite).
2010
2011 2006-04-07  Wim Taymans  <wim@fluendo.com>
2012
2013         * gst/gstbus.c:
2014         Small documentation clarification about the signal watch.
2015
2016         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2017         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
2018         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2019         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
2020         (gst_base_sink_get_position_last),
2021         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
2022         Convert and store timestamps in stream time and running time, the
2023         raw timestamps are not usefull, also document this better.
2024         Use different window sizes for good and bad QoS observations so
2025         we react to badness a little quicker.
2026         Keep track of the amount of rendered and dropped buffers.
2027         Send QoS timestamps in running time.
2028
2029         * libs/gst/base/gstbasetransform.c:
2030         (gst_base_transform_sink_eventfunc),
2031         (gst_base_transform_handle_buffer):
2032         Compare QoS timestamps against running time.
2033
2034 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
2035
2036         * gst/gstpad.c:
2037           Typo fixes in docs.
2038
2039 2006-04-06  Michael Smith  <msmith@fluendo.com>
2040
2041         * gst/gstpad.c: (gst_pad_set_property):
2042           Use g_value_get_object() instead of g_value_dup_gst_object(),
2043           to avoid double-reffing the pad template (which we then sink,
2044           so this worked previously if (and only if) the pad template
2045           was floating.
2046
2047         * gst/gstpadtemplate.c: (gst_pad_template_init),
2048         (gst_pad_template_pad_created):
2049           Never return floating references to pad templates, create
2050           them as initially-sunken.
2051
2052           Document an extra function (and make this stop sinking our
2053           pad template, since that is now guaranteed to do nothing,
2054           since we created it sunken).
2055
2056         * gst/gstghostpad.c:
2057           Fix docs typo.
2058
2059 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
2060
2061         * gst/gstinfo.c: (__gst_in_valgrind):
2062           Add some newlines.
2063
2064         * plugins/elements/gsttypefindelement.c:
2065         (gst_type_find_element_chain):
2066           Don't leak buffer caps.
2067
2068 2006-04-06  Michael Smith  <msmith@fluendo.com>
2069
2070         * gst/parse/grammar.y:
2071           Fix a leak in parse-launch for any source-or-sink named element 
2072           references used.
2073
2074         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
2075           Unref the pipeline if it exists after we've failed parsing.
2076
2077 2006-04-05  Michael Smith  <msmith@fluendo.com>
2078
2079         * gst/gstpipeline.c: (gst_pipeline_init):
2080           When we create a pipeline bus, initially create it in flushing mode.
2081           Fixes leaks in at least one test, and makes a new pipeline work the
2082           same as one that has gone to READY and then back to NULL.
2083
2084         * gst/gstelement.c:
2085           Typo fix in docs.
2086
2087 2006-04-05  Michael Smith  <msmith@fluendo.com>
2088
2089         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2090           Unref a pad we reffed.
2091         * tests/check/gst/gstutils.c: (GST_START_TEST):
2092           Unref bins
2093
2094 2006-04-05  Michael Smith  <msmith@fluendo.com>
2095
2096         * gst/gstquery.c: (gst_query_set_formats),
2097         (gst_query_set_formatsv):
2098           Fix leaking GValues in queries, as shown by valgrind/testsuite.
2099
2100 2006-04-05  Michael Smith  <msmith@fluendo.com>
2101
2102         * tests/check/generic/sinks.c: (GST_START_TEST):
2103           Fix a variety of memleaks in sinks check, which are only sometimes 
2104           shown by running the tests under valgrind (weird?).
2105
2106 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
2107
2108         * docs/version.entities.in:
2109           Fix the substituted entity name after thomas' changes on the
2110           weekend.
2111
2112 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2113
2114         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
2115         VALGRIND_PRINTF
2116         
2117 2006-04-05  Andy Wingo  <wingo@pobox.com>
2118
2119         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
2120
2121         * libs/gst/base/gstbasetransform.c
2122         (gst_base_transform_sink_eventfunc): When resetting our segment on
2123         FLUSH_STOP, also update the flag saying we haven't seen a
2124         newsegment.
2125
2126 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
2127
2128         Patch by: Paolo Borelli  <pborelli at katamail dot com>
2129
2130         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
2131         (gst_plugin_check_license):
2132           minor clean-ups: G_DEFINE_TYPE already takes care of the
2133           parent_class stuff, no need to do it twice. Mark array of
2134           license strings as constant. (#337103)
2135           
2136 2006-04-04  Michael Smith  <msmith@fluendo.com>
2137
2138         * tools/gst-inspect.c: (print_element_list):
2139           Free the right plugin list; fixes a memory leak.
2140
2141 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
2142
2143         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
2144
2145         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2146           Don't error out on empty buffers (#336945).
2147           
2148 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
2149
2150         * docs/libs/gstreamer-libs-sections.txt:
2151         * gst/gsttaglist.c:
2152         * libs/gst/base/gstbasesink.c:
2153         * libs/gst/base/gstbasesink.h:
2154         * libs/gst/base/gstbasesrc.c:
2155         * libs/gst/base/gstbasesrc.h:
2156           Documentation updates. Make BaseSink and BaseSrc docs contain the
2157           class structure so that people can actually see the prototypes for
2158           virtual functions they're supposed to be overriding.
2159
2160 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
2161
2162         * plugins/elements/gsttypefindelement.c:
2163         (gst_type_find_element_chain):
2164           More debug info; when skipping typefinding, send cached
2165           events in all cases.
2166
2167 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2168
2169         * configure.ac:
2170           use new AS_VERSION and AS_NANO macros
2171         * gst/gst-i18n-lib.h:
2172         * gst/gst.c:
2173         * gst/gsterror.c:
2174         * gst/gstversion.h.in:
2175         * win32/common/config.h:
2176         * win32/common/config.h.in:
2177           update accordingly
2178
2179 2006-03-31  Michael Smith  <msmith@fluendo.com>
2180
2181         * plugins/elements/gsttypefindelement.c:
2182         (gst_type_find_element_chain):
2183           Do not typefind content if the buffers already have caps.
2184           Neccesary for icydemux (#333657), and the right thing to do anyway.
2185
2186 2006-03-30  Wim Taymans  <wim@fluendo.com>
2187
2188         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2189         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
2190         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
2191         (gst_base_sink_record_qos_observation),
2192         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2193         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
2194         (gst_base_sink_change_state):
2195         More QoS measurements as described in the design doc.
2196         Get rid of ringbuffer with observations, running average is
2197         more simple and equally good.
2198         Calculates valid proportion now.
2199         Added beginning of flood measurement.
2200
2201 2006-03-29  Wim Taymans  <wim@fluendo.com>
2202
2203         * docs/design/part-qos.txt:
2204         * gst/gstclock.c:
2205         Small documentation updates and additions.
2206
2207 2006-03-29  Wim Taymans  <wim@fluendo.com>
2208
2209         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
2210         (gst_base_src_send_event), (gst_base_src_loop),
2211         (gst_base_src_change_state):
2212         Perform the EOS logic when we reach the segment stop position.
2213         Fix compilation on gcc4.1
2214
2215 2006-03-29  Wim Taymans  <wim@fluendo.com>
2216
2217         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2218
2219         * plugins/elements/gstqueue.c: (gst_queue_init),
2220         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
2221         (gst_queue_set_property):
2222         * plugins/elements/gstqueue.h:
2223         In queue, when EOS is received, if minimum threshold > max_size -
2224         current_level, there is chance that queue blocks forever in conditional
2225         item del wait. This is because the queue is not emptied completely due
2226         to minimum threshold.  Here is another approach. Instead of setting
2227         cur_levels to max in EOS, just zero all minimum threshold levels. This
2228         should make sure that queue gives out all data. When going to READY
2229         (stop) state, just reset the original minimum threshold levels.
2230         Fixes #336336.
2231
2232 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
2233
2234         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
2235         (gst_type_find_element_handle_event),
2236         (gst_type_find_element_send_cached_events),
2237         (gst_type_find_element_change_state):
2238         * plugins/elements/gsttypefindelement.h:
2239           When typefinding is done in push mode, we should cache
2240           events we receive during typefinding instead of just
2241           dropping them (e.g. newsegment, custom events from
2242           dvdreadsrc etc.) and then send them out once we've
2243           determined the type of the stream (and decodebin
2244           has had a chance to plug in a decoder/demuxer).
2245           
2246 2006-03-27  Wim Taymans  <wim@fluendo.com>
2247
2248         * docs/design/part-qos.txt:
2249         First QoS ideas.
2250
2251 2006-03-27  Wim Taymans  <wim@fluendo.com>
2252
2253         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
2254
2255         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
2256         (gst_base_src_send_event), (gst_base_src_change_state):
2257         Handle element seek correctly when we are streaming.
2258         Fixes #326998.
2259
2260 2006-03-24  Michael Smith  <msmith@fluendo.com>
2261
2262         * docs/faq/gst-uninstalled:
2263           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
2264           allow you to correctly run intalled applications built against old 
2265           core, using plugins that require updated core (e.g. running
2266           installed totem against a full uninstalled gstreamer stack)
2267
2268 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
2269
2270         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
2271         more debug details
2272
2273 2006-03-24  Wim Taymans  <wim@fluendo.com>
2274
2275         * docs/gst/gstreamer-sections.txt:
2276         Rearrange the order of the methods so that related methods
2277         are grouped together in sections.
2278
2279 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
2280
2281         * gst/gstelement.c:
2282           Little clarification in the docs
2283
2284 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
2285
2286         * docs/README:
2287         formatting fix
2288         * plugins/elements/gstidentity.c:
2289         * plugins/elements/gstqueue.c:
2290         * plugins/elements/gsttee.c:
2291         * plugins/elements/gsttypefindelement.c:
2292         GST_ELEMENT_DETAILS formatting
2293
2294 2006-03-24  Wim Taymans  <wim@fluendo.com>
2295
2296         * libs/gst/base/gstbasesink.h:
2297         Only add fields, not insert or we break ABI.
2298
2299 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
2300
2301         * win32/common/libgstbase.def:
2302         * win32/common/libgstreamer.def:
2303           Update, add recently added functions.
2304
2305 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
2306
2307         * docs/gst/gstreamer-sections.txt:
2308         * gst/gstutils.c: (gst_pad_query_peer_position),
2309         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
2310         * gst/gstutils.h:
2311           API: add some new utility functions:
2312            - gst_pad_query_peer_position()
2313            - gst_pad_query_peer_duration()
2314            - gst_pad_query_peer_convert()
2315           
2316 2006-03-23  Wim Taymans  <wim@fluendo.com>
2317
2318         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2319         (gst_base_sink_init), (gst_base_sink_finalize),
2320         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
2321         (gst_base_sink_set_property), (gst_base_sink_get_property),
2322         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
2323         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
2324         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
2325         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2326         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
2327         (gst_base_sink_preroll_object), (gst_base_sink_event),
2328         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
2329         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
2330         (gst_base_sink_query), (gst_base_sink_change_state):
2331         Decouple max-lateness and the fact that QoS messages are generated
2332         with a new property (qos).
2333         added API: GstBaseSink::async_play()
2334         Add vmethod so subclasses can be notified of ASYNC playing
2335         state changes.
2336         Collect timestamp start and stop to report better current
2337         position in EOS/PLAYING/PAUSED/READY/NULL.
2338         Refactor QoS/frame dropping and other measurements.
2339         API: GstBaseSrc::qos
2340         Fixes #326311
2341
2342         * libs/gst/base/gstbasesink.h:
2343         Added Private struct.
2344         API: gst_base_sink_set_qos_enabled()
2345         API: gst_base_sink_is_qos_enabled()
2346
2347 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
2348
2349         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
2350           If compiling against GLib-2.8 or newer, try to read the
2351           registry file using GMappedFile first before falling back
2352           to fopen() + fread() (#332151).
2353
2354 2006-03-22  Wim Taymans  <wim@fluendo.com>
2355
2356         * gst/gstinfo.c: (gst_debug_set_active),
2357         (gst_debug_category_set_threshold):
2358         Disable debugging unless explicitly activated.
2359         Fixes #335480.
2360
2361 2006-03-22  Wim Taymans  <wim@fluendo.com>
2362
2363         * gst/gstelement.c: (gst_element_set_locked_state),
2364         (gst_element_dispose):
2365         Cleanup the error case.
2366
2367         * gst/gstobject.c: (gst_object_dispose):
2368         print a critical when some object was disposed with
2369         a parent, also revive the object since it might
2370         crash the parent.
2371
2372 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
2373
2374         * tools/gst-launch.1.in:
2375           Fix another typo.
2376
2377 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2378
2379         * configure.ac:
2380         * tests/check/Makefile.am:
2381           disable some tests when we don't have a registry
2382         * tests/check/gst/gstutils.c: (gst_utils_suite):
2383           don't build the part that needs parsing
2384
2385 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2386
2387         * gst/Makefile.am
2388         * tests/examples/Makefile.am:
2389           fix --disable-parse build
2390
2391 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2392
2393         * tools/gst-feedback.1.in:
2394           Fix typo: s/feeback/feedback/ (#133494).
2395
2396 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2397
2398         * tools/Makefile.am:
2399         * tools/gst-launch.1.in:
2400           Add FILES section and correct entry about GST_REGISTRY_PATH
2401           environment variable (#133495; #133494).
2402
2403 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2404
2405         * tools/Makefile.am:
2406         * tools/gst-md5sum.1.in:
2407         * tools/gst-md5sum.c:
2408           Remove gst-md5sum and man page (the md5sink element
2409           required was removed ages ago)
2410
2411 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2412
2413         * gst/gststructure.c: (gst_structure_id_set_value):
2414           Make sure that string fields in structures/taglists
2415           contain valid UTF-8 - we don't want to pass rubbish to
2416           applications because of a buggy plugin (cp. #334167).
2417
2418 2006-03-21  Edward Hervey  <edward@fluendo.com>
2419
2420         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2421         (gst_bin_handle_message_func):
2422         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
2423         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
2424         (gst_element_set_bus_func):
2425         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
2426         * gst/gstminiobject.c: (gst_value_set_mini_object),
2427         (gst_value_take_mini_object):
2428         * gst/gstpad.c: (gst_pad_set_pad_template):
2429         * gst/gstpipeline.c: (gst_pipeline_dispose),
2430         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2431         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
2432         (gst_collect_pads_chain):
2433         * libs/gst/net/gstnettimeprovider.c:
2434         (gst_net_time_provider_set_property):
2435         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
2436         It's in fact all issues with gst_*object_replace().
2437
2438 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2439
2440         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
2441         
2442         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2443         * pkgconfig/gstreamer-check.pc.in:
2444           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
2445
2446 2006-03-21  Edward Hervey  <edward@fluendo.com>
2447
2448         * gst/gstbuffer.h:
2449         * gst/gstevent.h:
2450         * gst/gstmessage.h:
2451         gst_[buffer|event|message]_ref() macros are replaced by a static
2452         inline functions because gcc-4.1 will about if the return value
2453         isn't used.
2454         * tests/check/gst/gstevent.c: (event_probe):
2455         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
2456
2457 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
2458
2459         * gst/gstutils.h:
2460         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
2461         the type' case. (Closes: #335195 for now). In the future, when we
2462         depend on GLib 2.10, we could also intern the type name using
2463         g_intern_static_string()
2464
2465 2006-03-20  Wim Taymans  <wim@fluendo.com>
2466
2467         * gst/gstbin.c: (gst_bin_handle_message_func),
2468         (bin_query_max_init), (bin_query_position_fold),
2469         (bin_query_position_done), (gst_bin_query):
2470         Position query should also take max of all streams.
2471
2472 2006-03-20  Wim Taymans  <wim@fluendo.com>
2473
2474         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2475         (gst_fake_src_finalize):
2476         Fix leaks in fakesrc.
2477
2478         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2479         Fix leaks in the testcase.
2480
2481 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
2482
2483         * gst/gst_private.h:
2484           add win32 specific import decoration(__declspec(dllimport)) 
2485           for all extern GstDebugCategory * variables
2486         * win32/common/libgstbase.def:
2487         * win32/common/libgstcontroller.def:
2488         * win32/common/libgstreamer.def:
2489           Add some exports, remove empty lines
2490         * win32/common/libgstdataprotocol.def:
2491         * win32/common/libgstdataprotocol.dsp:
2492         * win32/common/libgstnet.def:
2493         * win32/common/libgstnet.dsp:
2494           new project files and exportation files added
2495         
2496 2006-03-19  Wim Taymans  <wim@fluendo.com>
2497
2498         * tests/check/libs/basesrc.c: (eos_event_counter):
2499         Use proper return value for probe.
2500
2501 2006-03-17  Wim Taymans  <wim@fluendo.com>
2502
2503         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
2504         (gst_pad_push):
2505         Don't leak buffers, caps and pads on negotiation errors.
2506
2507 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
2508
2509         * docs/faq/cvs.xml:
2510         * docs/faq/dependencies.xml:
2511         * docs/faq/developing.xml:
2512         * docs/faq/faq.xml:
2513         * docs/faq/general.xml:
2514         * docs/faq/getting.xml:
2515         * docs/faq/legal.xml:
2516         * docs/faq/troubleshooting.xml:
2517         * docs/faq/using.xml:
2518         Faq review and update.
2519
2520 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
2521
2522         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
2523         (gst_pad_push):
2524         Don't pound the cpu to pieces by checking get_caps when accept_caps
2525         is called with the same caps as the pad already has.
2526         Use GST_DEBUG_OBJECT when outputting caps change information.
2527
2528 2006-03-15  Wim Taymans  <wim@fluendo.com>
2529
2530         * gst/gstclock.c: (gst_clock_class_init):
2531         Fix docs.
2532
2533 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
2534
2535         * gst/gstbuffer.h:
2536         Documentation fix.
2537
2538         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
2539         (gst_pad_accept_caps), (gst_pad_configure_sink),
2540         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
2541         Make the default acceptcaps behaviour be to check the requested 
2542         caps against the gst_pad_get_caps output. 
2543
2544         Ensure that gst_pad_accept_caps is used to check caps when a pad
2545         doesn't have a setcaps function, so that pads automatically refuse 
2546         caps that they don't allow in their pad template. (Fixes #332986)
2547
2548         When a buffer with attached caps is pushed, ensure that the source 
2549         pad receives those caps even if the element didn't call
2550         gst_pad_set_caps first.
2551
2552 2006-03-15  Wim Taymans  <wim@fluendo.com>
2553
2554         * libs/gst/base/gstadapter.c:
2555         Add some docs.
2556
2557 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
2558
2559         * win32/common/libgstbase.def:
2560         * win32/common/libgstcontroller.def:
2561         * win32/common/libgstreamer.def:
2562           Add a whole bunch of missing functions (#334434).
2563
2564 2006-03-14  Wim Taymans  <wim@fluendo.com>
2565
2566         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2567         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
2568         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
2569         Better debug info when we receive a segment event.
2570         Reorganize a bit so we can pass the get_times() results around.
2571         Use the segment format when calculating the running time.
2572         Don't do QoS is sync is disabled or we have no clock or the
2573         element does not want us to sync to the clock.
2574         Don't drop buffers if QoS is disabled for now.
2575
2576 2006-03-14  Wim Taymans  <wim@fluendo.com>
2577
2578         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
2579         Marked the stats property as unimplemented so people don't get
2580         wild ideas.
2581         Add debug message when regression goes wrong.
2582         Added some more docs.
2583
2584 2006-03-14  Wim Taymans  <wim@fluendo.com>
2585
2586         * gst/gstsegment.c: (gst_segment_to_stream_time):
2587         Return correct return type in case of errors.
2588
2589 2006-03-14  Wim Taymans  <wim@fluendo.com>
2590
2591         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
2592           Don't segfault on invalid formats.
2593
2594 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
2595
2596         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2597           Can't use gst_segment_to_running_time() when the segment
2598           is not in GST_TIME_FORMAT (like with filesink, for example).
2599           Stops flac encoding pipelines from spewing critical warnings
2600           at EOS (#331248).
2601           
2602 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
2603
2604         * gst/gstpipeline.c: (gst_pipeline_class_init):
2605           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
2606
2607         * plugins/elements/gsttypefindelement.c:
2608         (gst_type_find_element_handle_event):
2609           Don't try to typefind empty streams.
2610
2611 2006-03-14  Wim Taymans  <wim@fluendo.com>
2612
2613         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
2614         (gst_base_sink_do_qos):
2615         Separate QoS calculation.
2616         Only drop buffers when lateness is bigger than the 
2617         duration of the buffer.
2618
2619 2006-03-13  Wim Taymans  <wim@fluendo.com>
2620
2621         * gst/gstpipeline.c: (gst_pipeline_set_property),
2622         (gst_pipeline_get_property), (do_pipeline_seek),
2623         (gst_pipeline_change_state), (gst_pipeline_set_delay),
2624         (gst_pipeline_get_delay):
2625         Don't deadlock when reading properties.
2626
2627 2006-03-13  Wim Taymans  <wim@fluendo.com>
2628
2629         * libs/gst/base/gstbasetransform.c:
2630         (gst_base_transform_class_init), (gst_base_transform_init),
2631         (gst_base_transform_sink_event),
2632         (gst_base_transform_sink_eventfunc),
2633         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
2634         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2635         (gst_base_transform_set_property),
2636         (gst_base_transform_get_property),
2637         (gst_base_transform_change_state), (gst_base_transform_update_qos),
2638         (gst_base_transform_set_qos_enabled),
2639         (gst_base_transform_is_qos_enabled):
2640         * libs/gst/base/gstbasetransform.h:
2641         Make basetransform virtual method for src events too.
2642         Handle QOS in basetransform.
2643         API: gst_base_transform_update_qos()
2644         API: gst_base_transform_set_qos_enabled()
2645         API: gst_base_transform_is_qos_enabled()
2646
2647 2006-03-13  Wim Taymans  <wim@fluendo.com>
2648
2649         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2650         (gst_base_sink_do_sync):
2651         Small cleanups.
2652         Use QOS debug category.
2653
2654 2006-03-13  Wim Taymans  <wim@fluendo.com>
2655
2656         * plugins/elements/gstqueue.c:
2657         Very small doc update.
2658
2659 2006-03-13  Wim Taymans  <wim@fluendo.com>
2660
2661         * gst/gst_private.h:
2662         * gst/gstinfo.c: (_gst_debug_init):
2663         Added QOS debug category
2664
2665 2006-03-13  Wim Taymans  <wim@fluendo.com>
2666
2667         * docs/gst/gstreamer-sections.txt:
2668         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
2669         * gst/gstbin.h:
2670         * gst/gstbus.c: (gst_bus_class_init):
2671         * gst/gstbus.h:
2672         * gst/gstclock.c:
2673         * gst/gstelement.c: (gst_element_set_locked_state):
2674         * gst/gstsegment.c:
2675         Documentation updates.
2676
2677         * gst/gstpipeline.c: (gst_pipeline_get_type),
2678         (gst_pipeline_class_init), (gst_pipeline_init),
2679         (gst_pipeline_dispose), (gst_pipeline_set_property),
2680         (gst_pipeline_get_property), (do_pipeline_seek),
2681         (gst_pipeline_send_event), (gst_pipeline_change_state),
2682         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
2683         (gst_pipeline_get_delay):
2684         * gst/gstpipeline.h:
2685         Added methods for setting the delay.
2686         API: gst_pipeline_set_delay()
2687         API: gst_pipeline_get_delay()
2688         Add pipeline debug category
2689         Various cleanups.
2690         Updated docs.
2691         Don't reset stream time when seek failed.
2692
2693 2006-03-13  Wim Taymans  <wim@fluendo.com>
2694
2695         * docs/design/draft-klass.txt:
2696         * docs/design/part-clocks.txt:
2697         * docs/design/part-events.txt:
2698         * docs/design/part-gstbin.txt:
2699         * docs/design/part-gstpipeline.txt:
2700         * docs/design/part-messages.txt:
2701         * docs/design/part-negotiation.txt:
2702         * docs/design/part-overview.txt:
2703         * docs/design/part-preroll.txt:
2704         * docs/design/part-seeking.txt:
2705         * docs/design/part-states.txt:
2706         * docs/design/part-streams.txt:
2707         Documentation updates.
2708
2709 2006-03-12  Julien MOUTTE  <julien@moutte.net>
2710
2711         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
2712         us to leak strings...
2713
2714 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2715
2716         * libs/gst/net/gstnettimeprovider.c:
2717           fix docs
2718         * win32/common/config.h:
2719           update
2720
2721 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
2722
2723         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
2724
2725         * configure.ac:
2726           Don't check for libgnomeui (leftover from old examples
2727           that aren't built or disted any longer) (#334303).
2728           
2729 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
2730
2731         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2732         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2733           Emit RESOURCE_NO_SPACE_LEFT error here as well when
2734           there's no space left on the device.
2735
2736 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
2737
2738         * gst/gstclock.h:
2739           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
2740           to cast the input to GstClockTime before comparing with
2741           another GstClockTime value.
2742
2743 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2744
2745         * configure.ac:
2746           back to trunk
2747
2748 === release 0.10.4 ===
2749
2750 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
2751
2752         * configure.ac:
2753           releasing 0.10.4, "Light"
2754
2755 2006-03-10  Michael Smith  <msmith@fluendo.com>
2756
2757         * libs/gst/dataprotocol/dataprotocol.c:
2758           Fix docs for dataprocotol to not get the return types completely
2759           wrong for a few functions.
2760
2761 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
2762
2763         * docs/gst/gstreamer-sections.txt:
2764         * gst/gstpipeline.c: (gst_pipeline_class_init),
2765         (gst_pipeline_init), (gst_pipeline_set_property),
2766         (gst_pipeline_get_property), (gst_pipeline_change_state),
2767         (gst_pipeline_set_auto_flush_bus),
2768         (gst_pipeline_get_auto_flush_bus):
2769         * gst/gstpipeline.h:
2770           Add new API: gst_pipeline_set_auto_flush_bus() and
2771           gst_pipeline_get_auto_flush_bus() to disable automatic
2772           flushing of the pipeline's GstBus when going from READY
2773           to NULL state (#332045).
2774
2775 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
2776
2777         * docs/gst/gstreamer-sections.txt:
2778         * gst/gsturi.c: (gst_uri_has_protocol):
2779         * gst/gsturi.h:
2780            Add new API: gst_uri_has_protocol() (#333779).
2781
2782 2006-03-09  Wim Taymans  <wim@fluendo.com>
2783
2784         * gst/gstclock.c: (gst_clock_entry_new),
2785         (gst_clock_id_compare_func), (gst_clock_id_wait),
2786         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
2787         (gst_clock_init), (gst_clock_get_internal_time),
2788         (gst_clock_set_master), (do_linear_regression),
2789         (gst_clock_add_observation), (gst_clock_set_property):
2790         * gst/gstclock.h:
2791         Review docs.
2792         Small cleanups.
2793         Fix a possible segfault when the window-size is made smaller.
2794         Calculate jitter before performing the clock wait. Ideally
2795         the clock implementation should calculate jitter but we need
2796         API breakage for that.
2797
2798         * gst/gstsystemclock.c: (gst_system_clock_init):
2799         Docs review.
2800         
2801         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2802         Remove leftover else
2803
2804         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2805         (gst_systemclock_suite):
2806         Added check to test GST_CLOCK_DIFF.
2807
2808 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
2809
2810         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
2811         (gst_type_find_helper_get_range):
2812           If we are provided with the size, we should implement
2813           GstTypeFind::get_length, so that typefind functions who
2814           want to can actually peek at the middle of a file.
2815
2816 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
2817
2818         * docs/manual/advanced-dataaccess.xml:
2819           Add some very very basic error checking.
2820
2821         * docs/pwg/appendix-checklist.xml:
2822           Some updates to the list of things to check when writing an element.
2823
2824 2006-03-08  Wim Taymans  <wim@fluendo.com>
2825
2826         * docs/design/part-element-transform.txt:
2827         Added some docs about the design of tranform elements.
2828
2829         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2830         (gst_base_src_loop), (gst_base_src_change_state):
2831         Mark buffers with the DISCONT flag.
2832
2833 2006-03-08  Michael Smith  <msmith@fluendo.com>
2834
2835         * gst/gstregistry.h:
2836         * gst/gstregistryxml.c: (gst_registry_save),
2837         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
2838         (gst_registry_xml_save_pad_template),
2839         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
2840         (gst_registry_xml_write_cache):
2841           Rewrite registry-saving to avoid race conditions and check for
2842           failed writes.
2843
2844 2006-03-08  Wim Taymans  <wim@fluendo.com>
2845
2846         * libs/gst/base/gstbasetransform.c:
2847         (gst_base_transform_transform_caps),
2848         (gst_base_transform_transform_size),
2849         (gst_base_transform_prepare_output_buffer),
2850         (gst_base_transform_get_unit_size),
2851         (gst_base_transform_buffer_alloc),
2852         (gst_base_transform_handle_buffer),
2853         (gst_base_transform_change_state):
2854         Cleanups, separate normal flow from errors, add sensible
2855         DEBUG lines.
2856         Don't try to renegotiate when allocating an output buffer.
2857         Also copy DISCONT buffer flag when copying a buffer.
2858         Reset the transform after we finish streaming, not during.
2859
2860 2006-03-08  Wim Taymans  <wim@fluendo.com>
2861
2862         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2863         Use last buffer timestamp in qos message.
2864
2865 2006-03-07  Wim Taymans  <wim@fluendo.com>
2866
2867         Patch by: Christophe Fergeau
2868
2869         * docs/pwg/advanced-tagging.xml:
2870         * docs/pwg/building-pads.xml:
2871           fixes #333416
2872
2873 2006-03-07  Wim Taymans  <wim@fluendo.com>
2874
2875         * docs/libs/gstreamer-libs-sections.txt:
2876         Added basesink new methods.
2877
2878         * gst/gstevent.c:
2879         * gst/gstevent.h:
2880         Docs updates. Flesh out the QoS docs.
2881
2882         * libs/gst/base/gstadapter.c:
2883         Small doc clarification about ownership and flushing.
2884
2885         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
2886         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2887         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
2888         (gst_base_sink_get_property), (gst_base_sink_do_sync):
2889         * libs/gst/base/gstbasesink.h:
2890         API additions: 
2891         Added new methods to allow subclass to control max-lateness 
2892         and sync.
2893         Generate very basic QoS events based on last sync observation.
2894         Updated docs, fix typo, added some QoS blurb.
2895
2896         * libs/gst/base/gstbasesrc.c:
2897         Remove obsolete _get_state() calls from docs.
2898
2899 2006-03-07  Wim Taymans  <wim@fluendo.com>
2900
2901         * docs/libs/gstreamer-libs-sections.txt:
2902         * libs/gst/base/gstbasetransform.h:
2903         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
2904         Fix docs for GstBaseSrc.
2905
2906 2006-03-07  Wim Taymans  <wim@fluendo.com>
2907
2908         * docs/gst/gstreamer-sections.txt:
2909         * gst/gstbuffer.h:
2910         * gst/gstvalue.c:
2911         * libs/gst/base/gstbasetransform.h:
2912         Small documentation fixes.
2913
2914 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
2915
2916         * gst/gstvalue.c:
2917           Document thread-unsafety of gst_value_register_foo_func()
2918           when used at the same time as gst_value_foo() (#322628).
2919
2920 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
2921
2922         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
2923         (gst_push_src_check_get_range):
2924           Push sources don't support pull mode by default.
2925
2926 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
2927
2928         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2929         (gst_base_src_init), (gst_base_src_pad_check_get_range),
2930         (gst_base_src_default_check_get_range):
2931         * libs/gst/base/gstbasesrc.h:
2932           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
2933           provide default implementation, and rename
2934           gst_base_src_check_get_range() to
2935           gst_base_src_pad_check_get_range() for clarity.
2936
2937 2006-03-06  Wim Taymans  <wim@fluendo.com>
2938
2939         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2940         Make property overridable.
2941
2942 2006-03-06  Wim Taymans  <wim@fluendo.com>
2943
2944         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2945         (gst_base_sink_init), (gst_base_sink_set_property),
2946         (gst_base_sink_get_property), (gst_base_sink_do_sync):
2947         * libs/gst/base/gstbasesink.h:
2948         API addition: Make max-lateness a property.
2949
2950 2006-03-06  Wim Taymans  <wim@fluendo.com>
2951
2952         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
2953         (gst_base_sink_do_sync), (gst_base_sink_render_object):
2954         Don't ever draw a frame that is >10ms late.
2955
2956 2006-03-06  Michael Smith  <msmith@fluendo.com>
2957
2958         * gst/gstmessage.c: (_gst_message_copy):
2959           When copying a message, set the parent_refcount of the enclosed
2960           structure to point at the copy, not the original message.
2961
2962 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
2963
2964         Patch by: Christophe Fergeau
2965
2966         * gst/gstutils.h:
2967           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
2968           usable in c++ code (#333417)
2969
2970 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2971
2972         * gst/gstclock.h:
2973           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
2974
2975 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
2976
2977         * libs/gst/base/gstbasetransform.c:
2978         (gst_base_transform_transform_caps):
2979           Make sure caps are writable before passing them to
2980           gst_caps_append().
2981
2982 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
2983
2984         * gst/gsterror.h:
2985           Fix some minor docs errors.
2986
2987 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
2988
2989           Patch by: Ross Burton <ross at burtonini dot com>
2990
2991         * gst/gsterror.c: (_gst_resource_errors_init):
2992         * gst/gsterror.h:
2993           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
2994
2995 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
2996
2997         * gst/gst.c:
2998         Add a check and output a g_warning when GStreamer is built
2999         against GLib 2.6 but running against 2.8 or higher, and vice 
3000         versa. (Closes: #323542)
3001
3002 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
3003
3004         * gst/parse/parse.l:
3005           Commit patch for parse_launch syntax from #331255. Removes 
3006           support for quoted strings and mimetypes when writing filtered 
3007           caps. See the bug report for more details - I'm pretty sure this
3008           obscure feature is not in use by _anyone_ anywhere.
3009
3010           With this simple change, the size of the gstreamer.so here 
3011           drops from 2193KB to 1565KB.
3012
3013 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3014
3015         * plugins/elements/gsttypefindelement.h:
3016         * plugins/elements/gsttypefindelement.c:
3017         (gst_type_find_element_src_event), (start_typefinding),
3018         (stop_typefinding), (gst_type_find_element_handle_event),
3019         (gst_type_find_element_chain),
3020         (gst_type_find_element_chain_do_typefinding):
3021           Use gst_type_find_helper_for_buffer() for chain-based
3022           typefinding.
3023
3024 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3025
3026         * plugins/elements/gsttypefindelement.c:
3027         (gst_type_find_element_class_init),
3028         (gst_type_find_element_set_property),
3029         (gst_type_find_element_get_property):
3030           Deprecate "maximum" property (not only was it only taken into
3031           account for typefinding in push-mode anyway, it also was never
3032           actually possible to set it in the first place because the
3033           property was registered with the numeric property ID for the
3034           "minimum" property). Register "maximum" property correctly,
3035           for the sake of future copy'n'pasters. Remove some cruft
3036           from property get/set functions.
3037
3038 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3039
3040         * plugins/elements/gsttypefindelement.c:
3041         (gst_type_find_element_activate):
3042           Use gst_type_find_helper_get_range() here, so we
3043           can honour the "minimum" property and also emit
3044           the signal with the correct probability of the found caps.
3045
3046 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
3047
3048         * docs/libs/gstreamer-libs-sections.txt:
3049         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3050         (helper_find_suggest), (gst_type_find_helper_get_range),
3051         (gst_type_find_helper):
3052         * libs/gst/base/gsttypefindhelper.h:
3053           New API: gst_type_find_helper_get_range() (#333042).
3054
3055 2006-03-02  Michael Smith  <msmith@fluendo.com>
3056
3057         * gst/gstregistryxml.c: (load_feature):
3058           Asserting on a failure to read part of the registry is Not Cool.
3059           Just log a warning and return NULL (which is already handled)
3060
3061 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
3062
3063         * win32/common/libgstbase.def:
3064           added export of gst_type_find_helper_for_buffer
3065         * win32/common/libgstbase.def:
3066           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
3067           gst_ghost_pad_get_target
3068
3069 2006-02-28  Wim Taymans  <wim@fluendo.com>
3070
3071         * docs/design/draft-klass.txt:
3072         We use Filter now.
3073         Added Connector to mark elements that are only used to
3074         allow pipeline connections.
3075         Moved Debug to extra feature since most of them are 
3076         functionally something else.
3077
3078 2006-02-28  Wim Taymans  <wim@fluendo.com>
3079
3080         * docs/design/draft-klass.txt:
3081         Some updates and clarifications.
3082
3083 2006-02-28  Wim Taymans  <wim@fluendo.com>
3084
3085         * docs/design/draft-klass.txt:
3086         Proposal for klass field values.
3087
3088         * docs/design/part-streams.txt:
3089         Start of a doc describing stream anatomy.
3090
3091 2006-02-28  Wim Taymans  <wim@fluendo.com>
3092
3093         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
3094         Help the compiler a bit with type registration.
3095         Use existing forward cod path instead of duplicating it when 
3096         handling a message.
3097         
3098         * gst/gstbus.c: (gst_bus_get_type):
3099         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
3100         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
3101         * gst/gstclock.c: (gst_clock_get_type):
3102         * gst/gstelement.c: (gst_element_get_type),
3103         * gst/gstelementfactory.c: (gst_element_factory_get_type):
3104         * gst/gstindexfactory.c: (gst_index_factory_get_type):
3105         * gst/gstminiobject.c: (gst_mini_object_get_type):
3106         * gst/gstpad.c: (gst_pad_get_type):
3107         * gst/gstsegment.c: (gst_segment_get_type):
3108         * gst/gststructure.c: (gst_structure_get_type):
3109         * gst/gstsystemclock.c: (gst_system_clock_get_type):
3110         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
3111         * gst/gstvalue.c:
3112         Help compiler with type registration.
3113
3114         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3115         Small doc update.
3116
3117 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3118
3119         * plugins/elements/gsttypefindelement.c:
3120         (gst_type_find_element_handle_event):
3121           When we get an EOS event and have not found a type yet
3122           (most likely because we had not yet accumulated
3123           TYPE_FIND_MIN_SIZE of data yet), try to determine the
3124           type given the data we have so far. Fixes typefinding
3125           for very short streams again, most notably quicktime
3126           redirections as used on Apple's trailer site (#331701).
3127
3128 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3129
3130         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
3131         (gst_type_find_helper):
3132           Try typefinding factories with the highest rank first.
3133
3134 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3135
3136         * docs/libs/gstreamer-libs-docs.sgml:
3137         * docs/libs/gstreamer-libs-sections.txt:
3138         * libs/gst/base/gsttypefindhelper.c:
3139           Add section for typefind helper and add documentation
3140           for the old and the new function.
3141
3142 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3143
3144         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
3145         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
3146         (gst_type_find_helper_for_buffer):
3147         * libs/gst/base/gsttypefindhelper.h:
3148           New API: gst_type_find_helper_for_buffer() (#332723).
3149           
3150 2006-02-27  Michael Smith  <msmith@fluendo.com>
3151
3152         Patch by: Loïc Minier
3153
3154         * configure.ac:
3155         * docs/Makefile.am:
3156         * docs/slides/Makefile.am:
3157           prevent CVS directories getting disted.
3158
3159 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3160
3161         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
3162           Use the REFCOUNTING category for caps refcounting.
3163           
3164 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
3165
3166         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
3167           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
3168
3169 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
3170
3171         * plugins/elements/gsttypefindelement.c:
3172         (gst_type_find_element_activate):
3173           Use gst_pad_check_pull_range() before _activate_pull()
3174           to avoid unnecessary open/close (see #331690).
3175
3176 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
3177
3178         * gst/gstutils.c:
3179           Docs enhancement: make it crystal clear what the
3180           gst_pad_add_*_probe() callbacks should look like.
3181
3182 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
3183
3184         * libs/gst/base/gstbasesrc.c:
3185           Document how applications can stop recording from
3186           live sources (see #330996).
3187
3188 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3189
3190         * tests/check/Makefile.am:
3191         * tests/check/libs/basesrc.c: (eos_event_counter),
3192         (basesrc_eos_events_pull), (basesrc_eos_events_push),
3193         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
3194         (gst_basesrc_suite), (main):
3195           ... and add some tests for the base source EOS stuff.
3196
3197 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3198
3199         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
3200           Test case originally showed the problem fixed below,
3201           but was then amended. Add checks back at the place
3202           where they used to be.
3203
3204 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3205
3206         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3207         (gst_base_src_init), (gst_base_src_loop),
3208         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3209         (gst_base_src_change_state):
3210         * libs/gst/base/gstbasesrc.h:
3211           Don't unconditionally send EOS when going from PAUSED to
3212           READY state, esp. make sure we don't send two EOS events
3213           in some cases (e.g. one when reaching EOS and one when
3214           going from PAUSED to READY). Also, we don't want to send
3215           EOS events when operating in pull mode. However, we do
3216           want to send an EOS event when shutting down a live
3217           source explicitly, for example (fixes #330996).
3218           
3219 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3220
3221         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3222           Update src->read_position after a seek when not using mmap.
3223           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
3224
3225 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
3226
3227         * gst/Makefile.am:
3228         * gst/gstparse.h:
3229         * gst/gstutils.c:
3230         * gst/gstutils.h:
3231         Make things work with --disable-parse as they do with 
3232         --disable-load-save - the symbols involved disappear, but the
3233         header is still installed and GST_DISABLE_PARSE is included via
3234         gstconfig.h
3235
3236 2006-02-20  Julien MOUTTE  <julien@moutte.net>
3237
3238         * libs/gst/base/gstbasetransform.c:
3239         (gst_base_transform_change_state): Fix a stupid bug. I was 
3240         sure I compiled that.
3241
3242 2006-02-20  Julien MOUTTE  <julien@moutte.net>
3243
3244         * gst/gstpad.c: (gst_pad_set_blocked_async):
3245         * gst/gstutils.c: (gst_pad_add_data_probe),
3246         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
3247         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
3248         (gst_pad_remove_buffer_probe): Make those function act on the
3249         ghostpad target when it's a ghostpad. (Closes #331727)
3250
3251 2006-02-20  Julien MOUTTE  <julien@moutte.net>
3252
3253         * libs/gst/base/gstbasetransform.c:
3254         (gst_base_transform_change_state): Make basetransform reusable.
3255         (Closes #331898)
3256
3257 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
3258
3259         * docs/random/release:
3260         Move the current documentation of how to do a release to the top
3261         of the file.
3262
3263         * gst/gstbin.c: (gst_bin_class_init),
3264         (gst_bin_handle_message_func):
3265         Allow multiple state-recalculation threads. (Closes #328873)
3266
3267 2006-02-19  Julien MOUTTE  <julien@moutte.net>
3268
3269         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
3270         * gst/gstpad.c: (gst_pad_set_event_function),
3271         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3272         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
3273         2 strings. You can't use the STR_NULL macro on that.
3274
3275 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
3276
3277         * gst/gstpad.c: (gst_pad_set_event_function),
3278         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3279         (gst_pad_set_getcaps_function)
3280         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
3281           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
3282           So now, we can use --gst-debug-level=5 on Windows
3283         * win32/common/libgstcontroller.def:
3284           Added export of gst_controller_init
3285         * win32/vs6/libgstcontroller.dsp:
3286           Fixed Release post build configuration
3287
3288 2006-02-17  Wim Taymans  <wim@fluendo.com>
3289
3290         * tests/check/gst/gstquery.c: (GST_START_TEST):
3291         Added another check.
3292
3293 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
3294
3295         * plugins/elements/gsttypefindelement.c: (find_peek):
3296           We can do peeks at non-zero offsets, as long as they
3297           fall within the buffer we have.
3298
3299 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
3300
3301         * tests/check/Makefile.am:
3302         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
3303         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
3304         (parse_suite), (main):
3305           Add testsuite for parse launch syntax
3306
3307 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
3308
3309         * plugins/elements/gsttypefindelement.c:
3310         (gst_type_find_element_chain):
3311           When typefinding is unsuccessful in the chain function, don't
3312           error out immediately. Only error out with NO_CAPS_FOUND if
3313           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
3314           otherwise simply wait for more data so we can try typefinding
3315           again with more data later. Also, don't attempt to typefind
3316           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
3317           this should improve typefinding from network sources where the
3318           size of the first buffer can be somewhat random.
3319
3320 2006-02-14  Wim Taymans  <wim@fluendo.com>
3321
3322         * docs/gst/gstreamer-sections.txt:
3323         * gst/gstpadtemplate.c:
3324         * gst/gstpadtemplate.h:
3325         Fix padtemplate docs, fixes #328805.
3326
3327 2006-02-14  Wim Taymans  <wim@fluendo.com>
3328
3329         * tools/gst-launch.c: (main):
3330         NO_PREROLL is not an ERROR so don't send confusing messages
3331         to the user.
3332
3333 2006-02-14  Wim Taymans  <wim@fluendo.com>
3334
3335         Patch by: Torsten Schoenfeld
3336
3337         * gst/gstregistry.c: (gst_registry_get_default),
3338         (_gst_registry_cleanup):
3339         Protect default registry with lock and ref/sink it.
3340         Fixes #324818
3341
3342 2006-02-14  Wim Taymans  <wim@fluendo.com>
3343
3344         * gst/gstbuffer.c:
3345         * gst/gstquery.c: (gst_query_list_add_format),
3346         (gst_query_set_formatsv), (gst_query_parse_formats_length),
3347         (gst_query_parse_formats_nth):
3348         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3349         Docs fixes.
3350
3351 2006-02-14  Wim Taymans  <wim@fluendo.com>
3352
3353         * docs/gst/gstreamer-sections.txt:
3354         Reworked query docs.
3355
3356         * gst/gstquery.c: (gst_query_new_formats),
3357         (gst_query_list_add_format), (gst_query_set_formats),
3358         (gst_query_set_formatsv), (gst_query_parse_formats_length),
3359         (gst_query_parse_formats_nth):
3360         * gst/gstquery.h:
3361         Flesh out formats query, added some new methods.
3362         Fix part of #324398.
3363
3364         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
3365         Added query creation tests.
3366
3367 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
3368
3369         * gst/gstpad.c: (fixate_value):
3370         Add a default fixation for fraction lists.
3371
3372 2006-02-13  Wim Taymans  <wim@fluendo.com>
3373
3374         * gst/gsttask.c: (gst_task_init), (gst_task_func),
3375         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
3376         (gst_task_join):
3377         * gst/gsttask.h:
3378         Detect and warn for obvious deadlocks. fixes #320340
3379         Fix error case where lock was not released.
3380
3381         * tests/check/Makefile.am:
3382         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
3383         (task_func), (gst_element_suite), (main):
3384         Add task check.
3385
3386 2006-02-13  Wim Taymans  <wim@fluendo.com>
3387
3388         * docs/gst/gstreamer-sections.txt:
3389         * gst/gstbus.c:
3390         Add new functions to docs.
3391
3392 2006-02-13  Wim Taymans  <wim@fluendo.com>
3393
3394         * docs/design/part-TODO.txt:
3395         Updated TODO list, basesrc supports seeking to non-bytes
3396         formats.
3397
3398         * docs/design/part-element-sink.txt:
3399         Update docs.
3400
3401         * gst/gstbin.c: (bin_replace_message),
3402         (gst_bin_handle_message_func):
3403         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
3404         * gst/gstevent.c: (gst_event_finalize):
3405         * gst/gstpad.c: (gst_pad_event_default_dispatch),
3406         (gst_pad_send_event):
3407         Use shiny new _TYPE_NAME macros.
3408
3409         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3410         Move debug statement up.
3411
3412         * gst/gstelement.c: (gst_element_set_locked_state):
3413         Add some debugging.
3414
3415 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
3416
3417         * docs/gst/gstreamer-sections.txt:
3418         * gst/gstmessage.h:
3419         * gst/gstquery.h:
3420           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
3421           macros (#330906). Also, document the already existing
3422           GST_QUERY_TYPE macro.
3423
3424 2006-02-13  Wim Taymans  <wim@fluendo.com>
3425
3426         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
3427         (event_probe), (GST_START_TEST):
3428         Only events up to the pipeline EOS are counted, there are
3429         some more when going to NULL currently which we don't care
3430         about for now.
3431
3432 2006-02-13  Wim Taymans  <wim@fluendo.com>
3433
3434         * gst/gstpad.c: (gst_pad_send_event):
3435         Correctly check flushing and emit probes. fixes #330125
3436
3437 2006-02-10  Andy Wingo  <wingo@pobox.com>
3438
3439         * gst/gstbus.c (gst_bus_class_init): Declare our private data
3440         structure.
3441         (gst_bus_init): Cache the location of the private data in the
3442         instance structure.
3443         (gst_bus_enable_sync_message_emission) 
3444         (gst_bus_disable_sync_message_emission): Implement new public
3445         functions.
3446         (gst_bus_post): Emit the sync-message signal if the user asked for
3447         it. Fixes #330684.
3448
3449         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
3450         location of the bus-private structure.
3451         (gst_bus_enable_sync_message_emission)
3452         (gst_bus_disable_sync_message_emission): API addition
3453
3454 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
3455
3456         Patch by: Vincent Torri
3457
3458         * docs/pwg/building-boiler.xml:
3459         PWG patch from #326800
3460
3461 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
3462
3463         * configure.ac:
3464         * docs/Makefile.am:
3465         * docs/design/Makefile.am:
3466           Dist design docs.
3467
3468 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
3469
3470         * configure.ac:
3471           back to CVS
3472
3473 === release 0.10.3 ===
3474
3475 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
3476
3477         * configure.ac:
3478           releasing 0.10.3, "Like a virgin"
3479
3480 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
3481
3482         * configure.ac:
3483           2nd prerelease of 0.10.3
3484           Bump libtool versioning.
3485
3486 2006-02-07  Andy Wingo  <wingo@pobox.com>
3487
3488         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
3489         update last_stop if we're in TIME format and the timestamp is
3490         valid.
3491
3492         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
3493         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
3494         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
3495         If we get a new newsegment with a different format, adapt
3496         accordingly.
3497
3498         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
3499         of 0. Not a problem, really.
3500
3501         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
3502         warn if sync=true.
3503
3504 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
3505
3506         * configure.ac:
3507           Prelease of 0.10.3
3508
3509 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
3510
3511         * win32/vs7:
3512           project files updated to the default vs7 configuration
3513         * win32/common/libgstbase.def:
3514         * win32/common/libgstreamer.def:
3515           added new symbols,
3516           removed empty lines,
3517           sorted all exported symbols alphabetically
3518         * win32/common/dirent.c:
3519         * win32/common/dirent.h:
3520         * win32/common/gchar.h:
3521           use windows line end.
3522           
3523 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
3524
3525         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3526           Send EOS event when stopping.
3527
3528 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
3529
3530         * docs/README:
3531           Tell folks what to do if the plugin-foobar.xml file
3532           hasn't been generated for a newly-added plugin.
3533
3534 2006-02-05  Julien MOUTTE  <julien@moutte.net>
3535
3536         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3537         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3538         (gst_collect_pads_start), (gst_collect_pads_stop),
3539         (gst_collect_pads_event): Collectpads now holds a reference
3540         to the GstPad that was added. Indeed we don't want to look
3541         at pads that might just go away with no warning...
3542
3543 2006-02-05  Julien MOUTTE  <julien@moutte.net>
3544
3545         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3546         (gst_collect_pads_start), (gst_collect_pads_stop),
3547         (gst_collect_pads_event), (gst_collect_pads_chain):
3548         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
3549         Mark Nauwelaerts's patch on bug #328491.
3550
3551 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
3552
3553         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
3554         (gst_utils_suite):
3555           Add some simple tests for gst_parse_bin_from_description() and
3556           gst_bin_find_unconnected_pad() (#329069).
3557
3558 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
3559
3560         * tools/gst-launch.c: (event_loop), (main):
3561           Catch errors during preroll (#320084).
3562
3563 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
3564
3565         * plugins/elements/gsttypefindelement.c:
3566         (gst_type_find_element_activate):
3567           Post TYPE_NOT_FOUND error message when typefinding
3568           is unsuccessful in the activate function as well.
3569
3570 2006-02-02  Wim Taymans  <wim@fluendo.com>
3571
3572         * docs/design/part-element-sink.txt:
3573         Updated doc.
3574
3575 2006-02-02  Wim Taymans  <wim@fluendo.com>
3576
3577         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
3578         (gst_base_sink_render_object),
3579         (gst_base_sink_queue_object_unlocked):
3580         Only keep track of prerollable items when we are 
3581         prerolling.
3582         Before rendering after preroll, always check if we
3583         have queued items.
3584         Added some more debugging.
3585
3586 2006-02-02  Wim Taymans  <wim@fluendo.com>
3587
3588         * gst/gstelement.c: (gst_element_continue_state),
3589         (gst_element_set_state_func), (gst_element_change_state):
3590         Fixed #326576, been running this for quite some time with
3591         no regressions at all.
3592
3593 2006-02-02  Wim Taymans  <wim@fluendo.com>
3594
3595         * common/gst.supp:
3596         Added more suppressions
3597
3598 2006-02-02  Wim Taymans  <wim@fluendo.com>
3599
3600         * docs/design/part-element-sink.txt:
3601         Updated document.
3602
3603         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3604         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
3605         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
3606         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
3607         (gst_base_sink_do_sync), (gst_base_sink_render_object),
3608         (gst_base_sink_preroll_object),
3609         (gst_base_sink_queue_object_unlocked),
3610         (gst_base_sink_queue_object), (gst_base_sink_event),
3611         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
3612         (gst_base_sink_loop), (gst_base_sink_activate_pull),
3613         (gst_base_sink_get_position), (gst_base_sink_change_state):
3614         * libs/gst/base/gstbasesink.h:
3615         Totally refactored matching the design doc.
3616         Use two segments, one to clip incomming buffers and another to
3617         perform sync.
3618         Handle queueing correctly, bypass the queue when playing.
3619         Make EOS cancelable.
3620         Handle errors correctly when operating in pull based mode.
3621
3622         * tests/check/elements/fakesink.c: (GST_START_TEST),
3623         (fakesink_suite):
3624         Added new check for sinks.
3625
3626 2006-02-02  Wim Taymans  <wim@fluendo.com>
3627
3628         * gst/gstsegment.c: (gst_segment_clip):
3629         No reason to refuse to clip when start == -1
3630
3631 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
3632
3633         * docs/README:
3634         * docs/manual/intro-basics.xml:
3635         * docs/manual/intro-preface.xml:
3636         * docs/manual/manual.xml:
3637         * docs/pwg/advanced-dparams.xml:
3638         * docs/pwg/intro-basics.xml:
3639         * docs/pwg/intro-preface.xml:
3640         * docs/pwg/pwg.xml:
3641           describe dparams (controller) for plugins
3642           unify docs a little more
3643
3644 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
3645
3646         * docs/gst/gstreamer-sections.txt:
3647         * gst/gstutils.c: (element_find_unconnected_pad),
3648         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
3649         * gst/gstutils.h:
3650           Add new API: gst_parse_bin_from_description() and
3651           gst_bin_find_unconnected_pad() (#329069).
3652
3653 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
3654
3655         * docs/manual/README:
3656           uncover a nasty detail of the docs build
3657
3658 2006-01-31  Wim Taymans  <wim@fluendo.com>
3659
3660         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
3661         Don't cache duration messages if we're not going to use or
3662         free them.
3663
3664 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
3665
3666         * docs/manual/advanced-dparams.xml:
3667         * docs/pwg/advanced-dparams.xml:
3668           more dparam docs
3669         * gst/gstindex.c:
3670           fix docs
3671         * libs/gst/controller/lib.c: (gst_controller_init):
3672           init just once
3673
3674 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
3675
3676         * gst/gstelement.c: (gst_element_message_full):
3677           also show file/line/func if no additional debug was given
3678
3679 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
3680         
3681         * win32/vs7/grammar.vcproj:
3682           activate copy of autogenerated files for Release mode
3683
3684 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
3685         
3686         * win32/common/libgstreamer.def:
3687           export gst_value_compare
3688
3689 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
3690
3691         * plugins/elements/Makefile.am:
3692         * plugins/elements/gstelements.c:
3693         * plugins/elements/gstfdsink.c: (_do_init),
3694         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
3695         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
3696         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
3697         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
3698         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
3699         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
3700         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
3701         * plugins/elements/gstfdsink.h:
3702         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
3703
3704 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
3705
3706         * docs/manual/advanced-dparams.xml:
3707           describe controller
3708         * docs/manual/advanced-position.xml:
3709         * docs/manual/basics-init.xml:
3710         * docs/manual/manual.xml:
3711         * docs/manual/titlepage.xml:
3712         * docs/pwg/pwg.xml:
3713         * docs/pwg/titlepage.xml:
3714           cleanup xml (more to come)
3715         * libs/gst/controller/gstcontroller.c:
3716           fix typo
3717
3718 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
3719         
3720         * win32/vs6/grammar.dsp:
3721           add autogen of gstmarshal.c,h for Release mode
3722                 
3723 2006-01-30  Wim Taymans  <wim@fluendo.com>
3724
3725         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3726         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
3727         (gst_base_sink_handle_object), (gst_base_sink_event),
3728         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
3729         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3730         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
3731         (gst_base_sink_deactivate), (gst_base_sink_activate),
3732         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
3733         (gst_base_sink_query), (gst_base_sink_change_state):
3734         Basesink cleanups, remove some old code.
3735         Handle the case where a subclass can preroll in the render
3736         method (mostly audiosinks).
3737         Handle more events.
3738         Remove some locks around variables that are now protected
3739         with the PREROLL_LOCK (clock_id, flushing, ..).
3740         Optimize position query some more, do correct locking.
3741         Remove old code to push queue in state change, this is not
3742         needed anymore since preroll blocks on all prerollable items 
3743         now.
3744         Almost implemented as described in design doc.
3745
3746 2006-01-30  Wim Taymans  <wim@fluendo.com>
3747
3748         * tests/check/gst/gstbin.c: (GST_START_TEST):
3749         Wait for refcount to settle down before checking.
3750
3751 2006-01-30  Wim Taymans  <wim@fluendo.com>
3752
3753         * docs/design/part-element-sink.txt:
3754         Pseudo code overview of desired sink behaviour regarding
3755         preroll.
3756
3757 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
3758         * win32/vs6/grammar.dsp:
3759           fix some bugs in Release mode for autogenerated files
3760                 
3761 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
3762         * win32/common/libgstbase.def:
3763         * win32/common/libgstreamer.def:
3764           export some new symbols: gst_base_src_set_format,
3765           gst_iterator_next, gst_structure_set_valist
3766
3767 2006-01-29  Julien MOUTTE  <julien@moutte.net>
3768
3769         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
3770         Set pad functions unconditionally. Fixes #329105.
3771
3772 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
3773         * win32/vs8:
3774           add vs8 project files created by Sergey Scobich
3775
3776 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
3777
3778         * gst/gstutils.c: (gst_element_unlink_pads):
3779         Don't leak pad references.
3780
3781         * tests/check/elements/fakesink.c: (GST_START_TEST):
3782         * tests/check/generic/sinks.c: (GST_START_TEST):
3783         * tests/check/generic/states.c: (GST_START_TEST):
3784         * tests/check/gst/gstbin.c: (GST_START_TEST):
3785         * tests/check/gst/gstcaps.c: (GST_START_TEST):
3786         * tests/check/gst/gstelement.c: (GST_START_TEST):
3787         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3788         * tests/check/gst/gstiterator.c: (GST_START_TEST):
3789         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3790         Fix a bunch of leaks. Make generic/sinks.c
3791         use a bit less cpu by slowing the buffer rate
3792         between fakesrc and fakesink.
3793         
3794 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
3795         * gst/gstcaps.c:
3796         * gst/gstelement.c: (gst_element_send_event):
3797         * gst/gstevent.c:
3798         * gst/gstinfo.c:
3799         * gst/gstiterator.c:
3800         * gst/gstiterator.h:
3801         * gst/gstpad.c: (gst_pad_send_event):
3802         * gst/gststructure.c:
3803         * gst/gsturi.c:
3804         * gst/gstutils.c:
3805         * gst/gstvalue.c:
3806         * libs/gst/base/gstadapter.c:
3807           doc fixes, to link to function, just write gst_cool_function(), don't
3808           prefix with '#'
3809
3810 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
3811
3812         * plugins/elements/gsttee.c: (gst_tee_do_push),
3813         (gst_tee_handle_buffer):
3814         Always prefer an actual return value from a src
3815         pad in place of NOT_LINKED. This means we return
3816         WRONG_STATE when all src pads are WRONG_STATE
3817         instead of NOT_LINKED.
3818
3819         Lock when replacing the last message to prevent
3820         racing with the get_property method.
3821
3822         Add debug output
3823
3824 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
3825
3826         * tests/check/Makefile.am:
3827         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
3828         (main):
3829         Add a very simple check that should have caught the memleak I fixed
3830         last night (if not for the slice allocator hiding it)
3831
3832 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
3833
3834         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3835         (gst_bin_remove_func), (gst_bin_handle_message_func),
3836         (bin_query_duration_fold), (bin_query_generic_fold):
3837         Clean up references to the clock provider when disposed or when
3838         handling a clock-lost message from it.
3839
3840         Unref sinks when performing a query via gst_iterator_fold, as the
3841         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
3842
3843         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
3844         (gst_clock_set_master):
3845         Drop our reference to the master clock, if any, when we are disposed.
3846
3847         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
3848         Chain up in dispose. 
3849
3850 2006-01-26  Wim Taymans  <wim@fluendo.com>
3851
3852         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3853         Add some debugging.
3854
3855 2006-01-26  Julien MOUTTE  <julien@moutte.net>
3856
3857         * plugins/elements/gsttee.c: (gst_tee_do_push),
3858         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
3859         handles pad being NOT_LINKED or in WRONG_STATE.
3860
3861 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
3862
3863         * win32/MANIFEST:
3864           more updating
3865
3866 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
3867
3868         * win32/MANIFEST:
3869           remove obsolete entry
3870
3871 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
3872
3873         * docs/gst/gstreamer-sections.txt:
3874         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
3875         (gst_bin_iterate_sources), (gst_bin_send_event):
3876         * gst/gstbin.h:
3877         * gst/gstelement.c: (gst_element_send_event):
3878         * gst/gstevent.c:
3879         * gst/gstpad.c: (gst_pad_send_event):
3880           added code for downstream events, reviewed docs in gstevent.c
3881
3882 2006-01-25  Julien MOUTTE  <julien@moutte.net>
3883
3884         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3885         We only query position using the clock in the playing state.
3886         Query peer in the other cases.
3887         * win32/common/config.h: Updates.
3888
3889 2006-01-24  Wim Taymans  <wim@fluendo.com>
3890
3891         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3892         A clock entry that is scheduled for the exact time of the
3893         clock is still in time.
3894
3895         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3896         (gst_base_sink_do_sync):
3897         Add some more debug info.
3898
3899 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
3900
3901         * win32/vs7:
3902           Add new vs7 project files and solution.
3903
3904 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
3905
3906         * win32/vs7:
3907           all files removed as they were out-dated.
3908
3909 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3910
3911         * docs/random/release:
3912           update notes
3913         * gst/gstbin.c: (gst_bin_init):
3914         * gst/gstbus.c: (gst_bus_new):
3915         * gst/gstbus.h:
3916         * gst/gstpipeline.c: (gst_pipeline_init):
3917           use gst_bus_new(), improve logging, fix docs
3918         * win32/common/config.h:
3919           update for cvs build
3920
3921 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3922
3923         * autogen.sh:
3924           up required version of automake to 1.7
3925
3926 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
3927
3928         * win32/common/libgstreamer.def:
3929           export gst_buffer_is_metadata_writable
3930
3931 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
3932
3933         * docs/gst/gstreamer-sections.txt:
3934         * gst/gstevent.h:
3935           Add gst_event_replace() (#327001)
3936
3937 2006-01-20  Wim Taymans  <wim@fluendo.com>
3938
3939         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
3940         Make it actually compile too..
3941
3942 2006-01-20  Wim Taymans  <wim@fluendo.com>
3943
3944         * gst/gstcaps.c:
3945         Clarify behaviour of _is_equal() when passing NULL parameters.
3946
3947         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3948         (gst_pad_set_caps):
3949         Cleanups. Don't unref NULL caps.
3950         When setting the same caps, protect caps of the pad with
3951         proper lock.
3952         Use full functionality of _is_equal() when comparing caps.
3953
3954 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
3955
3956         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3957         Don't loop infinitely if there are no buffers to present. Partially
3958         fixes #327197, but collectpads is just broken for reusing elements
3959         to do multiple encodes atm.
3960
3961 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
3962
3963         * tools/gst-inspect.c: (print_element_features):
3964         * tools/gst-xmlinspect.c: (main):
3965         URL_HANDLER is not a plugin feature we can search for in
3966         the registry.
3967
3968 2006-01-19  Edward Hervey  <edward@fluendo.com>
3969
3970         * gst/gstelement.c: (gst_element_pads_activate): 
3971         When activating, do src pads first, then sink pads.
3972         When de-activating, do sink pads first, then src pads.
3973
3974 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3975
3976         * docs/gst/gstreamer-sections.txt:
3977         Add gst_index_add_associationv to the docs
3978
3979 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3980
3981         * gst/gstevent.c:
3982           Fix docs typo
3983
3984         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
3985         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
3986           Do some refactoring. Doesn't actually change functionality,
3987           but makes landing the DRAIN event easier later.
3988
3989 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
3990
3991         * docs/pwg/advanced-scheduling.xml:
3992           Update from 0.9.x to 0.10 API and make example a bit
3993           clearer.
3994
3995 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3996
3997         * docs/gst/gstreamer-sections.txt:
3998         Add gst_buffer_(is|make)_metadata_writable methods.
3999
4000 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
4001
4002         * docs/design/part-sparsestreams.txt:
4003         Update sparse streams doc, hopefully for greater clarity
4004
4005 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
4006
4007         * docs/design/part-events.txt:
4008         Remove mention of FILLER events.
4009         Add DRAIN event.
4010
4011         * docs/design/part-sparsestreams.txt:
4012         Write some things about using NEWSEGMENT to keep sparse streams
4013         flowing.
4014
4015 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
4016
4017         * gst/gstbin.c: (gst_bin_dispose):
4018           Guard gst_object_unref call against a NULL object (dispose
4019           can theoretically be called multiple times).
4020           
4021 2006-01-18  Wim Taymans  <wim@fluendo.com>
4022
4023         * gst/gstbin.c: (gst_bin_element_set_state):
4024         * gst/gstclock.c: (gst_clock_id_wait):
4025         Added some more debug info.
4026
4027         * libs/gst/base/gstadapter.c:
4028         Added more docs.
4029
4030         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4031         (gst_base_sink_do_sync), (gst_base_sink_chain):
4032         Added some comments.
4033
4034 2006-01-18  Wim Taymans  <wim@fluendo.com>
4035
4036         * tests/check/Makefile.am:
4037         * tests/check/elements/fakesink.c: (chain_async_buffer),
4038         (chain_async), (chain_async_return), (GST_START_TEST),
4039         (fakesink_suite), (main):
4040         Added fakesink test that checks prerolling and clipping
4041         behaviour.
4042
4043         * tests/check/gst/gstutils.c: (GST_START_TEST):
4044         Make check run faster so that buildbots don't timeout.
4045
4046 2006-01-18  Wim Taymans  <wim@fluendo.com>
4047
4048         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4049         (gst_base_sink_do_sync):
4050         Some cleanups.
4051         When the sink finishes blocking on the preroll buffer, it can
4052         immediatly render it instead of rendering when the next buffer
4053         arrives.
4054
4055 2006-01-18  Wim Taymans  <wim@fluendo.com>
4056
4057         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
4058         (gst_base_sink_get_property), (gst_base_sink_do_sync),
4059         (gst_base_sink_chain):
4060         Small cleanups.
4061         GST_ELEMENT_CLOCK and sync are protected with LOCK.
4062         Don't store _last_stop if the buffer is dropped.
4063
4064 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
4065
4066         * plugins/elements/gsttypefindelement.c:
4067         (gst_type_find_element_class_init):
4068           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
4069           object method handler that sets the caps on the pad and we want
4070           that to happen before we emit the signal (fixes e.g. feeding a
4071           plain text file to decodebin).
4072
4073 2006-01-18  Christian Schaller  <Christian@fluendo.com>
4074
4075         * gst/gstplugin.c: Add MPL and Proprietary as license options
4076
4077 2006-01-18  Andy Wingo  <wingo@pobox.com>
4078
4079         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
4080         symbol was exported before, it appears this was just an oversight.
4081         Fixes #168703.
4082         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
4083
4084         * gst/gstindex.c (gst_index_add_associationv): Changed int in
4085         prototype to gint. OK since this prototype was not in the header.
4086
4087 2006-01-17  Andy Wingo  <wingo@pobox.com>
4088
4089         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
4090         registry while we remove plugins.
4091
4092         * tools/gst-inspect.c (print_element_info): Don't unref the
4093         factory arg, that should be the responsibility of whatever code
4094         received the ref. Fixes a double-free when called from
4095         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
4096         (main): Unref the factory if we have one.
4097         (print_element_list): No change -- relies on the
4098         plugin_feature_list_free to free the list of features.
4099
4100 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
4101
4102         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
4103         (gst_buffer_make_metadata_writable):
4104         * gst/gstbuffer.h:
4105         * libs/gst/base/gstbasetransform.c:
4106         (gst_base_transform_prepare_output_buf):
4107         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4108         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4109           Replace gst_buffer_(make|is)_metadata_writable patch now
4110           that the release is out.
4111
4112 2006-01-17  Andy Wingo  <wingo@pobox.com>
4113
4114         * gst/gstregistry.c: Reflow design comment. Update so as to speak
4115         in the present tense without reference to versions.
4116
4117         * gst/gstregistry.c (gst_registry_add_plugin)
4118         (gst_registry_remove_plugin, gst_registry_remove_feature)
4119         (gst_registry_find_feature, gst_registry_get_feature_list)
4120         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
4121         (gst_registry_lookup, gst_registry_scan_path)
4122         (_gst_registry_remove_cache_plugins)
4123         (gst_registry_get_feature_list_by_plugin): Add argument
4124         validation.
4125
4126 === release 0.10.2 ===
4127
4128 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
4129
4130         * configure.ac:
4131           releasing 0.10.2, "If man is five"
4132
4133 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
4134
4135         * gst/gstbuffer.c:
4136         * gst/gstbuffer.h:
4137         * libs/gst/base/gstbasetransform.c:
4138         (gst_base_transform_prepare_output_buf):
4139         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4140         * tests/check/gst/gstbuffer.c: (gst_test_suite):
4141           Back out patch until after the release.
4142
4143 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
4144
4145         * gst/gstminiobject.c:
4146           Spelling fix in docs.
4147         * ChangeLog - remove conflict indicator
4148
4149 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
4150
4151         Reviewed By: Andy Wingo
4152
4153         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
4154         (gst_buffer_make_metadata_writable):
4155         * gst/gstbuffer.h:
4156           Add gst_buffer_(is|make)_metadata_writable as analogues of
4157           gst_buffer_(is|make)_writable.
4158
4159         * libs/gst/base/gstbasetransform.c:
4160         (gst_base_transform_prepare_output_buf):
4161         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4162           Use name gst_buffer_(is|make)_metadata_writable functions.
4163
4164         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4165           Test gst_buffer_(is|make)_metadata_writable
4166         
4167           (Closes: #324162)
4168
4169 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4170
4171         * docs/manual/Makefile.am:
4172           don't do parallel make
4173         * configure.ac:
4174           AC_SUBST HOST_CPU
4175         * win32/common/config.h.in:
4176           add generations for HOST_CPU and GST_MAJORMINOR
4177         * win32/common/config.h:
4178           commit generated result
4179
4180 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
4181
4182         * docs/manual/appendix-integration.xml:
4183           Update GNOME integration section to use gst_init_get_option_group()
4184           instead of the old popt stuff (#322911). Also, GNOME applications
4185           should  now use gconf*sink and gconf*src instead of the old gconf
4186           helper lib we had.
4187
4188 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
4189
4190
4191         * docs/gst/gstreamer-docs.sgml:
4192         * docs/gst/gstreamer-sections.txt:
4193         * docs/libs/gstreamer-libs-sections.txt:
4194           add new API entries to the docs
4195         * libs/gst/controller/Makefile.am:
4196         * libs/gst/controller/gstcontroller.c:
4197         * libs/gst/controller/gstcontroller.h:
4198         * libs/gst/controller/gstcontrollerprivate.h:
4199         * libs/gst/controller/gsthelper.c:
4200         * libs/gst/controller/gstinterpolation.c:
4201           move private structs to private header
4202         * po/README:
4203           gstreamer-0.7 -> gstreamer-0.10
4204         * tests/check/libs/struct_i386.h:
4205           remove private structs
4206
4207 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4208
4209         * plugins/indexers/Makefile.am:
4210           Fixes as part of #317048
4211
4212 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4213
4214         * plugins/indexers/Makefile.am:
4215           fix #316086 - compilation when mmap is missing
4216
4217 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
4218
4219         * libs/gst/base/gstbasesink.c:
4220           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
4221           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
4222         * win32/common/config.h:
4223           added some defines GST_MAJORMINOR and HOST_CPU
4224         * win32/common/libgstbase.def:
4225         * win32/common/libgstreamer.def:
4226           added some exported functions.
4227
4228 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
4229
4230         * libs/gst/controller/gstcontroller.c:
4231         (gst_controlled_property_set_interpolation_mode),
4232         (gst_controlled_property_new):
4233         * libs/gst/controller/gstcontroller.h:
4234         * libs/gst/controller/gstinterpolation.c:
4235         (interpolate_none_get_string_value_array):
4236           make G_TYPE_STRING controlable
4237
4238 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
4239
4240         * tools/README:
4241         * tools/gst-feedback.1.in:
4242         * tools/gst-inspect.1.in:
4243         * tools/gst-launch.1.in:
4244         * tools/gst-md5sum.1.in:
4245         * tools/gst-typefind.1.in:
4246         * tools/gst-xmlinspect.1.in:
4247         * tools/gst-xmllaunch.1.in:
4248           cleanup man-pages, remove reference to gst-register, document env-vars
4249
4250 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
4251
4252         * gst/gstbuffer.c: (gst_buffer_span):
4253           gst_buffer_span should copy the timestamp of the first buffer
4254           if they were both originally overlapping subbuffers of the 
4255           same parent, using the same logic as the 'slow copy' case.
4256
4257 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
4258
4259         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
4260           Need to awaken ALL the pads when we pop a buffer, otherwise
4261           collectpads only works when there is 2 input streams.
4262
4263 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
4264
4265         * docs/random/ensonic/media-device-daemon.txt:
4266           more ideas (dbus)
4267         * gst/gstbuffer.c:
4268           fix doc example, add clarification
4269         * tools/gst-launch.1.in:
4270           add initial info about GST_PLUGIN_PATH, needs more work
4271
4272 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4273
4274         * docs/manual/basics-bins.xml:
4275         * docs/manual/basics-elements.xml:
4276         * docs/manual/intro-basics.xml:
4277           Some more minor docs additions and updates.
4278
4279 2006-01-11  Wim Taymans  <wim@fluendo.com>
4280
4281         * docs/manual/basics-bins.xml:
4282         * docs/manual/basics-elements.xml:
4283         Some small fixes as pointed out by Ser-ver on IRC.
4284
4285 2006-01-10  Edward Hervey  <edward@fluendo.com>
4286
4287         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4288         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
4289         the single-segment mode.
4290
4291 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
4292
4293         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4294
4295         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
4296         (gst_base_src_perform_seek), (gst_base_src_send_event),
4297         (gst_base_src_set_property), (gst_base_src_get_property),
4298         (gst_base_src_loop), (gst_base_src_start),
4299         (gst_base_src_activate_push):
4300         * libs/gst/base/gstbasesrc.h:
4301           Name (private) union; makes Sun's Forte compiler happy (#324900).
4302
4303 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4304
4305         * README:
4306           gst-register is gone.
4307
4308 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4309
4310         * gst/gstvalue.c: (_gst_value_initialize):
4311           make the G_TYPE_DATE instantiation work if debug is disabled
4312
4313 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
4314
4315         * gst/gstmessage.c: (gst_message_parse_tag),
4316         (gst_message_parse_error), (gst_message_parse_warning):
4317           Don't crash when return location for error/warning debug
4318           string is NULL; add fact that return locations can be
4319           NULL to docs where appropriate.
4320
4321 2006-01-05  Wim Taymans  <wim@fluendo.com>
4322
4323         * gst/gstplugin.c: (gst_plugin_load_file):
4324         Replace strdup by g_strdup.
4325
4326 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4327
4328         * docs/pwg/advanced-types.xml:
4329           fix doc borkage
4330
4331 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4332
4333         submitted by: Abel Cheung
4334
4335         * po/LINGUAS:
4336         * po/zh_TW.po:
4337           Added Chinese (traditional) translation
4338
4339 2006-01-04  Wim Taymans  <wim@fluendo.com>
4340
4341         * docs/manual/basics-pads.xml:
4342         * docs/plugins/Makefile.am:
4343         * docs/plugins/gstreamer-plugins-docs.sgml:
4344         * docs/plugins/gstreamer-plugins-sections.txt:
4345         * docs/pwg/advanced-clock.xml:
4346         * docs/pwg/advanced-scheduling.xml:
4347         * docs/pwg/advanced-types.xml:
4348         * plugins/elements/gstfdsink.c:
4349         * plugins/elements/gstfdsrc.c:
4350         * plugins/elements/gstfdsrc.h:
4351         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4352         * plugins/elements/gstidentity.h:
4353         * plugins/elements/gstqueue.h:
4354         * plugins/elements/gsttee.c:
4355         * plugins/elements/gsttee.h:
4356         * plugins/elements/gsttypefindelement.c:
4357         (gst_type_find_element_class_init):
4358         * plugins/elements/gsttypefindelement.h:
4359         Small updates to various docs.
4360         Added core plugins to docs.
4361
4362 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4363
4364         * common/gst.supp:
4365           add a suppression for liboil's uninitialized variable
4366
4367 2006-01-02  James Livingston  <jrl at ids dot org dot au>
4368
4369         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4370
4371         * gst/gstutils.h:
4372           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
4373           macro, so that gcc doesn't complain if the -Wmissing-prototypes
4374           compiler switch is being used (#325429).
4375
4376 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
4377
4378         * gst/gstbin.c: (gst_bin_query):
4379           Disable duration query caching in bins until it gets
4380           fixed (see #324807).
4381
4382 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
4383
4384         * tools/gst-inspect.c: (print_element_properties_info):
4385           Handle properties of POINTER and BOXED type.
4386
4387 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
4388
4389         * gst/gst.c: (init_post):
4390           Init tags stuff and some other things before loading
4391           any static plugins (there may be other static plugins
4392           than just the GStreamer ones, and they may want to
4393           register their own tags or formats or whatever, and
4394           preferably without segfaulting).
4395
4396         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4397           Print at least a warning in the debug logs if we drop a
4398           query just because we don't know how to adjust the value
4399           in the particular format.
4400
4401 2005-12-24  David Schleef  <ds@schleef.org>
4402
4403         * tools/gstreamer-completion:
4404           Replacement for gst-complete written in sh and sed.  Only
4405           completes names of features, but that's 90% of what I want
4406           it for.  Properties are not available in registry.xml.  (Maybe
4407           they should be...)
4408
4409 === release 0.10.1 ===
4410
4411 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
4412
4413         * configure.ac:
4414           releasing 0.10.1, "Nollaig chridheil"
4415
4416 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
4417
4418         * docs/faq/cvs.xml:
4419           Add missing quote, should be make ERROR_CFLAGS="".
4420
4421 2005-12-20  Wim Taymans  <wim@fluendo.com>
4422
4423         * docs/design/part-trickmodes.txt:
4424         More documentation on trickmodes.
4425
4426 2005-12-20  Edward Hervey  <edward@fluendo.com>
4427
4428         * gst/gstcaps.c: (gst_static_caps_get_type):
4429         * gst/gstcaps.h:
4430           API addition: GST_TYPE_STATIC_CAPS
4431         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
4432         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
4433         * gst/gstpadtemplate.h:
4434           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
4435         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
4436         bindings.
4437
4438 2005-12-18  Wim Taymans  <wim@fluendo.com>
4439
4440         * libs/gst/base/gstadapter.c:
4441         * libs/gst/base/gstadapter.h:
4442         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4443         (gst_base_sink_get_position):
4444         * libs/gst/base/gstbasesink.h:
4445         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4446         (gst_base_src_default_query), (gst_base_src_default_do_seek),
4447         (gst_base_src_do_seek), (gst_base_src_perform_seek),
4448         (gst_base_src_send_event), (gst_base_src_update_length),
4449         (gst_base_src_get_range), (gst_base_src_loop),
4450         (gst_base_src_start):
4451         * libs/gst/base/gstbasesrc.h:
4452         * libs/gst/base/gstbasetransform.h:
4453         * libs/gst/base/gstcollectpads.h:
4454         * libs/gst/base/gstpushsrc.c:
4455         * libs/gst/base/gstpushsrc.h:
4456         * libs/gst/dataprotocol/dataprotocol.c:
4457         * libs/gst/dataprotocol/dataprotocol.h:
4458         * libs/gst/net/gstnetclientclock.h:
4459         * libs/gst/net/gstnettimeprovider.h:
4460         Documentation updates.
4461
4462 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
4463
4464         * docs/manual/basics-helloworld.xml:
4465           Remove superfluous closing bracket in helloworld example.
4466
4467 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
4468
4469         * tools/gst-launch.1.in:
4470           Update gst-launch man page; add a section with useful
4471           environment variables. Fixes #323882.
4472
4473 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
4474
4475         * gst/gst.c:
4476         * gst/gst_private.h:
4477           change some char* into char[]
4478
4479 2005-12-16  Wim Taymans  <wim@fluendo.com>
4480
4481         * gst/gstregistryxml.c: (load_feature):
4482         Cleanups.
4483         Don't use g_object_unref on GstObjects so that we avoid
4484         leaks on unsafe glibs.
4485
4486 2005-12-16  Wim Taymans  <wim@fluendo.com>
4487
4488         * gst/gstbin.c: (gst_bin_recalc_state):
4489         Small doc updates.
4490
4491 2005-12-16  Wim Taymans  <wim@fluendo.com>
4492
4493         * common/check.mak:
4494         Added make forever target for check.
4495
4496 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4497
4498         * gst/gst.c: (init_post):
4499           make the registry cache file HOST_CPU-dependent
4500
4501 2005-12-16  Andy Wingo  <wingo@pobox.com>
4502
4503         * plugins/elements/gstbufferstore.c
4504         (gst_buffer_store_cleared_func): Pay attention to g_list_append
4505         return value.
4506
4507         * tests/check/gst/gstobject.c
4508         (test_fake_object_name_threaded_unique): Pay attention to
4509         g_list_sort return value.
4510
4511 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
4512
4513         * tools/gst-feedback-m.m:
4514           Update for 0.9/0.10 (fixes #323870).
4515
4516 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
4517
4518         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
4519           Fix lcopy for mini objects, the mini object needs to be ref'ed.
4520           
4521         * tests/check/gst/gstminiobject.c: (my_foo_init),
4522         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
4523         (test_value_collection), (gst_mini_object_suite):
4524           Add test to ensure refcounts end up as expected when passing
4525           GstMiniObjects through g_object_get() and g_object_set().
4526
4527 2005-12-14  Julien MOUTTE  <julien@moutte.net>
4528
4529         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4530         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
4531         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
4532         of collectpads. This version removes a lot of races without
4533         touching API/ABI. Yay !
4534
4535 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
4536
4537         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
4538           Don't allow activation of a srcpad in pull_range if it has no
4539           getrange function.
4540           Change some debug statements to be a little clearer
4541
4542         * plugins/elements/gsttypefindelement.c:
4543         (gst_type_find_handle_src_query):
4544           Check that we have a peer before executing queries thereupon.
4545
4546         * tests/examples/metadata/read-metadata.c: (message_loop):
4547           Use gst_bus_pop instead of gst_bus_poll when we just want it to
4548           immediately return us any available message with 0 timeout.
4549
4550 2005-12-12  Michael Smith  <msmith@fluendo.com>
4551
4552         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4553           Don't unref factories after calling them.
4554         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
4555         * plugins/elements/gsttypefindelement.c:
4556         (gst_type_find_element_chain):
4557           Free lists of factories after using them. Fixing typefinding memory
4558           leaks.
4559
4560 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4561
4562         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4563         (gst_plugin_feature_load):
4564           more meaningful debug output
4565         * configure.ac:
4566         * tests/Makefile.am:
4567         * tests/old/examples/Makefile.am:
4568           make make distcheck happy again
4569
4570 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
4571
4572         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4573           Catch the special case where we are operating chain-based,
4574           but the downstream peer pad has no chain function. Emit a
4575           custom error message in this case instead of letting the
4576           core generate one implying that this is some sort of core
4577           bug. It's not, it just means that whatever got plugged
4578           into the pipeline downstream when we announced the type
4579           can only operate pull-based, while our source can only
4580           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
4581           Error string has not been marked for translation yet, as
4582           it probably needs some more work first.
4583
4584         (gst_type_find_element_get_best_possibility):
4585           Add helper function to find the best of all available
4586           found possibilities that qualify given the min. threshold.
4587
4588         (gst_type_find_element_handle_event):
4589           Fix the case where we get an EOS while still in TYPEFIND
4590           mode (we want to chose the best of all possible types,
4591           not just the first type that happens to be in our unsorted
4592           list of possible types).
4593
4594         (gst_type_find_element_chain):
4595           Make sure we return GST_FLOW_ERROR when we errored out
4596           in stop_typefinding(); also, don't just find the best of
4597           all found type entries and then use the last examined
4598           type entry, but actually use the best entry.
4599
4600 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
4601
4602         * tests/examples/typefind/typefind.c: (type_found):
4603         * tests/examples/xml/runxml.c: (xml_loaded):
4604           More gcc4 fixes and a mem leak fix.
4605
4606 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4607
4608         * tests/examples/xml/createxml.c: (object_saved):
4609           gcc 4 fixes
4610
4611 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4612
4613         * tests/Makefile.am:
4614           enable the examples even more
4615
4616 2005-12-12  Andy Wingo  <wingo@pobox.com>
4617
4618         * libs/gst/net/gstnettimeprovider.c
4619         (gst_net_time_provider_class_init, gst_net_time_provider_init)
4620         (gst_net_time_provider_set_property)
4621         (gst_net_time_provider_get_property):
4622         API addition: Export "active" as a GObject property.
4623         (gst_net_time_provider_thread): Only respond to time queries if
4624         the time provider is active.
4625
4626         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
4627         NetTimeProvider, preserving binary compat.
4628
4629 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4630
4631         * tests/examples/controller/audio-example.c: (main):
4632         * tests/examples/launch/Makefile.am:
4633           convert comments again
4634
4635 2005-12-12  Wim Taymans  <wim@fluendo.com>
4636
4637         * libs/gst/base/gstpushsrc.c:
4638         Fix typo.
4639
4640 2005-12-12  Wim Taymans  <wim@fluendo.com>
4641
4642         * docs/libs/gstreamer-libs-sections.txt:
4643         Added new symbol to docs.
4644
4645         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4646         (gst_base_src_init), (gst_base_src_set_format),
4647         (gst_base_src_default_query), (gst_base_src_query),
4648         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
4649         (gst_base_src_perform_seek), (gst_base_src_send_event),
4650         (gst_base_src_default_event), (gst_base_src_event_handler),
4651         (gst_base_src_set_property), (gst_base_src_get_property),
4652         (gst_base_src_wait), (gst_base_src_do_sync),
4653         (gst_base_src_update_length), (gst_base_src_get_range),
4654         (gst_base_src_check_get_range), (gst_base_src_loop),
4655         (gst_base_src_default_negotiate), (gst_base_src_start),
4656         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4657         (gst_base_src_change_state):
4658         * libs/gst/base/gstbasesrc.h:
4659         Implement seeking to other formats than _BYTES.
4660         Implement more seeking methods correctly.
4661         Doc updates.
4662         Added query vmethod.
4663         Added do_seek vmethod to make life easier for subclasses
4664         when seeking.
4665         API addition: gst_base_src_set_format()
4666
4667 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4668
4669         * tests/examples/Makefile.am:
4670           added that too
4671
4672 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4673
4674         * configure.ac:
4675         * docs/random/ensonic/media-device-daemon.txt:
4676         * tests/examples/controller/.cvsignore:
4677         * tests/examples/controller/Makefile.am:
4678         * tests/examples/controller/audio-example.c: (main):
4679         * tests/examples/helloworld/.cvsignore:
4680         * tests/examples/helloworld/Makefile.am:
4681         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
4682         * tests/examples/launch/.cvsignore:
4683         * tests/examples/launch/Makefile.am:
4684         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
4685         * tests/examples/metadata/.cvsignore:
4686         * tests/examples/metadata/Makefile.am:
4687         * tests/examples/metadata/read-metadata.c: (message_loop),
4688         (make_pipeline), (print_tag), (main):
4689         * tests/examples/queue/.cvsignore:
4690         * tests/examples/queue/Makefile.am:
4691         * tests/examples/queue/queue.c: (event_loop), (main):
4692         * tests/examples/typefind/.cvsignore:
4693         * tests/examples/typefind/Makefile.am:
4694         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
4695         (main):
4696         * tests/examples/xml/.cvsignore:
4697         * tests/examples/xml/Makefile.am:
4698         * tests/examples/xml/createxml.c: (object_saved), (main):
4699         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
4700         * tests/old/examples/Makefile.am:
4701         * tests/old/examples/TODO:
4702         * tests/old/examples/controller/.cvsignore:
4703         * tests/old/examples/controller/Makefile.am:
4704         * tests/old/examples/controller/audio-example.c:
4705         * tests/old/examples/helloworld/.cvsignore:
4706         * tests/old/examples/helloworld/Makefile.am:
4707         * tests/old/examples/helloworld/helloworld.c:
4708         * tests/old/examples/launch/.cvsignore:
4709         * tests/old/examples/launch/Makefile.am:
4710         * tests/old/examples/launch/mp3parselaunch.c:
4711         * tests/old/examples/launch/mp3play:
4712         * tests/old/examples/manual/Makefile.am:
4713         * tests/old/examples/metadata/Makefile.am:
4714         * tests/old/examples/metadata/read-metadata.c:
4715         * tests/old/examples/queue/.cvsignore:
4716         * tests/old/examples/queue/Makefile.am:
4717         * tests/old/examples/queue/queue.c:
4718         * tests/old/examples/typefind/.cvsignore:
4719         * tests/old/examples/typefind/Makefile.am:
4720         * tests/old/examples/typefind/typefind.c:
4721         * tests/old/examples/xml/.cvsignore:
4722         * tests/old/examples/xml/Makefile.am:
4723         * tests/old/examples/xml/createxml.c:
4724         * tests/old/examples/xml/runxml.c:
4725           applied some simple fixing to some examples
4726           re-enabled the working examples
4727
4728 2005-12-12  Wim Taymans  <wim@fluendo.com>
4729
4730         * gst/gstsegment.c: (gst_segment_init),
4731         (gst_segment_set_last_stop), (gst_segment_set_seek),
4732         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
4733         (gst_segment_to_running_time):
4734         Added more documentation.
4735         Make sure the last_pos value is updated properly.
4736         Make sure to_stream_time and to_running_time don't
4737         operate on wrong values.
4738
4739         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4740         Update check.
4741
4742 2005-12-12  Michael Smith  <msmith@fluendo.com>
4743
4744         * plugins/elements/gsttypefindelement.c: (free_entry),
4745         (gst_type_find_element_chain):
4746           Now that we're not leaking factories, make sure we keep references
4747           to them while we need them.
4748
4749 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4750
4751         * tests/check/gst/struct_i386.h:
4752           ifdef out the XML structs
4753
4754 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4755
4756         * gst/gstvalue.c: (gst_value_transform_double_fraction):
4757           floor is not needed, F is always positive; this obviates the
4758           need for adding -lm when building without libxml
4759
4760 2005-12-12  Wim Taymans  <wim@fluendo.com>
4761
4762         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4763         Take current playback rate into account when reporting
4764         the position.
4765
4766 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4767
4768         * docs/manual/mime-world.fig:
4769           Let's try this again, this time with a file that is
4770           actually in XFig format.
4771
4772 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4773
4774         * docs/manual/mime-world.fig:
4775           Add audioconvert element to diagram so that it
4776           matches the text and the code (fixes #319526).
4777
4778 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4779
4780         * docs/pwg/building-chainfn.xml:
4781         * docs/pwg/building-pads.xml:
4782         * docs/pwg/building-state.xml:
4783         * docs/pwg/other-source.xml:
4784           Update state change stuff for 0.10 (fixes #322969).
4785
4786 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4787
4788         * docs/manual/advanced-dataaccess.xml:
4789         * docs/manual/appendix-checklist.xml:
4790         * docs/manual/appendix-programs.xml:
4791         * docs/manual/basics-pads.xml:
4792         * docs/manual/highlevel-components.xml:
4793         * docs/manual/manual.xml:
4794           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
4795           add converters in front of pipelines; remove curly
4796           brackets for threads stuff, they no longer exist; use
4797           GST_TYPE_FRACTION for framerates; update some pieces of
4798           code to 0.10, but there's plenty more to do.
4799
4800         * docs/manual/appendix-porting.xml:
4801           Expand on asynchroneous state changes; s/0.9/0.10/;
4802           mention disappearance of gst_init_get_popt_table()
4803           (fixes #322916).
4804
4805 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4806
4807         * docs/faq/using.xml:
4808           Spider no longer exists, and neither does gst-launch-ext.
4809           Update examples to use decodebin and playbin and put
4810           converters in front of sinks (fixes #323726).
4811
4812 2005-12-09  Michael Smith  <msmith@fluendo.com>
4813
4814         * plugins/elements/gsttypefindelement.c: (find_peek),
4815         (gst_type_find_element_chain):
4816           Fix leaking element factories in typefinding.
4817           Fix problem where we forgot about a probable type on non-seekable
4818           files, and thus later mis-typefound it.
4819
4820 2005-12-09  Michael Smith  <msmith@fluendo.com>
4821
4822         * common/m4/gst-makecontext.m4:
4823         * common/m4/gst-mcsc.m4:
4824         * configure.ac:
4825         * win32/common/config.h:
4826         * win32/common/config.h.in:
4827           Remove makecontext stuff; not used in 0.10 and causes problems on
4828           HPUX according to bug #322441
4829
4830 2005-12-07  Wim Taymans  <wim@fluendo.com>
4831
4832         * tests/check/Makefile.am:
4833         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
4834         (main):
4835         * tests/check/libs/struct_i386.h:
4836         Added ABI check for libs
4837
4838 2005-12-07  Wim Taymans  <wim@fluendo.com>
4839
4840         * tests/check/Makefile.am:
4841         And add the struct_i386.h to dist.
4842
4843 2005-12-07  Wim Taymans  <wim@fluendo.com>
4844
4845         * tests/check/Makefile.am:
4846         * tests/check/gst/.cvsignore:
4847         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
4848         (main):
4849         * tests/check/gst/struct_i386.h:
4850         Added check for ABI compatibility.
4851
4852 2005-12-07  Wim Taymans  <wim@fluendo.com>
4853
4854         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4855         (gst_fake_src_get_times), (gst_fake_src_create):
4856         Fix broken sync option, fixes #323259
4857
4858 2005-12-07  Wim Taymans  <wim@fluendo.com>
4859
4860         * gst/gstbuffer.c:
4861         Small docs update.
4862
4863         * gst/gstcaps.c: (gst_caps_is_equal):
4864         Don't assert on NULL <--> X. Fixes #323260
4865
4866         * gst/gstminiobject.c: (gst_mini_object_replace):
4867         If we're doing atomic operations, we might just as well use
4868         the proper way to get an atomic pointer.
4869
4870         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4871         Clean up debugging.
4872
4873 2005-12-07  Michael Smith  <msmith@fluendo.com>
4874
4875         * gst/parse/grammar.y:
4876           Remove handling of { } for threads.
4877
4878 2005-12-06  David Schleef  <ds@schleef.org>
4879
4880         * libs/gst/base/gstbasetransform.c: speling fix.
4881
4882 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4883
4884         * docs/libs/tmpl/gstdataprotocol.sgml:
4885         * docs/random/omega/testing/gstobject.c:
4886         * gst/gst.c:
4887         * gst/gstclock.c:
4888         * gst/gstelement.c:
4889         * gst/gstelementfactory.c:
4890         * gst/gsterror.c:
4891         * gst/gstevent.c:
4892         * gst/gstghostpad.c:
4893         * gst/gstinfo.c:
4894         * gst/gstpadtemplate.c:
4895         * gst/gstregistryxml.c:
4896         * gst/gsttaglist.c:
4897         * gst/gsttagsetter.c:
4898         * gst/gsttypefind.c:
4899         * gst/gstvalue.c:
4900         * libs/gst/base/gstbasesrc.c:
4901         * libs/gst/net/gstnetclientclock.c:
4902         * libs/gst/net/gstnettimeprovider.c:
4903         * plugins/elements/gstfakesrc.c:
4904         * plugins/elements/gstfdsrc.c:
4905         * plugins/elements/gstfilesrc.c:
4906         * plugins/elements/gstidentity.c:
4907         * plugins/elements/gstqueue.c:
4908         * plugins/elements/gsttypefindelement.c:
4909         * plugins/indexers/gstfileindex.c:
4910         * plugins/indexers/gstmemindex.c:
4911         * tests/check/gst/gsttag.c:
4912         * tests/old/examples/cutter/cutter.c:
4913         * tests/old/examples/mixer/mixer.c:
4914         * tests/old/examples/xml/runxml.c: (main):
4915         * tests/old/testsuite/caps/normalisation.c:
4916         * tests/old/testsuite/debug/global.c:
4917         * tests/old/testsuite/parse/parse1.c:
4918         * tools/gst-xmlinspect.c:
4919         * win32/common/dirent.c:
4920           expand tabs
4921
4922 === release 0.10.0 ===
4923
4924 2005-12-05   <thomas (at) apestaart (dot) org>
4925
4926         * configure.ac:
4927           releasing 0.10.0, "Maroilles"
4928
4929 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4930
4931         submitted by: Funda Wang <fundawang@linux.net.cn>
4932
4933         * po/LINGUAS:
4934         * po/zh_CN.po:
4935           added Chinese (Traditional) translation
4936
4937 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4938
4939         * docs/gst/gstreamer-sections.txt:
4940         * docs/libs/tmpl/gstdataprotocol.sgml:
4941         * docs/random/thomasvs/TODO:
4942         * gst/gstutils.c:
4943         * gst/gstutils.h:
4944           fix docs
4945
4946 2005-12-05  Andy Wingo  <wingo@pobox.com>
4947
4948         patch by: Wim Taymans <wim@fluendo.com>
4949
4950         * libs/gst/base/gstbasetransform.c
4951         (gst_base_transform_prepare_output_buf)
4952         (gst_base_transform_buffer_alloc):
4953         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
4954         alloc_buffer_and_set_caps.
4955
4956         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
4957         set_caps on the source pad.
4958         (gst_pad_alloc_buffer_and_set_caps): New function, does what
4959         alloc_buffer used to do. Fixes #322874.
4960
4961         * docs/gst/gstreamer-sections.txt: 
4962         * docs/design/part-negotiation.txt: 
4963         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
4964         changes.
4965
4966 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4967
4968         patch by: Sebastien Moutte
4969
4970         * win32/MANIFEST:
4971         * win32/common/config.h.in:
4972         * win32/vs6/libgstcontroller.dsp:
4973           win32 build fixes
4974
4975 2005-12-05  Wim Taymans  <wim@fluendo.com>
4976
4977         * gst/gstcaps.c: (gst_caps_is_equal):
4978         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4979         (gst_fake_src_create):
4980         Back out previous code changes, leave doc updates, file bugs 
4981         instead. 
4982
4983 2005-12-05  Wim Taymans  <wim@fluendo.com>
4984
4985         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4986         (gst_fake_src_get_times), (gst_fake_src_create):
4987         * plugins/elements/gstfakesrc.h:
4988         Fix broken sync code.
4989
4990 2005-12-05  Wim Taymans  <wim@fluendo.com>
4991
4992         * gst/gstcaps.c: (gst_caps_is_equal):
4993         Comparing NULL against !NULL yields different caps, not a
4994         failure.
4995
4996 2005-12-05  Wim Taymans  <wim@fluendo.com>
4997
4998         * gst/gstpipeline.c:
4999         Fix small typo in docs.
5000
5001 2005-12-05  Andy Wingo  <wingo@pobox.com>
5002
5003         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
5004
5005         * gst/gst.c (init_post): remove hard-coded 0.9 location for
5006         registries/plugins with a MAJORMINOR one.
5007         (plugin_desc): Rename library from gstcoreleements to
5008         staticelements. Fixes #323222.
5009
5010 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
5011
5012         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
5013           Change debug category to 'collectpads' from 'collect_pads'
5014           (fixes #323250).
5015
5016 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5017
5018         patch by: Sebastien Moutte
5019
5020         * libs/gst/controller/gstinterpolation.c:
5021           use convert function for uint64/double
5022         * win32/vs6/libgstcontroller.dsp:
5023           link to GLib
5024
5025 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5026
5027         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
5028         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
5029         * gst/gstutils.h:
5030         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5031           add tests that seem to show that the guint64/gdouble conversions
5032           are correct.
5033
5034 2005-12-02  Wim Taymans  <wim@fluendo.com>
5035
5036         * gst/gstregistry.c: (gst_registry_add_path):
5037         * gst/gstregistry.h:
5038         * gst/gstregistryxml.c:
5039         Fix docs again.
5040
5041 2005-12-02  Wim Taymans  <wim@fluendo.com>
5042
5043         * gst/gstutils.c: (gst_util_uint64_scale_int64),
5044         (gst_util_uint64_scale_int):
5045         Small cleanup.
5046
5047         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5048         Add debug log line.
5049
5050         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
5051         Add FIXME.
5052
5053 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5054
5055         * win32/MANIFEST:
5056         * win32/common/config.h:
5057         * win32/vs6/gstreamer.dsw:
5058         * win32/vs6/libgstcoreelements.dsp:
5059         * win32/vs6/libgstelements.dsp:
5060           renamed core elements plugin
5061
5062 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5063
5064         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
5065         (get_candidates):
5066           do piece-wise major/minor comparison so 0.9 < 0.10
5067           also allow .exe extensions for tools
5068
5069 2005-12-02  Michael Smith  <msmith@fluendo.com>
5070
5071         * gst/gst.c:
5072           Escape a % to make gtkdoc happier; bug 322958.
5073
5074 === release 0.9.7 ===
5075
5076 2005-12-01   <thomas (at) apestaart (dot) org>
5077
5078         * configure.ac:
5079           releasing 0.9.7, "My Dog Has No Nose"
5080
5081 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5082
5083         * common/gst-xmlinspect.py:
5084         * configure.ac:
5085         * docs/libs/tmpl/gstdataprotocol.sgml:
5086         * docs/random/release:
5087         * po/af.po:
5088         * po/az.po:
5089         * po/bg.po:
5090         * po/ca.po:
5091         * po/cs.po:
5092         * po/de.po:
5093         * po/en_GB.po:
5094         * po/fr.po:
5095         * po/it.po:
5096         * po/nb.po:
5097         * po/nl.po:
5098         * po/ru.po:
5099         * po/sq.po:
5100         * po/sr.po:
5101         * po/sv.po:
5102         * po/tr.po:
5103         * po/uk.po:
5104         * po/vi.po:
5105         * win32/common/config.h:
5106         * win32/common/config.h.in:
5107         * win32/vs6/gst_inspect.dsp:
5108         * win32/vs6/gst_launch.dsp:
5109         * win32/vs6/libgstbase.dsp:
5110         * win32/vs6/libgstelements.dsp:
5111         * win32/vs6/libgstreamer.dsp:
5112         * win32/vs7/GStreamer.vcproj:
5113         * win32/vs7/gst-inspect.vcproj:
5114         * win32/vs7/gst-launch.vcproj:
5115         * win32/vs7/libgstbase.vcproj:
5116           bump GST_MAJORMINOR to 0.10
5117           reset libtool version
5118
5119 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5120
5121         * po/LINGUAS:
5122         * po/bg.po:
5123           Added Bulgarian translation by (Alexander Shopov)
5124
5125 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5126
5127         * tests/check/gst/gstplugin.c:
5128           fix test
5129
5130 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5131
5132         * common/gst-xmlinspect.py:
5133         * common/gtk-doc-plugins.mak:
5134         * configure.ac:
5135         * docs/Makefile.am:
5136         * docs/gst/Makefile.am:
5137         * docs/gst/gstreamer-docs.sgml:
5138         * docs/gst/gstreamer-sections.txt:
5139         * docs/gst/gstreamer.types:
5140         * docs/gst/gstreamer.types.in:
5141         * docs/plugins/Makefile.am:
5142         * docs/plugins/gstreamer-plugins-docs.sgml:
5143         * docs/plugins/gstreamer-plugins-sections.txt:
5144         * docs/plugins/gstreamer-plugins.types:
5145         * docs/plugins/inspect.stamp:
5146         * docs/plugins/inspect/plugin-coreelements.xml:
5147         * docs/plugins/inspect/plugin-coreindexers.xml:
5148         * docs/plugins/scanobj-build.stamp:
5149         * gstreamer.spec.in:
5150         * plugins/elements/Makefile.am:
5151         * plugins/elements/gstelements.c:
5152         * plugins/elements/gstfakesink.c:
5153         * plugins/elements/gstfakesrc.c:
5154         * plugins/elements/gstfilesink.c:
5155         * plugins/elements/gstfilesrc.c:
5156         * plugins/elements/gstqueue.c:
5157         * plugins/indexers/Makefile.am:
5158         * plugins/indexers/gstindexers.c:
5159           document core plugins in a separate document just like all the
5160           others
5161           rename these plugins to something starting with core
5162
5163 2005-12-01  Andy Wingo  <wingo@pobox.com>
5164
5165         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
5166         padding here before, but it missed the commit.
5167
5168 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5169
5170         * libs/gst/controller/gstinterpolation.c:
5171           whitespace prices have crashed, we should feel free to use some now
5172           use gst_guint64_to_gdouble
5173
5174 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5175
5176         * libs/gst/controller/gstcontroller.c:
5177         * libs/gst/controller/gsthelper.c:
5178         * libs/gst/controller/gstinterpolation.c:
5179         * libs/gst/controller/lib.c:
5180           wrap config.h include
5181
5182 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5183
5184         * docs/gst/gstreamer-sections.txt:
5185           update docs
5186
5187 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5188
5189         * plugins/elements/gstelements.c:
5190         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
5191         (gst_fd_sink__class_init), (gst_fd_sink__init),
5192         (gst_fd_sink__chain), (gst_fd_sink__set_property),
5193         (gst_fd_sink__get_property):
5194         * plugins/elements/gstfdsink.h:
5195         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
5196         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
5197         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
5198         (gst_fd_src_unlock), (gst_fd_src_set_property),
5199         (gst_fd_src_get_property), (gst_fd_src_create),
5200         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
5201         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
5202         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
5203         (gst_fd_src_uri_handler_init):
5204         * plugins/elements/gstfdsrc.h:
5205         * plugins/elements/gstqueue.c: (gst_queue_get_type):
5206           more anal cleanup
5207
5208 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5209
5210         * docs/gst/Makefile.am:
5211         * docs/gst/gstreamer.types.in:
5212         * gst/Makefile.am:
5213           fix the docs build
5214
5215 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5216
5217         * configure.ac:
5218         * gst/Makefile.am:
5219         * gst/gst.c:
5220         * gst/gstplugin.h:
5221         * gst/gstregistry.h:
5222         * tests/benchmarks/complexity.c:
5223         * tests/benchmarks/mass-elements.c:
5224         * tests/check/Makefile.am:
5225         * tools/Makefile.am:
5226         * tools/gst-inspect.c:
5227         * tools/gst-xmlinspect.c:
5228           various fixes to make
5229           --disable-nls --disable-registry --disable-loadsave
5230           --disable-parse --disable-gst-debug
5231           work and get the core .so down to 360444 bytes after stripping
5232
5233 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5234
5235         * Makefile.am:
5236         * configure.ac:
5237           descend into tests
5238         * docs/random/thomasvs/TODO:
5239         * tests/Makefile.am:
5240         * tests/README:
5241           add a README
5242
5243 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5244
5245         * win32/GStreamer.vcproj:
5246         * win32/MANIFEST:
5247         * win32/Makefile:
5248         * win32/Makefile.inspect:
5249         * win32/Makefile.launch:
5250         * win32/Makefile.register:
5251         * win32/README.txt:
5252         * win32/gst-inspect.vcproj:
5253         * win32/gst-launch.vcproj:
5254         * win32/gst-register.vcproj:
5255         * win32/gstelements.vcproj:
5256         * win32/gstgetbits.def:
5257         * win32/gstgetbits.vcproj:
5258         * win32/gstreamer-dbg.def:
5259         * win32/gstreamer.def:
5260         * win32/libgstbase.def:
5261         * win32/libgstbase.vcproj:
5262         * win32/link_oldruntime.c:
5263         * win32/mman.c:
5264         * win32/mman.h:
5265         * win32/mman.inl:
5266         * win32/msvc71.sln:
5267           move even more stuff, win32/ is nice and clean now
5268
5269 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5270
5271         * libs/gst/control/.cvsignore:
5272         * win32/MANIFEST:
5273         * win32/config.h:
5274         * win32/dirent.c:
5275         * win32/dirent.h:
5276         * win32/gstbytestream.def:
5277         * win32/gstbytestream.vcproj:
5278         * win32/gstconfig.h:
5279         * win32/gstenumtypes.c:
5280         * win32/gstenumtypes.h:
5281         * win32/gstoptimalscheduler.vcproj:
5282         * win32/gstversion.h:
5283         * win32/gtchar.h:
5284         * win32/testsuite/bins.vcproj:
5285         * win32/testsuite/bytestream.vcproj:
5286         * win32/testsuite/caps.vcproj:
5287         * win32/testsuite/cleanup.vcproj:
5288         * win32/testsuite/clock.vcproj:
5289         * win32/testsuite/debug.vcproj:
5290         * win32/testsuite/dlopen.vcproj:
5291         * win32/testsuite/dynparams.vcproj:
5292         * win32/testsuite/elements.vcproj:
5293         * win32/testsuite/ghostpads.vcproj:
5294         * win32/testsuite/indexers.vcproj:
5295         * win32/testsuite/negotiation.vcproj:
5296         * win32/testsuite/parse.vcproj:
5297         * win32/testsuite/plugin.vcproj:
5298         * win32/testsuite/refcounting.vcproj:
5299         * win32/testsuite/schedulers.vcproj:
5300         * win32/testsuite/states.vcproj:
5301         * win32/testsuite/tags.vcproj:
5302         * win32/testsuite/threads.vcproj:
5303           remove old win32 stuff that isn't maintained and should be
5304           reorganized
5305
5306 2005-11-30  Andy Wingo  <wingo@pobox.com>
5307
5308         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
5309         loading the gst.interfaces python module bork.
5310
5311         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
5312         available since GLib 2.2. Fixes #318031.
5313
5314 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5315
5316         * Makefile.am:
5317         * check/.cvsignore:
5318         * check/Makefile.am:
5319         * check/elements/.cvsignore:
5320         * check/elements/fakesrc.c:
5321         * check/elements/fdsrc.c:
5322         * check/elements/identity.c:
5323         * check/generic/.cvsignore:
5324         * check/generic/states.c:
5325         * check/gst-libs/.cvsignore:
5326         * check/gst-libs/controller.c:
5327         * check/gst-libs/gdp.c:
5328         * check/gst/.cvsignore:
5329         * check/gst/capslist.h:
5330         * check/gst/gst.c:
5331         * check/gst/gstbin.c:
5332         * check/gst/gstbuffer.c:
5333         * check/gst/gstbus.c:
5334         * check/gst/gstcaps.c:
5335         * check/gst/gstelement.c:
5336         * check/gst/gstevent.c:
5337         * check/gst/gstghostpad.c:
5338         * check/gst/gstiterator.c:
5339         * check/gst/gstmessage.c:
5340         * check/gst/gstminiobject.c:
5341         * check/gst/gstobject.c:
5342         * check/gst/gstpad.c:
5343         * check/gst/gstpipeline.c:
5344         * check/gst/gstplugin.c:
5345         * check/gst/gstsegment.c:
5346         * check/gst/gststructure.c:
5347         * check/gst/gstsystemclock.c:
5348         * check/gst/gsttag.c:
5349         * check/gst/gstutils.c:
5350         * check/gst/gstvalue.c:
5351         * check/net/.cvsignore:
5352         * check/net/gstnetclientclock.c:
5353         * check/net/gstnettimeprovider.c:
5354         * check/pipelines/.cvsignore:
5355         * check/pipelines/cleanup.c:
5356         * check/pipelines/simple_launch_lines.c:
5357         * check/pipelines/stress.c:
5358         * check/states/.cvsignore:
5359         * check/states/sinks.c:
5360         * configure.ac:
5361         * examples/Makefile.am:
5362         * examples/appreader/.cvsignore:
5363         * examples/appreader/Makefile.am:
5364         * examples/appreader/appreader.c:
5365         * examples/controller/.cvsignore:
5366         * examples/controller/Makefile.am:
5367         * examples/controller/audio-example.c:
5368         * examples/cutter/.cvsignore:
5369         * examples/cutter/Makefile.am:
5370         * examples/cutter/cutter.c:
5371         * examples/cutter/cutter.h:
5372         * examples/events/Makefile.am:
5373         * examples/events/seek.c:
5374         * examples/helloworld/.cvsignore:
5375         * examples/helloworld/Makefile.am:
5376         * examples/helloworld/helloworld.c:
5377         * examples/helloworld2/.cvsignore:
5378         * examples/helloworld2/Makefile.am:
5379         * examples/helloworld2/helloworld2.c:
5380         * examples/launch/.cvsignore:
5381         * examples/launch/Makefile.am:
5382         * examples/launch/mp3parselaunch.c:
5383         * examples/launch/mp3play:
5384         * examples/manual/.cvsignore:
5385         * examples/manual/Makefile.am:
5386         * examples/manual/extract.pl:
5387         * examples/metadata/Makefile.am:
5388         * examples/metadata/read-metadata.c:
5389         * examples/mixer/.cvsignore:
5390         * examples/mixer/Makefile.am:
5391         * examples/mixer/mixer.c:
5392         * examples/mixer/mixer.h:
5393         * examples/pingpong/.cvsignore:
5394         * examples/pingpong/Makefile.am:
5395         * examples/pingpong/pingpong.c:
5396         * examples/plugins/.cvsignore:
5397         * examples/plugins/Makefile.am:
5398         * examples/plugins/example.c:
5399         * examples/plugins/example.h:
5400         * examples/pwg/.cvsignore:
5401         * examples/pwg/Makefile.am:
5402         * examples/pwg/extract.pl:
5403         * examples/queue/.cvsignore:
5404         * examples/queue/Makefile.am:
5405         * examples/queue/queue.c:
5406         * examples/queue2/.cvsignore:
5407         * examples/queue2/Makefile.am:
5408         * examples/queue2/queue2.c:
5409         * examples/queue3/.cvsignore:
5410         * examples/queue3/Makefile.am:
5411         * examples/queue3/queue3.c:
5412         * examples/queue4/.cvsignore:
5413         * examples/queue4/Makefile.am:
5414         * examples/queue4/queue4.c:
5415         * examples/retag/.cvsignore:
5416         * examples/retag/Makefile.am:
5417         * examples/retag/retag.c:
5418         * examples/retag/transcode.c:
5419         * examples/thread/.cvsignore:
5420         * examples/thread/Makefile.am:
5421         * examples/thread/thread.c:
5422         * examples/typefind/.cvsignore:
5423         * examples/typefind/Makefile.am:
5424         * examples/typefind/typefind.c:
5425         * examples/xml/.cvsignore:
5426         * examples/xml/Makefile.am:
5427         * examples/xml/createxml.c:
5428         * examples/xml/runxml.c:
5429         * tests/Makefile.am:
5430         * tests/check/Makefile.am:
5431         * testsuite/.cvsignore:
5432         * testsuite/Makefile.am:
5433         * testsuite/Rules:
5434         * testsuite/caps/.cvsignore:
5435         * testsuite/caps/Makefile.am:
5436         * testsuite/caps/app_fixate.c:
5437         * testsuite/caps/audioscale.c:
5438         * testsuite/caps/caps.c:
5439         * testsuite/caps/caps.h:
5440         * testsuite/caps/caps_strings:
5441         * testsuite/caps/compatibility.c:
5442         * testsuite/caps/deserialize.c:
5443         * testsuite/caps/enumcaps.c:
5444         * testsuite/caps/eratosthenes.c:
5445         * testsuite/caps/filtercaps.c:
5446         * testsuite/caps/fixed.c:
5447         * testsuite/caps/fraction-convert.c:
5448         * testsuite/caps/fraction-multiply-and-zero.c:
5449         * testsuite/caps/intersect2.c:
5450         * testsuite/caps/intersection.c:
5451         * testsuite/caps/normalisation.c:
5452         * testsuite/caps/random.c:
5453         * testsuite/caps/renegotiate.c:
5454         * testsuite/caps/sets.c:
5455         * testsuite/caps/simplify.c:
5456         * testsuite/caps/string-conversions.c:
5457         * testsuite/caps/structure.c:
5458         * testsuite/caps/subtract.c:
5459         * testsuite/caps/union.c:
5460         * testsuite/debug/.cvsignore:
5461         * testsuite/debug/Makefile.am:
5462         * testsuite/debug/category.c:
5463         * testsuite/debug/commandline.c:
5464         * testsuite/debug/global.c:
5465         * testsuite/debug/output.c:
5466         * testsuite/debug/printf_extension.c:
5467         * testsuite/dlopen/.cvsignore:
5468         * testsuite/dlopen/Makefile.am:
5469         * testsuite/dlopen/dlopen_gst.c:
5470         * testsuite/dlopen/loadgst.c:
5471         * testsuite/elements/.cvsignore:
5472         * testsuite/elements/Makefile.am:
5473         * testsuite/elements/gst-inspect-check.in:
5474         * testsuite/elements/struct_i386.h:
5475         * testsuite/elements/struct_size.c:
5476         * testsuite/indexers/.cvsignore:
5477         * testsuite/indexers/Makefile.am:
5478         * testsuite/indexers/cache1.c:
5479         * testsuite/indexers/indexdump.c:
5480         * testsuite/parse/.cvsignore:
5481         * testsuite/parse/Makefile.am:
5482         * testsuite/parse/parse1.c:
5483         * testsuite/parse/parse2.c:
5484         * testsuite/plugin/.cvsignore:
5485         * testsuite/plugin/Makefile.am:
5486         * testsuite/plugin/README:
5487         * testsuite/plugin/dynamic.c:
5488         * testsuite/plugin/linked.c:
5489         * testsuite/plugin/loading.c:
5490         * testsuite/plugin/registry.c:
5491         * testsuite/plugin/static.c:
5492         * testsuite/plugin/static2.c:
5493         * testsuite/plugin/testplugin.c:
5494         * testsuite/plugin/testplugin2.c:
5495         * testsuite/plugin/testplugin2_s.c:
5496         * testsuite/plugin/testplugin_s.c:
5497         * testsuite/refcounting/.cvsignore:
5498         * testsuite/refcounting/Makefile.am:
5499         * testsuite/refcounting/bin.c:
5500         * testsuite/refcounting/element.c:
5501         * testsuite/refcounting/element_pad.c:
5502         * testsuite/refcounting/mainloop.c:
5503         * testsuite/refcounting/mem.c:
5504         * testsuite/refcounting/mem.h:
5505         * testsuite/refcounting/object.c:
5506         * testsuite/refcounting/pad.c:
5507         * testsuite/refcounting/sched.c:
5508         * testsuite/refcounting/thread.c:
5509         * testsuite/states/.cvsignore:
5510         * testsuite/states/Makefile.am:
5511         * testsuite/states/bin.c:
5512         * testsuite/states/locked.c:
5513         * testsuite/states/parent.c:
5514         * testsuite/threads/.cvsignore:
5515         * testsuite/threads/159566.c:
5516         * testsuite/threads/159852.c:
5517         * testsuite/threads/Makefile.am:
5518         * testsuite/threads/queue.c:
5519         * testsuite/threads/signals.c:
5520         * testsuite/threads/staticrec.c:
5521         * testsuite/threads/thread.c:
5522         * testsuite/threads/threadb.c:
5523         * testsuite/threads/threadc.c:
5524         * testsuite/threads/threadd.c:
5525         * testsuite/threads/threade.c:
5526         * testsuite/threads/threadf.c:
5527         * testsuite/threads/threadg.c:
5528         * testsuite/threads/threadh.c:
5529         * testsuite/threads/threadi.c:
5530           move all of these under tests
5531
5532 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5533
5534         * configure.ac:
5535         * tests/Makefile.am:
5536           fix distcheck
5537
5538 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5539
5540         * docs/gst/gstreamer-sections.txt:
5541         * tests/sched/.cvsignore:
5542         * tests/sched/Makefile.am:
5543         * tests/sched/cases/(fs-fs).xml:
5544         * tests/sched/cases/(fs-i-fs).xml:
5545         * tests/sched/cases/(fs-i-i-fs).xml:
5546         * tests/sched/cases/(fs-i-q[i-fs]).xml:
5547         * tests/sched/dynamic-pipeline.c:
5548         * tests/sched/interrupt1.c:
5549         * tests/sched/interrupt2.c:
5550         * tests/sched/interrupt3.c:
5551         * tests/sched/runtestcases:
5552         * tests/sched/runxml.c:
5553         * tests/sched/sched-stress.c:
5554         * tests/sched/sort.c:
5555         * tests/sched/testcases:
5556         * tests/sched/testcases1.tc:
5557         * tests/seeking/.cvsignore:
5558         * tests/seeking/Makefile.am:
5559         * tests/seeking/seeking1.c:
5560         * tests/threadstate/.cvsignore:
5561         * tests/threadstate/Makefile.am:
5562         * tests/threadstate/test1.c:
5563         * tests/threadstate/test2.c:
5564         * tests/threadstate/threadstate1.c:
5565         * tests/threadstate/threadstate2.c:
5566         * tests/threadstate/threadstate3.c:
5567         * tests/threadstate/threadstate4.c:
5568         * tests/threadstate/threadstate5.c:
5569           remove obsolete tests
5570         * configure.ac:
5571         * tests/bench-complexity.scm:
5572         * tests/bench-mass_elements.scm:
5573         * tests/complexity.c:
5574         * tests/complexity.gnuplot:
5575         * tests/instantiate/.cvsignore:
5576         * tests/instantiate/Makefile.am:
5577         * tests/instantiate/caps.c:
5578         * tests/mass_elements.c:
5579         * tests/network-clock-utils.scm:
5580         * tests/network-clock.scm:
5581         * tests/plot-data:
5582         First pass at cleaning up tests/ dir before moving the rest
5583         Combined with CVS surgery
5584
5585 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5586
5587         * po/POTFILES.in:
5588           queue has moved, update
5589
5590 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5591
5592         * docs/gst/gstreamer-sections.txt:
5593           remove double entries from the docs
5594         * gst/gst_private.h:
5595         * gst/gstinfo.c: (_gst_debug_init):
5596           remove the THREAD debug category
5597         * gst/Makefile.am:
5598         * gst/gstqueue.c:
5599         * gst/gstqueue.h:
5600         * docs/gst/gstreamer.types:
5601         * plugins/elements/gstqueue.c: (gst_queue_get_type),
5602         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
5603           completely move queue and fix up debugging categories
5604
5605 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5606
5607         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5608           make initialization portable, using LL is not
5609
5610 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5611
5612         * win32/common/gstconfig.h:
5613           add large padding
5614
5615 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5616
5617         * win32/common/libgstreamer.def:
5618           rename symbols; sort base section
5619
5620 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5621
5622         * gst/gstclock.c: (do_linear_regression):
5623           remove crack non-portable handrolled DEBUG macro
5624
5625 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5626
5627         * docs/random/release:
5628           update notes
5629         * win32/common/gstenumtypes.c: (register_gst_object_flags),
5630         (gst_object_flags_get_type), (register_gst_bin_flags),
5631         (gst_bin_flags_get_type), (register_gst_buffer_flag),
5632         (gst_buffer_flag_get_type), (register_gst_bus_flags),
5633         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
5634         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
5635         (gst_caps_flags_get_type), (register_gst_clock_return),
5636         (gst_clock_return_get_type), (register_gst_clock_entry_type),
5637         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
5638         (gst_clock_flags_get_type), (register_gst_state),
5639         (gst_state_get_type), (register_gst_state_change_return),
5640         (gst_state_change_return_get_type), (register_gst_state_change),
5641         (gst_state_change_get_type), (register_gst_element_flags),
5642         (gst_element_flags_get_type), (register_gst_core_error),
5643         (gst_core_error_get_type), (register_gst_library_error),
5644         (gst_library_error_get_type), (register_gst_resource_error),
5645         (gst_resource_error_get_type), (register_gst_stream_error),
5646         (gst_stream_error_get_type), (register_gst_event_type_flags),
5647         (gst_event_type_flags_get_type), (register_gst_event_type),
5648         (gst_event_type_get_type), (register_gst_seek_type),
5649         (gst_seek_type_get_type), (register_gst_seek_flags),
5650         (gst_seek_flags_get_type), (register_gst_format),
5651         (gst_format_get_type), (register_gst_index_certainty),
5652         (gst_index_certainty_get_type), (register_gst_index_entry_type),
5653         (gst_index_entry_type_get_type),
5654         (register_gst_index_lookup_method),
5655         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
5656         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
5657         (gst_index_resolver_method_get_type), (register_gst_index_flags),
5658         (gst_index_flags_get_type), (register_gst_debug_level),
5659         (gst_debug_level_get_type), (register_gst_debug_color_flags),
5660         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
5661         (gst_iterator_result_get_type), (register_gst_iterator_item),
5662         (gst_iterator_item_get_type), (register_gst_message_type),
5663         (gst_message_type_get_type), (register_gst_mini_object_flags),
5664         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
5665         (gst_pad_link_return_get_type), (register_gst_flow_return),
5666         (gst_flow_return_get_type), (register_gst_activate_mode),
5667         (gst_activate_mode_get_type), (register_gst_pad_direction),
5668         (gst_pad_direction_get_type), (register_gst_pad_flags),
5669         (gst_pad_flags_get_type), (register_gst_pad_presence),
5670         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
5671         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
5672         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
5673         (gst_plugin_error_get_type), (register_gst_plugin_flags),
5674         (gst_plugin_flags_get_type), (register_gst_rank),
5675         (gst_rank_get_type), (register_gst_query_type),
5676         (gst_query_type_get_type), (register_gst_tag_merge_mode),
5677         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
5678         (gst_tag_flag_get_type), (register_gst_task_state),
5679         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
5680         (gst_alloc_trace_flags_get_type),
5681         (register_gst_type_find_probability),
5682         (gst_type_find_probability_get_type), (register_gst_uri_type),
5683         (gst_uri_type_get_type), (register_gst_parse_error),
5684         (gst_parse_error_get_type):
5685         * win32/common/gstenumtypes.h:
5686         * win32/common/gstversion.h:
5687           update visual studio generated files
5688
5689 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5690
5691         * win32/vs6/libgstbase.dsp:
5692         * win32/vs6/libgstelements.dsp:
5693           update project files for new locations
5694
5695 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5696
5697         * Makefile.am:
5698           remove some files
5699         * README:
5700           reinstate and update
5701         * DEVEL:
5702         * REQUIREMENTS:
5703           removed
5704         * LICENSE:
5705         * docs/random/LICENSE:
5706           moved to random
5707
5708 2005-11-30  Edward Hervey  <edward@fluendo.com>
5709
5710         * gst/gsttypefind.c: (gst_type_find_register):
5711         * gst/gsttypefind.h:
5712         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
5713         (gst_type_find_factory_dispose):
5714         * gst/gsttypefindfactory.h:
5715         Fix memory leak in GstTypeFindFactory.
5716
5717 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5718
5719         * gst/gst.c:
5720         * plugins/elements/Makefile.am:
5721         * plugins/elements/gstelements.c:
5722         * plugins/elements/gstqueue.c:
5723           move queue from core to the elements plugin
5724
5725 2005-11-29  Andy Wingo  <wingo@pobox.com>
5726
5727         * libs/gst/base/gstbasetransform.h: 
5728         * libs/gst/base/gstbasesrc.h: 
5729         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
5730
5731         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
5732         of pointers by which to pad very extensible base classes (like the
5733         ones in libs/gst/base).
5734
5735 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5736
5737         * docs/gst/gstreamer-docs.sgml:
5738         * docs/gst/gstreamer-sections.txt:
5739         * docs/libs/gstreamer-libs-docs.sgml:
5740         * docs/libs/gstreamer-libs-sections.txt:
5741           moving documentation from core to lib
5742
5743 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5744
5745         * check/Makefile.am:
5746         * configure.ac:
5747         * docs/gst/Makefile.am:
5748         * gst/Makefile.am:
5749         * gst/base/.cvsignore:
5750         * gst/base/Makefile.am:
5751         * gst/base/README:
5752         * gst/base/gstadapter.c:
5753         * gst/base/gstadapter.h:
5754         * gst/base/gstbasesink.c:
5755         * gst/base/gstbasesink.h:
5756         * gst/base/gstbasesrc.c:
5757         * gst/base/gstbasesrc.h:
5758         * gst/base/gstbasetransform.c:
5759         * gst/base/gstbasetransform.h:
5760         * gst/base/gstcollectpads.c:
5761         * gst/base/gstcollectpads.h:
5762         * gst/base/gstpushsrc.c:
5763         * gst/base/gstpushsrc.h:
5764         * gst/base/gsttypefindhelper.c:
5765         * gst/base/gsttypefindhelper.h:
5766         * gst/check/Makefile.am:
5767         * gst/check/gstcheck.c:
5768         * gst/check/gstcheck.h:
5769         * gst/net/Makefile.am:
5770         * gst/net/gstnet.h:
5771         * gst/net/gstnetclientclock.c:
5772         * gst/net/gstnetclientclock.h:
5773         * gst/net/gstnettimepacket.c:
5774         * gst/net/gstnettimepacket.h:
5775         * gst/net/gstnettimeprovider.c:
5776         * gst/net/gstnettimeprovider.h:
5777         * libs/gst/Makefile.am:
5778         * libs/gst/base/Makefile.am:
5779         * libs/gst/base/gstbasetransform.c:
5780         * libs/gst/check/Makefile.am:
5781         * plugins/elements/Makefile.am:
5782         * po/POTFILES.in:
5783           CVS surgery + support to move base, check, and net out of gst
5784           and into libs/gst
5785
5786 2005-11-29  Andy Wingo  <wingo@pobox.com>
5787
5788         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
5789
5790         * gst/gststructure.h (struct _GstStructure): Only one pointer of
5791         padding.
5792
5793         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
5794
5795         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
5796
5797         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
5798
5799         * gst/gstobject.h: (struct _GstObject): Only one pointer of
5800         padding; reduces object size by about 30%. We don't expect
5801         anything else to go into gstobject.
5802
5803         * gst/gstminiobject.h (struct _GstMiniObject)
5804         (struct _GstMiniObjectClass): Only one pointer of padding; the
5805         payload is only a pointer and two ints anyway. For the class there
5806         are only two methods as well.
5807         
5808         * gst/gstelement.h (struct _GstElementClass): Removed
5809         the state_changed signal callback, it is not used.
5810
5811 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5812
5813         * docs/gst/gstreamer.types:
5814           fix includes, though they are a little dinky
5815
5816 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5817
5818         * check/Makefile.am:
5819           look in the right place for elements, a lot more chance of
5820           success
5821         * gst/Makefile.am:
5822           remove indexers and elements subdirs
5823         * plugins/Makefile.am:
5824           make indexers conditional
5825
5826 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5827
5828         * Makefile.am:
5829         * configure.ac:
5830         * plugins/elements/Makefile.am:
5831         * plugins/elements/gstcapsfilter.c:
5832         * plugins/elements/gstfilesink.c:
5833         * plugins/elements/gstfilesrc.c:
5834         * plugins/elements/gstidentity.c:
5835         * plugins/indexers/Makefile.am:
5836           do CVS surgery and related build fixery to move elements
5837           and indexers in a new gstreamer/plugins directory, out of the
5838           gst/ directory
5839
5840 2005-11-29  Andy Wingo  <wingo@pobox.com>
5841
5842         * check/Makefile.am:
5843         * pkgconfig/gstreamer-net-uninstalled.pc.in:
5844         * pkgconfig/gstreamer-net.pc.in:
5845         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
5846         #322257.
5847
5848 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5849
5850         * tools/Makefile.am:
5851         * tools/gst-complete.1.in:
5852         * tools/gst-complete.c:
5853         * tools/gst-compprep.1.in:
5854         * tools/gst-compprep.c:
5855           removing -compprep and -complete
5856
5857 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5858
5859         * gst/gstevent.c: (gst_event_new_new_segment),
5860         (gst_event_parse_new_segment):
5861         * gst/gstevent.h:
5862           fix #320529 - clean up new_segment API and structure.
5863           Let's hope everyone was using the methods, and not the structure.
5864
5865 2005-11-29  Edward Hervey  <edward@fluendo.com>
5866
5867         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5868         (gst_base_sink_event), (gst_base_sink_do_sync),
5869         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5870         Properly handle non GST_FORMAT_TIME segment
5871         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
5872         Properly handle non GST_FORMAT_TIME segment
5873         * gst/gstsegment.c:
5874         This function is valid if the accumulator is 0 and the format
5875         is different from the requested format.
5876         
5877 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5878
5879         * docs/gst/gstreamer-sections.txt:
5880         Add gst_query_new_seeking and gst_query_parse_seeking to the
5881         docs.
5882
5883 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5884
5885         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5886           Treat a pad alloc with new caps the same as if we were not
5887           negotiated, in order to allow a changing upstream output
5888           to produce a new format of data.
5889
5890 2005-11-29  Edward Hervey  <edward@fluendo.com>
5891
5892         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5893         (gst_base_transform_event), (gst_base_transform_eventfunc):
5894         The event virtual method is now properly implemented, with a default
5895         handler
5896         Sub classes should call the parent_class event method. They should
5897         return FALSE if they had a problem handling the given event, or don't
5898         want GstBaseTransform to send that even downstream
5899         * gst/elements/gstidentity.c: (gst_identity_class_init),
5900         (gst_identity_init), (gst_identity_event),
5901         (gst_identity_transform_ip), (gst_identity_set_property),
5902         (gst_identity_get_property):
5903         * gst/elements/gstidentity.h:
5904         Added the single-segment boolean property.
5905         If set to TRUE, it will output a single segment of data, starting from
5906         0, will eat up all incoming newsegment, and modify the timestamp of the
5907         buffers accordingly
5908
5909 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
5910
5911         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
5912           Don't ref NULL target pad (#322751). Improve docs.
5913
5914 2005-11-29  Michael Smith  <msmith@fluendo.com>
5915
5916         * gst/gstregistryxml.c: (load_plugin):
5917           Don't crash if we failed to load a feature from a plugin. 
5918
5919 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5920
5921         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
5922         (GST_START_TEST):
5923           use more check API and less GLib API
5924
5925 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5926
5927         * Makefile.am:
5928           don't run checks if we don't have check
5929         * common/check.mak:
5930           remove the registry when running make torture
5931         * docs/gst/gstreamer-sections.txt:
5932           remove second multiply
5933         * gst/gstqueue.c: (gst_queue_loop):
5934           fix a compile warning when disabling debug
5935
5936 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
5937
5938         * gst/gstinfo.h:
5939         Hey! Let's print the pad name if the pointer != NULL instead
5940         of when it == NULL :-)
5941
5942 2005-11-28  Wim Taymans  <wim@fluendo.com>
5943
5944         * check/gst/gstutils.c: (GST_START_TEST):
5945         Updated check, add some scaling accuracy checking code.
5946
5947         * gst/gstutils.c: (gst_util_div128_64),
5948         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
5949         (gst_util_uint64_scale_int):
5950         Fix 6 times faster division code. Optimize for common 
5951         1/1 and less common X/1 cases.
5952
5953 2005-11-28  Wim Taymans  <wim@fluendo.com>
5954
5955         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5956         More checks.
5957
5958         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
5959         (do_linear_regression), (gst_clock_add_observation):
5960         Cleanups.
5961         Release lock when the clock cannot be slaved.
5962         Catch the case where the regression returned an invalid denominator.
5963
5964         * gst/gstutils.c: (gst_util_div128_64_iterate),
5965         (gst_util_div128_64), (gst_util_uint64_scale_int64),
5966         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
5967         Add protentially more performant non-iterative 128/64 divide function
5968         that unfortunatly does not work yet.
5969         Shortcut the trivial 0/X = 0 case.
5970         Remove the warnings on overflow.
5971
5972 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5973
5974         * gst/gstplugin.c: (gst_plugin_register_func):
5975           everything causing a plugin not to load should be at least a WARNING
5976
5977 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
5978
5979         * docs/random/ensonic/dparams.txt:
5980           some TODOs for the next dev cycle
5981         * libs/gst/controller/gstcontroller.c:
5982         (gst_controlled_property_set_interpolation_mode),
5983         (gst_controlled_property_new):
5984         * libs/gst/controller/gstcontroller.h:
5985           use base type to assign acccessor functions
5986
5987 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
5988
5989         * check/Makefile.am:
5990         Oops, that should have been top_srcdir
5991
5992 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
5993
5994         * check/Makefile.am:
5995         * check/elements/fdsrc.c: (GST_START_TEST):
5996         Use a cmdline define to specify the location of a file to use for
5997         testing, to avoid breaking distcheck.
5998
5999 2005-11-28  Andy Wingo  <wingo@pobox.com>
6000
6001         * gst/gstpad.c (fixate_value): Use array functions for arrays.
6002
6003 2005-11-28  Edward Hervey  <edward@fluendo.com>
6004
6005         * tools/gst-launch.c: (main):
6006         Clarify the output strings, makes it easier to translate.
6007         Fixes #322626
6008
6009 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6010
6011         * gst/Makefile.am:
6012           don't try and build net if we don't even have <sys/socket.h>
6013
6014 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
6015
6016         * check/Makefile.am:
6017         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
6018         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
6019           Add tests for fdsrc seekability
6020
6021         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6022         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
6023         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
6024         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
6025         * gst/elements/gstfdsrc.h:
6026           fdsrc should not be a 'live' source.
6027           Implement seeking on seekable fd's.
6028
6029         * gst/gstquery.c: (gst_query_new_seeking),
6030         (gst_query_parse_seeking):
6031         * gst/gstquery.h:
6032           Implement SEEKING query functions: 
6033             *_new_seeking and *_parse_seeking
6034
6035 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
6036
6037         * gst/gstelement.c: (gst_element_dispose):
6038           don't loop forever
6039
6040         * gst/gstiterator.c:
6041         * gst/gststructure.c:
6042           doc fixes
6043
6044         * libs/gst/controller/gstcontroller.c:
6045         (gst_controlled_property_set_interpolation_mode):
6046         * libs/gst/controller/gstcontroller.h:
6047         * libs/gst/controller/gstinterpolation.c:
6048         (interpolate_none_get_enum_value_array):
6049           support controlling enums
6050
6051 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
6052
6053         * gst/gstvalue.c:
6054           Improve documentation for gst_value_union().
6055
6056         * gst/gstvalue.h:
6057           Change return value for union, intersect and subtract functions
6058           from gint to gboolean.
6059
6060 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
6061
6062         * gst/gstvalue.c: (gst_value_serialize_any_list),
6063         (gst_value_transform_any_list_string),
6064         (gst_value_deserialize_list), (gst_value_deserialize_array),
6065         (gst_value_set_int_range), (gst_value_deserialize_int_range),
6066         (gst_value_set_double_range), (gst_value_deserialize_double_range),
6067         (gst_value_set_fraction_range_full),
6068         (gst_value_deserialize_fraction_range),
6069         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
6070         (gst_value_deserialize_boolean),
6071         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
6072         (gst_value_serialize_float), (gst_value_deserialize_float),
6073         (gst_string_wrap), (gst_value_deserialize_string),
6074         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
6075         (gst_value_union_int_range_int_range),
6076         (gst_value_intersect_int_range_int_range),
6077         (gst_value_intersect_double_range_double_range),
6078         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
6079         (gst_value_subtract_int_range_int_range),
6080         (gst_value_subtract_double_double_range),
6081         (gst_value_subtract_double_range_double_range),
6082         (gst_value_deserialize_fraction):
6083         * gst/gstvalue.h:
6084           Use gint, gdouble and gchar in our API instead of int, double and
6085           char (and make usage in gstvalue.c more consistent).
6086
6087 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
6088
6089         * check/Makefile.am:
6090         * libs/gst/controller/Makefile.am:
6091         * libs/gst/dataprotocol/Makefile.am:
6092           fix up Makefile.am and remove GST_ENABLE_NEW
6093
6094 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
6095
6096         * configure.ac:
6097         * gst/Makefile.am:
6098         * gst/base/Makefile.am:
6099         * gst/check/Makefile.am:
6100         * gst/elements/Makefile.am:
6101         * gst/net/Makefile.am:
6102           update LDFLAGS use some more
6103
6104 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
6105
6106         * common/m4/gst-doc.m4:
6107           Fixes #312589
6108
6109 2005-11-26  Edward Hervey  <edward@fluendo.com>
6110
6111         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6112         This shouldn't issue a g_warning since it returns NULL if it
6113         couldn't find the plugin, and all functions using this behave
6114         properly on a NULL return. Switching to a GST_WARNING.
6115
6116 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
6117
6118         * gst/gstbin.c: (gst_bin_handle_message_func):
6119         Don't leak clock messages.
6120
6121 2005-11-25  Wim Taymans  <wim@fluendo.com>
6122
6123         * gst/gstutils.c: (gst_util_uint64_scale_int64),
6124         (gst_util_uint64_scale_int):
6125         Optimisations, remove unneeded vars.
6126
6127 2005-11-25  Wim Taymans  <wim@fluendo.com>
6128
6129         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6130         Added more checks for the high precision uint64 cases.
6131
6132         * gst/gstutils.c: (gst_util_uint64_scale_int64),
6133         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
6134         Implement high precision (guint64 * guint64) / guint64.
6135
6136 2005-11-24  Wim Taymans  <wim@fluendo.com>
6137
6138         * gst/base/gstbasesrc.c: (gst_base_src_query):
6139         Fix wrong percentage query.
6140
6141         * gst/gstutils.c: (gst_util_uint64_scale),
6142         (gst_util_uint64_scale_int):
6143         Add some more common cases that can be handled 
6144         efficiently to _scale.
6145
6146 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6147
6148         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
6149         (gst_mini_object_suite):
6150           don't use check calls from threads; check probably isn't
6151           threadsafe and using a lock to make it threadsafe would
6152           defeat the purpose of this check
6153         * gst/check/gstcheck.c:
6154         * gst/check/gstcheck.h:
6155           use GST_DEBUG some more
6156
6157 2005-11-24  Wim Taymans  <wim@fluendo.com>
6158
6159         * gst/gstutils.c: (gst_util_uint64_scale),
6160         (gst_util_uint64_scale_int):
6161         Chain trivial case to _scale_int.
6162
6163 2005-11-24  Wim Taymans  <wim@fluendo.com>
6164
6165         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6166         Added test for scaling.
6167
6168         * gst/gstclock.h:
6169         Small doc fix.
6170
6171         * gst/gstutils.c: (gst_util_uint64_scale_int):
6172         Implemented high precision scaling code.
6173
6174 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
6175
6176         * gst/gstinfo.h:
6177           do not crash on pad==NULL
6178
6179 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6180
6181         Patch by: Stefan Kost
6182
6183         * common/gtk-doc.mak:
6184         * docs/gst/Makefile.am:
6185         * docs/libs/Makefile.am:
6186           Fix distcheck issues for the libraries docs build
6187           Closes #319599.
6188
6189 2005-11-24  Michael Smith <msmith@fluendo.com>
6190
6191         * docs/manual/basics-helloworld.xml:
6192           Fix bug #315027: memory leak in example code in docs.
6193
6194 2005-11-24  Michael Smith <msmith@fluendo.com>
6195
6196         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6197           Unlock the PREROLL_LOCK in a failure case.
6198
6199 2005-11-24  Wim Taymans  <wim@fluendo.com>
6200
6201         * docs/gst/gstreamer-sections.txt:
6202         * gst/base/gstadapter.h:
6203         * gst/base/gstbasesink.h:
6204         * gst/base/gstbasesrc.h:
6205         * gst/base/gstbasetransform.h:
6206         * gst/base/gstpushsrc.h:
6207         * gst/elements/gstfakesink.h:
6208         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
6209         * gst/elements/gstfakesrc.h:
6210         * gst/elements/gstfilesink.h:
6211         * gst/elements/gstfilesrc.h:
6212         * gst/gst.c:
6213         * gst/gstbin.c:
6214         * gst/gstbuffer.c: (_gst_buffer_copy):
6215         * gst/gstbus.h:
6216         * gst/gstcaps.c:
6217         * gst/gstchildproxy.c:
6218         * gst/gstclock.c:
6219         * gst/gstelement.c:
6220         * gst/gstelementfactory.c:
6221         * gst/gstelementfactory.h:
6222         * gst/gstevent.c:
6223         * gst/gstghostpad.h:
6224         * gst/gstindex.h:
6225         * gst/gstinterface.h:
6226         * gst/gstminiobject.c:
6227         * gst/gstminiobject.h:
6228         * gst/gstpad.c:
6229         * gst/gstpad.h:
6230         * gst/gstpadtemplate.h:
6231         * gst/gstpipeline.h:
6232         * gst/gstpluginfeature.h:
6233         * gst/gstquery.h:
6234         * gst/gstqueue.h:
6235         * gst/gsttaglist.c:
6236         * gst/gsttaglist.h:
6237         * gst/gsttagsetter.c:
6238         * gst/gsttagsetter.h:
6239         * gst/gsttrace.c:
6240         * gst/gsttrace.h:
6241         * gst/gsttypefind.h:
6242         * gst/gsturi.h:
6243         * gst/gstvalue.c:
6244         * gst/net/gstnetclientclock.c:
6245         * gst/net/gstnetclientclock.h:
6246         * gst/net/gstnettimepacket.c:
6247         * gst/net/gstnettimeprovider.c:
6248         * gst/net/gstnettimeprovider.h:
6249         Doc fixes.
6250
6251 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6252
6253         * configure.ac: back to HEAD
6254
6255 === release 0.9.6 ===
6256
6257 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
6258
6259         * configure.ac:
6260           releasing 0.9.6, "Always On Time"
6261
6262 2005-11-23  Wim Taymans  <wim@fluendo.com>
6263
6264         * docs/gst/gstreamer-sections.txt:
6265         * gst/glib-compat.c:
6266         * gst/gsttagsetter.c:
6267         * gst/gstvalue.c:
6268         * gst/net/gstnetclientclock.c:
6269         * gst/net/gstnettimepacket.h:
6270         Doc updates.
6271
6272 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6273
6274         * docs/faq/using.xml:
6275         * docs/libs/tmpl/gstcontrol.sgml:
6276         * docs/manual/advanced-dparams.xml:
6277         * docs/manual/appendix-checklist.xml:
6278         * docs/manual/basics-elements.xml:
6279         * docs/pwg/other-source.xml:
6280         * docs/random/moving-plugins:
6281         * gst/gstpad.c:
6282         * tools/gst-launch.1.in:
6283           remove mentions of sinesrc
6284
6285 2005-11-23  Michael Smith <msmith@fluendo.com>
6286
6287         * docs/gst/gstreamer-sections.txt:
6288           Update for new API and API changes.
6289         * gst/gstobject.h:
6290           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
6291         * gst/gstvalue.c:
6292           Documentation typo fix.
6293         * gst/net/gstnettimepacket.c:
6294           Documentation fixes for arguments.
6295
6296 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
6297
6298         * gst/gststructure.c: (gst_structure_get_fraction),
6299         (gst_structure_parse_value),
6300         (gst_structure_fixate_field_nearest_fraction):
6301         * gst/gststructure.h:
6302         * gst/gstutils.c: (gst_util_uint64_scale_int):
6303         * gst/gstutils.h:
6304         * scripts/update-funcnames:
6305         API Changes. 
6306         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
6307         Make gst_structure_fixate_field_nearest_fraction take a numerator
6308         and denominator argument instead of a GValue
6309         add gst_structure_get_fraction helper function.
6310
6311 2005-11-23  Wim Taymans  <wim@fluendo.com>
6312
6313         * docs/design/part-TODO.txt:
6314         Update TODO.
6315
6316         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6317         * gst/net/gstnetclientclock.h:
6318         Use parent fields for timeout and window_size.
6319
6320 2005-11-23  Andy Wingo  <wingo@pobox.com>
6321
6322         * check/net/gstnetclientclock.c (test_functioning): Adjust to
6323         rate_num/rate_denom change.
6324
6325         * gst/net/gstnetclientclock.c
6326         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
6327         OBJECT_LOCK. Don't call add_observation with the lock.
6328
6329         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
6330         fraction.
6331         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
6332         rate fraction.
6333         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
6334         deal with rate as a fraction whose numerator and denominator are
6335         GstClockTime values.
6336         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
6337         master; the other fields are protected by the SLAVE_LOCK.
6338         (do_linear_regression): Note that this must be called with the
6339         SLAVE_LOCK.
6340         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
6341         OBJECT_LOCK. Call set_calibration instead of touching the
6342         variables directly.
6343         (gst_clock_set_property, gst_clock_get_property): Protect
6344         master/slave parameters with the SLAVE_LOCK.
6345
6346         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
6347         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
6348         note that all of the instance variables that add_observation and
6349         the set_master functions use are protected by that lock and not
6350         the OBJECT_LOCK.
6351         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
6352
6353         * gst/gstclock.c (gst_clock_add_observation): No longer requires
6354         the caller to take the object lock.
6355
6356 2005-11-23  Wim Taymans  <wim@fluendo.com>
6357
6358         * gst/gsterror.c: (_gst_core_errors_init):
6359         * gst/gsterror.h:
6360         Add error for clock stuff.
6361
6362         * gst/gstpipeline.c: (gst_pipeline_change_state),
6363         (gst_pipeline_set_clock):
6364         Post clock error when clock cannot be used in a pipeline.
6365
6366 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
6367
6368         * docs/gst/gstreamer-sections.txt:
6369           make two symbols from gstinfo private for the docs
6370         * gst/base/gstcollectpads.h:
6371         * gst/gstutils.c:
6372           fix doc typos, update docs
6373
6374 2005-11-22  Wim Taymans  <wim@fluendo.com>
6375
6376         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6377         (gst_base_sink_wait), (gst_base_sink_do_sync),
6378         (gst_base_sink_handle_event):
6379         * gst/base/gstbasesink.h:
6380         No need to store the clock, the parent element class already
6381         has it.
6382
6383         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
6384         Updates for clock_set returning a gboolean
6385
6386         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
6387         (gst_clock_id_wait_async), (gst_clock_class_init),
6388         (gst_clock_init), (gst_clock_finalize),
6389         (gst_clock_get_internal_time), (gst_clock_get_time),
6390         (gst_clock_slave_callback), (gst_clock_set_master),
6391         (gst_clock_get_master), (do_linear_regression),
6392         (gst_clock_add_observation), (gst_clock_set_property),
6393         (gst_clock_get_property):
6394         * gst/gstclock.h:
6395         Implement master/slave. When setting a clock as a slave, a
6396         periodic timeout is scheduled to sample master and slave times.
6397         Then the slave clock is recalibrated to match offset and rate
6398         of the master clock.
6399         Update logging a bit.
6400         Add flag so that a clock can state that is cannot be slaved to
6401         another clock.
6402
6403         * gst/gstelement.c: (gst_element_set_clock):
6404         * gst/gstelement.h:
6405         The set clock returns a gboolean for when an element cannot
6406         deal with the selected clock in the pipeline. 
6407
6408         * gst/gstpipeline.c: (gst_pipeline_change_state),
6409         (gst_pipeline_set_clock):
6410         * gst/gstpipeline.h:
6411         Handle the case where the selected clock cannot be set on
6412         the pipeline.
6413
6414         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
6415         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6416         (gst_net_client_clock_set_property),
6417         (gst_net_client_clock_get_property),
6418         (gst_net_client_clock_observe_times):
6419         * gst/net/gstnetclientclock.h:
6420         Use regression code in GstClock parent, remove duplicated
6421         functionality.
6422
6423 2005-11-22  Michael Smith <msmith@fluendo.com>
6424
6425         * gst/gstutils.c: (gst_util_clock_time_scale):
6426         * gst/gstutils.h:
6427         * docs/gst/gstreamer-sections.txt:
6428           Rename method to have extra underscore.
6429
6430 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6431
6432         * gst/elements/Makefile.am:
6433         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
6434         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6435         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6436         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
6437         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
6438         * gst/elements/gstfakesrc.h:
6439         * gst/gstqueue.c: (queue_leaky_get_type):
6440           correctly fix GEnumValues so that nick is the short lowercase
6441           dashed tag
6442         * tools/gst-inspect.c: (print_element_properties_info):
6443           also show the nick, since it's useful to use from parse_launch
6444           syntax
6445           Fixes #322139
6446
6447 2005-11-22  Michael Smith <msmith@fluendo.com>
6448
6449         * gst/gstutils.c: (gst_util_clocktime_scale):
6450         * gst/gstutils.h:
6451         * docs/gst/gstreamer-sections.txt:
6452           Add util method for scaling a clocktime by a fraction. Useful 
6453           implementation is left as an exercise for the reader.
6454
6455 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6456
6457         * gst/gstvalue.c: (gst_value_collect_fraction_range):
6458         If needed, allocate storage in the destination value during
6459         collection.
6460
6461 2005-11-22  Edward Hervey  <edward@fluendo.com>
6462
6463         * docs/gst/gstreamer-sections.txt:
6464         * gst/Makefile.am:
6465         * gst/gst.h:
6466         * gst/gsturitype.c:
6467         * gst/gsturitype.h:
6468         * gst/gstutils.c: (gst_util_set_object_arg):
6469         * tools/gst-compprep.c: (main):
6470         * tools/gst-inspect.c: (print_element_properties_info):
6471         Removed GstURI, closes bug #321061
6472
6473 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6474
6475         * check/gst/gststructure.c: (GST_START_TEST):
6476         * gst/gststructure.c: (gst_structure_parse_value):
6477           Oops, broke automatic string type parsing.
6478           Add a test to catch it in future.
6479
6480 2005-11-22  Andy Wingo  <wingo@pobox.com>
6481
6482         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
6483         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
6484         Actually rename the function implementations. Grr.
6485
6486 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6487
6488         * check/gst/capslist.h:
6489           Comment test cases
6490         * check/gst/gststructure.c: (GST_START_TEST),
6491         (gst_structure_suite):
6492           Test automatic value type detection in gst_structure_from_string.
6493         * gst/gststructure.c: (gst_structure_parse_value):
6494           Add fraction as a type we try and guess automatically in
6495           caps/structure strings.
6496
6497 2005-11-22  Andy Wingo  <wingo@pobox.com>
6498
6499         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
6500
6501         * gst/gsttagsetter.h:
6502         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
6503         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
6504         (gst_tag_setter_add_tag_valist)
6505         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
6506         _add_values, _add_valist, and _add_valist_values. Since this is an
6507         interface the function suffixes should be more explicit so
6508         language binding don't end up with element.add_valist ->
6509         gst_tag_setter_add_valist, for example. Fixes #322069.
6510
6511 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6512
6513         * check/gst/gstcaps.c: (GST_START_TEST):
6514           Extend caps string tests to check that a caps to string
6515           conversion is reversible and produces the same caps.
6516
6517         * gst/gststructure.c: (gst_structure_value_get_generic_type):
6518           Output "fraction" as the generic type fraction range, so caps
6519           serialisation and deserialisation works.
6520         * check/gst/capslist.h:
6521         * gst/gstvalue.c: (gst_value_deserialize_fraction):
6522           Support 'MIN' and 'MAX' for deserialising fractions.
6523
6524 2005-11-22  Andy Wingo  <wingo@pobox.com>
6525
6526         * gst/gstevent.h (gst_event_new_new_segment)
6527         (gst_event_parse_new_segment, gst_event_new_buffer_size)
6528         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
6529         Renamed from *_newsegment, *_buffersize, *_notarget.
6530
6531         * scripts/update-funcnames: New script, performs the changes
6532         listed above.
6533
6534 2005-11-22  Wim Taymans  <wim@fluendo.com>
6535
6536         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6537         Make sure the GstFlowReturn is returned.
6538
6539         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
6540         (gst_bus_add_signal_watch):
6541         * gst/gstbus.h:
6542         add gst_bus_add_signal_watch_full.
6543
6544         * gst/gstplugin.c: (gst_plugin_load_file):
6545         Small style cleanup.
6546
6547 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6548
6549         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
6550           Block the fakesrc srcpad when we send an event, to avoid
6551           contention on the stream_lock causing random test failures.
6552
6553 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6554
6555         * check/gst/gstvalue.c: (GST_START_TEST):
6556         * gst/gstvalue.c: (gst_value_fraction_subtract):
6557           Fix subtraction.
6558
6559 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
6560
6561         * gst/gst.h:
6562           include "gstchildproxy.h"
6563         * gst/gstchildproxy.h:
6564         * libs/gst/controller/gstcontroller.h:
6565           use G_GNUC_NULL_TERMINATED
6566
6567 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6568
6569         * check/gst/capslist.h:
6570         * check/gst/gstcaps.c: (GST_START_TEST):
6571         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6572         * gst/gststructure.c: (gst_structure_parse_range),
6573         (gst_structure_fixate_field_nearest_fraction):
6574         * gst/gststructure.h:
6575         * gst/gstvalue.c: (gst_value_init_fraction_range),
6576         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
6577         (gst_value_collect_fraction_range),
6578         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
6579         (gst_value_set_fraction_range_full),
6580         (gst_value_get_fraction_range_min),
6581         (gst_value_get_fraction_range_max),
6582         (gst_value_serialize_fraction_range),
6583         (gst_value_transform_fraction_range_string),
6584         (gst_value_compare_fraction_range),
6585         (gst_value_deserialize_fraction_range),
6586         (gst_value_intersect_fraction_fraction_range),
6587         (gst_value_intersect_fraction_range_fraction_range),
6588         (gst_value_subtract_fraction_fraction_range),
6589         (gst_value_subtract_fraction_range_fraction),
6590         (gst_value_subtract_fraction_range_fraction_range),
6591         (gst_value_collect_fraction), (gst_value_fraction_multiply),
6592         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
6593         (gst_value_transform_string_fraction), (_gst_value_initialize):
6594         * gst/gstvalue.h:
6595           Implement fraction ranges and extend GstFraction to support
6596           arithmetic subtraction, as well as deserialization from integer
6597           strings such as "100"
6598           Add a testsuite as for int and double range set operations
6599
6600 2005-11-21  Andy Wingo  <wingo@pobox.com>
6601
6602         * gst/gsttaglist.h: 
6603         * gst/gstcaps.h: 
6604         * gst/gststructure.h: Add glib-compat.h.
6605
6606 2005-11-21  Wim Taymans  <wim@fluendo.com>
6607
6608         * gst/gstbin.c: (gst_bin_change_state_func):
6609         Fix for #321595
6610
6611 2005-11-21  Wim Taymans  <wim@fluendo.com>
6612
6613         * gst/gstsegment.h:
6614         And add a nice define too.
6615
6616 2005-11-21  Wim Taymans  <wim@fluendo.com>
6617
6618         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
6619         (gst_segment_new), (gst_segment_free), (gst_segment_init),
6620         (gst_segment_set_duration), (gst_segment_set_last_stop),
6621         (gst_segment_set_seek), (gst_segment_set_newsegment),
6622         (gst_segment_to_stream_time), (gst_segment_to_running_time),
6623         (gst_segment_clip):
6624         * gst/gstsegment.h:
6625         Make binding friendly.
6626
6627 2005-11-21  Andy Wingo  <wingo@pobox.com>
6628
6629         * gst/gsttagsetter.h: 
6630         * gst/gsttaglist.h: 
6631         * gst/gststructure.h: 
6632         * gst/gstcaps.h: 
6633         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
6634         #319940.
6635
6636         * gst/gsterror.c (_gst_core_errors_init):
6637         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
6638         category.
6639
6640         * gst/Makefile.am (gst_headers): Add glib-compat.h.
6641         (noinst_HEADERS): noinst the -private.
6642
6643 2005-11-21  Michael Smith <msmith@fluendo.com>
6644
6645         * gst/gstplugin.h:
6646         * gst/gstregistry.h:
6647           Remove unimplemented declarations for which we can see no sensible
6648           use.
6649
6650 2005-11-21  Andy Wingo  <wingo@pobox.com>
6651
6652         * gst/gst.h: Include glib-compat.h.
6653
6654         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
6655
6656         * gst/glib-compat.c: Include the public and the private header.
6657
6658         * gst/glib-compat-private.h: Copied here from glib-compat.h.
6659
6660         * gst/gstvalue.c: 
6661         * gst/gstpad.c: 
6662         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
6663
6664         * check/gst/gstevent.c (create_custom_events): Check that
6665         FLUSH_STOP is serialized.
6666
6667         * check/elements/identity.c (event_func): 
6668         * check/elements/fakesrc.c (event_func): No stream lock, the core
6669         takes it.
6670
6671         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
6672         stream lock taking, yay.
6673
6674         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
6675         ensure that core takes the stream lock.
6676
6677         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
6678         lock name change.
6679
6680         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
6681         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
6682         it already. For the flush start we do take it though so we get the
6683         right preroll state change messages.
6684
6685         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
6686         the stream lock here, the core does it for us.
6687
6688         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
6689         GST_STREAM_GET_LOCK.
6690         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
6691         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
6692         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
6693         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
6694         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
6695         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
6696
6697         * gst/gstpad.c: Update for stream lock name change.
6698
6699         * gst/base/gstbasesink.c: Update for preroll lock name change.
6700
6701 2005-11-21  Wim Taymans  <wim@fluendo.com>
6702
6703         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
6704         (gst_clock_get_master):
6705         * gst/gstclock.h:
6706         * gst/gstsystemclock.c: (gst_system_clock_init):
6707         Convert Clock flags to object flags.
6708         Added methods to manage master/slave clocks.
6709
6710 2005-11-21  Wim Taymans  <wim@fluendo.com>
6711
6712         * check/gst/gstsegment.c: (GST_START_TEST):
6713         * docs/design/part-TODO.txt:
6714         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6715         (gst_base_sink_event), (gst_base_sink_do_sync),
6716         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
6717         (gst_base_sink_query), (gst_base_sink_change_state):
6718         * gst/base/gstbasesink.h:
6719         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
6720         (gst_base_src_default_newsegment),
6721         (gst_base_src_configure_segment), (gst_base_src_do_seek),
6722         (gst_base_src_get_range), (gst_base_src_loop),
6723         (gst_base_src_change_state):
6724         * gst/base/gstbasesrc.h:
6725         * gst/base/gstbasetransform.c:
6726         (gst_base_transform_prepare_output_buf),
6727         (gst_base_transform_event), (gst_base_transform_change_state):
6728         * gst/base/gstbasetransform.h:
6729         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6730         (gst_collect_pads_event):
6731         * gst/base/gstcollectpads.h:
6732         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
6733         (gst_fake_src_create):
6734         * gst/elements/gstfakesrc.h:
6735         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6736         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6737         (gst_segment_set_last_stop), (gst_segment_set_seek),
6738         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6739         (gst_segment_to_running_time), (gst_segment_clip):
6740         * gst/gstsegment.h:
6741         More segment updates, replace code in plugins with segment
6742         helper functions.
6743
6744 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
6745
6746         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
6747         Don't ignore sscanf results
6748
6749 2005-11-21  Andy Wingo  <wingo@pobox.com>
6750
6751         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
6752
6753         * *.h:
6754         * *.c: Ran scripts/update-macros. Oh yes.
6755
6756         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
6757         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
6758         GST_GET_LOCK, etc.
6759
6760         * scripts/update-macros: New script. Run it on your files to
6761         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
6762         well.
6763
6764 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
6765
6766         * docs/gst/Makefile.am:
6767         * docs/gst/gstreamer-docs.sgml:
6768         * docs/gst/gstreamer-sections.txt:
6769         * docs/gst/gstreamer.types:
6770         * gst/gstinfo.h:
6771           more docs fixes, add new api to the docs
6772
6773 2005-11-21  Andy Wingo  <wingo@pobox.com>
6774
6775         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
6776         state_broadcast call.
6777
6778         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
6779
6780 2005-11-21  Julien MOUTTE  <julien@moutte.net>
6781
6782         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
6783         function calls for arrays.
6784
6785 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
6786
6787         * docs/random/ensonic/media-device-daemon.txt:
6788           wild idea, can this be done?
6789         * docs/gst/gstreamer-sections.txt:
6790         * gst/gsterror.h:
6791         * gst/gstfilter.c:
6792         * gst/gstfilter.h:
6793         * gst/gstplugin.h:
6794         * gst/gstpluginfeature.c:
6795         * gst/gsttrace.c:
6796         * gst/gstvalue.c:
6797         * gst/gstvalue.h:
6798           doc fixes and additions
6799
6800 2005-11-21  Andy Wingo  <wingo@pobox.com>
6801
6802         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
6803         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
6804         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
6805         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
6806         private to the basesrc implementation.
6807
6808         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
6809         behalf of event function if necessary. It should no longer be
6810         necessary to take the stream lock in pad's event functions. Fixes
6811         #320299.
6812
6813 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
6814         * docs/gst/gstreamer-sections.txt:
6815         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
6816         (gst_structure_fixate_field_nearest_double),
6817         (gst_structure_fixate_field_boolean):
6818         * gst/gststructure.h:
6819         * win32/common/libgstreamer.def:
6820         * win32/gstreamer.def:
6821
6822         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
6823         (#322027)
6824
6825 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
6826
6827         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
6828         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
6829         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
6830         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
6831         (gst_fdsrc_uri_handler_init):
6832         * gst/elements/gstfdsrc.h:
6833           Port fd:// URI handler from 0.8 to fdsrc
6834
6835 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6836
6837         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
6838         (gst_value_serialize_fourcc):
6839         * gst/gstvalue.h:
6840           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
6841           consistent with our other format defines (#320324).
6842
6843 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6844
6845         * gst/gstvalue.c: (gst_value_is_fixed):
6846           Revert previous commit. Value lists are by definition
6847           not fixed, as they are a list of possible values.
6848
6849 2005-11-21  Andy Wingo  <wingo@pobox.com>
6850
6851         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
6852         during the stable series if we need it. Fixes #319178.
6853
6854         * gst/gstevent.c (gst_event_new_filler): Removed.
6855
6856         * check/gst/gstevent.c: Update comment about filler events.
6857
6858 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6859
6860         * gst/gstvalue.c: (gst_value_is_fixed):
6861           Should handle both value arrays and value lists.
6862
6863 2005-11-21  Andy Wingo  <wingo@pobox.com>
6864
6865         patch by: Alessandro Dessina <alessandro nnva org>
6866
6867         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
6868         functions to access arrays. Fixes #321962.
6869
6870 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6871
6872         * docs/gst/gstreamer.types:
6873           gst_collectpads_get_type => gst_collect_pads_get_type.
6874           
6875         * gst/base/gstbasetransform.c:
6876           Remove unused SIGNAL_HANDOFF enum.
6877
6878 2005-11-21  Andy Wingo  <wingo@pobox.com>
6879
6880         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
6881         the event type (upstream, downstream, serialized). Renamed
6882         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
6883         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
6884         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
6885
6886         * gst/gstevent.c: Update for new CUSTOM event names.
6887
6888         * check/gst/gstevent.c: Update check for new CUSTOM event names.
6889
6890         * gst/gstevent.h:
6891         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
6892         bug #319392.
6893
6894 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6895
6896         * docs/gst/gstreamer-sections.txt:
6897         * win32/common/libgstbase.def:
6898         * win32/libgstbase.def:
6899         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6900         (gst_collect_pads_class_init), (gst_collect_pads_init),
6901         (gst_collect_pads_finalize), (gst_collect_pads_new),
6902         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
6903         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
6904         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
6905         (gst_collect_pads_start), (gst_collect_pads_stop),
6906         (gst_collect_pads_peek), (gst_collect_pads_pop),
6907         (gst_collect_pads_available), (gst_collect_pads_read),
6908         (gst_collect_pads_flush), (gst_collect_pads_event),
6909         (gst_collect_pads_chain):
6910         * gst/base/gstcollectpads.h:
6911           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
6912           unimplemented functions as unimplemented. Add padding to
6913           GstCollectData. (#320766, #320423)
6914
6915 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6916
6917         * gst/gstmessage.c:
6918           Improve docs for DURATION message (usage of duration parameter)
6919           (#320113)
6920
6921 2005-11-20  Wim Taymans  <wim@fluendo.com>
6922
6923         * check/Makefile.am:
6924         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
6925         (main):
6926         * gst/Makefile.am:
6927         * gst/gst.h:
6928         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6929         (gst_segment_set_seek), (gst_segment_set_newsegment),
6930         (gst_segment_to_stream_time), (gst_segment_to_running_time),
6931         (gst_segment_clip):
6932         * gst/gstsegment.h:
6933         Added segment helper structure and methods. Not fully implemented
6934         yet.
6935         Added segment check.
6936
6937 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
6938
6939         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6940           Add a deserialisation test for fractions
6941         * examples/metadata/read-metadata.c: (message_loop),
6942         (make_pipeline), (main):
6943           Fix up metadata reading sample.
6944         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6945           Debug format fix
6946         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6947           Don't try and fixate empty caps
6948         * gst/gst_private.h:
6949           Wrap in G_BEGIN_DECLS/G_END_DECLS
6950         * gst/gstvalue.c: (gst_value_collect_fraction),
6951         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
6952         (gst_value_transform_string_fraction),
6953         (gst_value_compare_fraction):
6954           Add some extra guards to ensure that we don't end up 
6955           with an invalid denominator of 0 in a gstfraction and
6956           that fractions always get reduced.
6957
6958 2005-11-20  Wim Taymans  <wim@fluendo.com>
6959
6960         * docs/gst/gstreamer-sections.txt:
6961         * gst/gstbuffer.h:
6962         * gst/gstelement.c:
6963         * gst/gstformat.c:
6964         * gst/gstformat.h:
6965         * gst/gstindex.h:
6966         * gst/gstquery.c:
6967         * gst/gstquery.h:
6968         * gst/gstvalue.c:
6969         Doc fixes.
6970
6971 2005-11-20  Wim Taymans  <wim@fluendo.com>
6972
6973         * docs/design/part-TODO.txt:
6974         * gst/gstcaps.h:
6975         Make a proper enum of the flag.
6976
6977 2005-11-19  Wim Taymans  <wim@fluendo.com>
6978
6979         * docs/design/part-TODO.txt:
6980         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
6981         (gst_format_to_quark), (gst_format_register):
6982         * gst/gstformat.h:
6983         * gst/gstquery.c: (_gst_query_initialize),
6984         (gst_query_type_get_name), (gst_query_type_to_quark),
6985         (gst_query_type_register):
6986         * gst/gstquery.h:
6987         Add type to quark and type to string conversions.
6988
6989 2005-11-19  Andy Wingo  <wingo@pobox.com>
6990
6991         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
6992         #320097.
6993
6994 2005-11-19  Wim Taymans  <wim@fluendo.com>
6995
6996         * docs/design/part-TODO.txt:
6997         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
6998         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
6999         (gst_bin_handle_message_func):
7000         * gst/gstbin.h:
7001         Make message handling overridable.
7002
7003 2005-11-19  Andy Wingo  <wingo@pobox.com>
7004
7005         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
7006
7007         * gst/gstclock.h:
7008         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
7009         be a GstClockTime.
7010         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
7011         is a GstClockTime. Fixes #321710.
7012
7013         * gst/gstclock.h (GstClock): Remove offset property. Add
7014         internal_calibration and external_calibration. Fix padding. Pad
7015         also by GstClockTime so we don't run into problems.
7016
7017         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
7018         (gst_clock_get_rate_offset): Remove.
7019         (gst_clock_set_time_adjust): Remove. Fixes #321712.
7020
7021         * gst/gstutils.h:
7022         * gst/gstutils.c (g_static_rec_cond_wait)
7023         (g_static_rec_cond_timed_wait): Removed, no longer needed.
7024
7025         * gst/gstbin.c: Remove terrible continue_state prototype.
7026
7027         * gst/gstelement.h (gst_element_continue_state): Make public.
7028
7029         * gst/gstelement.h:
7030         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
7031         by continue_state. Fixes #319389.
7032
7033         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
7034         Really fixes #168438. However I don't see anywhere where the
7035         filter function is called... stupid GStreamer...
7036         
7037         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
7038         don't have a dispose function, so it won't get called when the
7039         object is unreffed, but oh well!
7040
7041         * gst/gstindex.c (gst_index_set_filter_full): New API function,
7042         allows a destroy function to be set so user_data can be freed.
7043         Fixes #168438.
7044         (gst_index_set_filter): Call gst_index_set_filter_full.
7045
7046         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
7047
7048         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
7049         string should produce an error, given the lack of a way to
7050         represent NULL strings. Fixes #165650.
7051         
7052         * gst/gstvalue.h: 
7053         * gst/gstvalue.c (gst_value_array_append_value) 
7054         (gst_value_array_prepend_value, gst_value_array_get_size) 
7055         (gst_value_array_get_value): New API, copied from
7056         gst_value_list_*, only operates on arrays.
7057         (gst_value_list_append_value, gst_value_list_prepend_value) 
7058         (gst_value_list_concat, gst_value_list_get_size) 
7059         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
7060
7061         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
7062         init_list, because it works on both.
7063         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
7064         (gst_value_copy_list_or_array): Renamed from copy_list.
7065         (gst_value_free_list_or_array): Renamed from free_list.
7066         (gst_value_collect_list_or_array): Renamed from collect_list.
7067         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
7068         (gst_value_list_or_array_peek_pointer): Renamed from
7069         list_peek_pointer.
7070         (_gst_value_array_value_table, _gst_value_list_value_table):
7071         Update value table functions.
7072         (gst_value_compare_list_or_array): Renamed from compare_list.
7073
7074         * gsttaglist.h: Whoops, foreach function returns void. Also fix
7075         some constness.
7076
7077         * gst/gsttaglist.c:
7078         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
7079         GstTagList*. Fixes #143472.
7080
7081         * gst/gststructure.h: Clarify what the foreach/map functions can
7082         or can't do to their arguments.
7083
7084 2005-11-18  Wim Taymans  <wim@fluendo.com>
7085
7086         * gst/gstclock.c: (gst_clock_set_calibration),
7087         (gst_clock_get_calibration):
7088         Doc and API fixes.
7089         Calibration can be set with internal time equal to current
7090         internal time too.
7091
7092 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
7093
7094         * gst/gsterror.c:
7095         * gst/gsterror.h:
7096           document
7097
7098 2005-11-18  Andy Wingo  <wingo@pobox.com>
7099
7100         * configure.ac: 
7101         * pkgconfig/gstreamer-net.pc.in:
7102         * pkgconfig/gstreamer-net-uninstalled.pc.in:
7103         * pkgconfig/Makefile.am: Add net pkgconfig files.
7104
7105 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
7106
7107         * gst/gstcaps.c:
7108         * gst/gstghostpad.c:
7109         * gst/gsttrace.c:
7110         * gst/gstvalue.c:
7111         * gst/gstvalue.h:
7112           docs fixes
7113
7114 2005-11-18  Andy Wingo  <wingo@pobox.com>
7115
7116         * gst/net/gstnetclientclock.c: Turn off debugging.
7117
7118         * check/net/gstnetclientclock.c (test_functioning): Assert that the
7119         times connverge somewhat. Can't make a real test.
7120
7121         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
7122         integer arithmetic. Return the minimum of the domain, which can be
7123         set as "internal" for gst_clock_set_calibration.
7124         (gst_net_client_clock_observe_times): Call _set_calibration.
7125         (gst_net_client_clock_new): Call _set_calibration instead of
7126         rate_offset.
7127
7128         * check/net/gstnetclientclock.c (test_functioning): Use the right
7129         adjustment api.
7130
7131         * gst/gstclock.h:
7132         * gst/gstclock.c (gst_clock_get_calibration) 
7133         (gst_clock_set_calibration): New functions, obsolete the ones I
7134         added yesterday. Doh. Precision issues mean we have to extrapolate
7135         from a point in the more recent past than 1970.
7136         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
7137         obsolete.
7138         (gst_clock_adjust_unlocked): Use the right calibration data.
7139
7140 2005-11-18  Edward Hervey  <edward@fluendo.com>
7141
7142         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
7143         Also reset the ->current_* values in READY->PAUSED
7144
7145 2005-11-18  Andy Wingo  <wingo@pobox.com>
7146
7147         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
7148         Whoops, check the right fd. Also add some debugging.
7149         (gst_net_client_clock_observe_times): Adjust for int64 offset.
7150         (do_linear_regression): Add a crapload of debugging. Subtract off
7151         the minimum values from the input series to discard unneeded bits.
7152         Use only int arithmetic. There is still double arithmetic when
7153         calculating the intercept that needs fixing. Return boolean to
7154         indicate success; FALSE would mean the domain or range is too
7155         great. Still needs fixes.
7156
7157 2005-11-18  Wim Taymans  <wim@fluendo.com>
7158
7159         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
7160         For the current position in stream time, we need to subtract
7161         accumulated time.
7162         
7163         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
7164         Release lock before calling the callback function of async
7165         entries.
7166
7167 2005-11-18  Andy Wingo  <wingo@pobox.com>
7168
7169         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
7170         Port goes all the way to MAXUINT16.
7171
7172         * gst/net/gstnettimeprovider.c: Make the port range the same as
7173         for the kernel: 0 assigns, otherwise ports are less than
7174         MAXUINT16.
7175
7176         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
7177         port change.
7178
7179         * check/net/gstnetclientclock.c (test_functioning): Add the start
7180         of another test. 
7181
7182 2005-11-18  Wim Taymans  <wim@fluendo.com>
7183
7184         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
7185         (gst_bin_remove_func), (bin_bus_handler):
7186         * gst/gstbin.h:
7187         Removing a clock provider from a bin, triggers a clock lost message
7188         so that a new clock will be selected.
7189         Adding a clock to a bin triggers a clock provider message.
7190         Make sure we reselect a clock when we received a clock lost message.
7191         Keep a reference to the element that provided the clock.
7192
7193 2005-11-18  Andy Wingo  <wingo@pobox.com>
7194
7195         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
7196         the clock initially so it produces values around the base time.
7197         (gst_net_client_clock_class_init): Typo fix.
7198         (gst_net_client_clock_thread): Add note on when the socket gets
7199         closed.
7200
7201 2005-11-17  Wim Taymans  <wim@fluendo.com>
7202
7203         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
7204         Free remote and local time arrays.
7205
7206 2005-11-17  Wim Taymans  <wim@fluendo.com>
7207
7208         * gst/net/gstnetclientclock.c: (do_linear_regression),
7209         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
7210         Fix compilation, uninitialized vars and a forgotten continue.
7211
7212 2005-11-17  Andy Wingo  <wingo@pobox.com>
7213
7214         * check/Makefile.am (check_PROGRAMS): 
7215         * check/net/gstnetclientclock.c: Add a most minimal test for the
7216         net client clock. More to come later.
7217
7218         * gst/net/gstnet.h: 
7219         * gst/net/Makefile.am: Add netclientclock.
7220
7221         * gst/net/gstnetclientclock.h:
7222         * gst/net/gstnetclientclock.c: New files, implement an untested
7223         GstClock that takes its time from a network time provider.
7224         Implements the algorithm in network-clock.scm.
7225
7226         * tests/network-clock.scm (*window-size*): Rename from
7227         *queue-length*.
7228         * tests/network-clock.scm (network-time): 
7229         * tests/network-clock-utils.scm (q-push): Update callers.
7230
7231 2005-11-17  Wim Taymans  <wim@fluendo.com>
7232
7233         * gst/gstbin.c: (gst_bin_provide_clock_func),
7234         (gst_bin_sort_iterator_new):
7235         And unref the child too..
7236
7237 2005-11-17  Wim Taymans  <wim@fluendo.com>
7238
7239         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7240         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
7241         Refactor the sort iterator so it can be used while holding the
7242         LOCK too.
7243         Make clock selection select a clock closest to the source.
7244
7245 2005-11-17  Michael Smith <msmith@fluendo.com>
7246
7247         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
7248         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
7249         * gst/gstclock.h:
7250           Anonymous structs are a gcc (and some other compilers) extension, so
7251           don't use them. Since this is only for ABI-compatibility, and our
7252           API/ABI freeze is over in a few days, this whole thing will only
7253           last a few days, so don't bother trying to think up a meaningful
7254           name for the struct.
7255
7256 2005-11-17  Andy Wingo  <wingo@pobox.com>
7257
7258         * gst/gstclock.h (GstClock): Add rate and offset properties,
7259         preserving ABI stability. Add rate/offset accessors. Will file bug
7260         for the freeze break.
7261
7262         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
7263         and offset, trying to keep precision and avoiding
7264         underflow/overflow.
7265         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
7266         functions. Make gst_clock_set_time_adjust obsolete.
7267         (gst_clock_set_time_adjust): Note that this function is obsolete.
7268         Will file bug soon.
7269
7270         * gst/base/gstbasetransform.h: Make the ABI-stability hack
7271         greppable by using GST_PADDING-1+1.
7272
7273 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
7274
7275         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
7276
7277         * gst/gstmessage.c: (gst_message_parse_clock_lost):
7278           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
7279
7280         * gst/gstpadtemplate.h:
7281         * gst/gstpluginfeature.h:
7282           Don't use c++ style comments in headers (#321638).
7283
7284 2005-11-16  Andy Wingo  <wingo@pobox.com>
7285
7286         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
7287         buffer.
7288
7289         * check/net/gstnettimeprovider.c: Check to see that the time
7290         provider actually provides times. Works, yo!
7291
7292 2005-11-16  Wim Taymans  <wim@fluendo.com>
7293
7294         * check/Makefile.am:
7295         Enable more tests.
7296
7297         * check/elements/fakesrc.c: (GST_START_TEST):
7298         Set element to NULL before disposing it.
7299
7300 2005-11-16  Andy Wingo  <wingo@pobox.com>
7301
7302         * gst/net/Makefile.am:
7303         * gst/net/gstnet.h:
7304         * gst/net/gstnettimeprovider.c: 
7305         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
7306         provider, include it from gstnet.h, and add it to the build.
7307
7308         * gst/net/gstnettimepacket.h: 
7309         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
7310         sending and receiving.
7311
7312 2005-11-16  Wim Taymans  <wim@fluendo.com>
7313
7314         * check/Makefile.am:
7315         Enable valgrind check.
7316
7317         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
7318         (gst_fake_src_alloc_buffer):
7319         Fix memleak.
7320
7321 2005-11-16  Wim Taymans  <wim@fluendo.com>
7322
7323         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
7324         Call parent finalize too.
7325
7326 2005-11-16  Wim Taymans  <wim@fluendo.com>
7327
7328         * check/Makefile.am:
7329         Enable valgrind check that should work fine now.
7330
7331         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7332         * gst/gstqueue.c: (gst_queue_init):
7333         Fix memleaks in pad allocation.
7334
7335 2005-11-16  Andy Wingo  <wingo@pobox.com>
7336
7337         * gst/net/Makefile.am:
7338         * gst/net/gstnet.h: New part of core to hold network elements and
7339         objects. Put in core because it exposes API that applications want
7340         to use. The library is named libgstnet-tempname right now because
7341         of the existing libgstnet in gst-plugins-base. Solution is
7342         probably to rename the one in plugins-base; will file a bug for
7343         the freeze break.
7344
7345         * gst/net/gstnettimeprovider.c: 
7346         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
7347         get_time call over the network.
7348
7349         * configure.ac: 
7350         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
7351
7352         * check/Makefile.am:
7353         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
7354         get additions shortly.
7355
7356 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7357
7358         * gst/gstpad.c: (gst_pad_new_from_static_template):
7359         * gst/gstpad.h:
7360           add gst_pad_new_from_static_template functions
7361         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
7362         (gst_check_setup_sink_pad):
7363         * gst/elements/gsttee.c: (gst_tee_init):
7364           and use them
7365
7366 2005-11-16  Wim Taymans  <wim@fluendo.com>
7367
7368         * gst/gstpad.c: (gst_pad_pause_task):
7369         Removed warning, it's not really an error either.
7370
7371 2005-11-16  Wim Taymans  <wim@fluendo.com>
7372
7373         * gst/base/gstbasetransform.c:
7374         (gst_base_transform_prepare_output_buf),
7375         (gst_base_transform_event):
7376         Check if the caps are NULL, this can happen if the element
7377         is shutting down and the pad caps are set to NULL.
7378
7379 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7380
7381         * gst/elements/gsttee.c: (gst_tee_init):
7382           fix pad template leak in tee
7383
7384 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7385
7386         * gst/glib-compat.c: (g_value_dup_gst_object):
7387         * gst/glib-compat.h:
7388         * gst/gstpad.c: (gst_pad_set_property):
7389           use gst_object_ref when setting the pad template; this will
7390           trigger the pad template leaks on GLib 2.6 and the slaves
7391
7392 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7393
7394         * gst/glib-compat.c: (gst_flags_get_first_value):
7395         * gst/glib-compat.h:
7396         * gst/gstregistryxml.c:
7397           remove functions copied from GLib 2.6
7398
7399 2005-11-16  Michael Smith <msmith@fluendo.com>
7400
7401         * gst/Makefile.am:
7402           Don't link against VALGRIND_LIBS. That was always the wrong thing to
7403           do, but only breaks with newer valgrind versions. We're not a
7404           valgrind tool, we have no link-time dependencies on libcoregrind.
7405
7406 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7407
7408         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7409           some debug changes
7410         * gst/gstmessage.h:
7411           typo fixes
7412
7413 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7414
7415         * gst/base/gstbasesrc.c: (gst_base_src_init):
7416         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7417         * gst/gstqueue.c: (gst_queue_init):
7418         * gst/gstregistryxml.c: (load_feature):
7419           Revert all these unrefs, they don't even pass make check !
7420
7421 2005-11-15  Johan Dahlin  <johan@gnome.org>
7422
7423         * gst/base/gstbasesrc.c: (gst_base_src_init):
7424         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7425         * gst/gstqueue.c: (gst_queue_init): 
7426         Free pad templates, fixes a couple of leaks.
7427
7428 2005-11-15  Daniel Fischer  <dan at f3c dot com>
7429
7430         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
7431
7432         * gst/gstpad.c: (gst_pad_get_property):
7433           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
7434           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
7435           (#321452)
7436
7437 2005-11-15  Wim Taymans  <wim@fluendo.com>
7438
7439         * gst/gstevent.c:
7440         Small doc update.
7441
7442 2005-11-15  Andy Wingo  <wingo@pobox.com>
7443
7444         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
7445
7446         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
7447         using GST_CLOCK_TIME_NONE to disable base time management.
7448         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
7449         time if it was NONE before.
7450         (gst_pipeline_change_state): Only munge the base time if
7451         stream_time != GST_CLOCK_TIME_NONE.
7452
7453         * check/gst/gstpipeline.c (test_base_time): Punt around the
7454         problem of the probe not being called, because that's not the
7455         issue I'm looking at. Add a check that setting stream_time to NONE
7456         disables base time management.
7457         
7458 2005-11-15  Wim Taymans  <wim@fluendo.com>
7459
7460         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
7461         segment_stop == -1 at startup.
7462
7463         * gst/base/gstbasetransform.c: (gst_base_transform_event),
7464         (gst_base_transform_change_state):
7465         Init segment values at start.
7466
7467 2005-11-15  Wim Taymans  <wim@fluendo.com>
7468
7469         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7470         0 segment values are 0 in any format.
7471
7472         * gst/base/gstbasetransform.c: (gst_base_transform_event):
7473         * gst/base/gstbasetransform.h:
7474         Parse newsegment correctly in basetransform
7475
7476         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7477         Sync to clock using updated segment values.
7478
7479 2005-11-15  Andy Wingo  <wingo@pobox.com>
7480
7481         * check/gst/gstpipeline.c (test_base_time): Add check that the
7482         base time and stream time are reset correctly.
7483
7484 2005-11-15  Wim Taymans  <wim@fluendo.com>
7485
7486         * docs/design/part-TODO.txt:
7487         Some more TODO items.
7488
7489 2005-11-15  Andy Wingo  <wingo@pobox.com>
7490
7491         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
7492         error if the user selected "no clock" as the clocking method.
7493
7494         * check/gst/gstpipeline.c (test_base_time): New test for buffer
7495         timestamps with live capture.
7496
7497         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
7498         is 0 but we are a live source, timestamp the buffers using the
7499         element's clock.
7500
7501 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
7502
7503         * docs/gst/gstreamer-sections.txt:
7504         * gst/gsterror.c:
7505         * gst/gstghostpad.c:
7506         * gst/gstobject.h:
7507         * gst/gstxml.c:
7508           more section docs
7509
7510 2005-11-14  Wim Taymans  <wim@fluendo.com>
7511
7512         * common/gst.supp:
7513           add suppressions from Wim's Debian machine
7514
7515 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7516
7517         * common/gst.supp:
7518           add suppressions from Andy's AMD64 Ubuntu machine
7519
7520 2005-11-14  Andy Wingo  <wingo@pobox.com>
7521
7522         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
7523         STATE_LOCK not necessary. Fixes #311489.
7524
7525         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
7526         #305291.
7527
7528         * gst/gstindex.c (gst_index_add_object): Note in the docs that
7529         this function is not implemented.
7530
7531 2005-11-14  Julien MOUTTE  <julien@moutte.net>
7532
7533         * gst/base/gstbasetransform.c:
7534         (gst_base_transform_prepare_output_buf):
7535         Ref the source pad caps while we need them.
7536         Fixes (#321386)
7537
7538 2005-11-11  Wim Taymans  <wim@fluendo.com>
7539
7540         * docs/gst/gstreamer-sections.txt:
7541         Added some docs for GstCollectData.
7542
7543         * gst/base/gstadapter.c:
7544         Some small code example fix.
7545
7546         * gst/base/gstcollectpads.c:
7547         * gst/base/gstcollectpads.h:
7548         Document some more.
7549
7550 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7551
7552         * configure.ac: back to HEAD
7553
7554 === release 0.9.5 ===
7555
7556 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
7557
7558         * configure.ac:
7559           releasing 0.9.5, "Bike Lunch Day"
7560
7561 2005-11-11  Wim Taymans  <wim@fluendo.com>
7562
7563         * gst/gstbuffer.c: (_gst_buffer_copy):
7564         Copy more flags.
7565
7566         * gst/gstcaps.c: (gst_caps_is_equal):
7567         Fix some docs.
7568         Make _is_equal fast in the trivial cases.
7569
7570         * gst/gstminiobject.c:
7571         * gst/gstminiobject.h:
7572         More docs. Spifify .h file.
7573
7574         * gst/gstutils.c:
7575         Small doc update.
7576
7577 2005-11-11  Wim Taymans  <wim@fluendo.com>
7578
7579         * gst/base/gstbasetransform.c:
7580         (gst_base_transform_prepare_output_buf),
7581         (gst_base_transform_handle_buffer):
7582         Small cleanups.
7583         If we're processing a buffer and need to allocate an output
7584         buffer, we cannot accept a format change. If we did get a 
7585         format change, we have to alloc a buffer ourselves of the 
7586         right size.
7587
7588 2005-11-11  Wim Taymans  <wim@fluendo.com>
7589
7590         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
7591         While checking the flag for reentrancy in the gstcaps function
7592         is nice to detect recursive invocations, it also makes it 
7593         impossible to call getcaps from multiple threads, which must be
7594         possible. So, checking for recursive calls has to go.
7595
7596 2005-11-11  Michael Smith <msmith@fluendo.com>
7597
7598         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7599           Don't sync on buffers that fall partially outside our current
7600           segment. Prevents an assertion failure/abort playing some files.
7601
7602 2005-11-10  Andy Wingo  <wingo@pobox.com>
7603
7604         * check/gst/gstbin.c (test_message_state_changed_children): Style
7605         fix..
7606
7607         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
7608         gst_bus_poll with the signal watch. Ensures that poll and a signal
7609         watch see the same messages.
7610
7611         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
7612         a poll and a watch at the same time get the same messages.
7613
7614 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7615
7616         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
7617         * gst/gstcaps.c: (gst_caps_intersect):
7618           Don't call gst_caps_do_simplify - it doesn't respect order of caps
7619           and it's not needed.
7620
7621 2005-11-10  Wim Taymans  <wim@fluendo.com>
7622
7623         * docs/design/part-TODO.txt:
7624         Updated todo.
7625
7626 2005-11-10  Wim Taymans  <wim@fluendo.com>
7627
7628         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7629         * gst/base/gstbasesrc.c: (gst_base_src_wait),
7630         (gst_base_src_do_sync), (gst_base_src_get_range):
7631         Implement clock sync in base class.
7632
7633 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7634
7635         patch by: Tim-Philipp Müller <tim at centricular dot net>
7636
7637         * gst/gststructure.c: (gst_structure_parse_field),
7638         (gst_structure_from_string):
7639           Forward-port a 0.8 patch to handle escaped spaces in structure string,
7640           so that gst_parse_launch() can deal with spaces in filtered link
7641           caps (fixes #164479)
7642         * check/gst/capslist.h:
7643         * check/gst/gststructure.c: (GST_START_TEST):
7644           add unit tests for this change
7645
7646 2005-11-10  Wim Taymans  <wim@fluendo.com>
7647
7648         * docs/gst/gstreamer-sections.txt:
7649         * gst/gstelement.c:
7650         * gst/gstelement.h:
7651         Fix docs, move some STATE macros to private.
7652
7653 2005-11-10  Wim Taymans  <wim@fluendo.com>
7654
7655         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7656         Added check for bug #317341
7657
7658         * gst/gstbuffer.c:
7659         * gst/gstbuffer.h:
7660         Some more spiffifying.
7661
7662         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
7663         Call peer linkfunction if we are a source pad. Totally fixes
7664         #317341
7665
7666         * gst/gstpad.c:
7667         Update docs, source pads should call the peer linkfunction
7668         so they can atomically perform the pad link.
7669
7670 2005-11-09  Wim Taymans  <wim@fluendo.com>
7671
7672         * gst/gstbuffer.c:
7673         * gst/gstbuffer.h:
7674         Uber-spiffy-spiffify some more.
7675
7676 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
7677
7678         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
7679         * gst/elements/gstfilesink.c: (gst_file_sink_init):
7680         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7681         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
7682         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
7683         * gst/gstpad.c: (gst_pad_init):
7684           Use GST_DEBUG_FUNCPTR() more extensively.
7685
7686 2005-11-09  Wim Taymans  <wim@fluendo.com>
7687
7688         * gst/gstobject.c: (gst_object_class_init):
7689         * gst/gstobject.h:
7690         Documentation fixes.
7691
7692 2005-11-09  Edward Hervey  <edward@fluendo.com>
7693
7694         * gst/gsttypefindfactory.c:
7695         Fix docs.
7696         
7697 2005-11-09  Edward Hervey  <edward@fluendo.com>
7698
7699         * gst/base/gsttypefindhelper.c:
7700         * gst/gsttypefind.c:
7701         * gst/gsttypefind.h:
7702         Fix docs.
7703
7704 2005-11-09  Wim Taymans  <wim@fluendo.com>
7705
7706         * gst/gstiterator.c:
7707         Fix revision data.
7708
7709         * gst/gsttask.c:
7710         * gst/gsttask.h:
7711         Fix docs.
7712
7713 2005-11-09  Wim Taymans  <wim@fluendo.com>
7714
7715         * gst/gstevent.h:
7716         * gst/gsturi.h:
7717         Fix docs.
7718
7719 2005-11-09  Wim Taymans  <wim@fluendo.com>
7720
7721         * docs/gst/gstreamer-sections.txt:
7722         Moved the message async delivery private lock and cond
7723         to the private section.
7724
7725         * gst/gstmessage.c:
7726         * gst/gstmessage.h:
7727         Fixed docs.
7728
7729 2005-11-09  Edward Hervey  <edward@fluendo.com>
7730
7731         * docs/gst/gstreamer-sections.txt:
7732         * gst/gsturi.c:
7733         * gst/gsturi.h:
7734         Document GstURIHandler
7735
7736 2005-11-09  Wim Taymans  <wim@fluendo.com>
7737
7738         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
7739         (gst_iterator_find_custom):
7740         * gst/gstiterator.h:
7741         Fix iterator docs.
7742
7743 2005-11-09  Wim Taymans  <wim@fluendo.com>
7744
7745         * gst/gstbin.h:
7746         Document another field.
7747
7748         * gst/gststructure.c:
7749         * gst/gststructure.h:
7750         Document.
7751
7752 2005-11-09  Wim Taymans  <wim@fluendo.com>
7753
7754         * gst/gstbin.h:
7755         Documented structs.
7756
7757 2005-11-09  Wim Taymans  <wim@fluendo.com>
7758
7759         * docs/gst/gstreamer-sections.txt:
7760         Added some new macros.
7761
7762         * gst/gstclock.c:
7763         * gst/gstclock.h:
7764         * gst/gstobject.h:
7765         Docs updates.
7766
7767 2005-11-09  Wim Taymans  <wim@fluendo.com>
7768
7769         * docs/design/part-TODO.txt:
7770         Some more items for the TODO
7771
7772         * gst/gstcaps.c:
7773         * gst/gstcaps.h:
7774         Document GstCaps.
7775
7776 2005-11-09  Andy Wingo  <wingo@pobox.com>
7777
7778         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
7779         to work on something else now tho...
7780
7781         * gst/base/gstadapter.c: More adapter docs.
7782
7783         * gst/elements/gstfilesink.c (gst_file_sink_start) 
7784         (gst_file_sink_stop): New functions, replace the state change
7785         handler.
7786         (gst_file_sink_class_init): Hook up the start and stop functions.
7787         (gst_file_sink_base_init): Don't set the state change handler any
7788         more. It was a bit ugly too, being set from here...
7789         (gst_file_sink_get_property, gst_file_sink_set_property):
7790         Cleanups...
7791         (gst_file_sink_set_location): More robust check that doesn't call
7792         GST_STATE. Ugggggg.
7793
7794 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
7795
7796         * gst/base/gstbasetransform.c: (gst_base_transform_event):
7797           Hold STREAM_LOCK while pushing newsegment or tag events as well.
7798
7799 2005-11-08  Wim Taymans  <wim@fluendo.com>
7800
7801         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7802         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7803         (gst_base_sink_chain), (gst_base_sink_change_state):
7804         * gst/base/gstbasesink.h:
7805         * gst/base/gstbasesrc.h:
7806         * gst/gstelement.h:
7807         * gst/gstevent.h:
7808         Avoid excessive typechecking in macros.
7809
7810         * gst/gstminiobject.c: (gst_mini_object_get_type),
7811         (gst_mini_object_init), (gst_mini_object_new),
7812         (gst_mini_object_free):
7813         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7814         (gst_object_finalize):
7815         Remove cruft code, optimize alloc_trace.
7816
7817 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
7818
7819         * docs/faq/gst-uninstalled:
7820           fix up PS1 for systems that try to reset it
7821
7822 2005-11-07  Wim Taymans  <wim@fluendo.com>
7823
7824         * gst/base/gstbasesrc.c: (gst_base_src_init),
7825         (gst_base_src_get_range):
7826         Set the segment_end to -1 initially. Fixed typefind.
7827
7828 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
7829
7830         * gst/base/gstadapter.c:
7831           Debug category should be 'adapter', not 'GstAdapter'.
7832           
7833         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
7834         (gst_collectpads_class_init), (gst_collectpads_init),
7835         (gst_collectpads_peek), (gst_collectpads_pop),
7836         (gst_collectpads_event), (gst_collectpads_chain):
7837           Add debug category and some debugging output. Use boilerplate
7838           macros. Remove some extraneous words from docs.
7839
7840 2005-11-05  Andy Wingo  <wingo@pobox.com>
7841
7842         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
7843         macro.
7844
7845 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
7846
7847         * docs/gst/gstreamer-sections.txt:
7848         * gst/gstcaps.h:
7849         * gst/gstinfo.c:
7850         * gst/gstminiobject.h:
7851         * gst/gstobject.h:
7852         * gst/gstutils.h:
7853           more docs added
7854
7855 2005-11-04  Wim Taymans  <wim@fluendo.com>
7856
7857         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7858         Small update to stop at the configured segment_end
7859         position.
7860
7861 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
7862
7863         * gst/gstregistry.c:
7864         * gst/gstregistry.h:
7865           added missing docs
7866
7867 2005-11-04  Edward Hervey  <edward@fluendo.com>
7868
7869         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7870         Check if we are doing a segment seek and have arrived at the
7871         end of that segment.
7872
7873 2005-11-04  Wim Taymans  <wim@fluendo.com>
7874
7875         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
7876         Don't leak a mutex unlock in case of an error.
7877
7878         * gst/gstbus.h:
7879         Doc fixes.
7880
7881 2005-11-04  Wim Taymans  <wim@fluendo.com>
7882
7883         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
7884         (gst_bus_post):
7885         Get the context to wake up only once.
7886
7887 2005-11-03  Wim Taymans  <wim@fluendo.com>
7888
7889         * check/states/sinks.c: (GST_START_TEST):
7890         Uncomment fixed check.
7891
7892         * docs/design/part-TODO.txt:
7893         Updated TODO.
7894
7895         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7896         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7897         (gst_base_sink_get_position):
7898         If we are going to PLAYING, post the right pending state
7899         when we post the intermediate paused message.
7900
7901         * gst/gstelement.c: (gst_element_continue_state),
7902         (gst_element_set_state_func), (gst_element_change_state):
7903         Don't post state changes that were between the same state
7904         and were not ASYNC.
7905
7906 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
7907
7908         * docs/gst/gstreamer-sections.txt:
7909         * gst/gstcaps.h:
7910         * gst/gstinfo.c:
7911         * gst/gstminiobject.h:
7912         * gst/gstobject.h:
7913         * gst/gstutils.h:
7914           more docs and doc style fixes
7915
7916 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
7917
7918         * docs/gst/gstreamer-sections.txt:
7919         * gst/gstelement.c:
7920         * gst/gstminiobject.c:
7921         doc fixes
7922
7923 2005-11-03  Andy Wingo  <wingo@pobox.com>
7924
7925         * check/states/sinks.c (test_livesrc_sink): Add checks that the
7926         state-changed messages actually have the right order and the right
7927         values.
7928
7929 2005-11-03  Wim Taymans  <wim@fluendo.com>
7930
7931         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
7932         Added some more checks. Specifically the case where NO_PREROLL
7933         elements are in the pipeline.
7934
7935         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7936         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7937         (gst_base_sink_get_position):
7938         Post READY->PAUSED state change messages too.
7939         Fix bug where VOID was posted as pending state...
7940
7941         * gst/gstbin.c: (gst_bin_recalc_state):
7942         use _element_continue_state() to continue the state change.
7943
7944         * gst/gstelement.c: (gst_element_continue_state),
7945         (gst_element_commit_state), (gst_element_set_state_func),
7946         (gst_element_change_state), (gst_element_change_state_func):
7947         Lots of state change cleanups, assign the STATE_RETURN in
7948         a new continue_state() function that also propagates the
7949         last return value from a state change to the app.
7950         Update some debug statements with proper category.
7951
7952 2005-11-03  Wim Taymans  <wim@fluendo.com>
7953
7954         * docs/design/part-events.txt:
7955         * docs/design/part-gstpipeline.txt:
7956         * docs/design/part-messages.txt:
7957         * docs/design/part-overview.txt:
7958         * docs/design/part-seeking.txt:
7959         * docs/design/part-states.txt:
7960         * docs/design/part-trickmodes.txt:
7961         * docs/manual/advanced-position.xml:
7962         Small docs updates.
7963
7964         * gst/gstobject.h:
7965         People think !! is ugly, this looks better.
7966
7967         * gst/gstpad.c: (gst_pad_set_blocked_async):
7968         Remove !! since it's fixed elsewhere now.
7969
7970 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
7971
7972         * gst/gstminiobject.h:
7973         * gst/gstobject.h:
7974           Add !! to _FLAG_IS_SET macros to make the result boolean.
7975
7976 2005-11-03  Edward Hervey  <edward@fluendo.com>
7977
7978         * gst/gstpad.c: (gst_pad_set_blocked_async):
7979         comparing a flag and a gboolean rarely returns coherent results...
7980         Added two characters (!!) to make that work correctly.
7981         
7982 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
7983
7984         * gst/gstbus.c: (gst_bus_class_init):
7985           Fix some typos.
7986           
7987         * gst/gstqueue.c: (gst_queue_loop):
7988           Don't assume a miniobject that isn't a buffer is an
7989           event (it could be that there is a refcounting
7990           problem somewhere and the pointer is stale and
7991           refers to an already destroyed miniobject).
7992
7993 2005-11-03  Julien MOUTTE  <julien@moutte.net>
7994
7995         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
7996
7997 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
7998
7999         * docs/manual/advanced-position.xml:
8000           Update seek example and explanations to current 0.9 API.
8001
8002         * gst/elements/gsttypefindelement.c:
8003         (gst_type_find_element_activate):
8004           Remove FIXME comment now that the found caps
8005           are unreffed.
8006
8007 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8008
8009         * gst/gstregistryxml.c: (load_feature):
8010           Add another GST_STR_NULL instance
8011
8012 2005-11-02  Edward Hervey  <edward@fluendo.com>
8013
8014         * gst/gstpad.c: (handle_pad_block):
8015         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
8016         
8017 2005-11-02  Wim Taymans  <wim@fluendo.com>
8018
8019         * gst/gstbin.c:
8020         Fix typo in docs.
8021
8022         * gst/gstelement.c: (gst_element_commit_state):
8023         Remove unused value.
8024
8025         * gst/gstiterator.c:
8026         Mention that the returned element is reffed in the docs.
8027
8028 2005-11-02  Wim Taymans  <wim@fluendo.com>
8029
8030         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
8031         (gst_pad_push), (gst_pad_push_event):
8032         Unlock blocked pads when they are flushed.
8033
8034 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8035
8036         * docs/README:
8037         * docs/gst/gstreamer-sections.txt:
8038         * gst/gstbin.c:
8039           doc updates
8040         * gst/gstregistry.c: (gst_registry_scan_path_level):
8041           fix for a nasty little missed situation where an installed plug-in
8042           which was in the cache did not get overridden by an uninstalled one
8043           which was earlier in the plugin path because the newly created plugin
8044           for the uninstalled one (not in the registry) didn't get its
8045           ->registered set to TRUE
8046
8047 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
8048
8049         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
8050         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
8051         (gst_collectpads_is_active), (gst_collectpads_collect),
8052         (gst_collectpads_collect_range), (gst_collectpads_start),
8053         (gst_collectpads_stop), (gst_collectpads_peek),
8054         (gst_collectpads_pop), (gst_collectpads_available),
8055         (gst_collectpads_read), (gst_collectpads_flush):
8056           Guard public API with assertions.
8057         
8058         * gst/gstpad.c:
8059           Fix docs for gst_pad_set_link_function().
8060
8061 2005-11-02  Johan Dahlin  <johan@gnome.org>
8062
8063         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
8064         Unref found_caps after we used it.
8065
8066 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
8067
8068         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
8069           Don't try to ref NULL.
8070
8071 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8072
8073         * win32/common/config.h.in:
8074           provide a GST_FUNCTION that just gives a string for now
8075
8076 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8077
8078         * win32/common/gstenumtypes.c: (register_gst_object_flags),
8079         (gst_object_flags_get_type), (register_gst_bin_flags),
8080         (gst_bin_flags_get_type), (register_gst_buffer_flag),
8081         (gst_buffer_flag_get_type), (register_gst_bus_flags),
8082         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
8083         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
8084         (gst_clock_return_get_type), (register_gst_clock_entry_type),
8085         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
8086         (gst_clock_flags_get_type), (register_gst_state),
8087         (gst_state_get_type), (register_gst_state_change_return),
8088         (gst_state_change_return_get_type), (register_gst_state_change),
8089         (gst_state_change_get_type), (register_gst_element_flags),
8090         (gst_element_flags_get_type), (register_gst_core_error),
8091         (gst_core_error_get_type), (register_gst_library_error),
8092         (gst_library_error_get_type), (register_gst_resource_error),
8093         (gst_resource_error_get_type), (register_gst_stream_error),
8094         (gst_stream_error_get_type), (register_gst_event_type),
8095         (gst_event_type_get_type), (register_gst_seek_type),
8096         (gst_seek_type_get_type), (register_gst_seek_flags),
8097         (gst_seek_flags_get_type), (register_gst_format),
8098         (gst_format_get_type), (register_gst_index_certainty),
8099         (gst_index_certainty_get_type), (register_gst_index_entry_type),
8100         (gst_index_entry_type_get_type),
8101         (register_gst_index_lookup_method),
8102         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
8103         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
8104         (gst_index_resolver_method_get_type), (register_gst_index_flags),
8105         (gst_index_flags_get_type), (register_gst_debug_level),
8106         (gst_debug_level_get_type), (register_gst_debug_color_flags),
8107         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
8108         (gst_iterator_result_get_type), (register_gst_iterator_item),
8109         (gst_iterator_item_get_type), (register_gst_message_type),
8110         (gst_message_type_get_type), (register_gst_mini_object_flags),
8111         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
8112         (gst_pad_link_return_get_type), (register_gst_flow_return),
8113         (gst_flow_return_get_type), (register_gst_activate_mode),
8114         (gst_activate_mode_get_type), (register_gst_pad_direction),
8115         (gst_pad_direction_get_type), (register_gst_pad_flags),
8116         (gst_pad_flags_get_type), (register_gst_pad_presence),
8117         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
8118         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
8119         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
8120         (gst_plugin_error_get_type), (register_gst_plugin_flags),
8121         (gst_plugin_flags_get_type), (register_gst_rank),
8122         (gst_rank_get_type), (register_gst_query_type),
8123         (gst_query_type_get_type), (register_gst_tag_merge_mode),
8124         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
8125         (gst_tag_flag_get_type), (register_gst_task_state),
8126         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
8127         (gst_alloc_trace_flags_get_type),
8128         (register_gst_type_find_probability),
8129         (gst_type_find_probability_get_type), (register_gst_uri_type),
8130         (gst_uri_type_get_type), (register_gst_parse_error),
8131         (gst_parse_error_get_type):
8132         * win32/common/gstversion.h:
8133           update win32 copies
8134
8135 2005-11-01  Luca Ognibene  <luogni@tin.it>
8136
8137         * gst/gst.c:
8138           fix docs. popt is dead, long live GOption.
8139
8140 2005-10-31  Wim Taymans  <wim@fluendo.com>
8141
8142         * gst/gstbuffer.h:
8143         Small doc fix.
8144
8145 2005-10-31  Andy Wingo  <wingo@pobox.com>
8146
8147         * Boo!
8148
8149         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
8150
8151         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
8152         need to serialize property notifications on GLib 2.8. GLib 2.6 has
8153         the possibility of deadlocks here if code calling notify() or
8154         set() has a lock that can be taken in another notify handler (ABBA
8155         with class lock and e.g. python GIL state lock).
8156
8157 2005-10-28  Julien MOUTTE  <julien@moutte.net>
8158
8159         * gst/gstbus.c: Doc updates.
8160
8161 2005-10-28  Wim Taymans  <wim@fluendo.com>
8162
8163         * docs/design/part-TODO.txt:
8164         * gst/gstiterator.c:
8165         * gst/gstsystemclock.c:
8166         * gst/gstsystemclock.h:
8167         Doc updates.
8168
8169 2005-10-28  Edward Hervey  <edward@fluendo.com>
8170
8171         * docs/gst/gstreamer-docs.sgml:
8172         * docs/gst/gstreamer-sections.txt:
8173         the GstURIType documentation page is private, it only defines GstURIType
8174         which should be defined in the GstURIHandler page
8175         
8176 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8177
8178         * gst/gstbin.c: (gst_bin_class_init):
8179         * gst/gstbin.h:
8180         * gst/gstutils.c:
8181         Documentation updates.
8182
8183 2005-10-28  Wim Taymans  <wim@fluendo.com>
8184
8185         * docs/gst/gstreamer-sections.txt:
8186         * gst/gstclock.c:
8187         * gst/gstclock.h:
8188         Documented the clocks.
8189
8190 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
8191
8192         * docs/gst/gstreamer-sections.txt:
8193           move some macros to private sections
8194         * gst/gstminiobject.c:
8195         * gst/gstminiobject.h:
8196           add descriptions provided by ds and some more
8197         * gst/gstpad.h:
8198           mark macro as to be removed
8199
8200 2005-10-28  Wim Taymans  <wim@fluendo.com>
8201
8202         * docs/design/part-TODO.txt:
8203         Add an item to TODO.
8204
8205         * gst/gstiterator.c: (gst_iterator_fold),
8206         (gst_iterator_find_custom):
8207         * gst/gstiterator.h:
8208         Add iterator docs.
8209
8210 2005-10-28  Wim Taymans  <wim@fluendo.com>
8211
8212         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8213         (gst_base_transform_init):
8214         Don't leak class.
8215
8216         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
8217         An EOS event marks the queue as completely filled.
8218
8219 2005-10-27  Wim Taymans  <wim@fluendo.com>
8220
8221         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8222         (gst_base_sink_do_sync), (gst_base_sink_get_position):
8223         Some more debugging.
8224
8225         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
8226         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
8227         (gst_base_transform_event), (gst_base_transform_getrange),
8228         (gst_base_transform_chain):
8229         * gst/base/gstbasetransform.h:
8230         Fix debugging,
8231         Protect transform and concurrent buffer alloc with a new lock.
8232         Try not to break ABI/API.
8233
8234 2005-10-27  Wim Taymans  <wim@fluendo.com>
8235
8236         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8237         (gst_base_src_init), (gst_base_src_query),
8238         (gst_base_src_default_newsegment),
8239         (gst_base_src_configure_segment), (gst_base_src_do_seek),
8240         (gst_base_src_send_event), (gst_base_src_event_handler),
8241         (gst_base_src_pad_get_range), (gst_base_src_loop),
8242         (gst_base_src_unlock), (gst_base_src_default_negotiate),
8243         (gst_base_src_start), (gst_base_src_deactivate),
8244         (gst_base_src_activate_push), (gst_base_src_change_state):
8245         Move some stuff around and cleanup things.
8246
8247 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
8248
8249         * gst/base/gstbasesrc.c: (gst_base_src_query):
8250           Add missing break statements.
8251
8252 2005-10-27  Wim Taymans  <wim@fluendo.com>
8253
8254         * check/gst/gstbin.c: (GST_START_TEST):
8255         An extra refcount is taken in basesrc.
8256
8257         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8258         (gst_base_src_get_range), (gst_base_src_pad_get_range),
8259         (gst_base_src_loop):
8260         Small cleanups, check for flushing after being unlocked from the 
8261         LIVE_LOCK. take refcounts correctly (not yet everywhere).
8262         Don't send out EOS when going to READY.
8263
8264 2005-10-27  Wim Taymans  <wim@fluendo.com>
8265
8266         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8267         (gst_base_sink_get_position):
8268         Some more debug.
8269
8270         * gst/gstbin.c: (message_check), (bin_replace_message),
8271         (bin_remove_messages), (is_eos), (gst_bin_add_func),
8272         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8273         (bin_query_duration_init), (bin_query_duration_fold),
8274         (bin_query_duration_done), (bin_query_generic_fold),
8275         (gst_bin_query):
8276         * tools/gst-launch.c: (main):
8277         Remove old option.
8278
8279 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
8280
8281         * examples/controller/audio-example.c: (main):
8282         * examples/queue/queue.c: (event_loop):
8283         * gst/base/gstbasetransform.h:
8284         * gst/gstelement.c: (gst_element_send_event):
8285         * gst/gstevent.h:
8286         * gst/gstpad.c: (gst_pad_send_event):
8287           fixing examples
8288           fixing docs typos
8289           changing log priority in error situations
8290
8291 2005-10-25  Wim Taymans  <wim@fluendo.com>
8292
8293         * gst/gstbin.c: (message_check), (bin_replace_message),
8294         (bin_remove_messages), (is_eos), (gst_bin_add_func),
8295         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8296         (bin_query_duration_init), (bin_query_duration_fold),
8297         (bin_query_duration_done), (bin_query_generic_fold),
8298         (gst_bin_query):
8299         Some doc and debug updates.
8300         Cache previously requested query DURATION for speed. invalidate
8301         cached duration if element posts a DURATION message.
8302
8303 2005-10-25  Wim Taymans  <wim@fluendo.com>
8304
8305         * docs/design/part-TODO.txt:
8306         Update TODO.
8307
8308         * gst/gstbin.c: (message_check), (bin_replace_message),
8309         (bin_remove_messages), (is_eos), (gst_bin_add_func),
8310         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8311         (bin_query_duration_init), (bin_query_duration_fold),
8312         (bin_query_duration_done), (bin_query_generic_fold),
8313         (gst_bin_query):
8314         Handle SEGMENT_START/DONE messages correctly.
8315         More evolved query algorithm that handles duration queries
8316         correctly.
8317
8318         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
8319         (gst_element_get_state_func), (gst_element_abort_state),
8320         (gst_element_commit_state), (gst_element_lost_state):
8321         Some more debugging.
8322
8323         * gst/gstmessage.h:
8324         Added doc.
8325
8326 2005-10-25  Wim Taymans  <wim@fluendo.com>
8327
8328         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8329         Don't use invalid stream_time.
8330
8331         * gst/gstevent.c: (gst_event_new_newsegment):
8332         stream_time in newsegment cannot be undefined.
8333
8334 2005-10-24  Wim Taymans  <wim@fluendo.com>
8335
8336         * gst/gstbus.c:
8337         Doc fix.
8338
8339         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8340         (gst_queue_loop):
8341         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
8342
8343 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
8344
8345         * docs/libs/tmpl/gstdparam.sgml:
8346         * docs/libs/tmpl/gstdplinint.sgml:
8347         * docs/libs/tmpl/gstdpman.sgml:
8348         * docs/libs/tmpl/gstdpsmooth.sgml:
8349         * docs/libs/tmpl/gstunitconvert.sgml:
8350           these are obsolete
8351
8352 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8353
8354         * configure.ac:
8355           back to HEAD
8356
8357 === release 0.9.4 ===
8358
8359 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8360
8361         * configure.ac:
8362           releasing 0.9.4, "Tyrannosaurus Rex"
8363
8364 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
8365
8366         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
8367         (gst_file_sink_get_current_offset):
8368           Use fseeko() and ftello() if available. When falling back on
8369           lseek() to get the current offset, fflush() first to make sure
8370           everything is up-to-date and we get the right offset.
8371
8372 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8373
8374         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8375         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8376         * gst/gsterror.c: (_gst_stream_errors_init):
8377         * gst/gsterror.h:
8378         * gst/gstqueue.c: (gst_queue_loop):
8379         * po/POTFILES.in:
8380           remove prematurely added error category and clean up the instances
8381
8382 2005-10-21  Wim Taymans  <wim@fluendo.com>
8383
8384         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8385         (gst_base_sink_get_position), (gst_base_sink_query),
8386         (gst_base_sink_change_state):
8387         Simply set the right flag when going to playing, that's all
8388         we need to do instead of calling a function inside the object
8389         lock (that could take the lock as well and deadlock)
8390
8391 2005-10-21  Wim Taymans  <wim@fluendo.com>
8392
8393         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
8394         (gst_base_src_loop):
8395         Don't warn, the peer element knows what to do best when
8396         the seek failed, it might try something else.
8397
8398 2005-10-21  Wim Taymans  <wim@fluendo.com>
8399
8400         * gst/base/gstbasesrc.c: (gst_base_src_init),
8401         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8402         Fix seeking.
8403
8404 2005-10-21  Wim Taymans  <wim@fluendo.com>
8405
8406         * docs/design/part-segments.txt:
8407         More docs.
8408
8409         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8410         Correctly set caps, even on the subbufer.
8411
8412 2005-10-21  Wim Taymans  <wim@fluendo.com>
8413
8414         * docs/gst/gstreamer-docs.sgml:
8415         * docs/gst/gstreamer-sections.txt:
8416         * gst/gstelement.h:
8417         * gst/gstevent.c:
8418         * gst/gstevent.h:
8419         * gst/gstmessage.h:
8420         * gst/gstpad.h:
8421         * gst/gstparse.h:
8422         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
8423         * gst/gsttask.h:
8424         * gst/gstutils.c:
8425         * gst/gstutils.h:
8426         And 2% more doc coverage.
8427
8428 2005-10-21  Andy Wingo  <wingo@pobox.com>
8429
8430         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
8431         position reporting.
8432
8433 2005-10-20  Wim Taymans  <wim@fluendo.com>
8434
8435         * gst/gsterror.c: (gst_error_get_message):
8436         * gst/gstparse.h:
8437         * gst/gstquery.h:
8438         * gst/gststructure.c:
8439         * gst/gsttrace.c:
8440         * gst/gstutils.c:
8441         More docs.
8442
8443 2005-10-20  Wim Taymans  <wim@fluendo.com>
8444
8445         * gst/gstbuffer.h:
8446         * gst/gstpad.c:
8447         * gst/gstparse.c:
8448         Another 1% more coverage.
8449
8450 2005-10-20  Wim Taymans  <wim@fluendo.com>
8451
8452         * docs/gst/gstreamer-sections.txt:
8453         * gst/gstelement.c: (gst_element_get_state_func),
8454         (gst_element_abort_state), (gst_element_commit_state),
8455         (gst_element_lost_state):
8456         * gst/gstevent.h:
8457         * gst/gstquery.c: (gst_query_set_position),
8458         (gst_query_parse_position), (gst_query_set_duration),
8459         (gst_query_parse_duration), (gst_query_new_convert):
8460         * gst/gstutils.c:
8461         Yay! 1% more docs coverage.
8462
8463 2005-10-20  Wim Taymans  <wim@fluendo.com>
8464
8465         * gst/gstpad.h:
8466         * gst/gstquery.c: (gst_query_set_position),
8467         (gst_query_parse_position), (gst_query_set_duration),
8468         (gst_query_parse_duration), (gst_query_new_convert):
8469         * gst/gstquery.h:
8470         * gst/gstutils.c: (gst_element_query_convert):
8471         * gst/gstutils.h:
8472         Docs and consistency fixes.
8473
8474 2005-10-20  Wim Taymans  <wim@fluendo.com>
8475
8476         * gst/gsttask.c:
8477         * gst/gsttask.h:
8478         More docs.
8479
8480 2005-10-20  Wim Taymans  <wim@fluendo.com>
8481
8482         * gst/gstbin.c: (message_check), (bin_replace_message),
8483         (bin_remove_messages), (is_eos), (gst_bin_add_func),
8484         (update_degree), (gst_bin_sort_iterator_next),
8485         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
8486         Reworked the message handling a bit, cache the messages instead of
8487         only the senders. alows us to do more in the future.
8488
8489 2005-10-20  Wim Taymans  <wim@fluendo.com>
8490
8491         * docs/design/part-TODO.txt:
8492         Update TODO
8493
8494         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
8495         (gst_base_sink_query):
8496         Don't use clock time to report position when in EOS.
8497
8498 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
8499
8500         * tools/gst-inspect.c: (print_interfaces),
8501         (print_element_properties_info), (print_element_info):
8502           Fix interface output with gst-inspect -a; don't print
8503           newlines after double/float properties.
8504
8505 2005-10-20  Wim Taymans  <wim@fluendo.com>
8506
8507         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
8508         (gst_base_sink_query):
8509         Speed up current position calculation.
8510
8511         * gst/base/gstbasesrc.c: (gst_base_src_query),
8512         (gst_base_src_default_newsegment):
8513         Correctly set stream position in newsegment.
8514
8515         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
8516         (update_degree), (gst_bin_sort_iterator_next),
8517         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
8518         * gst/gstmessage.c: (gst_message_new_custom):
8519         Clean up debugging info
8520
8521         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8522         (gst_queue_loop), (gst_queue_handle_src_query):
8523         Pause task faster.
8524
8525 2005-10-19  Wim Taymans  <wim@fluendo.com>
8526
8527         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8528         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
8529         Fix query handling again.
8530
8531 2005-10-19  Wim Taymans  <wim@fluendo.com>
8532
8533         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8534         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
8535         * gst/base/gstbasesrc.c: (gst_base_src_query):
8536         * gst/elements/gstfilesink.c: (gst_file_sink_query):
8537         * gst/elements/gsttypefindelement.c:
8538         (gst_type_find_handle_src_query), (find_element_get_length),
8539         (gst_type_find_element_activate):
8540         API change fix.
8541
8542         * gst/gstquery.c: (gst_query_new_position),
8543         (gst_query_set_position), (gst_query_parse_position),
8544         (gst_query_new_duration), (gst_query_set_duration),
8545         (gst_query_parse_duration), (gst_query_set_segment),
8546         (gst_query_parse_segment):
8547         * gst/gstquery.h:
8548         Bundling query position/duration is not a good idea since duration
8549         does not change much and we don't want to recalculate it for every
8550         position query, so they are separated again..
8551         Base value in segment query is not needed.
8552
8553         * gst/gstqueue.c: (gst_queue_handle_src_query):
8554         * gst/gstutils.c: (gst_element_query_position),
8555         (gst_element_query_duration), (gst_pad_query_position),
8556         (gst_pad_query_duration):
8557         * gst/gstutils.h:
8558         Updates for query API change.
8559         Added some docs here and there.
8560
8561 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
8562
8563         * check/gst/gstbin.c: (GST_START_TEST):
8564         * check/gst/gstghostpad.c: (GST_START_TEST):
8565         * check/pipelines/cleanup.c: (GST_START_TEST):
8566           wait on thread to die so we can check refcount correctly
8567
8568 2005-10-18  Wim Taymans  <wim@fluendo.com>
8569
8570         * check/pipelines/stress.c: (GST_START_TEST):
8571         Make check a little more time consuming.
8572
8573 2005-10-18  Wim Taymans  <wim@fluendo.com>
8574
8575         * check/Makefile.am:
8576         * check/pipelines/stress.c: (GST_START_TEST),
8577         (simple_launch_lines_suite), (main):
8578         Small state change torture test.
8579
8580         * docs/design/part-states.txt:
8581         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8582         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
8583         (gst_base_sink_change_state):
8584         Never take state lock from streaming thread, clean up ugly
8585         hacks. Unfortunatly core does not yet support nice ways to
8586         async commit state.
8587         
8588         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
8589         (bin_bus_handler):
8590         Start state recalc if a STATE_DIRTY message is posted, but only
8591         on the toplevel bin.
8592
8593         * gst/gstelement.c: (gst_element_sync_state_with_parent),
8594         (gst_element_get_state_func), (gst_element_abort_state),
8595         (gst_element_commit_state), (gst_element_lost_state),
8596         (gst_element_set_state_func), (gst_element_change_state):
8597         * gst/gstelement.h:
8598         State variables are now protected with the LOCK, the state
8599         lock is only used to serialize _set_state().
8600
8601 2005-10-18  Wim Taymans  <wim@fluendo.com>
8602
8603         * check/gst/gstbin.c: (GST_START_TEST):
8604         * check/gst/gstmessage.c: (GST_START_TEST):
8605         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8606         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
8607         (bin_bus_handler):
8608         * gst/gstelement.c: (gst_element_abort_state),
8609         (gst_element_commit_state), (gst_element_lost_state):
8610         * gst/gstmessage.c: (gst_message_new_state_changed),
8611         (gst_message_new_state_dirty), (gst_message_new_segment_start),
8612         (gst_message_new_segment_done), (gst_message_new_duration),
8613         (gst_message_parse_state_changed),
8614         (gst_message_parse_segment_start),
8615         (gst_message_parse_segment_done), (gst_message_parse_duration):
8616         * gst/gstmessage.h:
8617         * tools/gst-launch.c: (event_loop):
8618         Seriously, this is better than a previous commit as we only need
8619         to notify the fact that an element changed state in a streaming
8620         thread, marking the state of the parents dirty, hence the 
8621         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
8622         message.
8623
8624 2005-10-18  Wim Taymans  <wim@fluendo.com>
8625
8626         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8627         (gst_bin_recalc_func):
8628         * gst/gstelement.c: (gst_element_set_clock),
8629         (gst_element_abort_state), (gst_element_lost_state):
8630         Cleanups, prepare for state change fixes.
8631
8632 2005-10-18  Wim Taymans  <wim@fluendo.com>
8633
8634         * gst/gstbin.h:
8635         * gst/gstelement.c: (gst_element_class_init),
8636         (gst_element_set_state), (gst_element_set_state_func):
8637         * gst/gstelement.h:
8638         Pending ABI changes.
8639         GThreadPool in GstBinClass to monitor async state changes.
8640         state_cookie in GstElement to detect concurrent gst/set state.
8641         set_state is now virtual too in case a very complicated element
8642         has to be constructed.
8643
8644 2005-10-18  Wim Taymans  <wim@fluendo.com>
8645
8646         * check/gst/gstbin.c: (GST_START_TEST):
8647         * check/gst/gstmessage.c: (GST_START_TEST):
8648         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8649         * gst/gstbin.c: (bin_bus_handler):
8650         * gst/gstelement.c: (gst_element_commit_state),
8651         (gst_element_lost_state):
8652         * gst/gstmessage.c: (gst_message_new_state_changed),
8653         (gst_message_new_segment_start), (gst_message_new_segment_done),
8654         (gst_message_new_duration), (gst_message_parse_state_changed),
8655         (gst_message_parse_segment_start),
8656         (gst_message_parse_segment_done), (gst_message_parse_duration):
8657         * gst/gstmessage.h:
8658         * tools/gst-launch.c: (event_loop):
8659         Make messages future proof.
8660         state-change gets a flag if it was a message comming from the
8661         streaming thread.
8662         segment-start/stop can also be specified in other formats.
8663         A message to notify an app that a pipeline changed playback 
8664         duration.
8665         Also fix a GstMessage leak in -launch
8666
8667 2005-10-18  Andy Wingo  <wingo@pobox.com>
8668
8669         * gst/gstelement.c (gst_element_dispose): More helpful message.
8670
8671 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8672
8673         reviewed by: <delete if not using a buddy>
8674
8675         * common/gtk-doc.mak:
8676
8677 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8678
8679         * gst/gstregistry.c: (gst_registry_scan_path_level):
8680           unref a plug-in we get that was already initialized
8681
8682 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
8683
8684         * docs/gst/gstreamer-sections.txt:
8685         * docs/libs/gstreamer-libs-sections.txt:
8686         * gst/gstelement.h:
8687           add new api entries
8688           hide internal macro
8689
8690 2005-10-17  Andy Wingo  <wingo@pobox.com>
8691
8692         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
8693         cleanup.
8694
8695         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
8696
8697         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
8698
8699         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
8700         (gst_element_get_state_func): Better debug message.
8701         (gst_element_commit_state): s/INFO/DEBUG/.
8702         (gst_element_lost_state, gst_element_change_state): 
8703
8704         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
8705         (gst_message_new_custom): s/INFO/LOG/.
8706
8707 2005-10-17  Michael Smith <msmith@fluendo.com>
8708
8709         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8710           Check if end time is valid using end time, not start time.
8711
8712 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
8713
8714         * check/gst-libs/controller.c: (GST_START_TEST),
8715         (gst_controller_suite):
8716         * libs/gst/controller/gstcontroller.c:
8717         (gst_controlled_property_set_interpolation_mode):
8718         * libs/gst/controller/gstcontroller.h:
8719         * libs/gst/controller/gstinterpolation.c:
8720         * testsuite/controller/.cvsignore:
8721         * testsuite/controller/Makefile.am:
8722         * testsuite/controller/interpolator.c:
8723           merge controller testsuites
8724           fix broken tests
8725           remove mem-chunk from docs
8726
8727 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8728
8729         * gst/gstmemchunk.c:
8730         * gst/gstmemchunk.h:
8731         * gst/gsttrashstack.c:
8732         * gst/gsttrashstack.h:
8733           out.  get out.  you're fired.  to the Attic !
8734
8735 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8736
8737         * gst/gstcaps.c: (gst_caps_intersect):
8738           fix signedness issues in a (hopefully) correct way
8739         * gst/gstelement.c: (gst_element_pads_activate):
8740           some debugging
8741         * gst/gstobject.c: (gst_object_set_parent):
8742           some debugging
8743
8744 2005-10-17  Julien MOUTTE  <julien@moutte.net>
8745
8746         * gst/gstvalue.h: Fix prototypes.
8747
8748 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8749
8750         * docs/gst/gstreamer-sections.txt:
8751         * gst/gst.c: (gst_version_string):
8752         * gst/gst.h:
8753         * gst/gstversion.h.in:
8754         * win32/common/libgstreamer.def:
8755           add gst_version_string ()
8756
8757 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8758
8759         * configure.ac:
8760           clean up further
8761         * gst/gst.c: (init_post):
8762         * win32/common/config.h.in:
8763           it's PLUGINDIR now
8764         * gst/gstcaps.c: (gst_caps_intersect):
8765           use gint64, the range could be bigger than a guint
8766
8767 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8768
8769         * gst/gstclock.h:
8770           document potential problem in 2038
8771
8772 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8773
8774         * gst/gstcaps.c: (gst_caps_intersect):
8775           Fix guint j diving under 0
8776
8777 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8778
8779         * configure.ac:
8780         * win32/common/config.h:
8781         * win32/common/config.h.in:
8782           check for process.h, declares getpid() on Windows
8783         * gst/gstinfo.c:
8784           include process.h if we have it
8785         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
8786         * gst/gstmemchunk.h:
8787           fix signedness issues
8788         * win32/common/libgstreamer.def:
8789           fix get_type's
8790
8791 2005-10-16  Julien MOUTTE  <julien@moutte.net>
8792
8793         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
8794         fix. Because of unsigned ints, caps intersection was going nuts and
8795         trying to access structures with G_MAXUINT index. That fixes
8796         videotestsrc ! ffmpegcolorspace ! fakesink
8797         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
8798         consistency.
8799
8800 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8801
8802         * configure.ac:
8803           use the gettext macro
8804         * gst/elements/gstelements.c:
8805         * gst/gst.c:
8806         * gst/indexers/gstindexers.c:
8807           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
8808         * win32/common/config.h:
8809           updated config.h
8810         * win32/common/config.h.in:
8811           add the template to generate config.h
8812         * win32/common/gstenumtypes.c:
8813         * win32/common/gstversion.h:
8814           updated copies
8815
8816 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8817
8818         * gst/gst.c: (gst_version):
8819         * gst/gstversion.h.in:
8820           add the nano
8821
8822 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
8823
8824         * gst/gstevent.h:
8825           Oops, add missing closing bracket.
8826
8827 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8828
8829         * configure.ac:
8830           use common m4's for argument checking
8831
8832 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
8833
8834         * docs/gst/gstreamer-sections.txt:
8835         * gst/gstevent.h:
8836           Add GST_EVENT_TYPE_NAME() macro.
8837
8838 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8839
8840         * gst/gstinfo.c:
8841         * gst/gstpluginfeature.c:
8842         * gst/gsttask.c:
8843           privatize more symbols
8844
8845 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8846
8847         * configure.ac:
8848           add srcdir, builddir includes to GST_ALL_CFLAGS, since
8849           everything that uses GStreamer API should have the includes
8850
8851 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8852
8853         * docs/gst/gstreamer-sections.txt:
8854         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8855         * gst/gstvalue.h:
8856           give each value a _get_type, removes the DATA exports
8857
8858 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8859
8860         * gst/gst.c:
8861         * gst/gst.h:
8862           remove _gst_registry_auto_load, not used anymore
8863         * gst/gstbin.c: (gst_bin_get_type):
8864         * gst/gstbin.h:
8865         * gst/gstelement.c: (gst_element_get_type):
8866         * gst/gstelement.h:
8867         * gst/gstobject.c: (gst_object_get_type):
8868         * gst/gstobject.h:
8869         * gst/gstpad.c: (gst_pad_get_type):
8870         * gst/gstpad.h:
8871           make _get_type functions similar, fixes data export from library
8872
8873 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8874
8875         * configure.ac:
8876           correctly make conditionals
8877         * gst/elements/Makefile.am:
8878         * gst/elements/gstelements.c:
8879           fix typo causing fdsrc not to build
8880
8881 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8882
8883         * testsuite/Makefile.am:
8884         * testsuite/bytestream/.cvsignore:
8885         * testsuite/bytestream/Makefile.am:
8886         * testsuite/bytestream/filepadsink.c:
8887         * testsuite/bytestream/gstbstest.c:
8888         * testsuite/bytestream/test1.c:
8889         * testsuite/bytestream/testfile1:
8890         * testsuite/caps/normalisation.c:
8891         * testsuite/caps/random.c: (main):
8892         * testsuite/cleanup/.cvsignore:
8893         * testsuite/cleanup/Makefile.am:
8894         * testsuite/cleanup/cleanup1.c:
8895         * testsuite/cleanup/cleanup2.c:
8896         * testsuite/cleanup/cleanup3.c:
8897         * testsuite/cleanup/cleanup4.c:
8898         * testsuite/cleanup/cleanup5.c:
8899         * testsuite/controller/interpolator.c:
8900         * testsuite/debug/printf_extension.c: (main):
8901         * testsuite/elements/tee.c:
8902         * testsuite/negotiation/.cvsignore:
8903         * testsuite/negotiation/Makefile.am:
8904         * testsuite/negotiation/pad_link.c:
8905         * testsuite/pad/Makefile.am:
8906         * testsuite/pad/chainnopull.c:
8907         * testsuite/pad/getnopush.c:
8908         * testsuite/pad/link.c:
8909         * testsuite/refcounting/sched.c: (create_pipeline):
8910         * testsuite/registry/Makefile.am:
8911         * testsuite/registry/gst-print-formats.c:
8912         * testsuite/schedulers/.cvsignore:
8913         * testsuite/schedulers/142183-2.c:
8914         * testsuite/schedulers/142183.c:
8915         * testsuite/schedulers/143777-2.c:
8916         * testsuite/schedulers/143777.c:
8917         * testsuite/schedulers/147713.c:
8918         * testsuite/schedulers/147819.c:
8919         * testsuite/schedulers/147894-2.c:
8920         * testsuite/schedulers/147894.c:
8921         * testsuite/schedulers/Makefile.am:
8922         * testsuite/schedulers/group_link.c:
8923         * testsuite/schedulers/queue_link.c:
8924         * testsuite/schedulers/relink.c:
8925         * testsuite/schedulers/unlink.c:
8926         * testsuite/schedulers/unref.c:
8927         * testsuite/schedulers/useless_iteration.c:
8928         * testsuite/states/bin.c:
8929           clean out/remove some stuff from the testsuite directories
8930
8931 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8932
8933         * configure.ac:
8934           check for some headers
8935         * gst/elements/Makefile.am:
8936         * gst/elements/gstelements.c:
8937           don't compile fdsrc without sys/socket.h
8938         * gst/indexers/Makefile.am:
8939         * gst/indexers/gstindexers.c: (plugin_init):
8940           don't compile fileindex without mmap
8941
8942 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8943
8944         * configure.ac:
8945           reorganize
8946           clean up
8947           document more
8948           remove cruft
8949         * check/Makefile.am:
8950         * docs/gst/Makefile.am:
8951         * examples/helloworld/Makefile.am:
8952         * gst/Makefile.am:
8953         * gst/base/Makefile.am:
8954         * gst/check/Makefile.am:
8955         * gst/elements/Makefile.am:
8956         * gst/indexers/Makefile.am:
8957         * gst/parse/Makefile.am:
8958         * libs/gst/controller/Makefile.am:
8959         * libs/gst/dataprotocol/Makefile.am:
8960         * examples/helloworld/helloworld.c: (event_loop):
8961           compile fixes, though it's not being compiled currently
8962
8963 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
8964
8965         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
8966           Add some simple tests for the new taglist date API.
8967
8968 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
8969
8970         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
8971         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
8972           Beautify 'last-message' output: print 'none' for buffer timestamps
8973           and durations if none is set; improve alignment with next messages.
8974
8975 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
8976
8977         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
8978         * gst/gstpluginfeature.h:
8979         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
8980         * gst/gstregistry.h:
8981         * docs/gst/gstreamer-sections.txt:
8982           Add new API to check plugin feature version requirements.
8983
8984         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
8985           Some basic tests for the above.         
8986
8987 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8988
8989         * gst/gststructure.c: (gst_structure_to_string):
8990           guard against NULL printf - happens when for example
8991           a message structure with GstClock gets serialized
8992
8993 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
8994
8995         * gst/base/gstcollectpads.c: (gst_collectpads_event):
8996           Fix presumable copy'n'pasto.
8997
8998 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8999
9000         * gst/elements/gstfakesrc.h:
9001         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
9002         * gst/elements/gsttypefindelement.c:
9003           fix some signedness
9004         * gst/elements/gstfilesink.c: (gst_file_sink_render):
9005           I wonder if this could actually write +2GB files before
9006
9007 2005-10-13  Andy Wingo  <wingo@pobox.com>
9008
9009         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
9010         Fix Timmeke Waymans bug.
9011         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
9012         string of the proper length to gst_caps_from_string. There's a
9013         potential for, before this fix, that this could cause someone
9014         connecting over the network to cause a segfault if the payload is
9015         not NUL-terminated.
9016
9017 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
9018
9019         * docs/design/draft-push-pull.txt:
9020         * docs/design/part-overview.txt:
9021         * docs/random/TODO-pre-0.9:
9022         * docs/random/old/ChangeLog.gstreamer:
9023         * gst/base/gstpushsrc.c:
9024         * gst/gstclock.c:
9025           fixed typos
9026
9027 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9028
9029         * gst/glib-compat.c: (gst_flags_get_first_value):
9030         * gst/glib-compat.h:
9031         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
9032         (gst_value_compare_double), (gst_value_serialize_flags):
9033           GLib 2.6 g_flags_get_first_value has a bug that triggers an
9034           infinite loop
9035
9036 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9037
9038         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9039         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9040           fix up debugging
9041         * tools/gst-launch.c: (event_loop):
9042           print out clock nicely
9043
9044 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9045
9046         * docs/gst/gstreamer-sections.txt:
9047         * gst/gsttaglist.h:
9048         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
9049         (gst_tag_list_get_date_index):
9050           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
9051           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
9052
9053 2005-10-13  Julien MOUTTE  <julien@moutte.net>
9054
9055         * gst/base/gstcollectpads.c: (gst_collectpads_event),
9056         (gst_collectpads_chain):
9057         * gst/base/gstcollectpads.h: Handle newsegment and store informations
9058         in CollectData.
9059
9060 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
9061
9062         * docs/gst/gstreamer-sections.txt:
9063         * gst/gst.c:
9064         * gst/gsterror.h:
9065         * tools/gst-inspect.c: (main):
9066         * tools/gst-launch.c: (main):
9067         * tools/gst-run.c: (main):
9068         * tools/gst-xmlinspect.c: (main):
9069           fix GOption context leaks
9070           doc fixes
9071
9072 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9073
9074         * gst/gstbus.c:
9075           use HAVE_UNISTD_H
9076         * win32/common/config.h:
9077           update config
9078         * win32/vs6/grammar.dsp:
9079         * win32/vs6/libgstelements.dsp:
9080         * win32/vs6/libgstreamer.dsp:
9081           update vs6 files
9082
9083 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9084
9085         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9086         * gst/base/gstbasesrc.c: (gst_base_src_query):
9087           fix more guint64<->gdouble conversions
9088
9089 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9090
9091         * Makefile.am:
9092           add win32-update target
9093         * win32/common/gstconfig.h:
9094         * win32/common/gstenumtypes.c:
9095         * win32/common/gstenumtypes.h:
9096         * win32/common/gstversion.h:
9097           add files that visual studio can't generate
9098
9099 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9100
9101         * Makefile.am:
9102           add a win32-update target
9103         * configure.ac:
9104
9105 2005-10-12  Wim Taymans  <wim@fluendo.com>
9106
9107         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9108         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
9109         * gst/gstelement.c: (gst_element_commit_state),
9110         (gst_element_set_state):
9111         Protect flags with proper lock.
9112         unref provided cached clock in dispose.
9113
9114 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
9115
9116         * gst/gst.c:
9117         * gst/gstminiobject.h:
9118         * gst/gstpad.h:
9119         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
9120           removed unused flags from miniobject
9121           doc fixes
9122
9123 2005-10-12  Wim Taymans  <wim@fluendo.com>
9124
9125         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9126         (gst_file_sink_event), (gst_file_sink_render):
9127         Flush before seeking.
9128
9129 2005-10-12  Andy Wingo  <wingo@pobox.com>
9130
9131         * gst/gst.c (gst_init_check): Ignore unknown options, as has
9132         always been the case.
9133
9134 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
9135
9136         * check/gst/gstbin.c: (GST_START_TEST):
9137         * docs/gst/gstreamer-sections.txt:
9138         * gst/base/gstbasesink.c: (gst_base_sink_init):
9139         * gst/base/gstbasesrc.c: (gst_base_src_init),
9140         (gst_base_src_get_range), (gst_base_src_check_get_range),
9141         (gst_base_src_start), (gst_base_src_stop):
9142         * gst/base/gstbasesrc.h:
9143         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
9144         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9145         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
9146         (bin_bus_handler):
9147         * gst/gstbin.h:
9148         * gst/gstbuffer.h:
9149         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
9150         * gst/gstbus.h:
9151         * gst/gstelement.c: (gst_element_is_locked_state),
9152         (gst_element_set_locked_state), (gst_element_commit_state),
9153         (gst_element_set_state):
9154         * gst/gstelement.h:
9155         * gst/gstindex.c: (gst_index_init):
9156         * gst/gstindex.h:
9157         * gst/gstminiobject.h:
9158         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
9159         (gst_object_set_parent):
9160         * gst/gstobject.h:
9161         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
9162         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
9163         * gst/gstpad.h:
9164         * gst/gstpadtemplate.h:
9165         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
9166         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9167         * gst/gstpipeline.h:
9168         * gst/indexers/gstfileindex.c: (gst_file_index_load),
9169         (gst_file_index_commit):
9170         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
9171         * testsuite/pad/link.c: (gst_test_src_init),
9172         (gst_test_filter_init), (gst_test_sink_init):
9173         * testsuite/states/locked.c: (main):
9174           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
9175           moved bitshift from macro to enum definition
9176
9177 2005-10-12  Wim Taymans  <wim@fluendo.com>
9178
9179         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
9180         * gst/elements/gstfilesink.c: (gst_file_sink_event),
9181         (gst_file_sink_render):
9182         Some more debugging info.
9183
9184 2005-10-12  Wim Taymans  <wim@fluendo.com>
9185
9186         * docs/design/part-states.txt:
9187         * tools/gst-launch.c: (main):
9188         Some doc updates.
9189         Revert non-intentional change.
9190
9191 2005-10-12  Wim Taymans  <wim@fluendo.com>
9192
9193         * check/gst/gstbin.c: (GST_START_TEST):
9194         * check/gst/gstelement.c: (GST_START_TEST):
9195         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
9196         * check/gst/gstghostpad.c: (GST_START_TEST):
9197         * check/gst/gstpipeline.c: (GST_START_TEST):
9198         * check/pipelines/simple_launch_lines.c: (run_pipeline):
9199         * check/states/sinks.c: (GST_START_TEST):
9200         * gst/elements/gsttypefindelement.c: (stop_typefinding):
9201         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9202         (gst_bin_remove_func), (gst_bin_get_state_func),
9203         (gst_bin_recalc_state), (gst_bin_change_state_func),
9204         (bin_bus_handler):
9205         * gst/gstelement.c: (gst_element_get_state_func),
9206         (gst_element_get_state), (gst_element_abort_state),
9207         (gst_element_commit_state), (gst_element_set_state),
9208         (gst_element_change_state), (gst_element_change_state_func):
9209         * gst/gstelement.h:
9210         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
9211         (gst_pipeline_provide_clock_func):
9212         * gst/gstutils.c: (gst_element_link_pads_filtered):
9213         * tools/gst-launch.c: (main):
9214         * tools/gst-typefind.c: (main):
9215         Use GstClockTime in _get_state() instead of GTimeVal.
9216         Remove old code in gstutils.c
9217
9218 2005-10-12  Andy Wingo  <wingo@pobox.com>
9219
9220         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
9221         removed.
9222
9223         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
9224         there is no task. Shouldn't affect any code, as nothing in our
9225         plugins checks this return value.
9226         (gst_pad_stop_task): Also take the stream lock if the pad has no
9227         task. Docs updated.
9228
9229 2005-10-12  Wim Taymans  <wim@fluendo.com>
9230
9231         * gst/gstpad.c: (pre_activate), (post_activate),
9232         (gst_pad_activate_pull), (gst_pad_activate_push):
9233         Cleanup activation code. Reset old state if
9234         activation failed.
9235
9236 2005-10-12  Wim Taymans  <wim@fluendo.com>
9237
9238         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9239         (gst_base_sink_change_state):
9240         No need to prerol after receiving EOS.
9241
9242         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9243         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
9244         * gst/elements/gstidentity.c: (gst_identity_event):
9245         Print events more verbosely.
9246
9247 2005-10-12  Wim Taymans  <wim@fluendo.com>
9248
9249         * check/Makefile.am:
9250         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9251         * check/states/sinks2.c:
9252         Moved sinks2 testcode in sinks check.
9253
9254         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9255         (gst_bin_remove_func), (gst_bin_recalc_state),
9256         (gst_bin_change_state_func), (bin_bus_handler):
9257         Fix potential race condition when _get_state() iterated over an
9258         ASYNC element right before it posted a state completion.
9259
9260         * gst/gstclock.h:
9261         Do proper cast here.
9262
9263         * gst/gstevent.c: (gst_event_new_newsegment),
9264         (gst_event_parse_newsegment):
9265         A playback rate of 0.0 is not allowed.
9266
9267 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9268
9269         * win32/common/config.h:
9270         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
9271         (_trewinddir), (_ttelldir), (_tseekdir):
9272         * win32/common/dirent.h:
9273         * win32/common/gtchar.h:
9274         * win32/common/libgstbase.def:
9275         * win32/common/libgstreamer.def:
9276         * win32/vs6/grammar.dsp:
9277         * win32/vs6/gst_inspect.dsp:
9278         * win32/vs6/gst_launch.dsp:
9279         * win32/vs6/gstreamer.dsw:
9280         * win32/vs6/libgstbase.dsp:
9281         * win32/vs6/libgstelements.dsp:
9282         * win32/vs6/libgstreamer.dsp:
9283           Visual Studio 6 project files, and a new common directory.
9284           Phear.
9285
9286 2005-10-11  Wim Taymans  <wim@fluendo.com>
9287
9288         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9289         (gst_base_sink_do_sync), (gst_base_sink_query),
9290         (gst_base_sink_change_state):
9291         * gst/base/gstbasesink.h:
9292         Correctly parse newsegment info.
9293
9294 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9295
9296         * gst/gst.c: (init_post):
9297           split plugin paths correctly
9298
9299 2005-10-11  Wim Taymans  <wim@fluendo.com>
9300
9301         * check/gst/gstevent.c: (GST_START_TEST):
9302         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9303         (gst_base_sink_change_state):
9304         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
9305         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9306         * gst/elements/gstfilesink.c: (gst_file_sink_event):
9307         * gst/gstevent.c: (gst_event_new_newsegment),
9308         (gst_event_parse_newsegment):
9309         * gst/gstevent.h:
9310         Added extra flag to newsegment for future API freeze.
9311         Updated check and base elements.
9312
9313 2005-10-11  Julien MOUTTE  <julien@moutte.net>
9314
9315         * gst/base/gstcollectpads.c: (gst_collectpads_init),
9316         (gst_collectpads_add_pad), (gst_collectpads_pop),
9317         (gst_collectpads_event), (gst_collectpads_chain):
9318         * gst/base/gstcollectpads.h: Handle EOS correctly.
9319
9320 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9321
9322         * tools/gst-launch.c: (main):
9323           more null protecting
9324
9325 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9326
9327         * gst/gst-i18n-lib.h:
9328           check for ENABLE_NLS, not GETTEXT_PACKAGE
9329         * gst/gstregistry.c: (gst_registry_add_plugin),
9330         (gst_registry_scan_path_level),
9331         (_gst_registry_remove_cache_plugins):
9332           protect possibly NULL strings
9333         * gst/parse/types.h:
9334           config.h already included before
9335         * tools/gst-inspect.c: (main):
9336           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
9337           check for ENABLE_NLS, not GETTEXT_PACKAGE
9338         * tools/gst-launch.c: (main):
9339           check for ENABLE_NLS, not GETTEXT_PACKAGE
9340
9341 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9342
9343         * configure.ac:
9344           if we don't have glib, fail before testing 2.8
9345         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
9346           fix a leak, should fix plugins-base testsuite
9347
9348 2005-10-11  Andy Wingo  <wingo@pobox.com>
9349
9350         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
9351         take the mode we're going to as an arg. Go head and set the mode
9352         and flushing flags now, so that if the activate function starts a
9353         thread all the flags will be in the right state.
9354         (post_activate): Renamed also. Just handle making sure streaming
9355         finishes for the deactivation case, and setting the deactivated
9356         mode.
9357         (gst_pad_set_active): Complain loudly if deactivation fails.
9358         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
9359         (gst_pad_activate_push): Adapt to pre/post_activate changes,
9360         remove the terrible hack.
9361
9362 2005-10-11  Wim Taymans  <wim@fluendo.com>
9363
9364         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9365         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
9366         (gst_bin_recalc_state), (gst_bin_change_state_func),
9367         (gst_bin_dispose), (bin_bus_handler):
9368         * gst/gstbin.h:
9369         Prepare to make current EOS message queue more generic.
9370         Fix some typos.
9371
9372         * gst/gstevent.c: (gst_event_new_newsegment),
9373         (gst_event_parse_newsegment):
9374         * gst/gstevent.h:
9375         Rename base to stream_time.
9376
9377         * gst/gstmessage.h:
9378         Fix typo in docs.
9379
9380 2005-10-11  Wim Taymans  <wim@fluendo.com>
9381
9382         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9383         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
9384         (gst_bin_change_state_func), (bin_bus_handler):
9385         * gst/gstbin.h:
9386         Work on proper clock selection.
9387
9388 2005-10-11  Edward Hervey  <edward@fluendo.com>
9389
9390         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
9391         * libs/gst/controller/gstcontroller.h:
9392         Added GList* version of _remove_properties() in order to be able to wrap
9393         it in bindings.
9394
9395 2005-10-11  Wim Taymans  <wim@fluendo.com>
9396
9397         * docs/design/part-states.txt:
9398         Some more docs.
9399
9400         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
9401         (gst_bin_change_state_func), (bin_bus_handler):
9402         Doc updates. Don't distribute the same clock over and over again.
9403
9404         * gst/gstclock.c:
9405         * gst/gstclock.h:
9406         Doc updates.
9407
9408         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
9409         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
9410         (gst_pad_send_event):
9411         * gst/gstpad.h:
9412         Make probe emission threadsafe again.
9413         Register quarks and move _get_name() from utils.
9414         Doc updates.
9415
9416         * gst/gstpipeline.c: (gst_pipeline_class_init),
9417         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9418         Only redistribute the clock of it changed.
9419
9420         * gst/gstsystemclock.h:
9421         Doc updates. 
9422
9423         * gst/gstutils.c:
9424         * gst/gstutils.h:
9425         Moved the _flow_get_name() to GstPad.
9426
9427 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9428
9429         * check/gst-libs/gdp.c: (GST_START_TEST):
9430         * check/gst/gstcaps.c: (GST_START_TEST):
9431         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
9432         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
9433         (gst_dp_packet_from_caps):
9434           fix more valgrind warnings before turning up the heat
9435
9436 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9437
9438         * gst/parse/grammar.y:
9439           some cleanup before the hacking
9440
9441 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9442
9443         * gst/base/gstbasesrc.c: (gst_base_src_query):
9444           use conversions
9445         * gst/gstutils.c: (gst_guint64_to_gdouble),
9446         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
9447         * gst/gstutils.h:
9448           externalize, basesrc uses it
9449           obviously the implementation needs testing
9450
9451 2005-10-10  Wim Taymans  <wim@fluendo.com>
9452
9453         * tests/sched/Makefile.am:
9454         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
9455         (make_pipeline3), (make_pipeline4), (print_elem), (main):
9456
9457 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9458
9459         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
9460           apparently converting from guint64 to double is not implemented
9461           on MSVC
9462
9463 2005-10-10  Wim Taymans  <wim@fluendo.com>
9464
9465         * check/Makefile.am:
9466         * check/generic/states.c: (GST_START_TEST):
9467         * check/gst/gstbin.c: (GST_START_TEST):
9468         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
9469         * check/states/sinks.c: (GST_START_TEST):
9470         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
9471         (main):
9472         Check fixes, use API as stated in design docs, remove hacks.
9473
9474         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9475         (gst_base_sink_change_state):
9476         Catch stopping our task while we're shutting down.
9477
9478         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
9479         (gst_bin_remove_func), (gst_bin_get_state_func),
9480         (gst_bin_recalc_state), (gst_bin_change_state_func),
9481         (bin_bus_handler):
9482         * gst/gstbin.h:
9483         * gst/gstelement.c: (gst_element_init),
9484         (gst_element_get_state_func), (gst_element_abort_state),
9485         (gst_element_commit_state), (gst_element_lost_state),
9486         (gst_element_set_state), (gst_element_change_state),
9487         (gst_element_change_state_func):
9488         * gst/gstelement.h:
9489         New state change algorithm (see #318116)
9490
9491         * gst/gstpipeline.c: (gst_pipeline_class_init),
9492         (gst_pipeline_init), (gst_pipeline_set_property),
9493         (gst_pipeline_get_property), (do_pipeline_seek),
9494         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9495         * gst/gstpipeline.h:
9496         Remove crude state change hacks.
9497
9498         * gst/gstutils.h:
9499         Remove crude hacks.
9500
9501         * tools/gst-launch.c: (main):
9502         Fixes for state change. Needs some more work to fully use the
9503         new stuff.
9504
9505 2005-10-10  Andy Wingo  <wingo@pobox.com>
9506
9507         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
9508
9509         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
9510         this flag, but it's not even in GLib 2.6. Odd. Hack around the
9511         issue.
9512
9513 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
9514
9515         * gst/gstiterator.c: (gst_iterator_new):
9516           Fix my previous commit: GTypes passed to gst_iterator_new()
9517           can be fundamental types.
9518
9519 2005-10-10  Wim Taymans  <wim@fluendo.com>
9520
9521         * gst/gstelement.c: (gst_element_iterate_pad_list),
9522         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
9523         (gst_element_iterate_sink_pads):
9524         Use src/sink pads lists for the respective iterators instead
9525         of filtering.
9526
9527 2005-10-10  Andy Wingo  <wingo@pobox.com>
9528
9529         Merged in popt removal + GOption addition patch from Ronald, bug
9530         #169772.
9531
9532         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
9533         GstElement macros around, remove popt-related symbols, add goption
9534         stuff.
9535
9536         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
9537         
9538         * docs/gst/Makefile.am:
9539         * docs/libs/Makefile.am: No POPT_CFLAGS.
9540         
9541         * examples/manual/Makefile.am:
9542         * docs/manual/basics-init.xml: Doc updates with an example.
9543         
9544         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9545         (gst_init), (parse_one_option), (parse_goption_arg):
9546         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
9547         bit of hand merging and debugging to get the GOption stuff working
9548         tho.
9549         
9550         * tests/Makefile.am:
9551         * tools/Makefile.am:
9552         * tools/gst-inspect.c: (main):
9553         * tools/gst-launch.c: (main):
9554         * tools/gst-run.c: (main):
9555         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
9556
9557 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
9558
9559         * gst/gstiterator.c: (gst_iterator_new):
9560           Add assertions to make sure passed GType is likely to really
9561           be a GType (as the compiler won't catch it if the size and
9562           GType arguments get mixed up, see #318447).
9563
9564 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
9565
9566         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9567
9568         * gst/gstbin.c: (gst_bin_iterate_sorted):
9569           Pass GType and size arguments to gst_iterator_new() in the right
9570           order (maybe we should make _new() take the GType as first argument
9571           just like _new_list()?) (#318447).
9572           
9573
9574 2005-10-10  Wim Taymans  <wim@fluendo.com>
9575
9576         * gst/gstelement.c: (gst_element_finalize):
9577         And free the GStaticRecMutex too
9578
9579 2005-10-10  Andy Wingo  <wingo@pobox.com>
9580
9581         * gst/gstelement.c (gst_element_init, gst_element_finalize):
9582         Allocate and free the mutex properly.
9583
9584         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
9585         New macros.
9586         (GstElement): The state_lock is now recursive. Rebuild your
9587         plugins, suckers. Old macros adapted.
9588
9589         * docs/gst/gstreamer-sections.txt: Doc updates.
9590
9591         * gst/gstutils.h:
9592         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
9593         (g_static_rec_cond_wait): Ported from state changes patch, while
9594         we wait on bug #317802 to be solved in a well-distributed GLib.
9595
9596         * gst/gstelement.c (gst_element_change_state_func): Renamed from
9597         gst_element_change_state, variable name changes.
9598         (gst_element_change_state): Split out of gst_element_set_state in
9599         preparation for the state change merge. Doesn't pay attention to
9600         the 'transition' argument.
9601         (gst_element_set_state): Updates, hopefully purely cosmetic.
9602         (gst_element_sync_state_with_parent): MT-safety. Ported from the
9603         state change patch.
9604         (gst_element_get_state_func): Renamed from get_state, cosmetic
9605         changes.
9606
9607 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9608
9609         * gst/elements/gstelements.c:
9610         * win32/GStreamer.vcproj:
9611         * win32/config.h:
9612         * win32/dirent.c: (_tseekdir):
9613         * win32/gst-inspect.vcproj:
9614         * win32/gst-launch.vcproj:
9615         * win32/gstconfig.h:
9616         * win32/gstelements.vcproj:
9617         * win32/gstenumtypes.c: (gst_object_flags_get_type):
9618         * win32/gstreamer.def:
9619         * win32/msvc71.sln:
9620           updates for the win32 build (patch from Sebastien Moutte)
9621
9622 2005-10-10  Andy Wingo  <wingo@pobox.com>
9623
9624         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
9625         gst_bin_get_state, cleaned up (but no logic changes).
9626         (bin_element_is_sink): Comment updates.
9627         (sink_iterator_filter): Remove needless cast.
9628         (gst_bin_iterate_sinks): Doc update.
9629         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
9630         cleaned up (but no logic changes).
9631
9632         * check/states/sinks.c (test_src_sink): Cleanups from the state
9633         change patch.
9634         (test_livesrc_sink): Sync on the state.
9635
9636         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
9637         the state change patch.
9638
9639         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
9640         change patch.
9641
9642         * check/gst/gstbin.c: Merge in some style fixes and additional
9643         checks from Wim's state change patch.
9644
9645 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
9646
9647         * gst/base/gsttypefindhelper.c: (helper_find_peek),
9648         (gst_type_find_helper):
9649           Check whether we have the requested data already in our list of
9650           cached buffers before pulling a new buffer; also make the buffer
9651           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
9652
9653 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9654
9655         * gst/gstcaps.c:
9656         * gst/gstevent.c:
9657           doc updates
9658         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9659           don't use long long, it's not portable.  Replacing with
9660           gint64 seems to work; let's hope no skeletons fall out of the closet.
9661
9662 2005-10-10  Andy Wingo  <wingo@pobox.com>
9663
9664         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
9665
9666 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
9667
9668         * docs/gst/gstreamer-sections.txt:
9669         * gst/gstevent.c:
9670         * gst/gstevent.h:
9671         * gst/gstinfo.c:
9672         * gst/gstinfo.h:
9673         * gst/gstmessage.c: (gst_message_parse_state_changed):
9674         * gst/gstpad.c:
9675         * gst/gstpad.h:
9676           more docs, fix compilation
9677
9678 2005-10-09  Philippe Khalaf <burger@speedy.org>
9679         * gst/gstmessage.c:
9680           Fixed a few forgotten variables on previous commit
9681
9682 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9683
9684         * gst/base/gsttypefindhelper.c: (helper_find_peek):
9685           Fix evil typefind crasher: getrange() might return a short
9686           buffer at the end of a file, but gst_type_find_peek() must
9687           either return the full data as requested or NULL, but
9688           never a short buffer.
9689
9690 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9691
9692         * gst/gstmessage.c: (gst_message_new_state_changed),
9693         (gst_message_parse_state_changed):
9694         * gst/gstmessage.h:
9695           don't use "new", it's a C++ keyword
9696
9697 2005-10-08  Wim Taymans  <wim@fluendo.com>
9698
9699         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
9700         * gst/gstelement.c: (gst_element_post_message):
9701         * gst/gstpipeline.c: (gst_pipeline_change_state):
9702         Small docs and debug updates.
9703
9704 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
9705
9706         * docs/gst/gstreamer-sections.txt:
9707         * gst/gstelementfactory.c:
9708         * gst/gstevent.c:
9709         * gst/gsttaglist.c:
9710           more docs
9711
9712 2005-10-08  Wim Taymans  <wim@fluendo.com>
9713
9714         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
9715         (gst_bin_dispose), (bin_bus_handler):
9716         Fix typos, add comments.
9717         Clear EOS list when going to PAUSED from any direction and do it
9718         in a threadsafe way.
9719         Get base time in a threadsafe way too.
9720         Fix confusing debug in the change_state function.
9721         Various other small cleanups.
9722         
9723         * gst/gstelement.c: (gst_element_post_message):
9724         Fix very verbose bus posting code.
9725
9726         * gst/gstpipeline.c: (gst_pipeline_class_init),
9727         (gst_pipeline_set_property), (gst_pipeline_get_property),
9728         (gst_pipeline_change_state):
9729         Small ARG_ -> PROP_ cleanup
9730
9731 2005-10-08  Wim Taymans  <wim@fluendo.com>
9732
9733         * gst/gstbin.c: (is_eos), (bin_bus_handler):
9734         Do a less CPU demanding EOS check because we can.
9735
9736 2005-10-08  Wim Taymans  <wim@fluendo.com>
9737
9738         * libs/gst/dataprotocol/dataprotocol.c:
9739         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9740         (gst_dp_packet_from_event):
9741         * libs/gst/dataprotocol/dataprotocol.h:
9742         * libs/gst/dataprotocol/dp-private.h:
9743         It's about time we bump the version number.
9744         Since event types don't fit in the guint8 anymore describing
9745         the payload type, make payload type 16 bits wide.
9746
9747 2005-10-08  Wim Taymans  <wim@fluendo.com>
9748
9749         * docs/design/part-TODO.txt:
9750         * docs/design/part-clocks.txt:
9751         * docs/design/part-events.txt:
9752         * docs/design/part-gstbin.txt:
9753         * docs/design/part-gstelement.txt:
9754         * docs/design/part-gstpipeline.txt:
9755         * docs/design/part-live-source.txt:
9756         * docs/design/part-messages.txt:
9757         * docs/design/part-overview.txt:
9758         * docs/design/part-states.txt:
9759         Many doc updates.
9760
9761 2005-10-08  Wim Taymans  <wim@fluendo.com>
9762
9763         * gst/gstevent.c:
9764         * gst/gstevent.h:
9765         Fix event quark registration.
9766         Add some space between events so we can insert them in the
9767         right groups.
9768
9769 2005-10-08  Wim Taymans  <wim@fluendo.com>
9770
9771         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9772         (gst_base_sink_handle_buffer):
9773         Better log message.
9774
9775         * gst/gstbus.h:
9776         * gst/gstelement.h:
9777         More docs.
9778
9779         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9780         (gst_queue_set_property), (gst_queue_get_property):
9781         * gst/gstqueue.h:
9782         Remove old unused properties.
9783
9784 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
9785         * docs/gst/gstreamer-sections.txt:
9786         * gst/gstmessage.c:
9787         * gst/gstmessage.h:
9788         * gst/gstminiobject.c:
9789         * gst/gstminiobject.h:
9790         * gst/gstobject.h:
9791         * gst/gstpad.h:
9792         * gst/gstutils.h:
9793           lots of new docs and doc fixes
9794
9795 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9796
9797         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
9798         * gst/gstplugin.h:
9799         * gst/gstregistry.c: (gst_registry_lookup_locked),
9800         (gst_registry_scan_path_level):
9801         * gst/gstregistryxml.c: (load_plugin):
9802           Only ever load one plugin for a given plugin basename.
9803           This ensures correct overriding of GST_PLUGIN_PATH over
9804           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
9805           system installed plugins.
9806
9807 2005-10-08  Wim Taymans  <wim@fluendo.com>
9808
9809         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9810         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
9811         Prepare for doing QOS.
9812
9813 2005-10-08  Wim Taymans  <wim@fluendo.com>
9814
9815         * check/gst/gstbin.c: (GST_START_TEST):
9816         * check/pipelines/cleanup.c: (GST_START_TEST):
9817         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9818         Allow new clock message too.
9819
9820 2005-10-08  Wim Taymans  <wim@fluendo.com>
9821
9822         * gst/gstmessage.c: (gst_message_new_error),
9823         (gst_message_new_warning), (gst_message_new_tag),
9824         (gst_message_new_state_changed), (gst_message_new_clock_provide),
9825         (gst_message_new_clock_lost), (gst_message_new_new_clock),
9826         (gst_message_new_segment_start), (gst_message_new_segment_done),
9827         (gst_message_parse_state_changed),
9828         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
9829         (gst_message_parse_new_clock):
9830         * gst/gstmessage.h:
9831         Also carry the clock in question.
9832
9833 2005-10-08  Wim Taymans  <wim@fluendo.com>
9834
9835         * gst/gstmessage.c: (gst_message_new_custom),
9836         (gst_message_new_eos), (gst_message_new_error),
9837         (gst_message_new_warning), (gst_message_new_tag),
9838         (gst_message_new_state_changed), (gst_message_new_clock_provide),
9839         (gst_message_new_new_clock), (gst_message_new_segment_start),
9840         (gst_message_new_segment_done), (gst_message_parse_state_changed),
9841         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
9842         * gst/gstmessage.h:
9843         Clean up.
9844         Added clock related messages.
9845
9846         * gst/gstpipeline.c: (gst_pipeline_change_state):
9847         Post message when the clock changed.
9848
9849         * tools/gst-launch.c: (event_loop):
9850         Print new clock.
9851
9852 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9853
9854         * tools/gst-inspect.c: (print_element_properties_info):
9855           Can't pass NULL strings to g_print() on windows.
9856
9857 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9858
9859         * docs/Makefile.am:
9860         * docs/gst/Makefile.am:
9861         * docs/gst/gstreamer-docs.sgml:
9862         * docs/gst/running.xml:
9863         * docs/version.entities.in:
9864           add a chapter on running GStreamer.
9865           document GST_DEBUG and GST_PLUGIN* env vars
9866
9867 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9868
9869         * Makefile.am:
9870           remove include dir
9871         * configure.ac:
9872           remove PLUGINS_BUILDDIR stuff
9873         * gst/gst.c: (init_post):
9874           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
9875         * idiottest.mak:
9876           remove, it was condescending and not needed
9877
9878 2005-10-08  Wim Taymans  <wim@fluendo.com>
9879
9880         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
9881         (gst_base_sink_handle_object), (gst_base_sink_event),
9882         (gst_base_sink_wait), (gst_base_sink_handle_event),
9883         (gst_base_sink_change_state):
9884         * gst/base/gstbasesink.h:
9885         Repost EOS message while going to PLAYING if still EOS.
9886         Make sure that when receiving a FLUSH_START we don't attempt
9887         to sync on the clock anymore.
9888
9889 2005-10-08  Wim Taymans  <wim@fluendo.com>
9890
9891         * tools/gst-launch.c: (event_loop):
9892         Better message printout.
9893
9894 2005-10-08  Wim Taymans  <wim@fluendo.com>
9895
9896         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
9897         (gst_bin_child_proxy_get_children_count):
9898         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
9899         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
9900         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
9901         (gst_child_proxy_set_valist):
9902         * gst/parse/grammar.y:
9903         Make ChildProxy threadsafe and fix mem leaks.
9904
9905 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9906
9907         * gst/gst.c: (init_post):
9908           debug the GST_PLUGIN_ env vars
9909
9910 2005-10-08  Wim Taymans  <wim@fluendo.com>
9911
9912         * check/gst/gstbin.c: (GST_START_TEST):
9913         * check/gst/gstmessage.c: (GST_START_TEST):
9914         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9915         * gst/gstelement.c: (gst_element_commit_state),
9916         (gst_element_lost_state):
9917         * gst/gstmessage.c: (gst_message_new_state_changed),
9918         (gst_message_parse_state_changed):
9919         * gst/gstmessage.h:
9920         * tools/gst-launch.c: (event_loop):
9921         Added extra field to STATE_CHANGE message with the pending
9922         state, which will be different from the new state soon.
9923
9924 2005-10-08  Wim Taymans  <wim@fluendo.com>
9925
9926         * gst/gstbus.c: (gst_bus_pop):
9927         * gst/gstclock.c:
9928         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9929         Small cleanups and doc updates.
9930
9931 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9932
9933         * gst/gst.c: (init_pre):
9934         * gst/gstbin.c: (gst_bin_add_func):
9935           log distributing clocks and base time
9936         * gst/gstregistry.c: (gst_registry_add_plugin),
9937         (gst_registry_scan_path_level), (gst_registry_scan_path):
9938           clean up the debugging output a little
9939         * gst/gstutils.c: (gst_element_state_get_name):
9940           warn about a memleak (I've actually seen this be used, though
9941           it was probably a bug)
9942
9943 2005-10-07  Wim Taymans  <wim@fluendo.com>
9944
9945         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9946         (gst_base_src_init), (gst_base_src_default_newsegment),
9947         (gst_base_src_newsegment), (gst_base_src_do_seek),
9948         (gst_base_src_loop), (gst_base_src_start):
9949         * gst/base/gstbasesrc.h:
9950         Make the newsegment event customizable by subclasses.
9951
9952 2005-10-07  Wim Taymans  <wim@fluendo.com>
9953
9954         * gst/gstevent.c: (gst_event_new_buffersize),
9955         (gst_event_parse_buffersize):
9956         * gst/gstevent.h:
9957         New event for future idea.
9958
9959 2005-10-07  Andy Wingo  <wingo@pobox.com>
9960
9961         * gst/gstelement.c (gst_element_post_message): Doc update.
9962
9963         * docs/gst/gstreamer-sections.txt: Update.
9964
9965         * gst/gstmessage.c (gst_message_new_application): Made into a
9966         function like honest API calls.
9967         (gst_message_new_element): New message type.
9968
9969         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
9970
9971         * check/elements/fakesrc.c (test_no_preroll): New check, checks
9972         that setting a live fakesrc to PAUSED returns NO_PREROLL both
9973         times.
9974
9975         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
9976         NO_PREROLL from gst_element_change_state to fall through.
9977
9978 2005-10-07  Wim Taymans  <wim@fluendo.com>
9979
9980         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
9981         (gst_ghost_pad_do_activate_push):
9982         Activating a ghostpad with no internal pad in push mode
9983         is ok.
9984
9985 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9986
9987         * gst/gstobject.h:
9988           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
9989           Fixes compilation on Windows.
9990
9991 2005-10-07  Michael Smith <msmith@fluendo.com>
9992
9993         * tools/gst-inspect.c:
9994           Print out feature and plugin count at the end when printing out
9995           all features.
9996
9997 2005-10-04  Michael Smith <msmith@fluendo.com>
9998
9999         * gst/gsterror.c: (_gst_stream_errors_init):
10000           Add another error string used in a few existing plugins.
10001
10002         * gst/gstplugin.c:
10003         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10004         * tools/gst-inspect.c: (print_element_info):
10005           When a feature disappears from a plugin (and the feature exists in
10006           the cached registry file), things went horribly wrong. This isn't a
10007           complete fix, we should actually be removing the 'missing' features
10008           from the features list when we load the actual plugin. That's not
10009           yet implemented. 
10010
10011 2005-10-04  Johan Dahlin  <johan@gnome.org>
10012
10013         * check/gst/gstiterator.c: (GST_START_TEST):
10014         * gst/gstbin.c: (gst_bin_iterate_elements),
10015         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
10016         * gst/gstelement.c: (gst_element_iterate_pads):
10017         * gst/gstformat.c: (gst_format_iterate_definitions):
10018         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10019         (gst_iterator_new_list), (gst_iterator_filter):
10020         * gst/gstiterator.h:
10021         * gst/gstquery.c: (gst_query_type_iterate_definitions):
10022         Add a GType to GstIterator, update callsites and tests.
10023
10024 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10025
10026         * gst/gstpad.c: (gst_pad_event_default_dispatch):
10027           give events a chance to be handled by event probes when the pad
10028           is not linked
10029
10030 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10031
10032         * gst/gstevent.c: (gst_event_type_get_name),
10033         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
10034         * gst/gstevent.h:
10035           add string representations for event types
10036
10037 2005-10-06  Wim Taymans  <wim@fluendo.com>
10038
10039         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
10040         Don't use NULL pointers.
10041
10042 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10043
10044         * gst/gst_private.h:
10045         * gst/gstbus.c:
10046         * gst/gstelement.c:
10047         * gst/gstinfo.c:
10048         * gst/gstpluginfeature.c:
10049           widen the debug category in output to fit the biggest one we have
10050           add a bus category and use it
10051           play with the colors
10052           fix up some categories
10053
10054 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10055
10056         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
10057           add push activation of sink ghost pads.
10058           Andye, please verify
10059
10060 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10061
10062         * gst/gstutils.c: (gst_element_link_pads):
10063           fix a bug in the case where neither element has a pad
10064         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
10065           add a test for that case
10066
10067 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10068
10069         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
10070           emit have-data before checking for peers.  This allows
10071           for probe handlers to connect elements.  This helps autopluggers.
10072         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
10073         (gst_pad_suite):
10074           add six checks, linked/unlinked with no/true/false probe
10075
10076 2005-10-04  Wim Taymans  <wim@fluendo.com>
10077
10078         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
10079         (gst_fake_sink_event), (gst_fake_sink_preroll),
10080         (gst_fake_sink_render), (gst_fake_sink_change_state):
10081         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
10082         (gst_fake_src_get_property), (gst_fake_src_create),
10083         (gst_fake_src_stop):
10084         * gst/elements/gstidentity.c: (gst_identity_stop):
10085         Protect last_message with lock.
10086
10087 2005-10-04  Edward Hervey  <edward@fluendo.com>
10088
10089         * gst/gstformat.h: 
10090         Added precision in the comments for GST_FORMAT_DEFAULT
10091
10092 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
10093
10094         * tools/gst-launch.c: (main):
10095           Don't try to run erroneous pipelines.
10096
10097 2005-10-04  Julien MOUTTE  <julien@moutte.net>
10098
10099         * gst/gstbus.c: We don't need this header.
10100
10101 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10102
10103         * configure.ac:
10104           back to development
10105
10106 === release 0.9.3 ===
10107
10108 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10109
10110         * README:
10111         * configure.ac:
10112           Releasing 0.9.3, "Unregistered"
10113
10114 2005-10-03  Andy Wingo  <wingo@pobox.com>
10115
10116         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
10117         whereby calling a pad's activatepush() function can start a thread
10118         that starts to push or pull before the pad gets the FLUSHING flag
10119         unset. Hack around it by holding the stream lock until the flag is
10120         set. Need to replace this with a proper solution. Together with
10121         the ghost pad fixes, this fixes mp3 playing/tagreading.
10122
10123         * docs/design/part-gstghostpad.txt: Add a note about activation of
10124         proxy pads outside of ghost pads.
10125
10126         * gst/gstghostpad.c: Implement the ghost pad activation design.
10127
10128 2005-10-02  Andy Wingo  <wingo@pobox.com>
10129
10130         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
10131         It is volatile, after all.
10132
10133         * docs/design/part-gstghostpad.txt: Flesh out activation with
10134         ghost pads.
10135
10136         * gst/base/gstbasesrc.c (gst_base_src_init): Use
10137         GST_DEBUG_FUNCPTR.
10138
10139 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10140
10141         * configure.ac:
10142           Fix (unused) AM_CONDITIONAL tests.
10143
10144 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
10145
10146         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10147
10148         * gst/gstutils.c: (gst_pad_query_convert):
10149           Add assertion that makes sure src_val is >=0, just like
10150           gst_query_new_convert() has. (#315895)
10151
10152 2005-09-30  Edward Hervey  <edward@fluendo.com>
10153
10154         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
10155         Let's not iterate pads we're not interested in, it avoids getting 
10156         sky-high refcounts on sinkpad.
10157
10158 2005-09-30  Wim Taymans  <wim@fluendo.com>
10159
10160         * gst/gstelement.c: (gst_element_set_state),
10161         (gst_element_change_state):
10162         Small tweak, element in ASYNC remains ASYNC.
10163
10164 2005-09-30  Wim Taymans  <wim@fluendo.com>
10165
10166         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
10167         Only error is an error.
10168
10169         * gst/gstbin.c: (gst_bin_change_state):
10170         Better debugging.
10171
10172         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
10173         Also call pad_block in pad alloc.
10174
10175         * gst/gstutils.c: (gst_flow_get_name):
10176         Better debugging.
10177
10178 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10179
10180         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10181         (gst_base_src_get_range):
10182           Fix documentation typos. Add some more debug info.
10183
10184 2005-09-29  David Schleef  <ds@schleef.org>
10185
10186         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
10187           more end-user friendly.
10188         * tools/gst-inspect.c: (main): Check if command-line argument is
10189           a file and attempt to load that file as a plugin.
10190
10191 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10192
10193         * check/gst/gstbin.c:
10194         * check/states/sinks.c:
10195           fix tests for the new warning
10196         * check/gst/gstpipeline.c:
10197           add a test for pipeline and bus interaction
10198         * gst/gstelement.c:
10199           elements should be NULL if they get disposed; add a warning if not
10200
10201 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10202
10203         * gst/gstobject.c:
10204           for 2.6 refcounting, make debug log more correct by printing
10205           the actual refcounts at the time of swap (Wim)
10206
10207 2005-09-29  Andy Wingo  <wingo@pobox.com>
10208
10209         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
10210         removes signal watches previously added via
10211         gst_bus_add_signal_watch.
10212         (gst_bus_add_signal_watch): Don't return the source id, just store
10213         it on the bus if there wasn't an id already.
10214
10215         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
10216         add_signal_watch and remove_signal_watch.
10217
10218 2005-09-29  Edward Hervey  <edward@fluendo.com>
10219
10220         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
10221         Better if we actually iterate the list :)
10222
10223 2005-09-29  Wim Taymans  <wim@fluendo.com>
10224
10225         * check/gst/gstbin.c: (GST_START_TEST):
10226         Change for new bus API.
10227
10228         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
10229         (send_messages), (GST_START_TEST), (gstbus_suite):
10230         Change for new bus signal API.
10231
10232         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
10233         (gst_bus_source_prepare), (gst_bus_source_check),
10234         (gst_bus_create_watch), (gst_bus_add_watch_full),
10235         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
10236         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
10237         * gst/gstbus.h:
10238         Remove support for multiple GSources operating on different
10239         message types as it is too complex and unneeded when using
10240         signals.
10241         Added support for receiving signals from the bus.
10242
10243 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10244
10245         * docs/libs/tmpl/gstdataprotocol.sgml:
10246         * docs/manual/advanced-dataaccess.xml:
10247         * gst/elements/gstcapsfilter.c:
10248         * gst/gstutils.c:
10249           rename filter-caps to caps property
10250
10251 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10252
10253         * gst/gstvalue.c: (gst_value_deserialize_fraction):
10254           More robust fraction string parsing.
10255
10256         * docs/pwg/appendix-porting.xml:
10257           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
10258
10259 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10260
10261         * gst/gstcaps.c: (gst_caps_do_simplify):
10262           Thou shalt not free a structure and then continue using it
10263           in the next loop iteration.
10264
10265         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
10266         (gst_caps_suite):
10267           Add test case for caps simplification.
10268
10269 2005-09-29  Wim Taymans  <wim@fluendo.com>
10270
10271         * check/gst/gstbin.c: (GST_START_TEST):
10272         Oops.
10273
10274 2005-09-29  Wim Taymans  <wim@fluendo.com>
10275
10276         * check/gst/gstbin.c: (GST_START_TEST):
10277         Add bus to bin.
10278
10279         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
10280         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10281         (find_element), (gst_bin_sort_iterator_next),
10282         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10283         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10284         (gst_bin_change_state), (gst_bin_dispose):
10285         A bin does not have a bus, it gets the bus from the parent.
10286
10287         * gst/gstelement.c: (gst_element_requires_clock),
10288         (gst_element_provides_clock), (gst_element_is_indexable),
10289         (gst_element_is_locked_state), (gst_element_change_state),
10290         (gst_element_set_bus_func):
10291         Small cleanups.
10292
10293         * gst/gstpipeline.c: (gst_pipeline_class_init),
10294         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
10295         The pipeline provides a bus.
10296
10297 2005-09-28  Johan Dahlin  <johan@gnome.org>
10298
10299         * gst/gstmessage.c (gst_message_parse_state_changed): Use
10300         gst_structure_get_enum instead of gst_structure_get_int
10301
10302         * gst/gststructure.c (gst_structure_get_enum): Impl.
10303
10304         * gst/gststructure.h (gst_structure_get_enum): Add
10305
10306         * docs/gst/gstreamer-sections.txt: Ditto
10307
10308         * gst/gstmessage.c (gst_message_new_state_changed): Use
10309         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
10310         which does introspection.
10311         Reviewed by Christian Schaller
10312
10313 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
10314
10315         * gst/gstinfo.c: (gst_debug_log_default):
10316           don't do dummy g_strdup()s
10317         * libs/gst/controller/gstcontroller.c:
10318         (on_object_controlled_property_changed),
10319         (gst_controlled_property_new), (gst_controller_new_valist),
10320         (gst_controller_new_list),
10321         (gst_controller_remove_properties_valist), (gst_controller_set),
10322         (gst_controller_get), (gst_controller_sync_values),
10323         (gst_controller_get_value_array), (_gst_controller_class_init),
10324         (gst_controller_get_type):
10325         * libs/gst/controller/gstcontroller.h:
10326         * libs/gst/controller/gstinterpolation.c:
10327         (gst_controlled_property_find_timed_value_node):
10328           convert // to /**/ comments
10329
10330 2005-09-28  Wim Taymans  <wim@fluendo.com>
10331
10332         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
10333         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
10334         (gst_bus_sync_signal_handler):
10335         * gst/gstbus.h:
10336         Added async-message and sync-message signals to the bus.
10337         Added helper BusFunc to emit signals for all posted messages.
10338
10339         * gst/gstmessage.c: (gst_message_type_get_name),
10340         (gst_message_type_to_quark), (gst_message_get_type):
10341         * gst/gstmessage.h:
10342         Register quarks for message names.
10343
10344 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
10345
10346         * docs/libs/gstreamer-libs-sections.txt:
10347         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10348         (gst_controller_new_list):
10349         * libs/gst/controller/gstcontroller.h:
10350           added another constructor for language bindings
10351
10352 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10353
10354         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10355           add another check
10356         * gst/gstbus.c:
10357           add some doc
10358         * gst/gstinfo.c: (_gst_debug_init):
10359           slightly more readable color for refcount debugging
10360
10361 2005-09-28  Wim Taymans  <wim@fluendo.com>
10362
10363         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
10364         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10365         (find_element), (gst_bin_sort_iterator_next),
10366         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10367         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10368         (gst_bin_change_state), (gst_bin_dispose):
10369         Small doc fixes. get_clock -> provide_clock.
10370
10371         * gst/gstelement.c: (gst_element_class_init),
10372         (gst_element_provides_clock), (gst_element_provide_clock),
10373         (gst_element_get_clock), (gst_element_commit_state),
10374         (gst_element_lost_state):
10375         * gst/gstelement.h:
10376         Make get/set_clock() symetric. Add provide_clock vmethod since
10377         that is actually what this function does.
10378
10379         * gst/gstpipeline.c: (gst_pipeline_class_init),
10380         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
10381         (gst_pipeline_get_clock):
10382         get_clock -> provide_clock.
10383
10384 2005-09-28  Andy Wingo  <wingo@pobox.com>
10385
10386         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
10387         lieu of real docs...
10388
10389         * gst/elements/gstfdsrc.c: Cleaned up a bit.
10390
10391 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
10392
10393         * gst/elements/gstcapsfilter.c:
10394         * gst/elements/gstfakesink.c:
10395         * gst/elements/gstfakesrc.c:
10396         * gst/elements/gstfdsink.c:
10397         * gst/elements/gstfdsrc.c:
10398         * gst/elements/gstfilesink.c:
10399         * gst/elements/gstfilesrc.c:
10400         * gst/elements/gstidentity.c:
10401         * gst/elements/gsttee.c:
10402         * gst/elements/gsttypefindelement.c:
10403           Make element details static.
10404
10405 2005-09-28  Wim Taymans  <wim@fluendo.com>
10406
10407         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10408         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10409         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10410         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10411         (gst_bin_change_state), (gst_bin_dispose):
10412         Some documentation updates.
10413         Clean up dispose handlers.
10414
10415         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
10416         * gst/gstpad.c: (gst_pad_dispose):
10417         Clean up dispose handler.
10418
10419         * gst/gstpipeline.c: (gst_pipeline_change_state):
10420         Removed spurious UNLOCK.
10421
10422 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
10423
10424         * docs/gst/gstreamer-sections.txt:
10425         * gst/base/gstbasesrc.h:
10426         * gst/gstelement.h:
10427         * gst/gstevent.h:
10428         * gst/gstobject.h:
10429         * gst/gstpad.h:
10430         * gst/gstpipeline.c:
10431         * gst/gstpipeline.h:
10432         * gst/gstutils.h:
10433         * gst/gstxml.h:
10434           added two new functions to the docs
10435                 documents all undocumented GstXXXFlags
10436                 completed some incomplete docs 
10437
10438 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10439
10440         * gst/gstbin.c: (gst_bin_dispose):
10441         * gst/gstelement.c: (gst_element_dispose):
10442           remove now useless and leaky resurrection code in dispose
10443         * gst/base/gstbasesrc.c: (gst_base_src_init):
10444         * gst/gstelementfactory.c: (gst_element_factory_create):
10445         * gst/gstobject.c: (gst_object_set_parent):
10446           add some debugging
10447
10448 2005-09-27  Wim Taymans  <wim@fluendo.com>
10449
10450         * docs/design/part-TODO.txt:
10451         Update TODO.
10452
10453         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10454         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10455         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10456         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10457         (gst_bin_change_state):
10458         * gst/gstelement.h:
10459         Remove element variable, we keep element info in the iterator now.
10460
10461 2005-09-27  Andy Wingo  <wingo@pobox.com>
10462
10463         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
10464         values.
10465
10466 2005-09-27  Wim Taymans  <wim@fluendo.com>
10467
10468         * check/gst/gstbin.c: (GST_START_TEST):
10469         Enable check that works now.
10470
10471         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10472         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10473         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10474         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10475         (gst_bin_change_state):
10476         * gst/gstbin.h:
10477         Redid the state change algorithm using a topological sort algo.
10478         Handles all cases correctly.
10479         Exposed iterator for state change order.
10480
10481         * gst/gstelement.h:
10482         Temp storage for state changes. Need to get rid of this soon.
10483
10484 2005-09-27  Wim Taymans  <wim@fluendo.com>
10485
10486         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
10487         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
10488         (link_fold_func), (gst_pad_proxy_setcaps):
10489         Leak fixes, the fold functions need to unref the passed object and
10490         _get_parent_*() returns ref to parent.
10491
10492 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10493
10494         * check/gst/gstbuffer.c: (test_make_writable):
10495           Plug leak in test case and fix 'make check-valgrind'
10496
10497 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10498
10499         * gst/gstbuffer.c: (gst_subbuffer_init):
10500           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
10501           works correctly in all circumstances (we could have just copied
10502           the parent buffer's readonly flag, but conceptually it seems
10503           cleaner to mark all subbuffers as read-only). (based on patch
10504           by Alessandro Decina, #314710).
10505         
10506         * check/gst/gstbuffer.c: (create_read_only_buffer),
10507         (test_make_writable), (test_subbuffer_make_writable),
10508         (gst_test_suite):
10509           Add some tests for gst_buffer_make_writable().
10510
10511 2005-09-27  Wim Taymans  <wim@fluendo.com>
10512
10513         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
10514         use gst_object_has_ancestor().
10515
10516         * gst/gstobject.c: (gst_object_has_ancestor):
10517         * gst/gstobject.h:
10518         gst_object_has_ancestor() copied from gstbin.c as it is a
10519         usefull function.
10520
10521         * tests/instantiate/create.c: (create_all_elements):
10522         * tests/lat.c: (handoff_src), (handoff_sink):
10523         * tests/sched/runxml.c: (main):
10524         * tests/seeking/seeking1.c: (main):
10525         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
10526         (main):
10527         Fix compilation of some tests.
10528
10529 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10530
10531         * gst/gsterror.h:
10532           Remove comment. GST_TYPE_G_ERROR is here to stay,
10533           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
10534           (#316961, #300610).
10535
10536 2005-09-26  Wim Taymans  <wim@fluendo.com>
10537
10538         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10539         Added check that shows error in state change order.
10540
10541 2005-09-26  Wim Taymans  <wim@fluendo.com>
10542
10543         * gst/gstbin.c: (gst_bin_change_state):
10544         Make state change function use 3 queues again, we were
10545         adding elements in the wrong order.
10546
10547         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10548         Some debug info,
10549
10550         * gst/gstpad.c: (gst_pad_dispose):
10551         Added some debug info first.
10552
10553 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
10554
10555         * docs/design/draft-push-pull.txt:
10556         * docs/design/part-events.txt:
10557         * docs/design/part-overview.txt:
10558         * docs/design/part-scheduling.txt:
10559           Replace all _pull_region() with _pull_range()
10560           
10561 2005-09-26  Andy Wingo  <wingo@pobox.com>
10562
10563         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
10564
10565         * check/gst-libs/controller.c: Update for controller api change.
10566
10567         * configure.ac: 
10568         * tests/Makefile.am:
10569         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
10570         over by GLib bug 118439.
10571         
10572         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
10573         routines to a function.
10574
10575         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
10576
10577         * libs/gst/controller/gsthelper.c:
10578         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
10579         (gst_object_sync_values): Renamed from sink_values. Ugh.
10580
10581         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
10582
10583         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
10584         Renamed from controller_key, as it is exported.
10585
10586         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
10587
10588 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
10589
10590         * gst/Makefile.am:
10591         * gst/gst.h:
10592         * gst/gstpad.h:
10593         * gst/gstpadtemplate.h:
10594         * gst/gstquery.c:
10595         * gst/gstquery.h:
10596         * gst/gstqueryutils.c:
10597         * gst/gstqueryutils.h:
10598           remove queryutils headers after moving the two used functions
10599           to gstquery.  also fixes build problem for gstsiddec
10600
10601 2005-09-26  Michael Smith <msmith@fluendo.com>
10602
10603         * tools/gst-launch.1.in:
10604         Correct documentation in manpage of debug syntax
10605
10606 2005-09-26  Wim Taymans  <wim@fluendo.com>
10607
10608         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10609         (gst_base_src_is_seekable), (gst_base_src_change_state):
10610         Some more debugging info.
10611
10612 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
10613
10614         * docs/gst/gstreamer-sections.txt:
10615         * gst/base/gstbasetransform.h:
10616         * gst/gstindex.h:
10617           added more docs
10618
10619 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
10620
10621         * docs/gst/.cvsignore:
10622         * docs/gst/tmpl/.cvsignore:
10623         * docs/gst/tmpl/gstpipeline.sgml:
10624         * docs/gst/tmpl/gstplugin.sgml:
10625         * gst/gstpipeline.c:
10626         * gst/gstplugin.c:
10627         * gst/gstplugin.h:
10628           inlined the last two docs files
10629           removed the tmpl directory from cvs (no more conflicts here!)
10630
10631 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
10632
10633         * docs/gst/gstreamer-sections.txt:
10634         * docs/gst/tmpl/.cvsignore:
10635         * docs/gst/tmpl/gstpad.sgml:
10636         * docs/gst/tmpl/gstpadtemplate.sgml:
10637         * gst/Makefile.am:
10638         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10639         (gst_pad_finalize), (gst_pad_set_pad_template):
10640         * gst/gstpad.h:
10641         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10642         (gst_pad_template_class_init), (gst_pad_template_init),
10643         (gst_pad_template_dispose), (name_is_valid),
10644         (gst_static_pad_template_get), (gst_pad_template_new),
10645         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
10646         (gst_pad_template_pad_created):
10647         * gst/gstpadtemplate.h:
10648           inlined two more docs
10649           factored gstpadtemplate out of gstpad
10650
10651 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
10652
10653         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10654         (test_children_state_change_order_semi_sink):
10655           Fix test case: we can't rely on a fixed state change order when
10656           going from READY => PAUSED because the sink might commit its 
10657           new state first when the first buffer created by the source 
10658           reaches the sink before the source has finished its change state.
10659           (Test case still fails at times, see #316856, comment 5 onwards)
10660
10661 2005-09-24  Wim Taymans  <wim@fluendo.com>
10662
10663         * docs/design/part-events.txt:
10664         * docs/design/part-gstbus.txt:
10665         * docs/design/part-gstpipeline.txt:
10666         * docs/design/part-messages.txt:
10667         * docs/design/part-overview.txt:
10668         * docs/design/part-segments.txt:
10669         * gst/gstbin.c:
10670         * gst/gstbuffer.c:
10671         * gst/gstclock.c:
10672         * gst/gstelement.c:
10673         * gst/gstevent.c:
10674         * gst/gstfilter.c:
10675         * gst/gstiterator.c:
10676         Various documentation updates.
10677
10678 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10679
10680         * gst/gstclock.h:
10681           Well, that's embarassing.  Luckily we weren't using
10682           GST_CLOCK_DIFF anywhere.
10683
10684 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10685
10686         * common/gtk-doc.mak:
10687           don't fail on building XML, FC4 slave shows a bunch of doc
10688           missing bits that I don't get
10689         * gst/gstpad.c:
10690         * gst/gstpipeline.c:
10691         * gst/gststructure.c:
10692           some doc updates
10693
10694 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
10695
10696         * docs/design/part-gstbin.txt:
10697         * docs/design/part-gstbus.txt:
10698         * gst/gstbus.c:
10699           Add blurb about how the bus goes into flushing mode and
10700           drops all messages when its bin goes from READY into NULL 
10701           state.
10702
10703 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10704
10705         * docs/gst/gstreamer-sections.txt:
10706         * gst/gststructure.c: (gst_structure_get_clock_time):
10707         * gst/gststructure.h:
10708           add a method to get a GstClockTime out of a structure
10709
10710 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
10711
10712         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10713         (test_children_state_change_order_semi_sink), (gst_bin_suite):
10714           Added test to check state change order in bins (can still be made
10715           to fail here under heavy disk load; bails out with 'Push on pad
10716           fakesink:sink0, but it was not activated in push mode').
10717
10718         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
10719           Fix state change order when there is only a semi sink (#316856)
10720
10721         * gst/gstbus.c: (gst_bus_class_init):
10722           Use _class_peek_parent(), not _class_ref(); fix docs to say
10723           'default main context' instead of 'mainloop' where that is
10724           what's meant.
10725
10726         * gst/gstelement.c: (gst_element_commit_state),
10727         (gst_element_set_state):
10728           Fix typos in debug messages
10729
10730 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10731
10732         * docs/README:
10733         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
10734         * gst/gstpluginfeature.c:
10735         * gst/gstutils.c:
10736           various doc updates
10737         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10738           change an assert into an error until it gets fixed properly
10739
10740 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
10741
10742         * docs/gst/gstreamer-sections.txt:
10743         * docs/gst/tmpl/.cvsignore:
10744         * docs/gst/tmpl/gstelement.sgml:
10745         * docs/gst/tmpl/gstinfo.sgml:
10746         * docs/gst/tmpl/gstobject.sgml:
10747         * gst/gstelement.c:
10748         * gst/gstelement.h:
10749         * gst/gstinfo.c:
10750         * gst/gstinfo.h:
10751         * gst/gstobject.c: (gst_object_class_init):
10752         * gst/gstobject.h:
10753           inlined 3 more biiiig doc files and added some missing docs on the fly
10754
10755 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10756
10757         * check/gst/.cvsignore:
10758         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
10759         * gst/gstregistryxml.c: (load_plugin),
10760         (gst_registry_xml_save_plugin):
10761           put back source in registry.  add checks for find_plugin.
10762         * testsuite/states/bin.c: (assert_state), (empty_bin),
10763         (test_adding_one_element), (main):
10764         * testsuite/states/locked.c: (main):
10765           some compile/run fixes
10766
10767 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10768
10769         * check/gst/gstvalue.c: (GST_START_TEST):
10770           fix leaks in the test itself
10771
10772 2005-09-22  Wim Taymans  <wim@fluendo.com>
10773
10774         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10775         (gst_base_sink_send_event), (gst_base_sink_peer_query),
10776         (gst_base_sink_query):
10777         Prepare for more accurate position reporting and query
10778         handling.
10779
10780         * gst/gstelement.c: (gst_element_send_event),
10781         (gst_element_set_state):
10782         Add some comment.
10783
10784 2005-09-22  Wim Taymans  <wim@fluendo.com>
10785
10786         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
10787         (gst_query_parse_segment):
10788         * gst/gstquery.h:
10789         More documentation.
10790         Add segment query for future use.
10791
10792 2005-09-22  Wim Taymans  <wim@fluendo.com>
10793
10794         * gst/gstbin.c: (gst_bin_add_func):
10795         Some more debug info.
10796
10797         * gst/gstelement.c: (gst_element_send_event):
10798         Simplify send_event
10799
10800         * gst/gstelement.h:
10801         Don't know how flags got broken.
10802
10803         * gst/gstquery.h:
10804         Added new query.
10805
10806 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10807
10808         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
10809           Add simplistic test suite for GST_TYPE_DATE serialisation and
10810           deserialisation.
10811
10812 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10813
10814         * docs/gst/gstreamer-sections.txt:
10815         * gst/gststructure.c: (gst_structure_set_valist),
10816         (gst_structure_get_date):
10817         * gst/gststructure.h:
10818         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
10819         (gst_date_copy), (gst_value_compare_date),
10820         (gst_value_serialize_date), (gst_value_deserialize_date),
10821         (gst_value_transform_date_string),
10822         (gst_value_transform_string_date), (_gst_value_initialize):
10823         * gst/gstvalue.h:
10824           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
10825           bunch of utility functions along with a hack that checks that
10826           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
10827           is required. Part of the grand scheme in #170777.
10828
10829 2005-09-22  Andy Wingo  <wingo@pobox.com>
10830
10831         * gst/gstconfig.h.in: Psych out gtk-doc.
10832
10833         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
10834
10835         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
10836
10837         * tools/gst-inspect.c (print_element_list): Plug some
10838         inconsequential leaks.
10839
10840         * gst/gstregistry.c (gst_registry_get_default): Doc.
10841
10842         * check/gst/gstplugin.c: 
10843         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
10844         * gst/gstelementfactory.c (gst_element_factory_create): 
10845         * gst/gstindexfactory.c (gst_index_factory_create): Update for
10846         refcount changes.
10847
10848         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
10849         (gst_plugin_feature_load): Doc, don't eat refs.
10850
10851         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
10852         (gst_plugin_list_free): Doc.
10853         (gst_plugin_load_file): Doc updates.
10854
10855         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
10856         accessors returning refcounted objects, return a ref.
10857
10858         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
10859         accessor for caps. IDEMPOTENCE. Oh yes.
10860
10861 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
10862
10863         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10864
10865         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
10866         (_gst_debug_register_funcptr):
10867           Add mutex to serialise access to the hash table with
10868           the function pointer => function name string mapping;
10869           make that hash table static scope (#316809).
10870
10871         * gst/registries/.cvsignore:
10872           Remove left-over file.
10873
10874 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
10875
10876         * docs/pwg/appendix-porting.xml:
10877           And something about newsegment events and caps-on-buffers to
10878           the porting guide (feel free to improve).
10879
10880 2005-09-21  Andy Wingo  <wingo@pobox.com>
10881
10882         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
10883         data and event probes on the same pad.
10884         (test_buffer_probe_once): Test that removing probes from within
10885         the probe functions works.
10886
10887 2005-09-21  Andy Wingo  <wingo@pobox.com>
10888
10889         * check/gst/gstutils.c: New file.
10890         (test_buffer_probe_n_times): A simple buffer probe test. More to
10891         come, foolios.
10892
10893         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
10894         have-data::buffer, not have-data.
10895         (gst_pad_add_event_probe): Likewise for have-data::event.
10896         (gst_pad_add_data_probe): More docs. The part about 'resolving the
10897         peer' isn't quite right yet though.
10898         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
10899         (gst_pad_remove_data_probe): Change to take the guint handler_id
10900         as their arg, not the function+data, which is more glib-like.
10901
10902         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
10903         the signal emission to indicate if the data is a buffer or an
10904         event.
10905         (gst_pad_get_type): Initialize buffer and event quarks.
10906         (gst_pad_class_init): have-data is now a detailed signal, yes it
10907         is.
10908
10909 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
10910
10911         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
10912         * gst/gstutils.c: (gst_util_set_value_from_string),
10913         (gst_util_set_object_arg):
10914           Don't put functional code in g_return_if_fail() or
10915           g_return_val_if_fail() statements, otherwise things will 
10916           break when G_DISABLE_CHECKS is defined during compilation.
10917
10918 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10919
10920         * docs/gst/tmpl/.cvsignore:
10921         * docs/gst/tmpl/gstvalue.sgml:
10922         * gst/gstvalue.c:
10923         * gst/gstvalue.h:
10924           inlied another one and added  some obvious docs
10925
10926 2005-09-21  Wim Taymans  <wim@fluendo.com>
10927
10928         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10929         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
10930         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
10931         (gst_fdsrc_get_property), (gst_fdsrc_create):
10932         * gst/elements/gstfdsrc.h:
10933         Properly implement fdsrc. Removed signal and timeout,
10934         better implemented somewhere else.
10935
10936 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10937
10938         * docs/gst/tmpl/.cvsignore:
10939         * docs/gst/tmpl/gstimplementsinterface.sgml:
10940         * gst/gstinterface.c:
10941           inlined more docs
10942
10943 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10944
10945         * docs/gst/gstreamer-sections.txt:
10946         * docs/gst/tmpl/.cvsignore:
10947         * docs/gst/tmpl/gstenumtypes.sgml:
10948           remove obsolete doc file
10949
10950 2005-09-21  David Schleef  <ds@schleef.org>
10951
10952         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
10953         little beer, fix a little leak.
10954
10955 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10956
10957         * docs/gst/gstreamer-docs.sgml:
10958         * docs/gst/gstreamer-sections.txt:
10959         * docs/gst/tmpl/.cvsignore:
10960         * gst/Makefile.am:
10961         * gst/gst.h:
10962         * gst/gstbin.c:
10963         * gst/gstelement.h:
10964         * gst/gstindex.c: (gst_index_class_init):
10965         * gst/gstindex.h:
10966         * gst/gstindexfactory.c: (gst_index_factory_get_type),
10967         (gst_index_factory_class_init), (gst_index_factory_init),
10968         (gst_index_factory_finalize), (gst_index_factory_new),
10969         (gst_index_factory_destroy), (gst_index_factory_find),
10970         (gst_index_factory_create), (gst_index_factory_make):
10971         * gst/gstindexfactory.h:
10972         * gst/gstpluginfeature.c:
10973         * gst/gstpluginfeature.h:
10974         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10975           more docs inlined, splitted gstindex.{c,h}
10976
10977 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10978
10979         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10980           fix a leak
10981
10982 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
10983
10984         * gst/elements/gstfilesink.c: (gst_file_sink_init):
10985           Set sync to FALSE by default.
10986
10987 2005-09-20  Wim Taymans  <wim@fluendo.com>
10988
10989         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10990         (gst_base_sink_init):
10991         Make sync property settable from subclass.
10992
10993         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
10994         (gst_fake_sink_change_state):
10995         Set sync to FALSE by default.
10996
10997 2005-09-20  Wim Taymans  <wim@fluendo.com>
10998
10999         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
11000         * tools/gst-launch.c: (main):
11001         The timeout handler should have lower priority than the source
11002         so we don't timeout before popping a message with 0 timeout.
11003         Dump error messages after failed state change.
11004
11005 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
11006
11007         * tools/gst-inspect.c: (print_element_properties_info):
11008           Fix two typos.
11009
11010 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11011
11012         * check/gst/gstevent.c:
11013         * gst/elements/gstfakesink.c:
11014         * gst/elements/gstfakesink.h:
11015           remove the sync property from fakesink.
11016           has the side effect of setting sync TRUE
11017           for fakesink, which is a change.  Anyone who knows how
11018           to fix this nicely in a GObject-y way, feel free.
11019
11020 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
11021
11022         * docs/gst/gstreamer-docs.sgml:
11023           remove probe refsection
11024
11025 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
11026
11027         * check/Makefile.am:
11028           disable valgrinding the controller test again
11029         * docs/gst/gstreamer-sections.txt:
11030           update for api-changes
11031
11032 2005-09-20  Wim Taymans  <wim@fluendo.com>
11033
11034         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11035         (gst_base_sink_set_property), (gst_base_sink_get_property),
11036         (gst_base_sink_do_sync):
11037         * gst/base/gstbasesink.h:
11038         Added sync property to basesink to disable clock sync.
11039
11040 2005-09-20  Andy Wingo  <wingo@pobox.com>
11041
11042         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
11043         eating the caller's refcount.
11044
11045         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
11046         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
11047         refcount.
11048
11049         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
11050         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
11051         of GLib 2.8 public, so we can know which refcount to check in
11052         tests.
11053
11054         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
11055         (gst_object_init): Only set the gst refcount if we're going ahead
11056         with the refcount hack.
11057
11058 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
11059
11060         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
11061         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
11062           more leaks plumbed, added more debug-logging
11063         * gst/gstmacros.h:
11064           whitespace fix
11065
11066 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11067
11068         * gst/gstmessage.c:
11069           remove include of gstmemchunk.h
11070
11071 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11072
11073         * gst/gstclock.c: (_gst_clock_id_free):
11074           Commit from the Political Party For More Atomic CVS Commits,
11075           so that people don't waste too much of their day fishing
11076           out obvious leaks out of massive commits.
11077           Oh, and fix a pretty damn obvious leak in the memchunk
11078           removal code.
11079
11080 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
11081
11082         * check/Makefile.am:
11083         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
11084           plug mem-leak, re-add to valgrindable tests
11085
11086 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11087
11088         * gst/gstplugin.h:
11089           unbreak the build for those who have chronic arthritis
11090           and typing "make check" is just too taxing on the hands
11091
11092 2005-09-20  Andy Wingo  <wingo@pobox.com>
11093
11094         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
11095         really want it out, you should fix plugins at the same time.
11096
11097 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
11098
11099         * configure.ac:
11100         * docs/gst/gstreamer-sections.txt:
11101         * gst/gstobject.c:
11102           added missing symbols to api docs
11103           disable ref-count hack if we have glib >= 2.8
11104
11105 2005-09-19  David Schleef  <ds@schleef.org>
11106
11107         * docs/gst/Makefile.am: Ignore a few more internal headers
11108         * docs/gst/gstreamer-docs.sgml: Remove old sections
11109         * docs/gst/gstreamer-sections.txt: Remove old sections
11110         * docs/gst/tmpl/gstobject.sgml: update
11111         * docs/gst/tmpl/gstplugin.sgml: update
11112         * docs/gst/tmpl/gstpluginfeature.sgml: update
11113         * docs/random/ds/0.9-suggested-changes: update.
11114         * gst/Makefile.am: remove memchunk and trashstack, since they're
11115           not used.
11116         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
11117         * gst/gst.h: don't include some headers
11118         * gst/gstchildproxy.c: add gstmarshal.h
11119         * gst/gstclock.c: Don't use memchunks
11120         * gst/gstminiobject.c: Add some docs
11121         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
11122         * gst/gstobject.h: same
11123         * gst/gstplugin.c: include gstmacros.h
11124         * gst/gstplugin.h: don't include gstmacros.h, since it's private
11125         * gst/gstquery.c: don't use memchunks
11126         * gst/gstregistry.c: rename gst_registry_deinit()
11127         * gst/gstregistry.h: same
11128
11129 2005-09-19  David Schleef  <ds@schleef.org>
11130
11131         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
11132         * docs/libs/gstreamer-libs-sections.txt:
11133         * docs/libs/tmpl/gstgetbits.sgml:
11134         * docs/libs/tmpl/gstputbits.sgml:
11135
11136 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
11137
11138         * win32/gstenumtypes.c:
11139         * win32/gstenumtypes.h:
11140           Update.
11141
11142 2005-09-19  Wim Taymans  <wim@fluendo.com>
11143
11144         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
11145         Automatically PAUSE and RESUME a pipeline when a flushing seek
11146         is performed.
11147
11148 2005-09-19  Andy Wingo  <wingo@pobox.com>
11149
11150         * gst/gstregistry.h: Spacing fixen.
11151
11152 2005-09-19  Wim Taymans  <wim@fluendo.com>
11153
11154         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
11155         Handle state change failure more correctly.
11156
11157 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11158
11159         * check/Makefile.am:
11160         * check/pipelines/cleanup.c: (run_pipeline):
11161         * check/pipelines/simple_launch_lines.c: (run_pipeline),
11162         (GST_START_TEST):
11163           enable cleanup again after fixing the leak
11164         * docs/README:
11165           some more info on docs
11166
11167 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11168
11169         * check/Makefile.am:
11170           re-enable tests now that leaks are plugged
11171         * check/gst/gst.c:
11172         * check/gst/gstbin.c:
11173         * check/gst/gstpipeline.c:
11174           add some more tests while fixing leaks
11175         * common/check.mak:
11176           make sure binaries are uptodate when valgrinding/gdbing
11177         * gst/gst.c:
11178         * gst/gstelementfactory.c:
11179           remove a ref too many, and add a FIXME for when we get
11180           round to disposing of classes
11181         * gst/gstplugin.c:
11182           fix the refcounting when loading a plugin from a file and
11183           the code pretends that the pointer is the same even though
11184           of course it can change
11185         * gst/gstpluginfeature.c:
11186           unref plugins marked cached (a bit confusing as a name)
11187           as the docs state should be done
11188           various doc additions to explain refcounting
11189         * gst/gstregistry.c:
11190         * gst/gstregistryxml.c:
11191           debugging
11192
11193 2005-09-19  Wim Taymans  <wim@fluendo.com>
11194
11195         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
11196         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11197         (send_messages), (GST_START_TEST), (gstbus_suite):
11198         * check/gst/gstpipeline.c: (GST_START_TEST):
11199         * check/pipelines/cleanup.c: (run_pipeline):
11200         * check/pipelines/simple_launch_lines.c: (run_pipeline),
11201         (GST_START_TEST):
11202         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
11203         (gst_bus_source_check), (gst_bus_source_dispatch),
11204         (gst_bus_create_watch), (gst_bus_add_watch_full),
11205         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
11206         * gst/gstbus.h:
11207         * tools/gst-launch.c: (event_loop):
11208         * tools/gst-md5sum.c: (event_loop):
11209         GstBusHandler -> GstBusFunc, return value has the same meaning as
11210         any other GSource (FALSE == remove source).
11211         _add_watch() and _add_watch_full() now take a MessageType mask to
11212         only handle specific types of messages.
11213         _poll() returns the GstMessage instead of the message type to avoid
11214         race conditions.
11215         _have_pending() takes a MessageType mask now too.
11216         Added testsuite for multiple bus watches.
11217         Fix testsuites and applications for new bus API.
11218
11219 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11220
11221         * check/Makefile.am:
11222           mark a bunch of the tests as to fix until we fix them
11223
11224 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11225
11226         * common/check.mak:
11227           use GST_PLUGIN settings for valgrind tests as well, so we're
11228           valgrinding the correct thing
11229         * gst/gst.c: (init_post):
11230           plug another leak
11231
11232 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11233
11234         * gst/gst.c: (init_post), (gst_deinit):
11235         * gst/gstelementfactory.c: (gst_element_factory_class_init),
11236         (gst_element_factory_finalize), (gst_element_factory_cleanup):
11237         * gst/gstindex.c: (gst_index_factory_class_init),
11238         (gst_index_factory_finalize):
11239         * gst/gstobject.c: (gst_object_dispose):
11240         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
11241         (gst_plugin_load_file), (gst_plugin_desc_free):
11242         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
11243         (gst_plugin_feature_finalize):
11244         * gst/gstregistry.c: (gst_registry_class_init),
11245         (gst_registry_init), (gst_registry_finalize),
11246         (gst_registry_get_default), (gst_registry_deinit):
11247         * gst/gstregistry.h:
11248         * gst/gstregistryxml.c: (load_feature), (load_plugin):
11249           various cleanups and memleak plugging.  make valgrind is happy now.
11250
11251 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11252
11253         * common/check.mak:
11254           add a check-valgrind target
11255
11256 2005-09-18  David Schleef  <ds@schleef.org>
11257
11258         * tools/gst-inspect.c: Revert the GOption code.
11259
11260 2005-09-17  David Schleef  <ds@schleef.org>
11261
11262         * check/Makefile.am: Fix environment variables.
11263         * check/gst/gstplugin.c: Fix for API changes.
11264         * tools/gst-inspect.c: Fix for API changes.
11265         * tools/gst-xmlinspect.c: Fix for API changes.
11266         * gst/gstelementfactory.c:
11267         * gst/gstplugin.c:
11268         * gst/gstplugin.h:
11269         * gst/gstpluginfeature.c:
11270         * gst/gstpluginfeature.h:
11271         * gst/gstregistry.c:
11272         * gst/gstregistry.h:
11273         * gst/gstregistryxml.c:
11274         * gst/gsttypefind.c:
11275         * gst/gsttypefindfactory.c:
11276         * gst/indexers/gstfileindex.c:
11277         * gst/indexers/gstmemindex.c:
11278         * gst/schedulers/Makefile.am:
11279           Change registry to keep track of both plugins and features,
11280           removing the feature tracking from plugins themselves.
11281
11282 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11283
11284         * check/Makefile.am:
11285         * tools/gst-register.1.in:
11286           remove gst-register
11287
11288 2005-09-15  David Schleef  <ds@schleef.org>
11289
11290         * check/gst/gstplugin.c:
11291         * gst/gstelementfactory.c:
11292         * gst/gstplugin.c:
11293         * gst/gstpluginfeature.c:
11294         * gst/gstregistry.c:
11295           Getting tired of debugging.  Disabled all the unreffing of
11296           plugins and features, which fixes the segfaults, but of
11297           course leaks like crazy.  At least playbin works.
11298
11299 2005-09-15  David Schleef  <ds@schleef.org>
11300
11301         * check/gst/gstplugin.c: (register_check_elements),
11302         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
11303         More testing
11304         * gst/elements/gsttypefindelement.c: Fix refcounting.
11305         * gst/gsttypefind.c:
11306         * gst/gsttypefindfactory.c:
11307         * gst/gsttypefindfactory.h:
11308
11309 2005-09-15  David Schleef  <ds@schleef.org>
11310
11311         * gst/gstindex.c: get refcounting correct.
11312         * gst/gstregistry.c: Handle the case where a feature/plugin is
11313           not found.
11314
11315 2005-09-15  David Schleef  <ds@schleef.org>
11316
11317         * check/Makefile.am:
11318         * check/gst/gstplugin.c: Add test
11319         * gst/gstplugin.c: Fix problems noticed by testsuite
11320         * gst/gstplugin.h:
11321         * gst/gstregistry.c: 
11322         * gst/gstregistry.h:
11323
11324 2005-09-15  David Schleef  <ds@schleef.org>
11325
11326         * gst/gstplugin.c: Implement semi-decent recounting and locking
11327           in plugins and plugin features.
11328         * gst/gstplugin.h:
11329         * gst/gstpluginfeature.c:
11330         * gst/gstpluginfeature.h:
11331         * gst/gstregistry.c:
11332
11333 2005-09-15  Michael Smith <msmith@fluendo.com>
11334
11335         * gst/gstregistry.c: (gst_registry_get_feature_list):
11336           Implement this. Makes oggdemux work; decodebin still broken.
11337
11338 2005-09-14  David Schleef  <ds@schleef.org>
11339
11340         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
11341           #316076)
11342         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
11343         * gst/check/Makefile.am:
11344         * libs/gst/controller/Makefile.am:
11345         * libs/gst/dataprotocol/Makefile.am:
11346
11347 2005-09-14  David Schleef  <ds@schleef.org>
11348
11349         * configure.ac: Remove getbits library.  Nothing uses it, and
11350           it should be in something like liboil if someone did want
11351           to use it.
11352         * libs/gst/Makefile.am:
11353         * libs/gst/getbits/Makefile.am:
11354         * libs/gst/getbits/gbtest.c:
11355         * libs/gst/getbits/getbits.c:
11356         * libs/gst/getbits/getbits.h:
11357         * libs/gst/getbits/gstgetbits_generic.c:
11358         * libs/gst/getbits/gstgetbits_i386.s:
11359         * libs/gst/getbits/gstgetbits_inl.h:
11360
11361 2005-09-14  David Schleef  <ds@schleef.org>
11362
11363         * gst/Makefile.am: Dist glib-compat.h
11364
11365 2005-09-14  David Schleef  <ds@schleef.org>
11366
11367         * configure.ac: Remove gst/registries, since it's no longer used.
11368         * gst/registries/Makefile.am:
11369         * gst/registries/gstlibxmlregistry.c:
11370         * gst/registries/gstlibxmlregistry.h:
11371         * gst/registries/gstxmlregistry.c:
11372         * gst/registries/gstxmlregistry.h:
11373         * gst/registries/registrytest.c:
11374
11375 2005-09-14  David Schleef  <ds@schleef.org>
11376
11377         * gst/glib-compat.h:
11378         * gst/gstregistryxml.c:
11379           Convergence is near.  Seriously.
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         * gst/glib-compat.h:
11385           Attempt #4 to appease the buildbots.
11386
11387 2005-09-14  David Schleef  <ds@schleef.org>
11388
11389         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11390           Attempt #3.
11391
11392 2005-09-14  David Schleef  <ds@schleef.org>
11393
11394         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11395         Attempt #2.
11396
11397 2005-09-14  David Schleef  <ds@schleef.org>
11398
11399         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
11400           the new functions.
11401
11402 2005-09-14  David Schleef  <ds@schleef.org>
11403
11404         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11405         * gst/glib-compat.h: Add some functions that are in newer versions
11406           of glib than we care to require.
11407         * gst/gstregistryxml.c: Use them.
11408
11409 2005-09-14  David Schleef  <ds@schleef.org>
11410
11411         * po/POTFILES.in: remove gst-register.c
11412
11413 2005-09-14  David Schleef  <ds@schleef.org>
11414
11415         * docs/gst/gstreamer-docs.sgml:
11416         * docs/gst/gstreamer-sections.txt:
11417         * docs/gst/gstreamer.types:
11418         * docs/gst/tmpl/gstelement.sgml:
11419         * docs/gst/tmpl/gstplugin.sgml:
11420         * docs/gst/tmpl/gstpluginfeature.sgml:
11421           Documentation updates for registry changes.
11422
11423 2005-09-14  David Schleef  <ds@schleef.org>
11424
11425         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
11426           because we don't require glib-2.8.
11427
11428 2005-09-14  David Schleef  <ds@schleef.org>
11429
11430         * gst/gstregistryxml.c: Added.  Essentially moved out of the
11431           registries directory.
11432
11433 2005-09-14  David Schleef  <ds@schleef.org>
11434
11435         * check/Makefile.am:
11436         * check/generic/states.c:
11437         * gst/Makefile.am:
11438         * gst/gst.c:
11439         * gst/gst.h:
11440         * gst/gst_private.h:
11441         * gst/gstelementfactory.c:
11442         * gst/gstindex.c:
11443         * gst/gstinfo.c:
11444         * gst/gstplugin.c:
11445         * gst/gstplugin.h:
11446         * gst/gstpluginfeature.c:
11447         * gst/gstpluginfeature.h:
11448         * gst/gstregistry.c:
11449         * gst/gstregistry.h:
11450         * gst/gstregistrypool.c: remove
11451         * gst/gstregistrypool.h: remove
11452         * gst/gsttypefind.c:
11453         * gst/gsttypefindfactory.c:
11454         * gst/gsturi.c:
11455         * tools/Makefile.am:
11456         * tools/gst-compprep.c:
11457         * tools/gst-inspect.c:
11458         * tools/gst-register.c: remove
11459         * tools/gst-xmlinspect.c:
11460           Registry rewrite.  Changes registry from being a file created
11461           by a tool into a simple cache file created automatically by 
11462           libgstreamer.  Removed gst-register (because it's no longer
11463           needed).  Remove registry pools, because we only have one
11464           registry implementation (XML).  Fix up other subsystems as
11465           necessary.
11466
11467 2005-09-13  Michael Smith <msmith@fluendo.com>
11468
11469         * gst/gstconfig.h.in:
11470           Don't Use windows linking attributes for MinGW. Fixes #316157
11471
11472 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11473
11474         * gst/gstutils.c: (set_state_async_thread_func),
11475         (gst_element_set_state_async):
11476           Apparently people think it's better if this function doesn't
11477           try to set the state to whatever state was asked for on the first
11478           call to this function for any object.  Seriously.
11479
11480 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11481
11482         * check/gst/gstpipeline.c: (GST_START_TEST):
11483         * docs/gst/gstreamer-sections.txt:
11484         * gst/gstutils.c: (set_state_async_thread_func),
11485         (gst_element_set_state_async):
11486         * gst/gstutils.h:
11487           add a "gst_element_set_state_async" method that
11488           sets the state and starts a thread to make sure the state
11489           change completes as best as it can
11490
11491 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11492
11493         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11494           codify design+behaviour in testsuite after discussion
11495
11496 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11497
11498         * docs/gst/tmpl/gstelement.sgml:
11499         * docs/manual/appendix-quotes.xml:
11500           add a quote
11501         * gst/gstelement.c: (gst_element_set_state):
11502           add some debug
11503
11504 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
11505
11506         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11507         (gst_base_transform_prepare_output_buf),
11508         (gst_base_transform_handle_buffer):
11509         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
11510         (gst_capsfilter_prepare_buf):
11511           Remove the requirement for sub-classes to call the parent
11512           implementation of prepare_output_buffer with a wrapper function.
11513           
11514         * gst/gsttaglist.h:
11515         * gst/gsttagsetter.h:
11516           Fix #define wrapper
11517
11518 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
11519
11520         * docs/gst/gstreamer-sections.txt:
11521           more doc cleanups
11522
11523 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11524
11525         * docs/gst/gstreamer-sections.txt:
11526         * docs/gst/tmpl/gstelement.sgml:
11527         * docs/gst/tmpl/gstplugin.sgml:
11528         * gst/gstminiobject.c:
11529         * gst/gstvalue.h:
11530           docs now stop throwing warnings
11531
11532 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11533
11534         * docs/gst/gstreamer-sections.txt:
11535         * docs/gst/gstreamer.types:
11536         * docs/gst/tmpl/gstpad.sgml:
11537         * docs/gst/tmpl/gsttypes.sgml:
11538         * gst/base/gstadapter.h:
11539         * gst/base/gstbasesink.h:
11540         * gst/base/gstbasesrc.h:
11541         * gst/gstbin.h:
11542         * gst/gstbuffer.h:
11543         * gst/gstbus.h:
11544         * gst/gstcaps.h:
11545         * gst/gstclock.h:
11546         * gst/gstelement.h:
11547         * gst/gstevent.h:
11548         * gst/gstmessage.h:
11549         * gst/gstpad.h:
11550         * gst/gststructure.c:
11551         * gst/registries/gstlibxmlregistry.h:
11552           various documentation fixes
11553
11554 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11555
11556         * docs/gst/gstreamer-sections.txt:
11557         * docs/gst/tmpl/gstvalue.sgml:
11558           rearrange gstvalue section
11559         * gst/gstutils.c: (gst_element_state_get_name):
11560           NONE -> VOID
11561         * gst/gstvalue.c: (_gst_value_initialize):
11562         * gst/gstvalue.h:
11563           doc updates
11564
11565 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
11566
11567         * check/gst-libs/controller.c:
11568           Header include fix.
11569         * gst/base/gstbasetransform.c:
11570         (gst_base_transform_default_prepare_buf),
11571         (gst_base_transform_handle_buffer):
11572         * gst/base/gstbasetransform.h:
11573           Some more basetransform changes and fixes to enable sub-classes
11574           that modify buffer metadata only.
11575         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11576         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
11577         (gst_capsfilter_prepare_buf):
11578           If the output pad has fixed allowed caps and input buffers 
11579           don't have any, set the fixed caps on outgoing buffers.
11580
11581 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
11582         * check/elements/identity.c: (GST_START_TEST):
11583           Make the error a little clearer when the test fails because
11584           identity made a copy of the buffer.
11585         * docs/gst/gstreamer-sections.txt:
11586           New symbols in gstbasetransform.h
11587         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11588         (gst_base_transform_init), (gst_base_transform_transform_size),
11589         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
11590         (gst_base_transform_default_prepare_buf),
11591         (gst_base_transform_get_unit_size),
11592         (gst_base_transform_buffer_alloc),
11593         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11594         (gst_base_transform_change_state),
11595         (gst_base_transform_set_passthrough),
11596         (gst_base_transform_set_in_place),
11597         (gst_base_transform_is_in_place):
11598         * gst/base/gstbasetransform.h:
11599           Change BaseTransform to separate in_place operate from same_caps
11600           output. in_place implies that the element can perform the transform
11601           on incoming buffers in-place, even if the caps on the output are
11602           different.
11603           Sub-class elements can now implement special buffer allocation
11604           methods for outgoing buffers if they wish to.
11605           Big documentation addition.
11606         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
11607         * gst/elements/gstelements.c:
11608           Changes for basetransform modifications.
11609         * gst/elements/Makefile.am:
11610         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
11611           Compile fix. Extra debug output.
11612
11613 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11614
11615         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
11616         (gst_pad_suite):
11617           add tests for valid pad naming
11618         * gst/check/gstcheck.c: (gst_check_log_message_func),
11619         (gst_check_log_critical_func):
11620           add ASSERT_WARNING
11621           remove printing of code, it is fragile when the code contains
11622           % and the line number is enough info
11623         * gst/check/gstcheck.h:
11624         * gst/gstpad.c: (gst_pad_template_new):
11625           fix memleaks
11626
11627 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11628
11629         * configure.ac:
11630           say what CHECK flags we use
11631         * docs/libs/gstreamer-libs.types:
11632         * libs/gst/controller/Makefile.am:
11633         * libs/gst/controller/gst-controller.c:
11634         * libs/gst/controller/gst-controller.h:
11635         * libs/gst/controller/gst-helper.c:
11636         * libs/gst/controller/gst-interpolation.c:
11637         * libs/gst/controller/gstcontroller.c:
11638         * libs/gst/controller/gsthelper.c:
11639         * libs/gst/controller/gstinterpolation.c:
11640         * tools/gst-inspect.c: (print_plugin_info):
11641           we don't use dashes in header names
11642
11643 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11644
11645         * check/Makefile.am:
11646         * check/gst/.cvsignore:
11647         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
11648         (gst_pipeline_suite), (main):
11649           adding a test for pipelines and state changes
11650         * gst/gstutils.c: (get_state_func):
11651           add some debugging
11652         * gstreamer.spec.in:
11653           fix up spec file
11654
11655 2005-09-08  Michael Smith <msmith@fluendo.com>
11656
11657         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
11658         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
11659         (gst_file_src_is_seekable), (gst_file_src_get_size),
11660         (gst_file_src_start):
11661         * gst/elements/gstfilesrc.h:
11662           Various fixes for unseekable, unmmapable, and non-normal files, so
11663           that fallback to read() rather than mmap() works.
11664         * gst/gstevent.c: (gst_event_new_newsegment):
11665           Allow newsegment events with segment_start == segment_end, as will
11666           correctly happen if you use filesrc on a zero-size file, for
11667           example.
11668
11669 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
11670
11671         * gst/gstplugin.c: (gst_plugin_load_file):
11672           Call g_module_close when we don't load the module
11673
11674         * gst/registries/gstlibxmlregistry.c:
11675         (gst_xml_registry_get_property):
11676           Port leak fix from 0.8
11677
11678 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
11679
11680         * docs/gst/gstreamer-docs.sgml:
11681         * docs/gst/tmpl/.cvsignore:
11682         * docs/gst/tmpl/gsttrace.sgml:
11683         * docs/gst/tmpl/gsttrashstack.sgml:
11684         * gst/Makefile.am:
11685         * gst/gst.h:
11686         * gst/gstelement.h:
11687         * gst/gstevent.h:
11688         * gst/gstmessage.c:
11689         * gst/gstmessage.h:
11690         * gst/gsttag.c:
11691         * gst/gsttag.h:
11692         * gst/gsttaginterface.c:
11693         * gst/gsttaginterface.h:
11694         * gst/gsttaglist.c:
11695         * gst/gsttaglist.h:
11696         * gst/gsttagsetter.c:
11697         * gst/gsttagsetter.h:
11698         * gst/gsttrace.c:
11699         * gst/gsttrace.h:
11700         * gst/gsttrashstack.c:
11701           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
11702           inlined docs for gsttrace, gsttrashstack
11703
11704 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
11705
11706         * gst/Makefile.am:
11707         * gst/elements/gstbufferstore.h:
11708         * gst/elements/gsttypefindelement.c:
11709         * gst/elements/gsttypefindelement.h:
11710         * gst/gst.h:
11711         * gst/gsttypefind.c:
11712         * gst/gsttypefind.h:
11713         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
11714         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
11715         (gst_type_find_factory_dispose),
11716         (gst_type_find_factory_unload_thyself),
11717         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
11718         (gst_type_find_factory_get_caps),
11719         (gst_type_find_factory_get_extensions),
11720         (gst_type_find_factory_call_function):
11721         * gst/gsttypefindfactory.h:
11722         * gst/registries/gstlibxmlregistry.c:
11723         * gst/registries/gstxmlregistry.c:
11724           splitted gsttypefind into gsttypefind, gsttypefindfactory
11725
11726 2005-09-07  Andy Wingo  <wingo@pobox.com>
11727
11728         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
11729         condition whereby the pad's task function is entered before the
11730         pad_mode variable was set.
11731
11732 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
11733
11734         * gst/gstpad.c: (gst_pad_alloc_buffer):
11735           Catch misbehaving pad_alloc functions that don't
11736           set up caps and do it for them.
11737
11738 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
11739
11740         * check/pipelines/simple_launch_lines.c: (run_pipeline):
11741           test for pipe!=NULL
11742         * docs/gst/tmpl/.cvsignore:
11743         * docs/gst/tmpl/gstmemchunk.sgml:
11744         * docs/gst/tmpl/gstparse.sgml:
11745         * docs/gst/tmpl/gsttaglist.sgml:
11746         * docs/gst/tmpl/gsttagsetter.sgml:
11747         * docs/gst/tmpl/gsttypefind.sgml:
11748         * docs/gst/tmpl/gsttypefindfactory.sgml:
11749         * gst/gstmemchunk.c:
11750         * gst/gstparse.c:
11751         * gst/gsttag.c:
11752         * gst/gsttaginterface.c:
11753         * gst/gsttypefind.c:
11754         * gst/gsttypefind.h:
11755           inlined more docs
11756
11757 === release 0.9.2 ===
11758
11759 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11760
11761         * NEWS:
11762         * RELEASE:
11763         * configure.ac:
11764           releasing 0.9.2, "South"
11765
11766 2005-09-05  Andy Wingo  <wingo@pobox.com>
11767
11768         * gst/registries/gstxmlregistry.h:
11769         * gst/registries/gstxmlregistry.c: Um... resurrect...
11770         
11771         * gst/registries/gstxmlregistry.h:
11772         * gst/registries/gstxmlregistry.c: and update to newer API.
11773         Incidentally they should be a bit faster now that they don't have
11774         to parse the caps.
11775         
11776 2005-09-05  Andy Wingo  <wingo@pobox.com>
11777
11778         * gst/registries/gstxmlregistry.h:
11779         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
11780         replaced by the libxml registry a while back
11781
11782 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11783
11784         * docs/gst/tmpl/gstplugin.sgml:
11785         * gst/elements/gstelements.c:
11786         * gst/gst.c:
11787         * gst/gstplugin.c: (gst_plugin_register_func),
11788         (gst_plugin_desc_copy), (gst_plugin_desc_free),
11789         (gst_plugin_get_source):
11790         * gst/gstplugin.h:
11791         * gst/registries/gstlibxmlregistry.c: (load_plugin),
11792         (gst_xml_registry_save_plugin):
11793         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
11794         (gst_xml_registry_save_plugin):
11795         * tools/gst-inspect.c: (print_plugin_info):
11796           add a "source" plugin description field, to represent the source
11797           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
11798           will set it to PACKAGE, which is automake's idea of the name of
11799           the source project.
11800
11801 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11802
11803         * Makefile.am:
11804         * autogen.sh:
11805         * configure.ac:
11806         * docs/Makefile.am:
11807         * docs/faq/Makefile.am:
11808         * docs/gst/tmpl/gstelement.sgml:
11809         * docs/gst/tmpl/gsttypes.sgml:
11810         * docs/htmlinstall.mak:
11811         * docs/manual/Makefile.am:
11812         * docs/pwg/Makefile.am:
11813           reorganize doc build a little
11814           split out docbook and gtk-doc stuff
11815           have two separate --enable's and enable them through autogen
11816           but disable by default in configure (to be similar to other
11817           projects)
11818         * gstreamer.spec.in:
11819           clean up docs install
11820         * po/af.po:
11821         * po/az.po:
11822         * po/ca.po:
11823         * po/cs.po:
11824         * po/de.po:
11825         * po/en_GB.po:
11826         * po/fr.po:
11827         * po/it.po:
11828         * po/nb.po:
11829         * po/nl.po:
11830         * po/ru.po:
11831         * po/sq.po:
11832         * po/sr.po:
11833         * po/sv.po:
11834         * po/tr.po:
11835         * po/uk.po:
11836         * po/vi.po:
11837           translation updates
11838
11839 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
11840
11841         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
11842           Add comment.
11843           
11844         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
11845         (gst_fake_sink_change_state):
11846           Make state change function thread-safe.
11847           
11848         * gst/gstpad.c: (gst_pad_alloc_buffer):
11849           Set offset on generic buffer allocated by fallback.
11850
11851 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
11852
11853         * docs/gst/gstreamer-sections.txt:
11854         * docs/gst/tmpl/gstelement.sgml:
11855         * gst/gstpad.c:
11856         * libs/gst/controller/gst-controller.c:
11857         (gst_controlled_property_set_interpolation_mode),
11858         (gst_controlled_property_new),
11859         (gst_controller_find_controlled_property):
11860          run the wingo-magic script against the docs
11861
11862 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
11863
11864         * docs/gst/gstreamer-docs.sgml:
11865         * docs/gst/gstreamer-sections.txt:
11866         * docs/gst/tmpl/.cvsignore:
11867         * docs/gst/tmpl/gstelementdetails.sgml:
11868         * docs/gst/tmpl/gstelementfactory.sgml:
11869         * gst/gst.c:
11870         * gst/gstbus.c:
11871         * gst/gstelementfactory.c:
11872         * gst/gstelementfactory.h:
11873           merged elementdetails docs into elementfactory docs
11874           inlined both
11875
11876 2005-09-02  Andy Wingo  <wingo@pobox.com>
11877
11878         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
11879         consider this enum an enum and not a flags.
11880
11881 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
11882
11883         * docs/gst/gstreamer-docs.sgml:
11884         * docs/gst/tmpl/.cvsignore:
11885         * docs/gst/tmpl/gstghostpad.sgml:
11886         * docs/gst/tmpl/gstiterator.sgml:
11887         * docs/gst/tmpl/gstmacros.sgml:
11888         * docs/gst/tmpl/gstrealpad.sgml:
11889         * docs/gst/tmpl/gstregistry.sgml:
11890         * docs/gst/tmpl/gstregistrypool.sgml:
11891         * docs/gst/tmpl/gststructure.sgml:
11892         * docs/gst/tmpl/gstsystemclock.sgml:
11893         * docs/gst/tmpl/gsttrace.sgml:
11894         * gst/gstghostpad.c:
11895         * gst/gstmacros.h:
11896         * gst/gstmemchunk.c:
11897         * gst/gstmemchunk.h:
11898         * gst/gstqueue.c:
11899         * gst/gstregistry.c:
11900         * gst/gstregistrypool.c:
11901         * gst/gststructure.c:
11902         * gst/gstsystemclock.c:
11903           more docs inlined
11904
11905 2005-09-02  Andy Wingo  <wingo@pobox.com>
11906
11907         * gst/gstelement.h (GstState): Renamed from GstElementState,
11908         changed to be a normal enum instead of flags.
11909         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
11910         munged to be GST_STATE_CHANGE_*.
11911         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
11912         work with the new state representation.
11913         (GstStateChange): New enumeration of possible state transitions.
11914         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
11915         (GstElementClass::change_state): Pass the GstStateChange along as
11916         an argument. Helps language bindings, so they don't have to use
11917         tricky lock-needing macros like GST_STATE_CHANGE ().
11918
11919         * scripts/update-states (file): New script. Run it on a file to
11920         update it for state naming and API changes. Updates files in
11921         place.
11922
11923         * All files updated for the new API.
11924
11925 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11926
11927         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
11928         * gst/gstutils.c: (gst_util_set_value_from_string),
11929         (gst_util_set_object_arg):
11930           fix a bunch of unchecked return values
11931         * tools/gst-complete.c: (main):
11932         * gstreamer.spec.in:
11933           clean up a little
11934
11935 2005-09-01  Wim Taymans  <wim@fluendo.com>
11936
11937         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11938         (gst_base_sink_event), (gst_base_sink_do_sync),
11939         (gst_base_sink_handle_event):
11940         * gst/base/gstbasesink.h:
11941         Handle newsegments more correctly.
11942
11943         * gst/gstbus.c:
11944         Fix docs.
11945
11946         * gst/gstevent.c: (gst_event_new_newsegment):
11947         A newsegment cannot have a start_time of -1
11948
11949 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
11950
11951         * win32/gstenumtypes.c:
11952         * win32/gstenumtypes.h:
11953           Update
11954
11955 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
11956
11957         * libs/gst/controller/gst-controller.c:
11958         (gst_controlled_property_set_interpolation_mode),
11959         (gst_controlled_property_new):
11960          fixed boolean again
11961
11962 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
11963
11964         * docs/faq/gst-uninstalled:
11965           add -good
11966         * gst/gstevent.c:
11967         * gst/gstevent.h:
11968           remove wrong docs
11969         * gst/gstutils.c: (gst_element_link_filtered):
11970         * gst/gstutils.h:
11971           add gst_element_link_filtered
11972
11973 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
11974
11975         * docs/gst/gstreamer-docs.sgml:
11976         * docs/gst/gstreamer-sections.txt:
11977         * docs/gst/tmpl/.cvsignore:
11978         * docs/gst/tmpl/gsterror.sgml:
11979         * docs/gst/tmpl/gstfilter.sgml:
11980         * docs/gst/tmpl/gsturihandler.sgml:
11981         * docs/gst/tmpl/gsturitype.sgml:
11982         * docs/gst/tmpl/gstutils.sgml:
11983         * docs/gst/tmpl/gstxml.sgml:
11984         * gst/gsterror.c:
11985         * gst/gsterror.h:
11986         * gst/gstfilter.c:
11987         * gst/gsturi.c:
11988         * gst/gsturitype.c:
11989         * gst/gstutils.c:
11990         * gst/gstxml.c:
11991           inlined more docs, fixed double id-ref
11992
11993 2005-08-31  Wim Taymans  <wim@fluendo.com>
11994
11995         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11996         (gst_base_transform_handle_buffer):
11997         Passthrough elements don't need the caps as they don't care.
11998
11999 2005-08-31  Wim Taymans  <wim@fluendo.com>
12000
12001         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
12002         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
12003         Don't leak refcounts on buffers.
12004
12005 2005-08-31  Wim Taymans  <wim@fluendo.com>
12006
12007         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
12008         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12009         (gst_base_transform_chain), (gst_base_transform_change_state):
12010         * gst/base/gstbasetransform.h:
12011         Handle the case where we are not negotiated more gracefully.
12012
12013 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
12014
12015         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
12016         (gst_file_src_map_region):
12017           Set READONLY flag on mmap'ed buffers, otherwise
12018           gst_buffer_make_writable() won't work properly (#314708).
12019
12020 2005-08-31  Wim Taymans  <wim@fluendo.com>
12021
12022         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
12023         passthrough elements can even do inplace on non writable
12024         buffers (as they don't touch them).
12025
12026 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
12027
12028         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
12029         (gst_test_mono_source_set_property),
12030         (gst_test_mono_source_class_init), (GST_START_TEST),
12031         (gst_controller_suite):
12032           more tests (hehe I have the most)
12033         * gst/gstbus.c:
12034           describe popping messages whenusing mulltiple sources
12035         * libs/gst/controller/gst-controller.c:
12036         (gst_controlled_property_set_interpolation_mode),
12037         (gst_controlled_property_new):
12038         * libs/gst/controller/gst-controller.h:
12039         * libs/gst/controller/gst-interpolation.c:
12040           implement boolean properties
12041
12042 2005-08-31  Wim Taymans  <wim@fluendo.com>
12043
12044         * gst/gstminiobject.c: (gst_mini_object_ref):
12045         Cannot assert that the refcount has to be positive
12046         since a disposed object can be resurrected.
12047
12048 2005-08-31  Wim Taymans  <wim@fluendo.com>
12049
12050         * gst/gstpad.c: (gst_pad_init):
12051         Revert change, need to first fix badly behaving 
12052         apps.
12053
12054 2005-08-30  Wim Taymans  <wim@fluendo.com>
12055
12056         * check/elements/fakesrc.c: (setup_fakesrc):
12057         * check/elements/identity.c: (setup_identity):
12058         Activate pads before using them.
12059
12060 2005-08-30  Wim Taymans  <wim@fluendo.com>
12061
12062         * gst/base/gstadapter.c: (gst_adapter_flush):
12063         Flushing out 0 bytes is ok for this function.
12064
12065         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12066         no newsegment gives a warning and sets the start/stop to 
12067         invalid.
12068
12069         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
12070         (gst_base_transform_set_passthrough):
12071         Some debug info.
12072
12073         * gst/gstminiobject.c: (gst_mini_object_ref):
12074         Check refcount here too.
12075
12076         * gst/gstpad.c: (gst_pad_init):
12077         Pads are initially flushing and refusing data.
12078
12079         * gst/gstutils.c: (gst_element_link_pads_filtered):
12080         When adding a capsfilter element make sure it has the
12081         same state as the parent bin.
12082
12083 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
12084
12085         * docs/gst/tmpl/.cvsignore:
12086         * docs/gst/tmpl/gstformat.sgml:
12087         * docs/gst/tmpl/gstversion.sgml:
12088         * gst/gstbus.h:
12089         * gst/gstformat.c:
12090         * gst/gstformat.h:
12091         * gst/gstversion.h.in:
12092           more docs and two more inlined
12093
12094 2005-08-30  Wim Taymans  <wim@fluendo.com>
12095
12096         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
12097         Don't sync to clock.
12098
12099 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
12100
12101         * docs/gst/gstreamer-sections.txt:
12102           ultral33t func10ns deserve to appear in the docs actually
12103         * docs/gst/tmpl/.cvsignore:
12104         * docs/gst/tmpl/gstcompat.sgml:
12105         * docs/gst/tmpl/gstconfig.sgml:
12106         * gst/check/gstcheck.c:
12107         * gst/gstcompat.h:
12108         * gst/gstconfig.h.in:
12109           inlined more docs
12110
12111 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
12112
12113         * docs/gst/tmpl/.cvsignore:
12114         * docs/gst/tmpl/gstquery.sgml:
12115         * docs/gst/tmpl/gstutils.sgml:
12116         * gst/gstquery.c:
12117         * gst/gstquery.h:
12118           inlined and extended docs
12119
12120 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
12121
12122         * check/gst-libs/controller.c: (GST_START_TEST),
12123         (gst_controller_suite):
12124           more tests
12125         * docs/gst/tmpl/gstutils.sgml:
12126         * docs/libs/gstreamer-libs-sections.txt:
12127         * docs/libs/tmpl/gstdataprotocol.sgml:
12128           include path fixes
12129         * examples/controller/audio-example.c: (main):
12130           controller example works now
12131         * gst/gstclock.h:
12132           doc fixes
12133         * tools/gst-inspect.c: (print_element_properties_info):
12134           show param spec flags
12135
12136 2005-08-29  Andy Wingo  <wingo@pobox.com>
12137
12138         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
12139
12140 2005-08-28  Andy Wingo  <wingo@pobox.com>
12141
12142         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
12143         as having two arguments instead of just one. Allows superclasses
12144         to access information on subclasses -- see the terrible for() loop
12145         in gtype.c:g_type_create_instance for the reason why. All callers
12146         changed.
12147
12148 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
12149
12150         * docs/design/part-messages.txt:
12151           update info
12152         * docs/gst/tmpl/.cvsignore:
12153         * docs/gst/tmpl/gstcaps.sgml:
12154         * docs/gst/tmpl/gstclock.sgml:
12155         * gst/gstbus.c:
12156         * gst/gstcaps.c:
12157         * gst/gstcaps.h:
12158         * gst/gstclock.c:
12159         * gst/gstclock.h:
12160         * gst/gstmessage.c:
12161           added descriptions for bus and message
12162           inline caps and clock docs
12163
12164 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
12165
12166         * gst/gstmessage.c:
12167         * gst/gstmessage.h:
12168           doc fixes
12169
12170 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
12171
12172         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12173           fix div-by-zero
12174
12175 2005-08-26  Andy Wingo  <wingo@pobox.com>
12176
12177         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
12178         element_set_state's return val.
12179         (test_2_elements): Add test that's been disabled for months.
12180
12181         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
12182         can-activate-pull properties.
12183
12184         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
12185         can-activate-pull properties. Implement is_seekable so fakesrc can
12186         operate in pull mode.
12187
12188         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
12189         properties.
12190         (gst_base_sink_activate, gst_base_sink_activate_pull)
12191         (gst_base_sink_activate_push): Make activation mode choosing work.
12192         Cleanups.
12193         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
12194         is right. Make pull mode work. Post an eos before pausing in pull
12195         mode.
12196         (gst_base_sink_change_state): Pay attention to the core's
12197         change_state() return val.
12198         
12199         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
12200         has-getrange properties. Cleanups.
12201         
12202         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
12203         has_getrange and replace with can_activate_pull and
12204         can_activate_push.
12205
12206         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
12207         locking comments. Remove has_loop, has_chain and replace with
12208         can_activate_pull and can_activate_push.
12209
12210 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
12211
12212         * configure.ac:
12213         * examples/Makefile.am:
12214         * examples/metadata/Makefile.am:
12215         * examples/metadata/read-metadata.c: (message_loop),
12216         (have_pad_handler), (make_pipeline), (print_tag), (main):
12217           Add metadata reading example that loops over a list of filenames,
12218           dumping any tags found.
12219
12220         * gst/gstbus.c: (gst_bus_dispose):
12221         * gst/gstelement.c: (gst_element_dispose):
12222           Release a few potentially-held references in dispose.
12223
12224 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
12225
12226         * docs/gst/tmpl/gstminiobject.sgml:
12227           do *not* add tmpl/*.sgml files to CVS!
12228
12229 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
12230
12231         * libs/gst/bytestream/.cvsignore:
12232         * libs/gst/bytestream/Makefile.am:
12233         * libs/gst/bytestream/adapter.c:
12234         * libs/gst/bytestream/adapter.h:
12235         * libs/gst/bytestream/bytestream.c:
12236         * libs/gst/bytestream/bytestream.h:
12237         * libs/gst/bytestream/filepad.c:
12238         * libs/gst/bytestream/filepad.h:
12239           removing obsolete files
12240
12241 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
12242
12243         * docs/gst/gstreamer-docs.sgml:
12244         * docs/libs/gstreamer-libs-docs.sgml:
12245           disabed additional index entries again, as this makes docs-gen just
12246           slow and they aren't useful yet
12247         * docs/libs/gstreamer-libs-sections.txt:
12248           little -section.txt cleanup for libs
12249
12250 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
12251
12252         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12253         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
12254           fix up some debugging
12255         (gst_base_transform_get_unit_size),
12256         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
12257         (gst_base_transform_handle_buffer):
12258         * gst/base/gstbasetransform.h:
12259           handle and store timed NEWSEGMENT events so that subclasses that
12260           calculate time by counting samples have a segment_start time they
12261           need to add to their timestamps - see audioresample
12262
12263 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
12264
12265         * gst/gstbin.h:
12266           removed ';' from the end of macro defs
12267         * docs/gst/gstreamer-docs.sgml:
12268         * docs/gst/gstreamer-sections.txt:
12269         * docs/gst/tmpl/.cvsignore:
12270         * gst/gstbus.h:
12271         * gst/gstelement.c: (gst_element_class_init),
12272         (gst_element_set_state), (activate_pads),
12273         (gst_element_save_thyself):
12274         * gst/gstevent.c: (gst_event_new_newsegment):
12275         * gst/gstevent.h:
12276         * gst/gstiterator.c:
12277         * gst/gstiterator.h:
12278         * gst/gstpad.c:
12279         * gst/gstprobe.h:
12280         * gst/gstutils.c: (gst_pad_query_convert):
12281         * gst/gstutils.h:
12282           fixed parameter name mismatches between source, header and docs
12283           added some more docs, resolved the last batch of unused elements in
12284           docs (now someone needs to doc them)
12285
12286 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12287
12288         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
12289         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
12290           don't walk through the plugins backwards.  Where is all this
12291           reversed logic coming from ?
12292
12293 2005-08-25  Wim Taymans  <wim@fluendo.com>
12294
12295         * gst/base/gstbasetransform.c: (gst_base_transform_init),
12296         (gst_base_transform_transform_size),
12297         (gst_base_transform_configure_caps),
12298         (gst_base_transform_get_unit_size),
12299         (gst_base_transform_buffer_alloc),
12300         (gst_base_transform_change_state):
12301         * gst/base/gstbasetransform.h:
12302         Cache caps unit_size.
12303         Make sure we cannot negotiate up and downstream at the
12304         same time.
12305
12306 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12307
12308         * gst/gst.c: (init_pre), (init_post):
12309           register the installed plugin path after the env var
12310         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
12311         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
12312           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
12313           directories, so the tests can prefer uninstalled over installed
12314
12315 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12316
12317         * gst/base/gstbasetransform.h:
12318           comment
12319         * gst/gstpad.c:
12320           add to docs
12321
12322 2005-08-25  Wim Taymans  <wim@fluendo.com>
12323
12324         * gst/gstbin.c: (bin_bus_handler):
12325         Be a bit more conservative about the posted message.
12326         
12327         * gst/gstbus.c: (gst_bus_post):
12328         Some cleanups, warn wrong return values.
12329
12330 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
12331
12332         * check/gst/gstbin.c: (GST_START_TEST):
12333         * gst/gstbin.c: (bin_bus_handler):
12334         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12335         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12336         (gst_message_new_warning), (gst_message_new_tag),
12337         (gst_message_new_state_changed), (gst_message_new_segment_start),
12338         (gst_message_new_segment_done), (gst_message_new_custom):
12339         * gst/gstmessage.h:
12340         * tools/gst-launch.c: (event_loop):
12341         * tools/gst-md5sum.c: (event_loop):
12342           Revert unpopular change for GST_MESSAGE_SRC to GObject.
12343
12344 2005-08-25  Wim Taymans  <wim@fluendo.com>
12345
12346         * check/generic/states.c: (GST_START_TEST):
12347         Cleanup can be done at the end.
12348
12349         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
12350         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12351         (gst_task_get_state), (gst_task_start), (gst_task_pause):
12352         Oh boy.. Thanks for finding this, Thomas. 
12353
12354 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
12355
12356         * docs/gst/gstreamer.types:
12357           added missing types
12358
12359 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
12360
12361         * docs/gst/gstreamer-docs.sgml:
12362         * docs/gst/gstreamer-sections.txt:
12363         * docs/gst/tmpl/.cvsignore:
12364         * gst/gstbin.c:
12365         * gst/gstiterator.c:
12366         * gst/gstutils.c:
12367         * gst/registries/gstxmlregistry.h:
12368           added missing classes and symbols (123 more to go)
12369           removed removed symbols from section file
12370           fixed many doc-comments
12371
12372 2005-08-24  Wim Taymans  <wim@fluendo.com>
12373
12374         * check/generic/states.c: (GST_START_TEST):
12375         Make sure all tasks are stopped.
12376
12377         * check/gst/gstbin.c: (GST_START_TEST):
12378         Unref after usage for proper valgrinding.
12379
12380         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
12381         Really wait for the task to stop before destroying the
12382         mutex.
12383
12384         * gst/gstqueue.c: (gst_queue_sink_activate_push),
12385         (gst_queue_src_activate_push):
12386         Small cleanups. Don't stop the task when we did not start
12387         it.
12388
12389         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
12390         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12391         (gst_task_get_state), (gst_task_start), (gst_task_pause),
12392         (gst_task_join):
12393         * gst/gsttask.h:
12394         Protect the stream lock with the object lock.
12395         Disallow setting the stream lock when running.
12396         Add cleanup_all to wait for the threadpool to finish.
12397         Remove code to autoallocate a mutex if none was provided.
12398         Add _join() to wait for a task to stop.
12399         Protect the thread pool with a global lock.
12400
12401 2005-08-24  Wim Taymans  <wim@fluendo.com>
12402
12403         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12404         (gst_base_sink_get_times), (gst_base_sink_do_sync),
12405         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
12406         * gst/base/gstbasesink.h:
12407         Handle newsegment events correctly.
12408         Drop buffers out of the segment range.
12409
12410 2005-08-22  Andy Wingo  <wingo@pobox.com>
12411
12412         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
12413         macro, implements an interface and gstimplementsinterface for a
12414         new type.
12415
12416 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12417
12418         * check/Makefile.am:
12419         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
12420           add a test that does a bunch of state changes on elements
12421           needs some fixing for valgrind
12422         * check/states/sinks.c: (gst_object_suite):
12423           whitespace
12424         * gst/gstcaps.h:
12425           add prototype for gst_caps_is_equal_fixed
12426         * gst/gstplugin.c:
12427         * gst/gstregistrypool.c:
12428           doc fixes
12429
12430 2005-08-24  Andy Wingo  <wingo@pobox.com>
12431
12432         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
12433         convert a negative value. Doesn't make much sense. Mostly this is
12434         here to force callers to ensure -1 maps to -1.
12435
12436 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
12437
12438         * docs/pwg/advanced-types.xml:
12439           Well done to Michael for catching my deliberate introduction
12440           of this spelling mistake. 
12441         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
12442         * gst/gstelement.h:
12443           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
12444           unlink pads before removing the element from the bin.
12445
12446 2005-08-24  Andy Wingo  <wingo@pobox.com>
12447
12448         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
12449         the same thing as GST_DEBUG=*:4.
12450         (parse_debug_level, parse_debug_category): New helper parsers.
12451
12452 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12453
12454         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12455         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
12456         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
12457         (gst_base_transform_buffer_alloc),
12458         (gst_base_transform_handle_buffer):
12459           use gboolean return values and pointers to size so we can use the
12460           full GST_BUFFER_SIZE range (guint) for buffer sizes
12461           use GstPadDirection for transform_caps
12462         * gst/base/gstbasetransform.h:
12463           rename get_size to get_unit_size since that's what it is
12464         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
12465           use GstPadDirection for transform_caps
12466         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12467         * gst/gstutils.h:
12468           cleanup and debugging
12469
12470 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
12471
12472         * gst/gstelement.c: (gst_element_class_init),
12473         (gst_element_set_state), (activate_pads),
12474         (gst_element_save_thyself):
12475         * tools/gst-compprep.c: (main):
12476         * tools/gst-inspect.c: (print_element_properties_info):
12477         * tools/gst-xmlinspect.c: (print_element_properties):
12478           Fixed long standing mem-leak
12479
12480 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
12481
12482         * check/gst/gstbin.c: (GST_START_TEST):
12483         * gst/gstbin.c: (bin_bus_handler):
12484         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12485         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12486         (gst_message_new_warning), (gst_message_new_tag),
12487         (gst_message_new_state_changed), (gst_message_new_segment_start),
12488         (gst_message_new_segment_done), (gst_message_new_custom):
12489         * gst/gstmessage.h:
12490         * tools/gst-launch.c: (event_loop):
12491         * tools/gst-md5sum.c: (event_loop):
12492           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
12493           that applications can sensibly post custom messages with references
12494           to their own objects.
12495
12496 2005-08-24  Andy Wingo  <wingo@pobox.com>
12497
12498         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
12499         already.
12500
12501 2005-08-24  Wim Taymans  <wim@fluendo.com>
12502
12503         * gst/base/gstbasetransform.c: (gst_base_transform_init),
12504         (gst_base_transform_transform_caps),
12505         (gst_base_transform_transform_size),
12506         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12507         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
12508         (gst_base_transform_handle_buffer):
12509         * gst/base/gstbasetransform.h:
12510         Many fixes and new features added by Thomas. Can now also do
12511         transforms with variable sizes and a custom fixate_caps function.
12512
12513 2005-08-24  Wim Taymans  <wim@fluendo.com>
12514
12515         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12516         Some debugging.
12517
12518         * gst/gstclock.h:
12519         Cast to ClockTime before formatting to time.
12520
12521         * gst/gstutils.h:
12522         Cleanups.
12523
12524 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
12525
12526         * check/gst-libs/controller.c: (GST_START_TEST),
12527         (gst_controller_suite):
12528         * docs/gst/tmpl/gstcaps.sgml:
12529         * docs/gst/tmpl/gstghostpad.sgml:
12530         * docs/gst/tmpl/gstquery.sgml:
12531         * docs/gst/tmpl/gstutils.sgml:
12532         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
12533         (gst_object_sink_values), (gst_object_get_value_arrays),
12534         (gst_object_get_value_array):
12535           gracefully handle helper method calls to objects that are not beeing
12536           controlled, added test case for that          
12537
12538 2005-08-23  Wim Taymans  <wim@fluendo.com>
12539
12540         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
12541         (gst_event_new_newsegment), (gst_event_parse_newsegment),
12542         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
12543         (gst_event_parse_qos), (gst_event_new_seek),
12544         (gst_event_parse_seek):
12545         * gst/gstevent.h:
12546         Some more debugging output and doc cleanups.
12547
12548         * gst/gstqueue.c: (gst_queue_handle_sink_event):
12549         Fix possible deadlock.
12550
12551 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
12552
12553         * docs/gst/gstreamer-docs.sgml:
12554         * docs/gst/gstreamer-sections.txt:
12555         * docs/gst/gstreamer.types:
12556         * docs/gst/tmpl/.cvsignore:
12557         * gst/gstbin.h:
12558         * gst/gstbus.c:
12559         * gst/gstelement.c:
12560         * gst/gstevent.h:
12561           added 100 symbols from gstreamer-unused.txt to the right sections
12562           fixed more broken comments
12563           added GstBus to docs
12564
12565 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
12566
12567         * docs/gst/gstreamer-sections.txt:
12568         * docs/gst/tmpl/.cvsignore:
12569         * docs/gst/tmpl/gstbin.sgml:
12570         * docs/gst/tmpl/gstbuffer.sgml:
12571         * gst/base/gstbasesrc.c:
12572         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
12573         * gst/gstbuffer.c:
12574         * gst/gstbuffer.h:
12575         * tools/gst-launch.1.in:
12576           inlined more doc comments, added missing comments and fixed comments
12577           fixed typos
12578
12579 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12580
12581         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12582           some debugging
12583         * gst/gstcaps.h:
12584           whitespace fixes
12585         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
12586           more debugging
12587         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
12588         * gst/gststructure.h:
12589           add a fixate function for booleans; add a FIXME that these func
12590           names should probably be gst_structure_fixate_*
12591
12592 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
12593
12594         * docs/gst/gstreamer-docs.sgml:
12595         * docs/gst/gstreamer-sections.txt:
12596         * gst/Makefile.am:
12597         * gst/gstbin.c: (gst_bin_get_type),
12598         (gst_bin_child_proxy_get_child_by_index),
12599         (gst_bin_child_proxy_get_children_count),
12600         (gst_bin_child_proxy_init):
12601         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12602         (gst_child_proxy_get_child_by_index),
12603         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
12604         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
12605         (gst_child_proxy_get), (gst_child_proxy_set_property),
12606         (gst_child_proxy_set_valist), (gst_child_proxy_set),
12607         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
12608         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
12609         * gst/gstchildproxy.h:
12610         * gst/parse/grammar.y:
12611         * tools/gst-inspect.c: (print_interfaces),
12612         (print_element_properties_info), (print_element_info):
12613           ported gstchildproxy over from 0.8
12614           ported gst-inspect fixes and enhancements over from 0.8
12615
12616 2005-08-22  Wim Taymans  <wim@fluendo.com>
12617
12618         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12619         (gst_base_transform_handle_buffer):
12620         Also call the transform function if we have ANY caps.
12621
12622         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
12623         Fix debug info.
12624
12625 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
12626
12627         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
12628           Don't pretend to handle seek events if the source is not seekable
12629
12630 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
12631
12632         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12633           Remove extra parameter to debug output
12634
12635         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12636         (gst_base_src_do_seek), (gst_base_src_activate_push):
12637           Fix seek event handling.
12638
12639         * gst/gstpipeline.c: (gst_pipeline_change_state):
12640         * gst/gstqueue.c: (gst_queue_handle_sink_event),
12641         (gst_queue_src_activate_push):
12642           Don't start the src pad task on FLUSH_STOP if the pad
12643           isn't linked.
12644           Debug changes.
12645
12646 2005-08-22  Wim Taymans  <wim@fluendo.com>
12647
12648         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12649         Added check for gst_static_caps_get() refcounting.
12650
12651 2005-08-22  Wim Taymans  <wim@fluendo.com>
12652
12653         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
12654         Make _static_caps_get() refcounting sane.
12655         
12656         * gst/gstelement.c: (gst_element_set_state):
12657         Add g_return_val_if_fail() to protect against segfaults.
12658
12659 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
12660
12661         * docs/gst/tmpl/gstevent.sgml:
12662         * gst/gstevent.c:
12663         * gst/gstevent.h:
12664           inlined remaining docs, added missing doc comments
12665
12666 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12667
12668         * check/gst/gstbin.c: (GST_START_TEST):
12669           since we don't know when preroll is done, use refcount range
12670           check for the sink
12671         * gst/check/gstcheck.h:
12672           add macro for checking refcount range
12673
12674 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12675
12676         * check/Makefile.am:
12677           clean up environment for when registry gets built versus
12678           when actual tests are run; valgrind seems to not report
12679           leaks if GST_PLUGIN_PATH is set to some specific values
12680         * check/gst/gstbin.c: (GST_START_TEST):
12681           add more refcounting checks; maybe this exposes a
12682           preroll lock bug ?
12683         * common/check.mak:
12684         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12685         * gst/check/gstcheck.h:
12686         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
12687         (gst_bin_change_state):
12688         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
12689           add/fix debugging/whitespace
12690
12691 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
12692
12693         * check/gst/gstevent.c: (event_probe), (test_event),
12694         (GST_START_TEST):
12695          Er, don't call gst_bin_watch_for_state_change you idiot.
12696
12697 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
12698
12699         * check/Makefile.am:
12700           Use CHECK_CFLAGS and CHECK_LIBS
12701         * check/gst/gstevent.c: (event_probe), (test_event),
12702         (GST_START_TEST):
12703           Don't leak events.
12704         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12705         (gst_base_src_start), (gst_base_src_stop),
12706         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12707         (gst_base_src_change_state):
12708           Sprinkle gst_base_src_stop liberally around error paths to fix
12709           problems reusing a source after failed state changes.
12710         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12711         (helper_find_suggest), (gst_type_find_helper):
12712           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
12713         * gst/gstevent.h:
12714         * docs/gst/tmpl/gstevent.sgml:
12715           Migrate part of the docs from the SGML file. Wait for ensonic to
12716           tell me how I did it wrong ;)
12717         * tools/gst-typefind.c: (main):
12718           Extra robustness to state changes between files.
12719
12720 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12721
12722         * check/Makefile.am:
12723           don't valgrind the controller test - it's leaking - Stefan, HELP
12724         * gst/check/gstcheck.c: (gst_check_message_error),
12725         (gst_check_chain_func), (gst_check_setup_element),
12726         (gst_check_teardown_element), (gst_check_setup_src_pad),
12727         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12728         (gst_check_teardown_sink_pad):
12729         * gst/check/gstcheck.h:
12730           add a bunch of methods to set up elements, and src and sink pads
12731         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
12732         * check/elements/identity.c: (setup_identity), (cleanup_identity),
12733         (GST_START_TEST):
12734           use them
12735         * gst/gstmessage.c:
12736         * gst/gsttag.h:
12737           whitespace/doc fixes
12738
12739 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12740
12741         * gst/gstelement.h:
12742           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
12743           be handled by the application and not always printed as well
12744
12745 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12746
12747         * check/Makefile.am:
12748           set GST_TOOLS_DIR
12749         * gst/check/gstcheck.c: (gst_check_message_error):
12750         * gst/check/gstcheck.h:
12751           add a fail_unless_equals_int
12752           add fail_unless for error messages
12753
12754 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12755
12756         * check/Makefile.am:
12757         * check/gst.supp:
12758         * common/Makefile.am:
12759         * common/check.mak:
12760         * common/gst.supp:
12761           factor out some of the common stuff so we can use it
12762
12763 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12764
12765         * check/Makefile.am:
12766         * check/gst/gstiterator.c: (GST_START_TEST):
12767         * check/gst/gstsystemclock.c: (GST_START_TEST),
12768         (gst_systemclock_suite):
12769         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12770         * gst/gstclock.c:
12771           valgrind more tests
12772
12773 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12774
12775         * check/elements/.cvsignore:
12776         * check/elements/gstfakesrc.c:
12777           rename to name of element
12778         * check/elements/identity.c: (chain_func), (event_func),
12779         (setup_identity), (cleanup_identity), (GST_START_TEST),
12780         (identity_suite), (main):
12781           add a test for identity
12782         * check/Makefile.am:
12783         * pkgconfig/Makefile.am:
12784         * pkgconfig/gstreamer-check.pc.in:
12785         * pkgconfig/gstreamer-check-uninstalled.pc.in:
12786         * gst/check:
12787         * gst/Makefile.am:
12788         * configure.ac:
12789           move the check stuff to a library that gets installed
12790         * check/gst-libs/controller.c: (GST_START_TEST):
12791         * check/gst-libs/gdp.c:
12792         * check/gst/gst.c: (GST_START_TEST):
12793         * check/gst/gstbin.c:
12794         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12795         * check/gst/gstbus.c:
12796         * check/gst/gstcaps.c: (GST_START_TEST):
12797         * check/gst/gstelement.c:
12798         * check/gst/gstghostpad.c:
12799         * check/gst/gstiterator.c:
12800         * check/gst/gstmessage.c:
12801         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
12802         * check/gst/gstobject.c:
12803         * check/gst/gstpad.c: (GST_START_TEST):
12804         * check/gst/gststructure.c: (GST_START_TEST):
12805         * check/gst/gstsystemclock.c: (GST_START_TEST),
12806         (gst_systemclock_suite):
12807         * check/gst/gsttag.c: (gst_tag_suite):
12808         * check/gst/gstvalue.c:
12809         * check/pipelines/cleanup.c:
12810         * check/pipelines/simple_launch_lines.c:
12811         * check/states/sinks.c:
12812           change include statement
12813
12814         * docs/gst/gstreamer-sections.txt:
12815         * docs/gst/tmpl/gstpad.sgml:
12816           document more pad stuff
12817         * gst/gstminiobject.c: (gst_mini_object_ref),
12818         (gst_mini_object_unref):
12819           debug refcounting
12820
12821 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
12822
12823         * docs/gst/tmpl/gst.sgml:
12824         * gst/gst.c:
12825           eliminate another tmpl file, fix spelling in the long-description
12826
12827 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12828
12829         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12830         (test_event), (timediff), (gstevents_suite):
12831           Should fix build on 64-bit arch's
12832
12833 2005-08-18  Andy Wingo  <wingo@pobox.com>
12834
12835         Make sure that when a pipeline goes to PLAYING, that data has
12836         actually hit the sink.
12837
12838         * check/states/sinks.c (test_sink): A sink that doesn't get any
12839         data shouldn't return SUCCESS for going to either PLAYING or
12840         PAUSED. Test also the return values on the way back down.
12841
12842         * gst/gstelement.c (gst_element_set_state): When changing the
12843         state of an element currently changing state asynchronously, go to
12844         lost-state after commiting the pending state. Makes future calls
12845         to get_state continue to return ASYNC.
12846
12847         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
12848         ASYNC when going to PLAYING if we still don't have preroll, as can
12849         happen with live sources.
12850
12851 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12852
12853         * docs/pwg/advanced-types.xml:
12854           Hack long paragraph into 2 chunks as a workaround for buggy
12855           jadetex version in sid and breezy that loops infinitely and
12856           eats all RAM.
12857
12858 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12859
12860         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12861         (test_event), (timediff), (gstevents_suite):
12862           Provide more error margin in clock measurements to allow for 
12863           g_get_current_time inaccuracies.
12864
12865 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12866
12867         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12868         (test_event), (timediff), (gstevents_suite):
12869            Fix error message output so I might be able to tell why the
12870            test works here but fails on the build farm.
12871
12872 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12873
12874         * check/Makefile.am:
12875         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12876         (test_event), (timediff), (gstevents_suite), (main):
12877           I wrote a test!
12878
12879         * docs/design/part-seeking.txt:
12880           Spelling correction
12881
12882         * docs/gst/tmpl/gstevent.sgml:
12883         * docs/gst/tmpl/gstfakesrc.sgml:
12884           Docs updates.
12885
12886         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12887           Treat a buffer-without-newsegment the same as a receiving 
12888           a newsegment not in time format, and disable syncing to the clock
12889           with a warning.
12890
12891         * gst/gstbus.c: (gst_bus_set_sync_handler):
12892           Assert if anyone tries to replace the existing sync_handler for bus, 
12893           as only the owner should be setting it.
12894
12895         * gst/gstevent.h:
12896           Have a fixed set of custom event enums with events identified by
12897           their structure name (as in 0.8), rather than a free-for-all
12898           allowing collisions between enum values from different plugins.
12899
12900         * gst/gstpad.c: (gst_pad_class_init):
12901           Docs change.
12902           
12903         * gst/gstqueue.c: (gst_queue_handle_sink_event):
12904           Handle out-of-band downstream events from the sending thread.
12905
12906 2005-08-17  Andy Wingo  <wingo@pobox.com>
12907
12908         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
12909         play-timeout==0 to mean no timeout at all. In that case, don't
12910         bother with a get_state or a warning, just return directly, even
12911         if it's ASYNC.
12912
12913         * gst/base/gstbasetransform.c: Debug changes.
12914
12915         * gst/gstutils.h:
12916         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
12917         ensure bins post state change messages. A bit of a hack but I can't
12918         think of a way to avoid it.
12919
12920         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
12921
12922 2005-08-16  Andy Wingo  <wingo@pobox.com>
12923
12924         * gst/base/gstadapter.h:
12925         * gst/base/gstadapter.c (gst_adapter_take): New function, like
12926         peek() but you own the data. Not terribly efficient atm.
12927
12928 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12929
12930         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
12931         (gst_element_found_tags):
12932         * gst/gstutils.h:
12933           Add two utility functions for tag handling.
12934
12935 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12936
12937         * docs/manual/advanced-dataaccess.xml:
12938         * docs/manual/basics-helloworld.xml:
12939           Fix docs to use _bin_add() before _link(), which fixes the examples
12940           with recent core versions (reported by Madhan Raj M
12941           <raj_madan@rediffmail.com>, #313199).
12942
12943 2005-08-16  Wim Taymans  <wim@fluendo.com>
12944
12945         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12946         Added subtract checks.
12947
12948         * docs/design/part-events.txt:
12949         Some more docs about newsegment
12950
12951         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
12952         Fix FIXME
12953
12954         * gst/gstcaps.c: (gst_caps_to_string):
12955         Add comments, cleanups.
12956         
12957         * gst/gstelement.c: (gst_element_save_thyself):
12958         cleanups
12959         
12960         * gst/gstvalue.c: (gst_value_collect_int_range),
12961         (gst_string_unwrap), (gst_value_union_int_int_range),
12962         (gst_value_union_int_range_int_range),
12963         (gst_value_intersect_int_int_range),
12964         (gst_value_intersect_int_range_int_range),
12965         (gst_value_intersect_double_double_range),
12966         (gst_value_intersect_double_range_double_range),
12967         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
12968         (gst_value_subtract_int_range_int),
12969         (gst_value_subtract_double_range_double),
12970         (gst_value_subtract_double_range_double_range),
12971         (gst_value_subtract_from_list), (gst_value_subtract_list),
12972         (gst_value_can_compare), (gst_value_compare_fraction):
12973         Cleanups, add comments, remove unneeded asserts.
12974
12975 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12976
12977         * tools/gst-launch.c: (event_loop):
12978           don't convert NULL structures to strings
12979
12980 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
12981
12982         * docs/gst/gstreamer-sections.txt:
12983           made some defines private
12984         * docs/gst/tmpl/gstconfig.sgml:
12985         * docs/gst/tmpl/gstqueue.sgml:
12986         * docs/gst/tmpl/gsttaglist.sgml:
12987         * docs/gst/tmpl/gsttypes.sgml:
12988         * docs/gst/tmpl/gstutils.sgml:
12989         * docs/pwg/appendix-porting.xml:
12990         * gst/base/gstbasesink.h:
12991         * gst/base/gstbasesrc.c:
12992         * gst/base/gstbasesrc.h:
12993         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
12994         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
12995         * gst/gstelement.c: (gst_element_class_init):
12996         * gst/gstpad.c: (gst_pad_class_init):
12997         * gst/gstqueue.c: (gst_queue_class_init):
12998         * gst/gstxml.c: (gst_xml_class_init):
12999           documented all undocumented signal inline
13000         * libs/gst/controller/gst-controller.h:
13001           added padding
13002
13003 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13004
13005         * docs/pwg/appendix-porting.xml:
13006           Document _set_link_function -> _set_setcaps_function.
13007
13008 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13009
13010         * check/Makefile.am:
13011           add a .check target for running the check
13012         * check/gst-libs/controller.c: (GST_START_TEST):
13013           cosmetic fixups
13014         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13015           complete checks for gstbuffer; would be nice if I could get the
13016           gcov stuff to work so I can see if I actually completed gstbuffer.c
13017         * check/gstcheck.h:
13018           add ASSERT_BUFFER_REFCOUNT
13019
13020 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
13021
13022         * docs/gst/gstreamer-sections.txt:
13023         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
13024         * gst/gsttag.h:
13025           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
13026           spew out a warning if a tag that is already registered
13027           is re-registered, unless it is re-registered with a 
13028           different type (#308438).
13029
13030 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
13031
13032         * docs/pwg/appendix-porting.xml:
13033         * docs/pwg/building-state.xml:
13034           Add some paragraphs about state changes in 0.9 to the PWG
13035           and the porting guide, in particular about the new meaning
13036           of GST_STATE_PAUSED and how to write state change functions
13037           with concurrent access by multiple threads in mind.
13038
13039 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
13040
13041         * docs/gst/gstreamer-docs.sgml:
13042         * docs/libs/gstreamer-libs-docs.sgml:
13043           added deprecation and since indexes
13044         * libs/gst/controller/gst-controller.c:
13045         * libs/gst/controller/gst-helper.c:
13046           added since tags
13047
13048
13049 2005-08-11  Wim Taymans  <wim@fluendo.com>
13050
13051         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
13052         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
13053         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
13054         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
13055         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
13056         (gst_ghost_pad_set_target):
13057         Actually implement (re)setting the target on a ghostpad
13058         as described in the docs.
13059
13060 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
13061
13062         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
13063           Check whether GST_DEBUG_NO_COLOR environment variable is
13064           set and disable coloured debug output if that is the case.
13065
13066 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
13067
13068         * gst/base/gsttypefindhelper.c: (helper_find_peek),
13069         (gst_type_find_helper):
13070           The memory returned by gst_type_find_peek() needs to
13071           stay valid until the end of a typefind function, and
13072           typefind functions may keep results from different 
13073           offsets around, so we can't just unref the buffer from
13074           the previous _peek(), but have to save all buffers 
13075           returned by _peek() until typefinding is done and only
13076           free them then.
13077
13078 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13079
13080         * docs/gst/gstreamer-sections.txt:
13081         * gst/gstutils.h:
13082           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
13083
13084 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13085
13086         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13087           Fix a pretty good memleak.
13088
13089 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13090
13091         * gst/gstiterator.h:
13092           Fix wrong include and 'make distcheck'.
13093
13094 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13095
13096         * gst/gstbin.c: (bin_bus_handler):
13097           Use gst_element_post_message() instead.
13098
13099 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13100
13101         * gst/base/gstadapter.h:
13102         * gst/base/gstbasesink.h:
13103         * gst/base/gstbasesrc.h:
13104         * gst/base/gstbasetransform.h:
13105         * gst/base/gstcollectpads.h:
13106         * gst/base/gstpushsrc.h:
13107         * gst/gstiterator.h:
13108           Add padding to our base elements' class and instance structs and
13109           to GstIterator (you will need to rebuild all plugins and apps!)
13110
13111 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13112
13113         * gst/gstbin.c: (bin_bus_handler):
13114           Make default message forwarding from child->bus to bin->bus
13115           threadsafe and make it not emit warnings if the parent has no bus.
13116
13117 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13118
13119         * gst/gstelement.c: (activate_pads):
13120           On paused->ready, set pad->caps to NULL, as is the documented
13121           behaviour in this state change. Fixes playback of series of
13122           media files when visualization is enabled in Totem.
13123
13124 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13125
13126         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
13127           Allow NULL as filter-caps (which means "any").
13128
13129 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
13130
13131         * docs/libs/gstreamer-libs-sections.txt:
13132         * libs/gst/controller/gst-controller.c:
13133         * libs/gst/controller/gst-controller.h:
13134         * libs/gst/controller/gst-helper.c:
13135           adding more entries to the docs and fix small doc-bugs
13136
13137 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
13138
13139         * docs/gst/gstreamer-docs.sgml:
13140         * docs/gst/gstreamer-sections.txt:
13141         * docs/gst/gstreamer.types:
13142         * docs/gst/tmpl/gstbasesink.sgml:
13143         * docs/gst/tmpl/gstbasesrc.sgml:
13144         * docs/gst/tmpl/gstbasetransform.sgml:
13145         * docs/gst/tmpl/gstfakesrc.sgml:
13146         * gst/base/gstcollectpads.c:
13147         * gst/base/gstcollectpads.h:
13148         * libs/gst/controller/gst-controller.c:
13149         * libs/gst/controller/gst-controller.h:
13150         * libs/gst/controller/gst-helper.c:
13151         * libs/gst/controller/gst-interpolation.c:
13152         * libs/gst/controller/lib.c:
13153           added long/short desc for controller docs
13154           added collectpads base class docs
13155           added correct includes to base-class docs
13156
13157 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
13158
13159         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13160         (gst_test_mono_source_set_property),
13161         (gst_test_mono_source_class_init), (GST_START_TEST),
13162         (gst_controller_suite):
13163         * docs/gst/gstreamer-docs.sgml:
13164         * docs/gst/gstreamer-sections.txt:
13165         * docs/gst/gstreamer.types:
13166         * docs/libs/gstreamer-libs-docs.sgml:
13167         * docs/libs/gstreamer-libs-sections.txt:
13168         * gst/base/gstadapter.c:
13169         * libs/gst/controller/gst-controller.c:
13170         (gst_controlled_property_new), (gst_controlled_property_free),
13171         (gst_controller_new_valist),
13172         (gst_controller_remove_properties_valist),
13173         (gst_controller_sink_values), (_gst_controller_finalize):
13174         * libs/gst/controller/gst-controller.h:
13175         * libs/gst/controller/gst-helper.c:
13176         (gst_object_control_properties), (gst_object_uncontrol_properties),
13177         (gst_object_get_controller), (gst_object_set_controller),
13178         (gst_object_sink_values), (gst_object_get_value_arrays),
13179         (gst_object_get_value_array):
13180           more tests (and fixes) for the controller
13181           more docs for the controller
13182           integrated companies docs for the adapter 
13183
13184 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13185
13186         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
13187         (GST_START_TEST), (fakesrc_suite):
13188           add tests for sizetype
13189
13190 2005-08-04  Andy Wingo  <wingo@pobox.com>
13191
13192         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
13193         fixes buffer_alloc proxying among other things.
13194
13195         * gst/base/gstbasetransform.c:
13196         * gst/base/gstbasetransform.h:
13197         Revert patch to gstbasetransform from 7-28 removing
13198         delay_configure.
13199
13200         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
13201         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
13202         Semantics changed, should return not the size of the output buffer
13203         but the byte size of a buffer with a given caps.
13204
13205         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
13206         debug object.
13207         (gst_base_transform_configure_caps): Don't set out_size here: (in,
13208         out) are not the pad caps until setcaps finishes.
13209         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
13210         not-in-place case as well. Deal with changing from in-place to
13211         not-in-place within calling pad_alloc_buffer. Still a bit
13212         concerned about the overhead here...
13213
13214 2005-08-03  Andy Wingo  <wingo@pobox.com>
13215
13216         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
13217         fixating is an error.
13218
13219 2005-08-04  Edward Hervey  <edward@fluendo.com>
13220
13221         * gst/base/gstadapter.h: 
13222         Added gst_adapter_get_type() to the header
13223
13224 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
13225
13226         * check/Makefile.am:
13227         * check/gst-libs/controller.c:
13228         * libs/gst/controller/gst-controller.c:
13229         (gst_controller_new_valist):
13230           added check test suite for the controller
13231         * gst/base/gstpushsrc.c:
13232           fixed a doc typo
13233
13234 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
13235
13236         * docs/gst/Makefile.am:
13237         * docs/gst/gstreamer-docs.sgml:
13238         * docs/gst/gstreamer-sections.txt:
13239         * docs/gst/gstreamer.types:
13240         * docs/gst/tmpl/gstfakesrc.sgml:
13241         * gst/base/README:
13242         * gst/base/gstbasesink.c:
13243         * gst/base/gstbasesink.h:
13244         * gst/base/gstbasesrc.c:
13245         * gst/base/gstbasesrc.h:
13246         * gst/base/gstbasetransform.c:
13247         * gst/base/gstpushsrc.c:
13248         * gst/base/gstpushsrc.h:
13249           add short/long description docs to base classes
13250           add pushsrc to the docs
13251           remove consolidated doc fragments
13252
13253 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
13254
13255         * configure.ac:
13256         * docs/libs/Makefile.am:
13257         * docs/libs/gstreamer-libs-docs.sgml:
13258         * docs/libs/gstreamer-libs-sections.txt:
13259         * docs/libs/gstreamer-libs.types:
13260         * examples/Makefile.am:
13261         * examples/controller/.cvsignore:
13262         * examples/controller/Makefile.am:
13263         * examples/controller/audio-example.c: (main):
13264         * libs/gst/Makefile.am:
13265         * libs/gst/controller/.cvsignore:
13266         * libs/gst/controller/Makefile.am:
13267         * libs/gst/controller/gst-controller.c:
13268         (on_object_controlled_property_changed), (gst_timed_value_compare),
13269         (gst_timed_value_find),
13270         (gst_controlled_property_set_interpolation_mode),
13271         (gst_controlled_property_new), (gst_controlled_property_free),
13272         (gst_controller_find_controlled_property),
13273         (gst_controller_new_valist), (gst_controller_new),
13274         (gst_controller_remove_properties_valist),
13275         (gst_controller_remove_properties), (gst_controller_set),
13276         (gst_controller_set_from_list), (gst_controller_unset),
13277         (gst_controller_get), (gst_controller_get_all),
13278         (gst_controller_sink_values), (gst_controller_get_value_arrays),
13279         (gst_controller_get_value_array),
13280         (gst_controller_set_interpolation_mode),
13281         (_gst_controller_finalize), (_gst_controller_init),
13282         (_gst_controller_class_init), (gst_controller_get_type):
13283         * libs/gst/controller/gst-controller.h:
13284         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
13285         (g_object_uncontrol_properties), (g_object_get_controller),
13286         (g_object_set_controller), (g_object_sink_values),
13287         (g_object_get_value_arrays), (g_object_get_value_array):
13288         * libs/gst/controller/gst-interpolation.c:
13289         (gst_controlled_property_find_timed_value_node),
13290         (interpolate_none_get), (interpolate_trigger_get),
13291         (interpolate_trigger_get_value_array):
13292         * libs/gst/controller/lib.c: (gst_controller_init):
13293         * pkgconfig/Makefile.am:
13294         * pkgconfig/gstreamer-control-uninstalled.pc.in:
13295         * pkgconfig/gstreamer-control.pc.in:
13296         * testsuite/Makefile.am:
13297         * testsuite/controller/.cvsignore:
13298         * testsuite/controller/Makefile.am:
13299         * testsuite/controller/interpolator.c: (main):
13300           added controller code
13301           removed dparam pc files
13302
13303 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
13304         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
13305         (gst_collectpads_stop):
13306           Broadcast the condition when shutting down, to make sure we wake all
13307           threads up. Shut down pads on finalize, for safety.
13308
13309 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
13310         * gst/base/gstbasetransform.c: (gst_base_transform_init),
13311         (gst_base_transform_handle_buffer),
13312         (gst_base_transform_change_state):
13313           Handle PAUSED->READY->PAUSED transition after negotiation
13314           occurred already.
13315         * gst/gstmessage.c: (gst_message_init):
13316           Extra piece of debug for new messages.
13317
13318 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
13319
13320         * configure.ac:
13321         * docs/gst/tmpl/gstbasesrc.sgml:
13322         * docs/gst/tmpl/gstelement.sgml:
13323         * docs/gst/tmpl/gstevent.sgml:
13324         * docs/gst/tmpl/gstfakesrc.sgml:
13325         * docs/gst/tmpl/gstformat.sgml:
13326         * docs/gst/tmpl/gstghostpad.sgml:
13327         * docs/gst/tmpl/gstpad.sgml:
13328         * docs/gst/tmpl/gstquery.sgml:
13329         * docs/gst/tmpl/gststructure.sgml:
13330         * docs/gst/tmpl/gsttaglist.sgml:
13331         * docs/gst/tmpl/gstvalue.sgml:
13332         * docs/libs/gstreamer-libs-docs.sgml:
13333         * docs/libs/gstreamer-libs-sections.txt:
13334         * docs/libs/gstreamer-libs.types:
13335         * libs/gst/Makefile.am:
13336         * libs/gst/control/.cvsignore:
13337         * libs/gst/control/Makefile.am:
13338         * libs/gst/control/control.c:
13339         * libs/gst/control/control.h:
13340         * libs/gst/control/dparam.c:
13341         * libs/gst/control/dparam.h:
13342         * libs/gst/control/dparam_smooth.c:
13343         * libs/gst/control/dparam_smooth.h:
13344         * libs/gst/control/dparamcommon.h:
13345         * libs/gst/control/dparammanager.c:
13346         * libs/gst/control/dparammanager.h:
13347         * libs/gst/control/dplinearinterp.c:
13348         * libs/gst/control/dplinearinterp.h:
13349         * libs/gst/control/unitconvert.c:
13350         * libs/gst/control/unitconvert.h:
13351         * testsuite/Makefile.am:
13352         * testsuite/dynparams/.cvsignore:
13353         * testsuite/dynparams/Makefile.am:
13354         * testsuite/dynparams/dparamstest.c:
13355         * tools/Makefile.am:
13356         * tools/gst-inspect.c: (print_element_info), (main):
13357         * tools/gst-xmlinspect.c: (print_element_info), (main):
13358           deactivate and remove dparams (libgstcontrol)
13359
13360 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
13361
13362         * gst/elements/gsttypefindelement.c:
13363         (gst_type_find_element_have_type), (gst_type_find_element_init),
13364         (stop_typefinding), (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 all outgoing buffers, not just the first one.
13368
13369 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
13370
13371         * gst/elements/gsttypefindelement.c:
13372         (gst_type_find_element_have_type),
13373         (gst_type_find_element_check_set_buffer_caps),
13374         (gst_type_find_element_init), (stop_typefinding),
13375         (gst_type_find_element_handle_event),
13376         (gst_type_find_element_chain), (gst_type_find_element_getrange):
13377         * gst/elements/gsttypefindelement.h:
13378           Set caps on first outgoing buffer when we've found the type.
13379
13380 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
13381
13382         * docs/gst/gstreamer-docs.sgml:
13383         * docs/gst/gstreamer-sections.txt:
13384         * docs/gst/tmpl/gstscheduler.sgml:
13385         * docs/gst/tmpl/gstschedulerfactory.sgml:
13386           Remove some old cruft from docs.
13387
13388 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
13389
13390         * gst/gstpad.h:
13391           Fix inline docs for GstPadLinkReturn.
13392           
13393         * gst/gststructure.c: (gst_structure_has_name):
13394         * gst/gststructure.h:
13395         * docs/gst/gstreamer-sections.txt:
13396           New API: gst_structure_has_name().
13397
13398 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
13399
13400         * configure.ac:
13401           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
13402           and _LARGEFILE_SOURCE in config.h as required. Do not 
13403           export those flags in our .pc files any longer (#142209).
13404
13405           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
13406
13407         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
13408         (gst_file_sink_do_seek), (gst_file_sink_event),
13409         (gst_file_sink_get_current_offset), (gst_file_sink_render):
13410           Redo seek/tell calls with large file support in mind; add some
13411           debugging messages; add log message that tells us when large
13412           file support is unavailable or not enabled for some reason.
13413
13414         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
13415           Add log message that tells us when large file support 
13416           is unavailable or not enabled for some reason.
13417
13418 2005-07-29  Wim Taymans  <wim@fluendo.com>
13419
13420         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13421         Added test for removing an element with ghostpad from a bin.
13422         Fixed test as current implementation does the right thing.
13423
13424         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
13425         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
13426         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
13427         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
13428         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
13429         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13430         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13431         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13432         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
13433         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
13434         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
13435         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
13436         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13437         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
13438         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
13439         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
13440         * gst/gstghostpad.h:
13441         Clean up ghostpads, remove properties for internal stuff.
13442         Make threadsafe.
13443         Fix refcounting.
13444         Prepare for switching targets, not all use cases work yet.
13445
13446 2005-07-29  Wim Taymans  <wim@fluendo.com>
13447
13448         * docs/design/part-gstghostpad.txt:
13449         Small update.
13450
13451         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13452         (gst_bin_remove_func):
13453         Unlinking pads while holding the bin LOCK is not a good
13454         idea.
13455
13456         * gst/gstpad.c: (gst_pad_class_init),
13457         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
13458         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
13459         No prob setting template after creating the pad.
13460
13461 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
13462
13463         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
13464         (gst_bus_peek), (gst_bus_source_dispatch),
13465         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
13466         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
13467           gst_bus_poll may be called from other threads. Handle
13468           this nicely by not making poll_data disappear off the
13469           stack once gst_bus_poll returns.
13470           gst_bus_peek now increments the refcount on the returned
13471           message.
13472
13473 2005-07-29  Wim Taymans  <wim@fluendo.com>
13474
13475         * docs/design/part-gstghostpad.txt:
13476         Overview of current GhostPad datastructures and use
13477         cases for changing the target.
13478
13479 2005-07-28  Wim Taymans  <wim@fluendo.com>
13480
13481         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13482         Added checks for hierarchy consistency whan adding linked
13483         elements to bins.
13484
13485         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
13486         Added check to test element scheduling without bin/pipeline.
13487
13488         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
13489         First add elements to bin, then link.
13490         
13491         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13492         (gst_bin_remove_func):
13493         Unlink pads from elements added/removed from bin to maintain
13494         hierarchy consistency.
13495
13496 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13497
13498         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13499         (gst_base_transform_handle_buffer):
13500         * gst/base/gstbasetransform.h:
13501           Remove broken delay_configure (fixes renegotiation of software
13502           scaling pipelines); remove some leftover printf()s.
13503
13504 2005-07-28  Wim Taymans  <wim@fluendo.com>
13505
13506         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13507         Added some more tests for wrong hierarchy
13508
13509         * docs/design/part-overview.txt:
13510         Some updates.
13511
13512         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
13513         Cleanups.
13514
13515         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
13516         (gst_element_dispose):
13517         Some more cleanups.
13518
13519         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
13520         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
13521         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13522         (gst_pad_set_caps), (gst_pad_send_event):
13523         Check for correct hierarchy when linking pads. Moving to
13524         strict requirement for ghostpads when linking elements in
13525         different bins.
13526
13527         * gst/gstpad.h:
13528         Clean ups. Added WRONG_HIERARCHY return value.
13529
13530 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13531
13532         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13533           Better debug if no transform is possible.
13534
13535 2005-07-27  Wim Taymans  <wim@fluendo.com>
13536
13537         * docs/random/wtay/network-transp:
13538         Some old doc I had.
13539
13540 2005-07-27  Wim Taymans  <wim@fluendo.com>
13541
13542         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13543         (gst_dp_event_from_packet):
13544         Fix serialization of seek events.
13545
13546 2005-07-27  Wim Taymans  <wim@fluendo.com>
13547
13548         * check/gst-libs/gdp.c: (GST_START_TEST):
13549         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13550         Fix compilation and fix event serialization.
13551
13552 2005-07-27  Wim Taymans  <wim@fluendo.com>
13553
13554         * CHANGES-0.9:
13555         * docs/design/part-TODO.txt:
13556         * docs/design/part-events.txt:
13557         Some docs updates
13558
13559         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13560         (gst_base_sink_event), (gst_base_sink_do_sync),
13561         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13562         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13563         (gst_base_src_do_seek), (gst_base_src_event_handler),
13564         (gst_base_src_loop):
13565         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13566         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13567         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13568         (gst_base_transform_event), (gst_base_transform_handle_buffer),
13569         (gst_base_transform_set_passthrough),
13570         (gst_base_transform_is_passthrough):
13571         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13572         * gst/elements/gstfilesink.c: (gst_file_sink_event):
13573         Event updates.
13574
13575         * gst/gstbuffer.h:
13576         Use faster casts.
13577
13578         * gst/gstelement.c: (gst_element_seek):
13579         * gst/gstelement.h:
13580         Update gst_element_seek.
13581
13582         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
13583         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
13584         (gst_event_new_flush_start), (gst_event_new_flush_stop),
13585         (gst_event_new_eos), (gst_event_new_newsegment),
13586         (gst_event_parse_newsegment), (gst_event_new_tag),
13587         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
13588         (gst_event_parse_qos), (gst_event_new_seek),
13589         (gst_event_parse_seek), (gst_event_new_navigation):
13590         * gst/gstevent.h:
13591         Make GstEvent use GstStructure. Add parsing code, make sure the
13592         API is sufficiently generic.
13593         Mark possible directions of events and serialization.
13594
13595         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
13596         (_gst_message_copy), (gst_message_new_segment_start),
13597         (gst_message_new_segment_done), (gst_message_new_custom),
13598         (gst_message_parse_segment_start),
13599         (gst_message_parse_segment_done):
13600         Small cleanups.
13601
13602         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13603         (gst_pad_set_caps), (gst_pad_send_event):
13604         Update for new events. 
13605         Catch events sent in wrong directions.
13606
13607         * gst/gstqueue.c: (gst_queue_link_src),
13608         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
13609         (gst_queue_handle_src_query):
13610         Event updates.
13611
13612         * gst/gsttag.c:
13613         * gst/gsttag.h:
13614         Remove event code from this file.
13615
13616         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13617         (gst_dp_event_from_packet):
13618         Event updates.
13619
13620 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13621
13622         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
13623         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13624         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
13625           Make debugging actually useful.
13626
13627 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13628
13629         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
13630         (gst_pad_fixate_caps):
13631           Implement default fixation once again, so that gst_pad_fixate()
13632           actually does anything at all. This probably needs to be some
13633           sort of a last resort, and use profile-based fixation first, but
13634           since that doesn't exist yet, this is the best we have. Fixes
13635           visualization in Totem.
13636
13637 2005-07-22  Wim Taymans  <wim@fluendo.com>
13638
13639         * docs/design/part-events.txt:
13640         Small update.
13641
13642         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13643         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
13644         (gst_base_sink_activate_pull):
13645         Some more comments.
13646
13647         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
13648         (gst_fake_src_create):
13649         Fix handoff marshall.
13650
13651         * gst/elements/gstidentity.c: (gst_identity_class_init),
13652         (gst_identity_transform_ip):
13653         We're a real inplace element.
13654
13655         * gst/gstbus.c: (gst_bus_post):
13656         Added some comments.
13657
13658         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
13659         * tests/muxing/case1.c: (main):
13660         * tests/sched/dynamic-pipeline.c: (main):
13661         * tests/sched/interrupt1.c: (main):
13662         * tests/sched/interrupt2.c: (main):
13663         * tests/sched/interrupt3.c: (main):
13664         * tests/sched/runxml.c: (main):
13665         * tests/sched/sched-stress.c: (main):
13666         * tests/seeking/seeking1.c: (event_received), (main):
13667         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
13668         (main):
13669         * tests/threadstate/threadstate3.c: (main):
13670         * tests/threadstate/threadstate4.c: (main):
13671         * tests/threadstate/threadstate5.c: (main):
13672         Fix the tests.
13673
13674 2005-07-21  Wim Taymans  <wim@fluendo.com>
13675
13676         * docs/design/part-seeking.txt:
13677         Some small additions.
13678
13679         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13680         (gst_base_sink_get_times), (gst_base_sink_do_sync),
13681         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13682         * gst/base/gstbasesink.h:
13683         discont values are gint64, handle the math correctly.
13684
13685         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13686         Make the basesrc report error if the source pad is not linked.
13687
13688         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13689         (gst_queue_loop), (gst_queue_handle_src_query),
13690         (gst_queue_src_activate_push):
13691         Make queue collect data even if the srcpad is not linked.
13692         Start pushing out data as soon as it is linked.
13693
13694         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
13695         * gst/gstutils.h:
13696         Added gst_flow_get_name() to ease error reporting.
13697
13698 2005-07-20  Wim Taymans  <wim@fluendo.com>
13699
13700         * gst/gstmessage.c: (gst_message_new_segment_start),
13701         (gst_message_new_segment_done), (gst_message_parse_segment_start),
13702         (gst_message_parse_segment_done):
13703         * gst/gstmessage.h:
13704         Added a bunch of messages for advanced seeking.
13705
13706         * gst/parse/grammar.y:
13707         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
13708         (gst_dpman_state_changed):
13709         Fix some new-pad -> pad-added signals
13710
13711 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13712
13713         * docs/manual/appendix-porting.xml:
13714         * docs/pwg/appendix-porting.xml:
13715           Document new-pad/state-change signal renames and the FixedList
13716           type rename.
13717
13718 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13719
13720         * docs/manual/advanced-autoplugging.xml:
13721         * docs/manual/basics-helloworld.xml:
13722         * docs/manual/basics-pads.xml:
13723         * docs/random/ds/0.9-suggested-changes:
13724         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
13725         * gst/gstelement.h:
13726         * gst/gstevent.h:
13727         * gst/gstformat.h:
13728         * gst/gstquery.h:
13729         * gst/gststructure.c: (gst_structure_value_get_generic_type),
13730         (gst_structure_parse_array), (gst_structure_parse_value):
13731         * gst/gstvalue.c: (gst_type_is_fixed),
13732         (gst_value_list_prepend_value), (gst_value_list_append_value),
13733         (gst_value_list_get_size), (gst_value_list_get_value),
13734         (gst_value_transform_array_string), (gst_value_serialize_array),
13735         (gst_value_deserialize_array), (gst_value_intersect_array),
13736         (gst_value_is_fixed), (_gst_value_initialize):
13737         * gst/gstvalue.h:
13738           GstElement::new-pad -> pad-added, GstElement::state-change ->
13739           state-changed, GstValueFixedList -> GstValueArray, add format and
13740           flags as their own arguments in gst_element_seek() (should improve
13741           "bindeability"), remove function generators since they don't work
13742           under a whole bunch of compilers (they were deprecated already
13743           anyway).
13744
13745 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13746
13747         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13748         (_gst_debug_register_funcptr):
13749         * gst/gstinfo.h:
13750           Fix illegal cast on some platforms (#309253).
13751
13752 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13753
13754         * gst/gstmessage.c: (gst_message_new_custom):
13755         * gst/gstmessage.h:
13756           Add _new_custom, make _new_application a macro to _new_custom.
13757
13758 2005-07-20  Wim Taymans  <wim@fluendo.com>
13759
13760         * gst/base/gstbasesrc.c: (gst_base_src_init),
13761         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13762         * gst/base/gstbasesrc.h:
13763         Add a gboolean to decide when to push out a discont.
13764
13765         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13766         (gst_queue_loop), (gst_queue_handle_src_query),
13767         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
13768         (gst_queue_set_property), (gst_queue_get_property):
13769         Some cleanups.
13770
13771         * tests/threadstate/threadstate1.c: (main):
13772         Make a thread test compile and run... very silly..
13773
13774
13775 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13776
13777         * docs/manual/appendix-porting.xml:
13778           Mention removal of libgstgconf-0.9.la and existence of gconf
13779           elements.
13780
13781 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13782
13783         * docs/pwg/advanced-clock.xml:
13784         * docs/pwg/appendix-porting.xml:
13785         * docs/pwg/intro-preface.xml:
13786         * docs/pwg/other-base.xml:
13787         * docs/pwg/other-manager.xml:
13788         * docs/pwg/other-nton.xml:
13789         * docs/pwg/other-ntoone.xml:
13790         * docs/pwg/other-oneton.xml:
13791         * docs/pwg/pwg.xml:
13792           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
13793           demuxer), remove n-to-n (was never written), fix some code examples
13794           and links and update the porting section to include all this.
13795
13796 2005-07-19  Wim Taymans  <wim@fluendo.com>
13797
13798         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
13799         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
13800         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
13801         (gst_queue_src_activate_push), (gst_queue_change_state),
13802         (gst_queue_get_property):
13803         * gst/gstqueue.h:
13804         Propagate GstFlowReturn more intelligently upstream and output
13805         an ERROR/EOS when streaming stopped due to fatal error.
13806
13807 2005-07-19  Wim Taymans  <wim@fluendo.com>
13808
13809         * tools/gst-launch.c: (check_intr), (event_loop), (main):
13810         Don't block forever for the state change to complete, the
13811         pipeline already did with a sensible timeout.
13812
13813 2005-07-19  Wim Taymans  <wim@fluendo.com>
13814
13815         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13816         Make sure we never call the create function is we
13817         got deactivated.
13818
13819 2005-07-19  Andy Wingo  <wingo@pobox.com>
13820
13821         * gst/parse/parse.l: Attempt to solve bug #172815.
13822
13823 2005-07-19  Wim Taymans  <wim@fluendo.com>
13824
13825         * docs/design/part-clocks.txt:
13826         * docs/design/part-events.txt:
13827         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
13828         Small docs updates.
13829         Only update the seeking values when we are not
13830         busy streaming.
13831
13832 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
13833
13834         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13835           Oops, ignore the result of gst_pad_push_event here.
13836
13837 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
13838
13839         * gst/base/gstbasesrc.c: (gst_base_src_loop),
13840         (gst_base_src_activate_push):
13841           Send discont event from the loop function, as pads
13842           aren't activated yet in the activate_push handler.
13843
13844         * gst/gstbin.c: (bin_bus_handler):
13845           Don't leak element name.
13846
13847 2005-07-18  Andy Wingo  <wingo@pobox.com>
13848
13849         * configure.ac: Use AS_LIBTOOL_TAGS.
13850
13851 2005-07-18  Wim Taymans  <wim@fluendo.com>
13852
13853         * docs/gst/gstreamer.types:
13854         Remove deleted types.
13855
13856 2005-07-18  Wim Taymans  <wim@fluendo.com>
13857
13858         * check/elements/gstfakesrc.c: (GST_START_TEST):
13859         * configure.ac:
13860         * gst/Makefile.am:
13861         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
13862         (init_popt_callback):
13863         * gst/gst.h:
13864         * gst/gst_private.h:
13865         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
13866         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
13867         * gst/gstbin.h:
13868         * gst/gstbus.h:
13869         * gst/gstconfig.h.in:
13870         * gst/gstelement.c: (gst_element_class_init),
13871         (gst_element_set_base_time), (gst_element_get_base_time),
13872         (iterator_fold_with_resync), (gst_element_change_state),
13873         (gst_element_dispose), (gst_element_get_bus):
13874         * gst/gstelement.h:
13875         * gst/gstelementfactory.h:
13876         * gst/gsterror.c: (_gst_core_errors_init):
13877         * gst/gsterror.h:
13878         * gst/gstevent.h:
13879         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13880         * gst/gstindex.c:
13881         * gst/gstinfo.c: (_gst_debug_init):
13882         * gst/gstmessage.c: (_gst_message_copy):
13883         * gst/gstmessage.h:
13884         * gst/gstminiobject.h:
13885         * gst/gstobject.c:
13886         * gst/gstobject.h:
13887         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13888         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
13889         * gst/gstpad.h:
13890         * gst/gstparse.h:
13891         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
13892         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13893         (gst_pipeline_get_last_stream_time):
13894         * gst/gstpipeline.h:
13895         * gst/gstpluginfeature.h:
13896         * gst/gstquery.h:
13897         * gst/gstscheduler.c:
13898         * gst/gstscheduler.h:
13899         * gst/gststructure.h:
13900         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13901         (gst_task_finalize), (gst_task_func), (gst_task_create),
13902         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
13903         (gst_task_stop), (gst_task_pause):
13904         * gst/gsttask.h:
13905         * gst/gsttypefind.h:
13906         * gst/gsttypes.h:
13907         * gst/registries/gstlibxmlregistry.c: (load_feature),
13908         (gst_xml_registry_load), (gst_xml_registry_save_feature):
13909         * gst/registries/gstxmlregistry.c:
13910         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
13911         * gst/schedulers/threadscheduler.c:
13912         * libs/gst/control/dparammanager.h:
13913         * tools/gst-inspect.c: (print_element_list),
13914         (print_plugin_features), (print_element_features):
13915         * tools/gst-xmlinspect.c: (print_element_list),
13916         (print_plugin_info), (main):
13917         Removed plugable schedulers.
13918         Removed Scheduler/Manager from elements.
13919         Removed gsttypes.h, rearranged includes.
13920         Removed dependency pad<->element, element<>pipeline, and
13921         various others,  fix includes.
13922         implement gst_pad_get_parent() with gst_object_get_parent()
13923         Make GstTask sefcontained.
13924         Fix _get_state() on GstBin, it did not return ASYNC with a 0
13925         timeout.
13926         Fix endless loop in iterator_fold_with_resync.
13927
13928
13929 2005-07-18  Wim Taymans  <wim@fluendo.com>
13930
13931         * gst/Makefile.am:
13932         * gst/gstarch.h:
13933         Remove old file.
13934
13935 2005-07-18  Wim Taymans  <wim@fluendo.com>
13936
13937         * gst/Makefile.am:
13938         No more cothreads.h
13939
13940 2005-07-18  Wim Taymans  <wim@fluendo.com>
13941
13942         * gst/cothreads.c:
13943         * gst/cothreads.h:
13944         Let's remove these.
13945
13946 2005-07-18  Wim Taymans  <wim@fluendo.com>
13947
13948         * docs/design/part-dynamic.txt:
13949         * docs/design/part-events.txt:
13950         * docs/design/part-seeking.txt:
13951         Some more docs in the works.
13952
13953         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13954         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
13955         (gst_base_transform_setcaps), (gst_base_transform_get_size),
13956         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13957         (gst_base_transform_handle_buffer),
13958         (gst_base_transform_sink_activate_push),
13959         (gst_base_transform_src_activate_pull),
13960         (gst_base_transform_set_passthrough),
13961         (gst_base_transform_is_passthrough):
13962         Refcounting fixes.
13963
13964         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
13965         Cleanups.
13966
13967         * gst/gstevent.c: (gst_event_finalize):
13968         Set SRC to NULL.
13969
13970         * gst/gstutils.c: (gst_element_unlink),
13971         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
13972         (gst_pad_proxy_setcaps):
13973         * gst/gstutils.h:
13974         Add _get_parent_element() to get a pads parent as an element.
13975
13976 2005-07-18  Wim Taymans  <wim@fluendo.com>
13977
13978         * check/gst/gstbin.c: (GST_START_TEST):
13979         Remove bogus test.
13980
13981 2005-07-18  Wim Taymans  <wim@fluendo.com>
13982
13983         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
13984         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
13985         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
13986         (gst_base_sink_event), (gst_base_sink_do_sync),
13987         (gst_base_sink_chain), (gst_base_sink_loop),
13988         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
13989         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13990         Refcounting fixes.
13991         Fix logic for returning ASYNC when not prerolled.
13992
13993 2005-07-18  Wim Taymans  <wim@fluendo.com>
13994
13995         * gst/gstqueue.c: (gst_queue_handle_sink_event):
13996         Fix nasty refcount bug.
13997
13998 2005-07-16 Philippe Khalaf <burger@speedy.org>
13999
14000         * gst/elements/gstfdsrc.c:
14001         * gst/elements/gstfdsrc.h:
14002         * gst/elements/gstelements.c:
14003         * gst/elements/Makefile.am:
14004         Ported fdsrc to 0.9.
14005
14006 2005-07-16  Wim Taymans  <wim@fluendo.com>
14007
14008         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14009         (gst_base_sink_do_sync):
14010         Fix compile error.
14011
14012 2005-07-16  Wim Taymans  <wim@fluendo.com>
14013
14014         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14015         (gst_base_sink_event), (gst_base_sink_get_times),
14016         (gst_base_sink_do_sync), (gst_base_sink_change_state):
14017         * gst/base/gstbasesink.h:
14018         Store and use discont values when syncing buffers as described
14019         in design docs.
14020         
14021         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14022         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
14023         (gst_base_src_activate_push):
14024         Push discont event when starting.
14025
14026         * gst/elements/gstidentity.c: (gst_identity_transform):
14027         Small cleanups.
14028
14029         * gst/gstbin.c: (gst_bin_change_state):
14030         Small cleanups in base_time  distribution.
14031
14032         * gst/gstelement.c: (gst_element_set_base_time),
14033         (gst_element_get_base_time), (gst_element_change_state):
14034         * gst/gstelement.h:
14035         Added methods for the base_time of the element.
14036         Some MT fixes.
14037
14038         * gst/gstpipeline.c: (gst_pipeline_send_event),
14039         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
14040         (gst_pipeline_get_last_stream_time):
14041         * gst/gstpipeline.h:
14042         MT fixes.
14043         Handle seeking as described in design doc, remove stream_time
14044         hack.
14045         Cleanups clock and stream_time selection code. Added accessors
14046         for the stream_time.
14047         
14048
14049 2005-07-16  Andy Wingo  <wingo@pobox.com>
14050
14051         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
14052         (#305291).
14053
14054 2005-07-16  Wim Taymans  <wim@fluendo.com>
14055
14056         * check/gst/gstbin.c: (GST_START_TEST):
14057         Make elements silent as the deep_notify refs the
14058         parent, which might make the test fail.
14059
14060         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
14061         Don't hold the lock for too long.
14062
14063 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
14064
14065         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14066           Don't unref the caps we passed to gst_caps_make_writable() after
14067           passing them. gst_caps_make_writable() will do that for us.
14068
14069 2005-07-15  Andy Wingo  <wingo@pobox.com>
14070
14071         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
14072         (#157311).
14073
14074         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
14075         own marshalling function for the handoff signal. Properly type the
14076         buffer as a buffer. Fixes some warnings. Should do a more general
14077         solution.
14078         (gst_identity_class_init): Plug into the right marshaller.
14079
14080 2005-07-15  Wim Taymans  <wim@fluendo.com>
14081
14082         * docs/design/part-TODO.txt:
14083         * docs/design/part-clocks.txt:
14084         * docs/design/part-element-sink.txt:
14085         * docs/design/part-events.txt:
14086         * docs/design/part-gstpipeline.txt:
14087         Updated docs, mostly DISCONT related.
14088
14089 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
14090
14091         * docs/pwg/building-pads.xml:
14092           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
14093
14094 2005-07-15  Andy Wingo  <wingo@pobox.com>
14095
14096         * tools/gst-typefind.c: Update, add copyright block.
14097
14098         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
14099         Normalize and truncate caps before fixation.
14100
14101         * gst/gstcaps.h:
14102         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
14103         discards all but the first structure from its argument.
14104
14105 2005-07-15  Wim Taymans  <wim@fluendo.com>
14106
14107         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14108         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
14109         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14110         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14111         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
14112         (gst_base_transform_chain), (gst_base_transform_change_state),
14113         (gst_base_transform_set_passthrough),
14114         (gst_base_transform_is_passthrough):
14115         * gst/base/gstbasetransform.h:
14116         Make passthrough work using the bufferpools.
14117         Changed API a bit, subclasses have to write into a buffer
14118         provided by the base class.
14119         More debug info in nego functions.
14120         
14121         * gst/elements/gstidentity.c: (gst_identity_init),
14122         (gst_identity_transform):
14123         Port to new base class.
14124
14125 2005-07-15  Wim Taymans  <wim@fluendo.com>
14126
14127         * gst/gstmessage.c: (gst_message_new_state_changed):
14128         * tools/gst-launch.c: (event_loop), (main):
14129         Totally dump messages in -launch with the -m option.
14130         Fix message name for State messages,
14131
14132 2005-07-14  Wim Taymans  <wim@fluendo.com>
14133
14134         * gst/base/gstbasesrc.c: (gst_base_src_loop):
14135         Post error messages on errors.
14136
14137 2005-07-14  Wim Taymans  <wim@fluendo.com>
14138
14139         * gst/gstcaps.c: (gst_caps_do_simplify):
14140         Remove debug info.
14141
14142         * gst/gsterror.h:
14143         Define error for stream stopped.
14144
14145         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14146         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
14147         Do proper return values.
14148
14149         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14150         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
14151         (gst_pad_get_range):
14152         Better return values.
14153
14154         * gst/gstpad.h:
14155         Reorganise return values, add macro to check for fatal errors.
14156
14157         * gst/gstqueue.c: (gst_queue_chain):
14158         Return proper GstFlowReturn values,
14159
14160 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
14161
14162         * docs/gst/gstreamer-sections.txt:
14163         * docs/gst/gstreamer.types:
14164         * docs/gst/tmpl/gst.sgml:
14165         * docs/gst/tmpl/gstbasesink.sgml:
14166         * docs/gst/tmpl/gstbasesrc.sgml:
14167         * docs/gst/tmpl/gstbasetransform.sgml:
14168         * docs/gst/tmpl/gstbin.sgml:
14169         * docs/gst/tmpl/gstbuffer.sgml:
14170         * docs/gst/tmpl/gstcaps.sgml:
14171         * docs/gst/tmpl/gstclock.sgml:
14172         * docs/gst/tmpl/gstcompat.sgml:
14173         * docs/gst/tmpl/gstconfig.sgml:
14174         * docs/gst/tmpl/gstelement.sgml:
14175         * docs/gst/tmpl/gstelementdetails.sgml:
14176         * docs/gst/tmpl/gstelementfactory.sgml:
14177         * docs/gst/tmpl/gstenumtypes.sgml:
14178         * docs/gst/tmpl/gsterror.sgml:
14179         * docs/gst/tmpl/gstevent.sgml:
14180         * docs/gst/tmpl/gstfakesink.sgml:
14181         * docs/gst/tmpl/gstfakesrc.sgml:
14182         * docs/gst/tmpl/gstfilesink.sgml:
14183         * docs/gst/tmpl/gstfilesrc.sgml:
14184         * docs/gst/tmpl/gstfilter.sgml:
14185         * docs/gst/tmpl/gstformat.sgml:
14186         * docs/gst/tmpl/gstghostpad.sgml:
14187         * docs/gst/tmpl/gstimplementsinterface.sgml:
14188         * docs/gst/tmpl/gstindex.sgml:
14189         * docs/gst/tmpl/gstindexfactory.sgml:
14190         * docs/gst/tmpl/gstinfo.sgml:
14191         * docs/gst/tmpl/gstiterator.sgml:
14192         * docs/gst/tmpl/gstmacros.sgml:
14193         * docs/gst/tmpl/gstmemchunk.sgml:
14194         * docs/gst/tmpl/gstminiobject.sgml:
14195         * docs/gst/tmpl/gstobject.sgml:
14196         * docs/gst/tmpl/gstpad.sgml:
14197         * docs/gst/tmpl/gstpadtemplate.sgml:
14198         * docs/gst/tmpl/gstparse.sgml:
14199         * docs/gst/tmpl/gstpipeline.sgml:
14200         * docs/gst/tmpl/gstplugin.sgml:
14201         * docs/gst/tmpl/gstpluginfeature.sgml:
14202         * docs/gst/tmpl/gstquery.sgml:
14203         * docs/gst/tmpl/gstqueue.sgml:
14204         * docs/gst/tmpl/gstregistry.sgml:
14205         * docs/gst/tmpl/gstregistrypool.sgml:
14206         * docs/gst/tmpl/gstscheduler.sgml:
14207         * docs/gst/tmpl/gstschedulerfactory.sgml:
14208         * docs/gst/tmpl/gststructure.sgml:
14209         * docs/gst/tmpl/gstsystemclock.sgml:
14210         * docs/gst/tmpl/gsttaglist.sgml:
14211         * docs/gst/tmpl/gsttagsetter.sgml:
14212         * docs/gst/tmpl/gsttrace.sgml:
14213         * docs/gst/tmpl/gsttrashstack.sgml:
14214         * docs/gst/tmpl/gsttypefind.sgml:
14215         * docs/gst/tmpl/gsttypefindfactory.sgml:
14216         * docs/gst/tmpl/gsttypes.sgml:
14217         * docs/gst/tmpl/gsturihandler.sgml:
14218         * docs/gst/tmpl/gsturitype.sgml:
14219         * docs/gst/tmpl/gstutils.sgml:
14220         * docs/gst/tmpl/gstvalue.sgml:
14221         * docs/gst/tmpl/gstversion.sgml:
14222         * docs/gst/tmpl/gstxml.sgml:
14223         * docs/libs/tmpl/gstcontrol.sgml:
14224         * docs/libs/tmpl/gstdataprotocol.sgml:
14225         * docs/libs/tmpl/gstdparam.sgml:
14226         * docs/libs/tmpl/gstdplinint.sgml:
14227         * docs/libs/tmpl/gstdpman.sgml:
14228         * docs/libs/tmpl/gstdpsmooth.sgml:
14229         * docs/libs/tmpl/gstgetbits.sgml:
14230         * docs/libs/tmpl/gstunitconvert.sgml:
14231         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
14232         (gst_push_src_base_init), (gst_push_src_class_init),
14233         (gst_push_src_init), (gst_push_src_create):
14234         * gst/base/gstpushsrc.h:
14235         * gst/elements/gstelements.c:
14236         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
14237         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
14238         (gst_fake_sink_init), (gst_fake_sink_set_property),
14239         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
14240         (gst_fake_sink_event), (gst_fake_sink_preroll),
14241         (gst_fake_sink_render), (gst_fake_sink_change_state):
14242         * gst/elements/gstfakesink.h:
14243         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14244         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14245         (gst_fake_src_base_init), (gst_fake_src_class_init),
14246         (gst_fake_src_init), (gst_fake_src_event_handler),
14247         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
14248         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
14249         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
14250         (gst_fake_src_create_buffer), (gst_fake_src_create),
14251         (gst_fake_src_start), (gst_fake_src_stop):
14252         * gst/elements/gstfakesrc.h:
14253         * gst/elements/gstfilesink.c: (_do_init),
14254         (gst_file_sink_base_init), (gst_file_sink_class_init),
14255         (gst_file_sink_init), (gst_file_sink_dispose),
14256         (gst_file_sink_set_location), (gst_file_sink_set_property),
14257         (gst_file_sink_get_property), (gst_file_sink_open_file),
14258         (gst_file_sink_close_file), (gst_file_sink_query),
14259         (gst_file_sink_event), (gst_file_sink_render),
14260         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
14261         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
14262         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
14263         * gst/elements/gstfilesink.h:
14264         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
14265         (gst_file_src_class_init), (gst_file_src_init),
14266         (gst_file_src_finalize), (gst_file_src_set_location),
14267         (gst_file_src_set_property), (gst_file_src_get_property),
14268         (gst_file_src_map_region), (gst_file_src_map_small_region),
14269         (gst_file_src_create_mmap), (gst_file_src_create_read),
14270         (gst_file_src_create), (gst_file_src_is_seekable),
14271         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
14272         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
14273         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
14274         (gst_file_src_uri_handler_init):
14275         * gst/elements/gstfilesrc.h:
14276           more autistic cleanliness in functions/names/defines
14277
14278 2005-07-13  Andy Wingo  <wingo@pobox.com>
14279
14280         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
14281         source couldn't negotiate.
14282
14283         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
14284         connections again.
14285
14286         * gst/gstutils.h:
14287         * gst/gstutils.c (gst_element_link_pads_filtered): New old
14288         function. I am channeling Hades. Put your boots on suckers!!!
14289
14290 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14291
14292         * testsuite/caps/Makefile.am:
14293         * testsuite/caps/value_compare.c:
14294         * testsuite/caps/value_intersect.c:
14295         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14296           move two testsuite apps over to the check dir
14297
14298 2005-07-12  Wim Taymans  <wim@fluendo.com>
14299
14300         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
14301         Added more debug info in the negotiate process.
14302
14303         * gst/gstmessage.h:
14304         Prepare for segment playback.
14305
14306         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
14307         Better debugging.
14308
14309         * gst/gstutils.c:
14310         Some more docs.
14311
14312         * tools/gst-launch.c: (main):
14313         NULL pipeline on errors.
14314
14315 2005-07-12  Andy Wingo  <wingo@pobox.com>
14316
14317         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
14318         not it comes from a malloc region. Make sure our copy gets freed.
14319
14320 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14321
14322         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14323         * check/gst/gstmessage.c: (GST_START_TEST):
14324         * check/gst/gststructure.c: (GST_START_TEST),
14325         (gst_structure_suite), (main):
14326           more testing
14327         * gst/gstelement.c: (gst_element_message_full):
14328           clean up GError and debug string now that they get copied
14329         * gst/gstmessage.c: (gst_message_new_error),
14330         (gst_message_new_warning), (gst_message_parse_error),
14331         (gst_message_parse_warning):
14332           use GST_TYPE_G_ERROR for structure_new, and take copies of
14333           arguments, so that we don't mess up refcounting
14334
14335 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14336
14337         * check/Makefile.am:
14338           add per-test valgrind targets
14339         * check/gst-libs/gdp.c: (GST_START_TEST),
14340         (gst_data_protocol_suite), (main):
14341           clean up
14342
14343 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14344
14345         * check/Makefile.am:
14346           instate more valgrindable tests
14347         * check/elements/gstfakesrc.c: (chain_func), (event_func),
14348         (GST_START_TEST), (fakesrc_suite):
14349         * check/gst/gstpad.c: (GST_START_TEST):
14350         * check/gst/gststructure.c: (GST_START_TEST):
14351           fix test leaks
14352         * docs/gst/tmpl/gstminiobject.sgml:
14353         * gst/gstpad.c: (gst_pad_finalize):
14354           fix the static mutex leak
14355
14356 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14357
14358         * check/Makefile.am:
14359           add two more tests for valgrinding
14360         * check/gst/gstvalue.c: (GST_START_TEST):
14361           test refcount of deserialized buffer, found a leak
14362         * docs/gst/gstreamer-docs.sgml:
14363         * docs/gst/gstreamer-sections.txt:
14364         * docs/gst/gstreamer.types:
14365         * docs/gst/tmpl/gstminiobject.sgml:
14366           add miniobject to docs
14367         * gst/gstminiobject.c:
14368           add some docs
14369         * gst/gstvalue.c: (gst_value_deserialize_buffer),
14370         (gst_string_unwrap):
14371           fix a hard-to-find invalid write for one of the tests
14372           fix a leak for deserialized buffers
14373
14374 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14375
14376         * docs/pwg/advanced-events.xml:
14377         * docs/pwg/advanced-request.xml:
14378         * docs/pwg/advanced-scheduling.xml:
14379         * docs/pwg/appendix-porting.xml:
14380         * docs/pwg/building-boiler.xml:
14381         * docs/pwg/intro-preface.xml:
14382         * docs/pwg/other-ntoone.xml:
14383           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
14384           of example code and explanation for pad activation, loop() and
14385           getrange() functions and a bit more. Remove old comments pointing
14386           to loop-functions.
14387         * examples/pwg/Makefile.am:
14388           Add loop/getrange examples.
14389
14390 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14391
14392         * configure.ac:
14393           check for valgrind binary + some fixes
14394         * check/gst.supp:
14395           valgrind suppressions for the tests
14396         * check/Makefile.am:
14397           add a valgrind: target that valgrinds the unit tests
14398         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
14399         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
14400         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14401         * check/gst/gstghostpad.c:
14402           added some cleanup
14403         * check/gst/gstdata.c:
14404           removed
14405         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
14406         (thread_unref), (gst_mini_object_suite), (main):
14407           added
14408         * gst/gst.c: (gst_deinit):
14409         * gst/gst.h:
14410           add a method to clean up.
14411         * gst/gstsystemclock.c: (gst_system_clock_dispose),
14412         (gst_system_clock_obtain):
14413           allow for disposing the system clock.
14414         * tools/gst-launch.c: (main):
14415           deinit
14416
14417 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14418
14419         * docs/gst/tmpl/gstbasesrc.sgml:
14420         * docs/gst/tmpl/gstfakesrc.sgml:
14421         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14422         (gst_base_src_init), (gst_base_src_set_property),
14423         (gst_base_src_get_property), (gst_base_src_get_range),
14424         (gst_base_src_start):
14425         * gst/base/gstbasesrc.h:
14426           add num-buffers property
14427         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14428         (gst_fakesrc_init), (gst_fakesrc_set_property),
14429         (gst_fakesrc_get_property), (gst_fakesrc_create),
14430         (gst_fakesrc_start):
14431           remove num-buffers property
14432
14433 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14434
14435         * docs/gst/gstreamer-sections.txt:
14436         * docs/gst/tmpl/gstbasesink.sgml:
14437         * docs/gst/tmpl/gstbasesrc.sgml:
14438         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
14439         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
14440         (gst_base_sink_finalize), (gst_base_sink_set_clock),
14441         (gst_base_sink_set_property), (gst_base_sink_get_property),
14442         (gst_base_sink_handle_object), (gst_base_sink_event),
14443         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14444         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
14445         (gst_base_sink_loop), (gst_base_sink_deactivate),
14446         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
14447         (gst_base_sink_change_state):
14448         * gst/base/gstbasesink.h:
14449         * gst/base/gstbasesrc.h:
14450         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
14451         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
14452         (gst_filesink_init):
14453           more macro splitting
14454
14455 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14456
14457         * gst/gstelement.c: (gst_element_get_bus):
14458           add debug
14459         * tools/gst-launch.c: (check_intr), (event_loop):
14460           fix bus leaks
14461
14462 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14463
14464         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
14465           fix a caps leak
14466
14467 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14468
14469         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14470         (gst_base_src_finalize):
14471           add finalize method and clean up properly
14472         * gst/gstpipeline.c: (gst_pipeline_dispose):
14473           add debug
14474
14475 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14476
14477         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
14478         (gst_bin_suite):
14479           add more things to check
14480         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14481         * gst/gstelement.c:
14482           more debug
14483
14484 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14485
14486         * check/elements/gstfakesrc.c: (chain_func), (event_func),
14487         (GST_START_TEST), (fakesrc_suite):
14488         * check/gst-libs/gdp.c: (GST_START_TEST):
14489         * check/gst/gst.c: (GST_START_TEST):
14490         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14491         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14492         * check/gst/gstbus.c: (GST_START_TEST):
14493         * check/gst/gstcaps.c: (GST_START_TEST):
14494         * check/gst/gstdata.c: (GST_START_TEST):
14495         * check/gst/gstelement.c: (GST_START_TEST):
14496         * check/gst/gstghostpad.c: (GST_START_TEST):
14497         * check/gst/gstiterator.c: (GST_START_TEST):
14498         * check/gst/gstmessage.c: (GST_START_TEST):
14499         * check/gst/gstobject.c: (GST_START_TEST):
14500         * check/gst/gstpad.c: (GST_START_TEST):
14501         * check/gst/gststructure.c: (GST_START_TEST):
14502         * check/gst/gstsystemclock.c: (GST_START_TEST),
14503         (gst_systemclock_suite):
14504         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14505         * check/gst/gstvalue.c: (GST_START_TEST):
14506         * check/pipelines/cleanup.c: (GST_START_TEST):
14507         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14508         * check/states/sinks.c: (GST_START_TEST):
14509         * check/gstcheck.c: (gst_check_init):
14510         * check/gstcheck.h:
14511           add debugging category
14512           use GST_START_TEST now, so we add a debug line
14513
14514 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14515
14516         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
14517           add test for state change message on a bin
14518         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
14519           add another test
14520         * gst/gstbin.c: (gst_bin_init):
14521         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
14522         * gst/gstelement.c: (gst_element_post_message),
14523         (gst_element_set_state):
14524         * gst/gstelementfactory.c: (gst_element_factory_create):
14525         * gst/gstmessage.c: (gst_message_new):
14526         * gst/gstscheduler.c:
14527           various debugging additions and cleanups
14528
14529 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14530
14531         * check/Makefile.am:
14532         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
14533         (main):
14534           adding tests for elements
14535         * gst/gstelement.c: (gst_element_dispose):
14536
14537 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14538
14539         * gst/registries/gstlibxmlregistry.c: (load_feature):
14540           plug more leaks.  A simple gst_init() now is leakfree, yay.
14541
14542 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14543
14544         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
14545         (gst_xml_registry_load):
14546           plug another memleak
14547
14548 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14549
14550         * configure.ac:
14551           use GST_SET_ERROR_CFLAGS
14552         * docs/faq/cvs.xml:
14553           change to ERROR_CFLAGS
14554
14555 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14556
14557         * configure.ac:
14558           make GST_ERROR_CFLAGS overridable and re-enable Werror
14559         * docs/faq/cvs.xml:
14560           add a note about error CFLAGS
14561         * docs/gst/tmpl/gstfakesrc.sgml:
14562         * gst/elements/gstfakesrc.c:
14563           comment out some unused code
14564         * gst/gst.c: (split_and_iterate):
14565         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
14566         (load_feature):
14567           plug some memleaks
14568
14569 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14570
14571         * common/Makefile.am:
14572         * common/gtk-doc.mak:
14573         * docs/gst/Makefile.am:
14574           factor out gtk-doc.mak
14575
14576 2005-07-07  Wim Taymans  <wim@fluendo.com>
14577
14578         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
14579         (gst_thread_scheduler_dispose):
14580         Unlock the STREAM_LOCK completely.
14581
14582 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14583
14584         * check/Makefile.am:
14585         * check/elements/.cvsignore:
14586         * check/elements/gstfakesrc.c: (chain_func), (event_func),
14587         (START_TEST), (fakesrc_suite), (main):
14588         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14589         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
14590         (gst_fakesrc_create), (gst_fakesrc_start):
14591         * gst/elements/gstfakesrc.h:
14592           adding a first element test
14593
14594 2005-07-07  Andy Wingo  <wingo@pobox.com>
14595
14596         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
14597         debug message.
14598
14599 2005-07-07  Wim Taymans  <wim@fluendo.com>
14600
14601         * gst/gstquery.c:
14602         * gst/gstquery.h:
14603         Remove old types
14604
14605 2005-07-07  Wim Taymans  <wim@fluendo.com>
14606
14607         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
14608         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
14609         Allow subclasses to implement their own negotiation.
14610
14611 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
14612
14613         * docs/design/part-gstbin.txt:
14614         * docs/design/part-gstpipeline.txt:
14615           Update design notes to reflect the movement of
14616           responsibility for bus handling from GstPipeline to
14617           GstBin
14618
14619 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
14620
14621         * configure.ac:
14622           Remove unnecessary queue2/3/4 examples.
14623
14624 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
14625
14626         * examples/Makefile.am:
14627         * examples/helloworld/helloworld.c: (event_loop), (main):
14628         * examples/queue/queue.c: (event_loop), (main):
14629         * examples/queue2/queue2.c: (main):
14630           Update a couple of the examples to work again.
14631
14632         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14633         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
14634          Spelling corrections and extra debug.
14635         
14636         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
14637         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
14638         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
14639         * gst/gstbin.h:
14640         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
14641         (gst_pipeline_change_state):
14642         * gst/gstpipeline.h:
14643           Move the bus handler for children to the GstBin, and create a
14644           separate bus for receiving messages from children to the one the
14645           bus sends 'upwards' on.
14646
14647 2005-07-06  Wim Taymans  <wim@fluendo.com>
14648
14649         * gst/base/README:
14650         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14651         (gst_base_sink_handle_object), (gst_base_sink_loop),
14652         (gst_base_sink_change_state):
14653         * gst/base/gstbasesink.h:
14654         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14655         (gst_base_src_init), (gst_base_src_setcaps),
14656         (gst_base_src_getcaps), (gst_base_src_loop),
14657         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
14658         (gst_base_src_start), (gst_base_src_change_state):
14659         * gst/base/gstbasesrc.h:
14660         Make basesrc negotiate.
14661         Handle the case where preroll fails in basesink.
14662         Update README.
14663
14664 2005-07-06  Wim Taymans  <wim@fluendo.com>
14665
14666         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
14667         Implement the fixate function.
14668         Clean up acceptcaps.
14669
14670 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14671
14672         * docs/pwg/building-filterfactory.xml:
14673         * docs/pwg/pwg.xml:
14674           Remove never-written filter-factory chapter; I'll add the various
14675           base classes to part 4 ("other element types") later on.
14676
14677 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14678
14679         * docs/pwg/advanced-negotiation.xml:
14680         * docs/pwg/building-boiler.xml:
14681         * docs/pwg/building-pads.xml:
14682         * docs/pwg/pwg.xml:
14683         * examples/pwg/Makefile.am:
14684           Add a chapter on caps negotiation, simplify the original code
14685           samples a bit w.r.t. caps negotiation, add link to the advanced
14686           section. Add a bunch of examples showing different use cases of
14687           different types of caps negotiation. Upstream renegotiation isn't
14688           fully documented yet since nobody knows how that works.
14689
14690 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14691
14692         * check/gst/gstpad.c:
14693         * check/gstcheck.c:
14694         * gst/gstpad.c: (gst_pad_get_internal_links_default):
14695           if pad has no parent, return NULL as list of internal links
14696
14697 2005-07-05  Andy Wingo  <wingo@pobox.com>
14698
14699         * gst/elements/gstfilesrc.c:
14700         * gst/elements/gstfakesrc.c: 
14701         * gst/base/gstpushsrc.c:
14702         * gst/base/gstbasesrc.h: 
14703         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
14704         
14705 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
14706
14707         * Makefile.am:
14708           better report generation target (lcov needs a patch)
14709
14710 2005-07-05  Andy Wingo  <wingo@pobox.com>
14711
14712         * gst/elements, testsuite: Null if we got it...
14713
14714 2005-07-05  Wim Taymans  <wim@fluendo.com>
14715
14716         * configure.ac:
14717         * libs/gst/dataprotocol/Makefile.am:
14718         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
14719         * libs/gst/dataprotocol/dataprotocol.h:
14720         * pkgconfig/Makefile.am:
14721         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
14722         * pkgconfig/gstreamer-dataprotocol.pc.in:
14723         Ported dataprotol to 0.9. 
14724         Added pkgconfig files.
14725
14726 2005-07-05  Andy Wingo  <wingo@pobox.com>
14727
14728         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
14729         Default to returning TRUE for the case when tranform_caps returns
14730         a fixed caps, like for identity or volume.
14731
14732         * check/gst/gstbus.c (pound_bus_with_messages): 
14733         * check/gst/gstmessage.c (START_TEST): 
14734         * check/pipelines/simple_launch_lines.c (got_handoff): Application
14735         message API change.
14736
14737         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
14738         logic weaks here: always run transform_caps, trying passthrough
14739         operation only if the original caps intersects with the transform.
14740
14741         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
14742         source and sink caps.
14743
14744         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
14745         Intersect the peer caps with the pad template before going into
14746         transform_caps.
14747         (gst_base_transform_transform_caps): More debugging.
14748
14749         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
14750         src argument.
14751
14752 2005-07-04  Edward Hervey  <edward@fluendo.com>
14753
14754         * gst/gstutils.c:
14755         * gst/gstutils.h:
14756         (gst_pad_add_*_probe): now returns the signal id for better wrapping
14757         in bindings.
14758
14759 2005-07-04  Andy Wingo  <wingo@pobox.com>
14760
14761         * check/gst/gstpad.c: Only set explicit caps on pads.
14762
14763 2005-07-01  Andy Wingo  <wingo@pobox.com>
14764
14765         * tests/network-clock.scm: Commentary update.
14766
14767         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
14768         Didn't really make sense, not implementable with basetransform,
14769         etc.
14770         (gst_identity_transform): Unref inbuf via make_writable. Feeble
14771         attempt at implementing the sync property, needs an unlock method.
14772
14773         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
14774         New func, by default returns the same caps (the identity
14775         transformation).
14776         (gst_base_transform_getcaps): Uses transform_caps to return
14777         something sensible.
14778         (gst_base_transform_setcaps): Complicated logic to get caps on
14779         both pads, even if they are different, and to call set_caps once
14780         for every time both pads get their caps set.
14781         (gst_base_transform_handle_buffer): Give the ref to the transform
14782         function. Allows in-place modification of the buffer.
14783
14784         * gst/base/gstbasetransform.h (transform_caps): New class method.
14785         Given caps on one side, what can I do on the other.
14786         (set_caps): Take two caps, one for each side of the element.
14787
14788         * gst/gstpad.h:
14789         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
14790         caps in place. This is safe because we can check the mutability of
14791         the caps, and a good idea because fixate functions are just called
14792         as a matter of last resort. (Not actually implemented.)
14793         (gst_pad_set_caps): If the caps we're setting is actually the same
14794         as the existing pad caps, just update the pointer without calling
14795         setcaps. Assert that caps is either NULL or fixed, as per the
14796         docs.
14797
14798         * gst/gstghostpad.c: Update for fixate changes.
14799
14800 2005-07-02  Andy Wingo  <wingo@pobox.com>
14801
14802         * gst/gstcaps.c:
14803         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
14804         two refcounts makes it immutable, which is enough. Doc more.
14805
14806 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
14807
14808         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
14809           Put the mini_object into GValue as a mini_object,
14810           not a gpointer, since that's how we declared
14811           the signal.
14812
14813 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14814
14815         * examples/pwg/Makefile.am:
14816           Fix buildbot again.
14817
14818 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14819
14820         * docs/pwg/building-testapp.xml:
14821           Add extra check.
14822         * examples/pwg/Makefile.am:
14823           Fix buildbot.
14824
14825 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14826
14827         * configure.ac:
14828         * examples/Makefile.am:
14829         * examples/pwg/Makefile.am:
14830         * examples/pwg/extract.pl:
14831           Enable building the PWG examples.
14832         * docs/pwg/advanced-interfaces.xml:
14833           Add URI interface stub.
14834         * docs/pwg/advanced-types.xml:
14835         * docs/pwg/other-autoplugger.xml:
14836         * docs/pwg/appendix-porting.xml:
14837         * docs/pwg/pwg.xml:
14838           Add porting guide (mostly stubs), remove autoplugging (see ADM).
14839         * docs/pwg/building-boiler.xml:
14840         * docs/pwg/building-chainfn.xml:
14841         * docs/pwg/building-pads.xml:
14842         * docs/pwg/building-props.xml:
14843         * docs/pwg/building-state.xml:
14844         * docs/pwg/building-testapp.xml:
14845           Update the building-*.xml parts for 0.9 changes. All examples
14846           code blocks compile in examples/pwg/*.
14847
14848 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14849
14850         * docs/manual/advanced-autoplugging.xml:
14851         * docs/manual/appendix-checklist.xml:
14852         * docs/manual/appendix-integration.xml:
14853         * docs/manual/highlevel-components.xml:
14854           Fix playbin/decodebin examples, update docs a bit, mention bus
14855           instead of signals in various places, mention kmplayer and
14856           kaffeine since they have a working GStreamer backend in the KDE
14857           section.
14858
14859 2005-06-30  Wim Taymans  <wim@fluendo.com>
14860
14861         * CHANGES-0.9:
14862         * docs/design/draft-ghostpads.txt:
14863         * docs/design/draft-push-pull.txt:
14864         * docs/design/draft-query.txt:
14865         * docs/design/part-TODO.txt:
14866         * docs/design/part-query.txt:
14867         Added CHANGES-0.9 doc, updated status of other docs.
14868         
14869         * gst/gstquery.h:
14870         Remove "hmm" macro
14871
14872 2005-06-30  Wim Taymans  <wim@fluendo.com>
14873
14874         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14875         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
14876         (gst_base_sink_change_state):
14877         * gst/base/gstbasesink.h:
14878         Some tweaks, only EOS and a buffer complete a preroll.
14879
14880 2005-06-30  Andy Wingo  <wingo@pobox.com>
14881
14882         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
14883         activate_push down to the internal pad as well.
14884
14885 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
14886
14887         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14888
14889         * gst/gsttaginterface.c:
14890           Some documentation fixes (#307394 and #307397).
14891
14892 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
14893
14894         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14895
14896         * gst/gstvalue.c: (gst_value_intersect_list):
14897           Fix memleak (#309125).
14898
14899 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14900
14901         * docs/manual/advanced-dataaccess.xml:
14902           Fix fakesrc example to compile; doesn't work, bug somewhere...?
14903         * docs/manual/basics-pads.xml:
14904           Add reference for filtered caps to above chapter.
14905
14906 2005-06-30  Wim Taymans  <wim@fluendo.com>
14907
14908         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
14909         (gst_bin_change_state):
14910         Probes are gone.
14911         Lame attempt at making the state change function a bit
14912         more readable.
14913
14914 2005-06-30  Wim Taymans  <wim@fluendo.com>
14915
14916         * docs/design/part-clocks.txt:
14917         * docs/design/part-element-sink.txt:
14918         * docs/design/part-events.txt:
14919         * docs/design/part-preroll.txt:
14920         * docs/design/part-states.txt:
14921         Some more tweeks and additions to the docs.
14922
14923 2005-06-30  Wim Taymans  <wim@fluendo.com>
14924
14925         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14926         (default_have_data), (gst_pad_class_init), (gst_pad_init),
14927         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14928         (gst_pad_check_pull_range), (gst_pad_get_range),
14929         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
14930         * gst/gstpad.h:
14931         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
14932         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14933         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14934         (gst_pad_remove_buffer_probe):
14935         Removed atomic operations, use existing LOCK.
14936         Move exception handling out of main code path.
14937
14938 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14939
14940         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14941         (silly_return_true_function), (gst_pad_class_init),
14942         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14943         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
14944         (gst_pad_send_event):
14945           Fix accumulator, add default value by using _emitv() instead
14946           of _emit() for signal emission.
14947
14948 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14949
14950         * docs/manual/advanced-dataaccess.xml:
14951         * examples/manual/Makefile.am:
14952           Add probe example.
14953         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
14954           Make work (??).
14955
14956 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
14957
14958         * gst/elements/gstfilesink.c: (gst_filesink_render):
14959           Simplify code so that we don't have to handle short
14960           writes and return GST_FLOW_ERROR if an error occured.
14961
14962 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14963
14964         * docs/gst/gstreamer-docs.sgml:
14965           Remove probes more.
14966
14967 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14968
14969         * docs/gst/gstreamer-sections.txt:
14970         * docs/gst/tmpl/gstpad.sgml:
14971         * docs/gst/tmpl/gstprobe.sgml:
14972         * gst/Makefile.am:
14973         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14974         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
14975         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
14976         (gst_pad_push_event), (gst_pad_send_event):
14977         * gst/gstpad.h:
14978         * gst/gstutils.c: (gst_pad_add_data_probe),
14979         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14980         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14981         (gst_pad_remove_buffer_probe):
14982         * gst/gstutils.h:
14983           Remove old probes, add new g-signal-based probes and some utility
14984           functions.
14985
14986 2005-06-29  Edward Hervey  <edward@fluendo.com>
14987
14988         * gst/gstelementfactory.c:
14989         * gst/gstutils.h:
14990         * gst/gstutils.c:
14991         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
14992         the definition to the header file.
14993
14994 2005-06-29  Andy Wingo  <wingo@pobox.com>
14995
14996         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
14997         plugins from the source directory.
14998
14999 2005-06-29  Wim Taymans  <wim@fluendo.com>
15000
15001         * docs/gst/tmpl/gstbuffer.sgml:
15002         * docs/gst/tmpl/gstclock.sgml:
15003         Some fixings for blantently wrong text.
15004
15005 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15006
15007         * check/Makefile.am:
15008         * gst/gst.c: (add_path_func), (init_pre):
15009         * gst/gstregistry.c: (gst_registry_add_path):
15010           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
15011           only scan the GST_PLUGIN_PATH locations, and not add
15012           system locations
15013
15014 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15015
15016         * docs/gst/gstreamer-sections.txt:
15017         * docs/gst/tmpl/gstbasesrc.sgml:
15018         * gst/gstelement.c:
15019         * gst/gstelement.h:
15020         * gst/gstevent.c:
15021         * gst/gstutils.c:
15022           doc fixes
15023
15024 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15025
15026         * docs/manual/advanced-autoplugging.xml:
15027           Fix autoplugging example.
15028
15029 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15030
15031         * docs/manual/advanced-autoplugging.xml:
15032         * docs/manual/mime-world.fig:
15033           Try to get autoplugging working, fix type detection. Fix text
15034           in hello-world image.
15035
15036 2005-06-29  Wim Taymans  <wim@fluendo.com>
15037
15038         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15039         (gst_base_sink_change_state):
15040         Small debug line.
15041
15042         * gst/gstclock.h:
15043         map SIGNAL and BROADCAST to the right function.
15044
15045         * gst/gstobject.h:
15046         Remove redundant braces.
15047
15048         * gst/gstpad.c: (gst_pad_set_caps):
15049         Don't call setcaps function when reseting caps to NULL.
15050
15051         * gst/gstsystemclock.c: (gst_system_clock_dispose),
15052         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
15053         (gst_system_clock_id_unschedule):
15054         Use BROADCAST as this is what we do.
15055
15056 2005-06-29  Wim Taymans  <wim@fluendo.com>
15057
15058         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15059         We are actually prerolling before commiting the state
15060         change. 
15061
15062 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15063
15064         * docs/manual/advanced-clocks.xml:
15065         * docs/manual/advanced-interfaces.xml:
15066         * docs/manual/advanced-metadata.xml:
15067         * docs/manual/advanced-position.xml:
15068         * docs/manual/advanced-schedulers.xml:
15069         * docs/manual/advanced-threads.xml:
15070         * docs/manual/appendix-porting.xml:
15071         * docs/manual/basics-bins.xml:
15072         * docs/manual/basics-bus.xml:
15073         * docs/manual/basics-elements.xml:
15074         * docs/manual/basics-helloworld.xml:
15075         * docs/manual/basics-pads.xml:
15076         * docs/manual/highlevel-components.xml:
15077         * docs/manual/manual.xml:
15078         * docs/manual/thread.fig:
15079           Update (until threads/scheduling) Application Development Manual;
15080           remove GstThread, add GstBus, add simple porting checklist, add
15081           documentation for tag writing, clocks, make all examples until this
15082           part compile and run.
15083         * examples/manual/Makefile.am:
15084           Update from changes to Application Development Manual; add bus
15085           example, remove thread example.
15086
15087 2005-06-28  Wim Taymans  <wim@fluendo.com>
15088
15089         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
15090         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
15091         (gst_bus_source_dispatch):
15092         Add debugging messages.
15093         Make internal methods static.
15094         Handle the case where the bus is flushed in the handler.
15095         
15096         * gst/gstelement.c: (gst_element_get_bus):
15097         Fix refcount in _get_bus();
15098
15099         * gst/gstpipeline.c: (gst_pipeline_change_state),
15100         (gst_pipeline_get_clock_func):
15101         Clock refcounting fixes.
15102         Handle the case where preroll timed out more gracefully.
15103         
15104         * gst/gstsystemclock.c: (gst_system_clock_dispose):
15105         Clean up the internal thread in dispose. This is needed
15106         for subclasses that actually get disposed.
15107         
15108         * gst/schedulers/threadscheduler.c:
15109         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
15110         (gst_thread_scheduler_dispose):
15111         Free thread pool in dispose.
15112
15113 2005-06-28  Andy Wingo  <wingo@pobox.com>
15114
15115         * tests/network-clock-utils.scm (debug, print-event): New utils.
15116
15117         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
15118         (*packet-loss*): Unified loss probability.
15119         (network-time): Report out-of-band events.
15120
15121         * tests/plot-data: Add support for out-of-band events. Hack it
15122         into this script instead of passing it down the pipe; should fix
15123         this later.
15124
15125 2005-06-28  Wim Taymans  <wim@fluendo.com>
15126
15127         * docs/gst/gstreamer.types:
15128         * docs/gst/tmpl/gstbasesrc.sgml:
15129         * docs/gst/tmpl/gstpad.sgml:
15130         Docs fixes.
15131
15132 2005-06-28  Wim Taymans  <wim@fluendo.com>
15133
15134         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15135         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
15136         (gst_proxy_pad_do_fixatecaps):
15137         Correctly proxy the check_pull_range function.
15138
15139 2005-06-28  Andy Wingo  <wingo@pobox.com>
15140
15141         * tests/network-clock.scm: Removed need for slib.
15142         
15143 2005-06-28  Wim Taymans  <wim@fluendo.com>
15144
15145         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
15146         (gst_basesink_preroll_queue_flush):
15147         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
15148         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
15149         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15150         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15151         (gst_proxy_pad_set_property):
15152         * gst/gstpad.c:
15153         * gst/gstpad.h:
15154         * gst/gstqueue.c: (gst_queue_init):
15155         The deprecated pad loop function is removed now.
15156
15157 2005-06-28  Andy Wingo  <wingo@pobox.com>
15158
15159         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
15160         New parameters, simulate network packet loss.
15161
15162         * tests/network-clock-utils.scm: Initialize the RNG.
15163
15164 2005-06-28  Wim Taymans  <wim@fluendo.com>
15165
15166         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
15167         (gst_basesink_event), (gst_basesink_deactivate):
15168         Flushing the preroll queue always needs to unlock the waiters.
15169
15170 2005-06-28  Edward Hervey  <edward@fluendo.com>
15171
15172         * gst/gstpipeline.c: (gst_pipeline_send_event): 
15173         Wheen a seek was successful on a pipeline, set the stream_time to the
15174         seek offset in order to have a synchronized stream_time.
15175
15176 2005-06-28  Wim Taymans  <wim@fluendo.com>
15177
15178         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15179         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
15180         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
15181         (gst_proxy_pad_do_fixatecaps):
15182         Call wrapper function instead of just calling the function
15183         pointers. This takes care of any locking and whatmore.
15184
15185 2005-06-28  Wim Taymans  <wim@fluendo.com>
15186
15187         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
15188         (gst_pad_pull_range):
15189         * gst/gstpad.h:
15190         CONNECTED -> LINKED.
15191
15192 2005-06-28  Andy Wingo  <wingo@pobox.com>
15193
15194         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
15195         source-munging commit!!!
15196
15197         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
15198         (gst_object_sink): Take gpointer arguments, not GstObject --
15199         avoids casts. Like GLib.
15200
15201         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
15202         activate.
15203
15204 2005-06-27  Andy Wingo  <wingo@pobox.com>
15205
15206         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
15207         remaining buffer.
15208
15209         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
15210         returns a sorted copy of the trace list.
15211         (gst_alloc_trace_print_live): New API, only prints traces with
15212         live objects. Sort the list.
15213         (gst_alloc_trace_print_all): Sort the list.
15214         (gst_alloc_trace_print): Align columns.
15215
15216         * gst/elements/gstttypefindelement.c:
15217         * gst/elements/gsttee.c:
15218         * gst/base/gstbasesrc.c:
15219         * gst/base/gstbasesink.c:
15220         * gst/base/gstbasetransform.c:
15221         * gst/gstqueue.c: Adapt for pad activation changes.
15222
15223         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
15224         sched.
15225         (gst_pipeline_dispose): Drop ref on sched.
15226
15227         * gst/gstpad.c (gst_pad_init): Set the default activate func.
15228         (gst_pad_activate_default): Push mode by default.
15229         (pre_activate_switch, post_activate_switch): New stubs, things to
15230         do before and after switching activation modes on pads.
15231         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
15232         the pad's activate function to choose which mode to activate.
15233         Shortcut on deactivation and call the right function directly.
15234         (gst_pad_activate_pull): New API, (de)activates a pad in pull
15235         mode.
15236         (gst_pad_activate_push): New API, same for push mode.
15237         (gst_pad_set_activate_function) 
15238         (gst_pad_set_activatepull_function) 
15239         (gst_pad_set_activatepush_function): Setters for new API.
15240
15241         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
15242         Trace all miniobjects.
15243         (gst_mini_object_make_writable): Unref the arg if we copy, like
15244         gst_caps_make_writable.
15245
15246         * gst/gstmessage.c (_gst_message_initialize): No trace init.
15247
15248         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
15249         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
15250         Adapt for new pad API.
15251
15252         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
15253
15254         * gst/gstelement.h:
15255         * gst/gstelement.c (gst_element_iterate_src_pads) 
15256         (gst_element_iterate_sink_pads): New API functions.
15257         
15258         * gst/gstelement.c (iterator_fold_with_resync): New utility,
15259         should fold into gstiterator.c in some form.
15260         (gst_element_pads_activate): Simplified via use of fold and
15261         delegation of decisions to gstpad->activate.
15262
15263         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
15264         help in debugging.
15265
15266         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
15267         class once in init, like gstmessage. Didn't run into this issue
15268         but it seems correct. Don't initialize a trace, gstminiobject does
15269         that.
15270
15271         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
15272         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
15273         to the bus.
15274         (assert_live_count): New util function, uses alloc traces to check
15275         cleanup.
15276
15277         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
15278         To be modified when unlink drops the internal pad.
15279
15280 2005-06-27  Wim Taymans  <wim@fluendo.com>
15281
15282         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
15283         (gst_bin_change_state):
15284         Cleanup the get_state() function a little, make sure it
15285         iterates the same set of elements.
15286         Added stub iterate_state_order().
15287
15288 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15289
15290         * docs/gst/gstreamer-docs.sgml:
15291         * docs/gst/gstreamer-sections.txt:
15292         * docs/gst/gstreamer.types:
15293         * docs/gst/tmpl/gstbasesink.sgml:
15294         * docs/gst/tmpl/gstbasesrc.sgml:
15295         * docs/gst/tmpl/gstbasetransform.sgml:
15296         * docs/gst/tmpl/gstelement.sgml:
15297         * docs/gst/tmpl/gstiterator.sgml:
15298         * gst/base/gstbasesrc.c:
15299         * gst/base/gstbasesrc.h:
15300         * gst/base/gstbasetransform.h:
15301         * gst/gstelement.c:
15302         * gst/gstiterator.h:
15303           adding basetransform and iterator docs
15304
15305 2005-06-27  Andy Wingo  <wingo@pobox.com>
15306
15307         * docs/design/part-activation.txt: Notes on how activation should
15308         work -- not quite implemented yet.
15309
15310 2005-06-25  Wim Taymans  <wim@fluendo.com>
15311
15312         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
15313         At least get the chain function correct, needs more
15314         fixing.
15315
15316 2005-06-25  Wim Taymans  <wim@fluendo.com>
15317
15318         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15319         (gst_basesink_handle_object), (gst_basesink_event),
15320         (gst_basesink_do_sync), (gst_basesink_handle_event),
15321         (gst_basesink_change_state):
15322         * gst/gsttask.h:
15323         Right, two problems here: ghostpads don't take locks and
15324         glib _rec_mutex_lock_full() with depth==0 still locks.
15325         Catch illegal locking and g_warn them.
15326
15327 2005-06-25  Wim Taymans  <wim@fluendo.com>
15328
15329         * check/states/sinks.c: (START_TEST), (gst_object_suite):
15330         Have to check for completion now...
15331
15332 2005-06-25  Wim Taymans  <wim@fluendo.com>
15333
15334         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15335         (gst_basesink_handle_object), (gst_basesink_event),
15336         (gst_basesink_do_sync), (gst_basesink_handle_event),
15337         (gst_basesink_change_state):
15338         * gst/gstpad.h:
15339         Unlock STREAM_LOCK whatever the recursion was.
15340
15341 2005-06-25  Wim Taymans  <wim@fluendo.com>
15342
15343         * gst/base/gstbasesink.c: (gst_basesink_set_property),
15344         (gst_basesink_preroll_queue_empty),
15345         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
15346         (gst_basesink_event), (gst_basesink_do_sync),
15347         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
15348         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
15349         (gst_basesink_change_state):
15350         Reworked the base sink, handle event and buffer serialisation
15351         correctly and removed possible deadlock.
15352         Handle EOS correctly.
15353
15354 2005-06-25  Wim Taymans  <wim@fluendo.com>
15355
15356         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
15357         (gst_pipeline_change_state):
15358         * tools/gst-launch.c: (check_intr), (event_loop), (main):
15359         Allow elements to post EOS in the state change function.
15360         Fix up -launch, make it exit the poll loop when the
15361         pipeline actually changed state.
15362         Fix up warning parsing in -launch.
15363
15364 2005-06-25  Wim Taymans  <wim@fluendo.com>
15365
15366         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
15367         (gst_tee_sink_activate):
15368         Core takes STREAM_LOCK for us now.
15369
15370 2005-06-25  Wim Taymans  <wim@fluendo.com>
15371
15372         * gst/gstelement.c: (gst_element_get_state_func),
15373         (gst_element_set_state):
15374         * gst/gstelement.h:
15375         * gst/gstmessage.c: (gst_message_parse_error),
15376         (gst_message_parse_warning):
15377         Keep track of current target state while performing a state
15378         change so that subclasses can do something interesting.
15379         Fix parsing of warning/error messages when GError is NULL.
15380
15381 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15382
15383         * docs/gst/Makefile.am:
15384         * docs/gst/gstreamer-docs.sgml:
15385         * docs/gst/gstreamer-sections.txt:
15386         * docs/gst/gstreamer.types:
15387         * docs/gst/tmpl/gstbasesink.sgml:
15388         * docs/gst/tmpl/gstbasesrc.sgml:
15389         * docs/gst/tmpl/gstbin.sgml:
15390         * docs/gst/tmpl/gstcompat.sgml:
15391         * docs/gst/tmpl/gstfakesink.sgml:
15392         * docs/gst/tmpl/gstfakesrc.sgml:
15393         * docs/gst/tmpl/gstfilesink.sgml:
15394         * docs/gst/tmpl/gstfilesrc.sgml:
15395         * docs/gst/tmpl/gstindex.sgml:
15396         * docs/manual/appendix-quotes.xml:
15397         * gst/base/gstbasesrc.h:
15398         * gst/elements/gstfakesrc.h:
15399         * gst/gstmessage.h:
15400           start pulling in base classes and elements in our docs
15401
15402 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
15403
15404         * docs/gst/Makefile.am:
15405         * docs/libs/Makefile.am:
15406           fixed make distcheck with gtk-doc 1.3
15407
15408 2005-06-23  Wim Taymans  <wim@fluendo.com>
15409
15410         * gst/gstelement.c: (gst_element_get_state_func),
15411         (gst_element_set_state), (gst_element_change_state):
15412         When the state did not change, also report NO_PREROLL
15413         when it matters.
15414
15415 2005-06-23  Wim Taymans  <wim@fluendo.com>
15416
15417         * gst/gstpad.c: (gst_pad_event_default):
15418         * gst/gstqueue.c: (gst_queue_loop):
15419         No unsafe task pausing please.
15420
15421 2005-06-23  Wim Taymans  <wim@fluendo.com>
15422
15423         * gst/schedulers/threadscheduler.c:
15424         (gst_thread_scheduler_task_start),
15425         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
15426         Ref the task before pushing it on the threadpool. This
15427         makes sure that we have a ref when the threadfunction is
15428         actually called.
15429
15430 2005-06-23  Andy Wingo  <wingo@pobox.com>
15431
15432         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
15433         offset is greater than the file's size.
15434
15435         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
15436         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
15437         * gst/gstobject.c (gst_object_class_init): Make the class lock
15438         recursive. Wim won't let me drop deep_notify. Decodebin works
15439         again, whoopdy doo.
15440
15441         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
15442         internal pad, and hacks accordingly. Doesn't do it on the target
15443         pad because we change its caps. Probably catches all cases of
15444         interest tho.
15445         (gst_ghost_pad_set_property): Connect to notify::caps as
15446         appropritate.
15447
15448         * tests/network-clock.scm (plot-simulation): Pipe data to the
15449         elite python skript.
15450
15451         * tests/network-clock-utils.scm (define-parameter): New macro,
15452         defines a parameter that can be set via the command line.
15453         (set-parameter!, parse-parameter-arguments): Command line args
15454         parser.
15455
15456         * tests/plot-data: Simple matplotlib-based plotter, takes input on
15457         stdin.
15458
15459 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
15460
15461         * gst/elements/gsttypefindelement.c:
15462         (gst_type_find_element_handle_event):
15463           Don't restart typefinding on a discont.
15464         * gst/gstelement.c: (gst_element_set_state):
15465           Debug spelling fix.
15466         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
15467           Allow changing mode of an active pad.
15468           Debug output fixes.
15469         * gst/registries/gstlibxmlregistry.c: (load_feature):
15470           Don't cast a static pad template to a normal pad template.
15471
15472 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15473
15474         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15475         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15476           remove gst_strtoll completely, since it didn't actually do
15477           anything more than what g_ascii_strtoull already does.
15478           check for range errors when deserializing
15479           do a cast for the unsigned cases; but further fixing needs
15480           a decision on what the interpretation of "(int)" and
15481           deserialization should be for values that fall outside the
15482           type's boundaries (ie, refuse, or interpret as casting)
15483
15484 2005-06-23  Wim Taymans  <wim@fluendo.com>
15485
15486         * check/Makefile.am:
15487         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
15488         * docs/design/part-live-source.txt:
15489         * docs/design/part-states.txt:
15490         * gst/base/gstbasesrc.c: (gst_basesrc_init),
15491         (gst_basesrc_set_live), (gst_basesrc_is_live),
15492         (gst_basesrc_get_range), (gst_basesrc_activate),
15493         (gst_basesrc_change_state):
15494         * gst/base/gstbasesrc.h:
15495         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15496         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
15497         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
15498         * gst/gstelement.c: (gst_element_get_state_func),
15499         (gst_element_set_state):
15500         * gst/gstelement.h:
15501         * gst/gsttypes.h:
15502         * tools/gst-launch.c: (event_loop), (main):
15503         Added support for live sources and other elements that
15504         cannot do preroll.
15505         Updated design docs, added live-source design doc.
15506         Implemented live source functionality in basesrc
15507         Fix error condition in _bin_get_state()
15508         Implement live source handling in -launch.
15509         Added check for live sources.
15510         Fixed case in GstBin where elements were changed state
15511         multiple times.
15512
15513
15514 2005-06-23  Andy Wingo  <wingo@pobox.com>
15515
15516         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
15517         borken refcounting.
15518
15519         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
15520         gst_caps_replace takes care of this for us.
15521
15522         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
15523         gst_pad_set_caps on the target, not just its setcaps() function.
15524
15525         * tests/network-clock.scm: 
15526         * tests/network-clock-utils.scm: A network clock simulator.
15527         Something of an algorithmic testbed before doing something in C.
15528
15529 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15530
15531         * check/Makefile.am:
15532         * check/gst/capslist.h:
15533           copy over from 0.8, and add two with bitmasks specified with
15534           (int) 0xFF...
15535         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
15536           add test to parse everything from capslist.h
15537         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
15538         (main):
15539           add test for structure deserialization
15540         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15541           add tests for deserialization of strings to int types
15542         * gst/gststructure.c: (gst_structure_nth_field_name):
15543         * gst/gststructure.h:
15544           add a way to get the name of a field referenced by index
15545         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15546           instead of checking if the resulting long long lies between
15547           min and max, we check if the long long would fit into
15548           a number of bytes for the final type.
15549           This fixes cases where a string represents 2^32 - 1, which
15550           when cast to int would be the (valid) -1, but is bigger than
15551           G_MAXINT
15552
15553 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15554
15555         * gst/parse/grammar.y:
15556           add a log line for type deserialization
15557
15558 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15559
15560         * check/gst/gstvalue.c: (START_TEST):
15561         * gst/gstvalue.c: (gst_value_deserialize):
15562           return long long, not int, so gint64 deserialization actually
15563           works.  Is there any flag that makes the compiler check this ?
15564           Fixes #308559
15565
15566 2005-06-22  Wim Taymans  <wim@fluendo.com>
15567
15568         * gst/gstbuffer.h:
15569         Added convenience macros for setting buffers in GValue.
15570
15571 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
15572
15573         * check/gst/.cvsignore:
15574         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15575           add a test deserializing int64, and comment part out because
15576           it fails, yay !
15577
15578 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
15579
15580         * check/Makefile.am:
15581         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
15582         * testsuite/Makefile.am:
15583         * testsuite/caps/Makefile.am:
15584         * testsuite/caps/value_serialize.c:
15585         * testsuite/test_gst_init.c:
15586           move a value_serialize test over
15587
15588 2005-06-20  Wim Taymans  <wim@fluendo.com>
15589
15590         * gst/gstpad.c:
15591         Small doc updates.
15592         
15593         * gst/gstvalue.c: (gst_value_compare_buffer),
15594         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
15595         (gst_value_compare_flags), (gst_value_serialize_flags),
15596         (gst_value_deserialize_flags), (_gst_value_initialize):
15597         Fix serialisation of buffers, they are not boxed types anymore
15598
15599 2005-06-20  Wim Taymans  <wim@fluendo.com>
15600
15601         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
15602         Testcase to show error in buffer-on-caps serialisation.
15603
15604 2005-06-20  Andy Wingo  <wingo@pobox.com>
15605
15606         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
15607         will be adding to later.
15608
15609         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
15610         if its socks fill with rocks.
15611         (gst_system_clock_obtain): Set the name on object construction.
15612         Avoid double-checked locking.
15613
15614 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
15615
15616         * gst/gsturi.c: (gst_element_make_from_uri):
15617           Fix potential endless loop.
15618
15619 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15620
15621         * check/Makefile.am:
15622           add gsttag
15623         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
15624         (main):
15625           move over from testsuite dir and clean up
15626         * configure.ac:
15627         * gst/gsttag.c:
15628         * testsuite/Makefile.am:
15629         * testsuite/tags/.cvsignore:
15630         * testsuite/tags/Makefile.am:
15631         * testsuite/tags/merge.c:
15632           remove testsuite/tags
15633
15634 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15635
15636         * docs/gst/gstreamer-sections.txt:
15637         * docs/gst/tmpl/gstenumtypes.sgml:
15638         * win32/gstenumtypes.c:
15639           clean up documentation build a little
15640
15641 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15642
15643         * check/gstcheck.h:
15644           add macros for checking refcounts on objects and caps
15645         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
15646           add some more unit tests
15647         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15648         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
15649           fix leaked refcounts (I hope :)) so unittest works
15650         * gst/gstpad.h:
15651           whitespace removal
15652
15653 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15654
15655         * configure.ac: back to HEAD
15656
15657 === release 0.9.1 ===
15658
15659 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15660
15661         * NEWS:
15662         * RELEASE:
15663           updated
15664
15665 2005-06-17  Andy Wingo  <wingo@pobox.com>
15666
15667         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
15668         assert; it's always possible that the pad gets deactivated in
15669         between the checks in gstpad.c and the implementation. Rely on
15670         finish_preroll() to return a FLUSHING or similar instead of on the
15671         assert.
15672         
15673         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
15674         clock and post an EOS message if we come out of finish_preroll in
15675         the playing state.
15676
15677 2005-06-16  David Schleef  <ds@schleef.org>
15678
15679         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
15680         (gst_capsfilter_set_property): Allow NULL as possible value
15681         for filter_caps property, indicating GST_CAPS_ANY.
15682
15683 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15684
15685         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
15686           fix debug output
15687         * gst/schedulers/Makefile.am:
15688           use libgst prefix
15689         * gstreamer.spec.in:
15690           fix spec for it
15691
15692 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15693
15694         * gstreamer.spec.in:
15695           clean up
15696
15697 2005-06-08  Andy Wingo  <wingo@pobox.com>
15698
15699         * gst/gstutils.c: RPAD fixes all around.
15700         (gst_element_link_pads): Refcounting fixes.
15701
15702         * tools/gst-inspect.c:
15703         * tools/gst-xmlinspect.c:
15704         * parse/grammar.y:
15705         * gst/base/gsttypefindhelper.c:
15706         * gst/base/gstbasesink.c:
15707         * gst/gstqueue.c: RPAD fixes.
15708
15709         * gst/gstghostpad.h:
15710         * gst/gstghostpad.c: New ghost pad implementation as full proxy
15711         pads. The tricky thing is they provide both source and sink
15712         interfaces, since they proxy the internal pad for the external
15713         pad, and vice versa. Implement with lower-level ProxyPad objects,
15714         with the interior proxy pad as a child of the exterior ghost pad.
15715         Should write a doc on this.
15716         
15717         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
15718         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
15719         gst_object API.
15720         
15721         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
15722         pads are real pads. No ghost pads in this file. Not documenting
15723         the myriad s/RPAD/PAD/ and REALIZE fixes.
15724         (gst_pad_class_init): Add properties for "direction" and
15725         "template". Both are construct-only, so they can't change during
15726         the life of the pad. Fixes properly deriving from GstPad.
15727         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
15728         derived objects, just set properties when creating the objects via
15729         g_object_new.
15730         (gst_pad_get_parent): Implement as a function, return NULL if the
15731         parent is not an element.
15732         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
15733         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
15734         
15735         * gst/gstobject.c (gst_object_class_init): Make name a construct
15736         property. Don't set it in the object init.
15737
15738         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
15739         with UNKNOWN direction.
15740         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
15741         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
15742         (gst_element_remove_pad): Remove ghost-pad special cases.
15743         (gst_element_pads_activate): Remove rpad cruft.
15744
15745         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
15746         catch the pad's-parent-not-an-element case.
15747
15748         * gst/gst.h: Include gstghostpad.h.
15749
15750         * gst/gst.c (init_post): No more real, ghost pads.
15751
15752         * gst/Makefile.am: Add gstghostpad.[ch].
15753
15754         * check/Makefile.am:
15755         * check/gst/gstbin.c:
15756         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
15757         into a bin creates ghost pads, and that the refcounts are right.
15758         Partly moved from gstbin.c.
15759
15760 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15761
15762         * check/gst-libs/.cvsignore:
15763         * check/gst/.cvsignore:
15764         * check/pipelines/.cvsignore:
15765           ignore more
15766         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
15767         (START_TEST), (cleanup_suite), (main):
15768           add some tests related to cleanup after running pipelines
15769
15770 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15771
15772         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
15773           add a testsuite for GstBuffer
15774
15775 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15776
15777         * gst/gstminiobject.h:
15778           add defines for accessing the refcount
15779
15780 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
15781
15782         * Makefile.am: added support for html unit test coverage reports
15783
15784 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
15785
15786         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15787           Free existing caps if the capsfilter changes. Add a FIXME about
15788           setting those caps on the pads.
15789
15790         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
15791           Before adding a ghost pad to a parent bin, check that there isn't
15792           already one for the element on the bin. Prevents infinite recursion
15793           when using decodebin in parse pipelines. Andy says he'll rewrite the
15794           way this works anyway, so ignore the hack.
15795
15796 2005-06-02  Andy Wingo  <wingo@pobox.com>
15797
15798         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
15799         file size, pass it on to the type find helper.
15800
15801         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
15802         segment_start and segment_end properly according to the seek
15803         method. Segment_end is still a bit flaky because offset can be
15804         negative for CUR and END cases, but it takes -1 as an "unset"
15805         value.
15806
15807 2005-06-02  Wim Taymans  <wim@fluendo.com>
15808
15809         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
15810         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
15811         (gst_basesink_activate):
15812         * gst/base/gstbasesink.h:
15813         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15814         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15815         (gst_pad_query), (gst_pad_start_task):
15816         * gst/gstpad.h:
15817         * gst/gstqueue.c: (gst_queue_bufferalloc),
15818         (gst_queue_handle_sink_event), (gst_queue_chain):
15819         Bufferalloc: return GstFlowReturn to more accuratly report
15820         why allocation failed.
15821
15822 2005-06-02  Wim Taymans  <wim@fluendo.com>
15823
15824         * gst/gstpipeline.c: (gst_pipeline_send_event):
15825         Take snapshot of state without blocking.
15826
15827 2005-06-02  Wim Taymans  <wim@fluendo.com>
15828
15829         * docs/design/part-TODO.txt:
15830         * docs/design/part-caps.txt:
15831         * docs/design/part-clocks.txt:
15832         * docs/design/part-negotiation.txt:
15833         * docs/design/part-preroll.txt:
15834         Small doc updates 
15835
15836 2005-05-30  Wim Taymans  <wim@fluendo.com>
15837
15838         * gst/elements/gstidentity.c: (gst_identity_event),
15839         (gst_identity_transform), (gst_identity_get_property):
15840         Protect last_message property as it is accessed from
15841         multiple threads.
15842
15843 2005-05-30  Wim Taymans  <wim@fluendo.com>
15844
15845         * gst/gstelement.c: (gst_element_init),
15846         (gst_element_pads_activate), (gst_element_change_state):
15847         Slicker pad activation code.
15848
15849 2005-05-30  Wim Taymans  <wim@fluendo.com>
15850
15851         * gst/Makefile.am:
15852         * gst/gstelement.h:
15853         * gst/gstelementfactory.h:
15854         * gst/gsttypes.h:
15855         Move elementfactory methods to separate .h file.
15856
15857 2005-05-30  Wim Taymans  <wim@fluendo.com>
15858
15859         * docs/design/part-overview.txt:
15860         * gst/gstsystemclock.h:
15861         Small typo fixes, doc updates.
15862
15863 2005-05-30  Wim Taymans  <wim@fluendo.com>
15864
15865         * gst/gst.c: (gst_init_get_popt_table), (init_post),
15866         (init_popt_callback):
15867         Remove cpu-opt flag.
15868
15869 2005-05-30  Wim Taymans  <wim@fluendo.com>
15870
15871         * gst/gstbuffer.c: (gst_subbuffer_finalize),
15872         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
15873         * gst/gstbuffer.h:
15874         Avoid typechecking in places where not needed.
15875         Added accessor for malloc_data.
15876
15877 2005-05-30  Wim Taymans  <wim@fluendo.com>
15878
15879         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
15880         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
15881         (gst_pad_configure_sink), (gst_pad_configure_src),
15882         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
15883         (gst_pad_start_task):
15884         Propagate errors from _set_caps() in configure_src/sink
15885         functions instead of returning TRUE.
15886         FLUSH events can travel up and downstream
15887
15888
15889 2005-05-30  Wim Taymans  <wim@fluendo.com>
15890
15891         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15892         (gst_basesink_activate):
15893         Handle EOS in preroll.
15894
15895 2005-05-30  Wim Taymans  <wim@fluendo.com>
15896
15897         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15898         (gst_queue_loop), (gst_queue_handle_src_event):
15899         Remove old pieces of code
15900         Flushing the queue in an upstream event is a very bad idea.
15901
15902 2005-05-26  Andy Wingo  <wingo@pobox.com>
15903
15904         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
15905         gst_value_set_mini_object so as to add a ref on the object (which
15906         will be removed when the value is unset).
15907
15908         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
15909         arg type in ::handoff.
15910
15911         * gst/gstelement.c (gst_element_change_state): Also deactivate
15912         pads in READY->NULL, just in case the element didn't make it to
15913         PAUSED. Wingo tested, Wim approved.
15914
15915 2005-05-26  Wim Taymans  <wim@fluendo.com>
15916
15917         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15918         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15919         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
15920         A flushing pad cannot be used to alloc_buffer from.
15921
15922 2005-05-26  Wim Taymans  <wim@fluendo.com>
15923
15924         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
15925         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
15926         (gst_bus_source_dispatch), (gst_bus_source_finalize),
15927         (gst_bus_create_watch), (gst_bus_add_watch_full):
15928         * gst/gstbus.h:
15929         Implement a real GSource and use g_main_context_wakeup() to
15930         signal new messages instead of the socketpair.
15931
15932 2005-05-25  Wim Taymans  <wim@fluendo.com>
15933
15934         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
15935         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
15936         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15937         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15938         (gst_pad_send_event), (gst_pad_start_task):
15939         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
15940         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15941         (gst_queue_sink_activate), (gst_queue_src_activate),
15942         (gst_queue_change_state):
15943         * gst/gstqueue.h:
15944         Fix state changes for non sinks. We now change sinks, then elements
15945         with unconnected srcpads, then the rest.
15946         More efficient queue unlocking in flush and state changes.
15947         Set the pad activate mode even if it does not have an activate
15948         function.
15949
15950 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15951
15952         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
15953           Don't go in pull mode for non-seekable sources.
15954         * gst/elements/gsttypefindelement.h:
15955         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
15956         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
15957         (free_entry), (stop_typefinding),
15958         (gst_type_find_element_handle_event), (find_peek),
15959         (gst_type_find_element_chain), (do_pull_typefind),
15960         (gst_type_find_element_change_state):
15961           Allow typefinding (w/o seeking) in push-mode, simplified version
15962           of what was in 0.8.
15963         * gst/gstutils.c: (gst_buffer_join):
15964         * gst/gstutils.h:
15965           gst_buffer_join() from 0.8.
15966
15967 2005-05-25  Wim Taymans  <wim@fluendo.com>
15968
15969         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15970         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15971         (gst_pad_send_event), (gst_pad_start_task):
15972         Disable attempt at mode switching until it is figured out.
15973
15974 2005-05-25  Wim Taymans  <wim@fluendo.com>
15975
15976         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
15977         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15978         (gst_basesink_finish_preroll), (gst_basesink_chain),
15979         (gst_basesink_loop), (gst_basesink_activate),
15980         (gst_basesink_change_state):
15981         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
15982         (gst_basesrc_get_range), (gst_basesrc_loop),
15983         (gst_basesrc_activate):
15984         * gst/elements/gsttee.c: (gst_tee_sink_activate):
15985         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
15986         (gst_real_pad_init), (gst_real_pad_set_property),
15987         (gst_real_pad_get_property), (gst_pad_set_active),
15988         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
15989         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
15990         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
15991         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
15992         (gst_pad_event_default_dispatch), (gst_pad_event_default),
15993         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
15994         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
15995         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
15996         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
15997         (gst_pad_stop_task):
15998         * gst/gstpad.h:
15999         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16000         (gst_queue_loop), (gst_queue_src_activate):
16001         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
16002         (gst_task_get_state):
16003         * gst/gsttask.h:
16004         * gst/schedulers/threadscheduler.c:
16005         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
16006         Implement gst_pad_pause/start/stop_task(), take STREAM lock
16007         in task function.
16008         Remove ACTIVE pad flag, use FLUSHING everywhere
16009         Added _pad_chain(), _pad_get_range() to call chain/getrange 
16010         functions.
16011         Add locks around IS_FLUSHING when reading.
16012         Take STREAM lock in chain(), get_range() functions so plugins
16013         don't need to take it anymore.
16014         
16015
16016
16017 2005-05-25  Wim Taymans  <wim@fluendo.com>
16018
16019         * tools/gst-launch.c: (event_loop):
16020         Unref message after using its contents instead of
16021         before.
16022
16023 2005-05-24  Wim Taymans  <wim@fluendo.com>
16024
16025         * docs/design/draft-ghostpads.txt:
16026         * docs/design/draft-push-pull.txt:
16027         * docs/design/draft-query.txt:
16028         * docs/design/part-overview.txt:
16029         Docs updates, added general overview doc.
16030
16031 2005-05-21  David Schleef  <ds@schleef.org>
16032
16033         * docs/gst/tmpl/old/GstBin.sgml:
16034         * docs/gst/tmpl/old/GstBuffer.sgml:
16035         * docs/gst/tmpl/old/GstCaps.sgml:
16036         * docs/gst/tmpl/old/GstClock.sgml:
16037         * docs/gst/tmpl/old/GstCompat.sgml:
16038         * docs/gst/tmpl/old/GstData.sgml:
16039         * docs/gst/tmpl/old/GstElement.sgml:
16040         * docs/gst/tmpl/old/GstEvent.sgml:
16041         * docs/gst/tmpl/old/GstIndex.sgml:
16042         * docs/gst/tmpl/old/GstStructure.sgml:
16043         * docs/gst/tmpl/old/GstTag.sgml:
16044         * docs/gst/tmpl/old/cothreads.sgml:
16045         * docs/gst/tmpl/old/cothreads_compat.sgml:
16046         * docs/gst/tmpl/old/gettext.sgml:
16047         * docs/gst/tmpl/old/gobject2gtk.sgml:
16048         * docs/gst/tmpl/old/grammar.tab.sgml:
16049         * docs/gst/tmpl/old/gst-i18n-app.sgml:
16050         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
16051         * docs/gst/tmpl/old/gst_private.sgml:
16052         * docs/gst/tmpl/old/gstaggregator.sgml:
16053         * docs/gst/tmpl/old/gstarch.sgml:
16054         * docs/gst/tmpl/old/gstatomic_impl.sgml:
16055         * docs/gst/tmpl/old/gstbufferstore.sgml:
16056         * docs/gst/tmpl/old/gstdata_private.sgml:
16057         * docs/gst/tmpl/old/gstdisksink.sgml:
16058         * docs/gst/tmpl/old/gstdisksrc.sgml:
16059         * docs/gst/tmpl/old/gstelementfactory.sgml:
16060         * docs/gst/tmpl/old/gstextratypes.sgml:
16061         * docs/gst/tmpl/old/gstfakesink.sgml:
16062         * docs/gst/tmpl/old/gstfakesrc.sgml:
16063         * docs/gst/tmpl/old/gstfdsink.sgml:
16064         * docs/gst/tmpl/old/gstfdsrc.sgml:
16065         * docs/gst/tmpl/old/gstfilesink.sgml:
16066         * docs/gst/tmpl/old/gstfilesrc.sgml:
16067         * docs/gst/tmpl/old/gsthttpsrc.sgml:
16068         * docs/gst/tmpl/old/gstidentity.sgml:
16069         * docs/gst/tmpl/old/gstindexfactory.sgml:
16070         * docs/gst/tmpl/old/gstmarshal.sgml:
16071         * docs/gst/tmpl/old/gstmd5sink.sgml:
16072         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
16073         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
16074         * docs/gst/tmpl/old/gstpadtemplate.sgml:
16075         * docs/gst/tmpl/old/gstpipefilter.sgml:
16076         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
16077         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
16078         * docs/gst/tmpl/old/gstshaper.sgml:
16079         * docs/gst/tmpl/old/gstspider.sgml:
16080         * docs/gst/tmpl/old/gstspideridentity.sgml:
16081         * docs/gst/tmpl/old/gststatistics.sgml:
16082         * docs/gst/tmpl/old/gsttee.sgml:
16083         * docs/gst/tmpl/old/gsttimecache.sgml:
16084         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
16085         * docs/gst/tmpl/old/gstxmlregistry.sgml:
16086         * docs/gst/tmpl/old/gthread-cothreads.sgml:
16087         * docs/gst/tmpl/old/types.sgml:
16088           I didn't intend to add these or check them in.
16089
16090 2005-05-19  David Schleef  <ds@schleef.org>
16091
16092         * configure.ac: Use -no-common everywhere.  In a sane world, it
16093           would be the default in libtool, because without it, you can't
16094           build DLLs on Windows.
16095         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
16096         * docs/gst/gstreamer-sections.txt:
16097         * docs/gst/tmpl/gstcpu.sgml:
16098         * docs/gst/tmpl/gstdata.sgml:
16099         * docs/gst/tmpl/gstthread.sgml:
16100
16101 2005-05-19  David Schleef  <ds@schleef.org>
16102
16103         * gst/gstminiobject.c: (gst_value_set_mini_object),
16104         (gst_value_take_mini_object), (gst_value_get_mini_object):
16105         * gst/gstminiobject.h: Add GValue set/get functions.
16106
16107 2005-05-19  Wim Taymans  <wim@fluendo.com>
16108
16109         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
16110         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
16111         (gst_subbuffer_init), (gst_buffer_is_span_fast):
16112         * gst/gstbuffer.h:
16113         * gst/gstbus.c: (gst_bus_post):
16114         * gst/gstelement.c: (gst_element_get_random_pad):
16115         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
16116         Make subbufer unref the parent in finalize.
16117         some more debugging info.
16118
16119
16120 2005-05-19  Wim Taymans  <wim@fluendo.com>
16121
16122         * gst/base/gstbasesink.c: (gst_basesink_class_init),
16123         (gst_basesink_init), (gst_basesink_finalize),
16124         (gst_basesink_activate), (gst_basesink_change_state):
16125         Don't free preroll queue too early.
16126
16127 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16128
16129         * gst/Makefile.am:
16130         * gst/ROADMAP:
16131           Hi, I'm outdated. Please shoot me.
16132
16133 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16134
16135         * gst/gstpipeline.c: (gst_pipeline_send_event):
16136           Do not access variables after they have been deleted.
16137
16138 2005-05-19  Wim Taymans  <wim@fluendo.com>
16139
16140         * tools/gst-inspect.c: (print_plugin_features):
16141         A plugin feature does unfortunatly not use the
16142         object name yet...
16143
16144 2005-05-18  Wim Taymans  <wim@fluendo.com>
16145
16146         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
16147         Port _span() functions to new subbuffers.
16148
16149 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16150
16151         * gst/gstbin.c: (gst_bin_add_func):
16152           Fix clock settery in bins when adding kids after the clock has
16153           been selected.
16154
16155 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16156
16157         * gst/elements/gstidentity.c: (gst_identity_class_init):
16158           Workaround until signals support GstMiniObject.
16159
16160 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
16161
16162         * gst/gstbuffer.c:
16163         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
16164
16165 2005-05-18  Wim Taymans  <wim@fluendo.com>
16166
16167         * gst/base/Makefile.am:
16168         * gst/base/gstadapter.c: (gst_adapter_base_init),
16169         (gst_adapter_class_init), (gst_adapter_init),
16170         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
16171         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
16172         (gst_adapter_flush), (gst_adapter_available),
16173         (gst_adapter_available_fast):
16174         * gst/base/gstadapter.h:
16175         Ported and added adapter to the base classes.
16176
16177 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16178
16179         * gst/gst.c:
16180         * gst/gstmessage.c:
16181           Make sure the class is reffed/unreffed once before threads can be
16182           used.  Fixes #304551.
16183
16184 2005-05-17  Wim Taymans  <wim@fluendo.com>
16185
16186         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
16187         (gst_basesink_chain_unlocked), (gst_basesink_activate):
16188         * gst/gstminiobject.c: (gst_mini_object_get_type),
16189         (gst_mini_object_free):
16190         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
16191         (gst_pad_push), (gst_pad_push_event):
16192         * gst/gstqueue.c: (gst_queue_change_state):
16193         Don't queue buffers in basesink when we are flushing.
16194         Unref buffer when flushing in basesink.
16195         Flush queue when going to READY
16196         Unref buffer when _push() returns an error.
16197         Don't free MiniObject instance when refcount is incremented
16198         in _finalize() so that we can recover objects.
16199
16200 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16201
16202         * docs/manual/advanced-schedulers.xml:
16203         * docs/manual/appendix-checklist.xml:
16204         * docs/pwg/advanced-clock.xml:
16205         * docs/pwg/advanced-interfaces.xml:
16206         * docs/pwg/advanced-request.xml:
16207         * docs/pwg/advanced-types.xml:
16208         * docs/pwg/intro-preface.xml:
16209         * examples/plugins/example.c: (gst_example_get_type),
16210         (gst_example_class_init), (gst_example_chain),
16211         (gst_example_set_property), (gst_example_get_property),
16212         (gst_example_change_state), (plugin_init):
16213         * examples/plugins/example.h:
16214           small doc fixes
16215
16216 2005-05-17  Wim Taymans  <wim@fluendo.com>
16217
16218         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
16219         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
16220         * gst/gstqueue.c: (gst_queue_change_state):
16221         Clear queue when going to READY.
16222         Remove IN_SETCAPS flag too.
16223
16224 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
16225
16226         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
16227           Remove implicit cast from gboolean to GstElementStateReturn;
16228           make sure we still return failure in paused => ready case if
16229           the parent class fails to change state and our own stop 
16230           vfunc succeeds.
16231
16232 2005-05-17  Wim Taymans  <wim@fluendo.com>
16233
16234         * tools/gst-launch.c: (event_loop):
16235         Message was unreffed too soon.
16236
16237 2005-05-16  Andy Wingo  <wingo@pobox.com>
16238
16239         * gst/gstbin.c (sink_iterator_filter): Err... um...
16240
16241         * check/gst/gstbin.c (test_ghost_pads): New test for the
16242         ghosting-if-elements-not-in-same-bin behavior.
16243
16244 2005-05-16  David Schleef  <ds@schleef.org>
16245
16246         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
16247         accessing refcount directly.
16248
16249 2005-05-15  David Schleef  <ds@schleef.org>
16250
16251         * check/Makefile.am: remove GstData checks
16252         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
16253         * gst/Makefile.am: add miniobject, remove data
16254         * gst/gst.h: add miniobject, remove data
16255         * gst/gstdata.c: remove
16256         * gst/gstdata.h: remove
16257         * gst/gstdata_private.h: remove
16258         * gst/gsttypes.h: remove GstEvent and GstMessage
16259         * gst/gstelement.c: (gst_element_post_message): fix for API changes
16260         * gst/gstmarshal.list: change BOXED -> OBJECT
16261
16262         Implement GstMiniObject.
16263         * gst/gstminiobject.c:
16264         * gst/gstminiobject.h:
16265
16266         Modify to be subclasses of GstMiniObject.
16267         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
16268         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
16269         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
16270         (gst_subbuffer_get_type), (gst_subbuffer_init),
16271         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
16272         (gst_buffer_span):
16273         * gst/gstbuffer.h:
16274         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
16275         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
16276         (_gst_event_copy), (gst_event_new):
16277         * gst/gstevent.h:
16278         * gst/gstmessage.c: (_gst_message_initialize),
16279         (gst_message_get_type), (gst_message_class_init),
16280         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
16281         (gst_message_new), (gst_message_new_error),
16282         (gst_message_new_warning), (gst_message_new_tag),
16283         (gst_message_new_state_changed), (gst_message_new_application):
16284         * gst/gstmessage.h:
16285         * gst/gstprobe.c: (gst_probe_perform),
16286         (gst_probe_dispatcher_dispatch):
16287         * gst/gstprobe.h:
16288         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
16289         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
16290         (_gst_query_copy), (gst_query_new):
16291
16292         Update elements for GstData -> GstMiniObject changes
16293         * gst/gstquery.h:
16294         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
16295         (gst_queue_chain), (gst_queue_loop):
16296         * gst/elements/gstbufferstore.c:
16297         (gst_buffer_store_add_buffer_func),
16298         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
16299         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16300         (gst_fakesink_render):
16301         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
16302         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
16303         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
16304         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
16305         (gst_filesrc_create_read):
16306         * gst/elements/gstidentity.c: (gst_identity_class_init):
16307         * gst/elements/gsttypefindelement.c:
16308         (gst_type_find_element_src_event), (free_entry_buffers),
16309         (gst_type_find_element_handle_event):
16310         * libs/gst/dataprotocol/dataprotocol.c:
16311         (gst_dp_header_from_buffer):
16312         * libs/gst/dataprotocol/dataprotocol.h:
16313         * libs/gst/dataprotocol/dp-private.h:
16314
16315 2005-05-15  David Schleef  <ds@schleef.org>
16316
16317         * gst/elements/gstelements.c: Don't include headers that were
16318         just removed.
16319
16320 2005-05-15  David Schleef  <ds@schleef.org>
16321
16322         * gst/elements/Makefile.am: Remove some elements that don't
16323         need to be in the core (or even exist at all).
16324         * gst/elements/gstaggregator.c:
16325         * gst/elements/gstaggregator.h:
16326         * gst/elements/gstmd5sink.c:
16327         * gst/elements/gstmd5sink.h:
16328         * gst/elements/gstmultifilesrc.c:
16329         * gst/elements/gstmultifilesrc.h:
16330         * gst/elements/gstpipefilter.c:
16331         * gst/elements/gstpipefilter.h:
16332         * gst/elements/gstshaper.c:
16333         * gst/elements/gstshaper.h:
16334         * gst/elements/gststatistics.c:
16335         * gst/elements/gststatistics.h:
16336         * po/POTFILES.in: Remove above files.
16337
16338 2005-05-14  Andy Wingo  <wingo@pobox.com>
16339
16340         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
16341         so as to get the refs right.
16342         (sink_iterator_filter): New function, wraps bin_element_is_sink,
16343         unreffing objects that don't pass the filter.
16344
16345         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
16346         gst_element_set_bus.
16347         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
16348         normal cases, this will destroy the bus.
16349
16350         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
16351         object.
16352
16353         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
16354         has no sinks.
16355
16356 2005-05-13  Andy Wingo  <wingo@pobox.com>
16357
16358         * gst/gstutils.c (gst_element_link_pads): Instead of calling
16359         gst_pad_link, call pad_link_maybe_ghosting,
16360         (pad_link_maybe_ghosting): Links pads, making sure that the
16361         elements being linked are in the same bin.
16362         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
16363         Helpers for pad_link_maybe_ghosting.
16364
16365 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
16366
16367         * configure.ac:
16368           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
16369
16370 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
16371
16372         * docs/design/part-element-source.txt:
16373           Mention GstPushSrc
16374
16375 2005-05-12  Wim Taymans  <wim@fluendo.com>
16376
16377         * gst/base/gstbasesink.c: (gst_basesink_init),
16378         (gst_basesink_activate):
16379         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
16380         (gst_basesrc_is_seekable):
16381         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16382         (bin_element_is_sink), (gst_bin_change_state):
16383         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16384         * gst/gstelement.h:
16385         Identify sinks by their flag to avoid overly complicated
16386         checks (fow now).
16387         Do state changes even for elements not reachable from the
16388         sinks.
16389         BaseSink is a sink now :)
16390         Some more debugging info in the basesrc.
16391
16392
16393 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16394
16395         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
16396           Implement _query on a bin, similar to _send_event.
16397
16398 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
16399
16400         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
16401           Discont event offset format should be GST_FORMAT_BYTES,
16402           not GST_FORMAT_TIME.
16403
16404 2005-05-12  Wim Taymans  <wim@fluendo.com>
16405
16406         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
16407         Same fix as Ronald's but without the signal. 
16408
16409 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16410
16411         * gst/gstutils.c: (gst_element_query_position):
16412           No, an element is not a pad.
16413
16414 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16415
16416         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
16417         (gst_bin_get_state):
16418           If a child is removed from a bin while we remove the child from
16419           the bin and while we're retrieving its state, signal this to the
16420           get_state function so we abort the wait (instead of waiting for
16421           a timeout) and can immediately re-iterate over all other elements.
16422
16423 2005-05-12  Wim Taymans  <wim@fluendo.com>
16424
16425         * gst/base/Makefile.am:
16426         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
16427         (gst_basesrc_start):
16428         * gst/base/gstbasesrc.h:
16429         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
16430         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
16431         (gst_pushsrc_init), (gst_pushsrc_create):
16432         * gst/base/gstpushsrc.h:
16433         Added is_seekable to BaseSrc
16434         Added simple PushSrc.
16435
16436 2005-05-11  Wim Taymans  <wim@fluendo.com>
16437
16438         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16439         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16440         (gst_element_link_pads), (gst_element_query_position),
16441         (gst_element_query_convert), (intersect_caps_func),
16442         (gst_pad_query_position), (gst_pad_query_convert):
16443         Fix refcounting in utils function.
16444         No point in trying to activate a pad when it's added, it could
16445         be added from the state change function and then we deadlock, the
16446         element has to decide what to do.
16447
16448 2005-05-10  Andy Wingo  <wingo@pobox.com>
16449
16450         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
16451         *all* the arguments.
16452
16453         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
16454         stream lock if it's a FLUSH_DONE; normal flushes don't get the
16455         lock (according to the docs -- if this is wrong change the docs).
16456
16457         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
16458         flush messages in the NULL state.
16459
16460         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
16461         message immediately and return.
16462         (gst_bus_set_flushing): New function. If a bus is flushing, it
16463         flushes out any queued messages and immediately unrefs new
16464         messages. This is so when an element goes to NULL, all of the
16465         unhandled messages coming from it can be freed, and their
16466         references to the element dropped. In other words: message source
16467         ref considered harmful :P
16468
16469         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
16470         we're finished with it.
16471
16472         * gst/gstmessage.c (gst_message_new_state_changed): 
16473
16474 2005-05-10  Wim Taymans  <wim@fluendo.com>
16475
16476         * gst/gstvalue.c: (gst_value_compare_flags),
16477         (gst_value_serialize_flags), (gst_value_deserialize_flags),
16478         (_gst_value_initialize):
16479         Added flags serialize/deserialize/compare code.
16480
16481 2005-05-09  Andy Wingo  <wingo@pobox.com>
16482
16483         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
16484         Intersect the peer's caps with our caps.
16485
16486 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16487
16488         * gst/base/gsttypefindhelper.c: (helper_find_peek):
16489         * gst/elements/gsttypefindelement.c: (find_peek):
16490           Handle negative offsets better. Fixes decodebin.
16491
16492 2005-05-09  Wim Taymans  <wim@fluendo.com>
16493
16494         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
16495         (gst_base_transform_event):
16496         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
16497         Implement accept_caps.
16498         Fix silly lock/unlock mismatch in base class.
16499
16500 2005-05-09  Wim Taymans  <wim@fluendo.com>
16501
16502         * docs/design/draft-push-pull.txt:
16503         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
16504         * gst/elements/gstfilesink.c: (gst_filesink_init),
16505         (gst_filesink_query):
16506         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
16507         (gst_type_find_handle_src_query), (find_element_get_length):
16508         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
16509         * gst/gstelement.h:
16510         * gst/gstmessage.c:
16511         * gst/gstmessage.h:
16512         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
16513         (gst_real_pad_get_caps_unlocked),
16514         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
16515         (gst_pad_event_default_dispatch), (gst_pad_event_default),
16516         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
16517         (gst_real_pad_dispose), (gst_real_pad_finalize),
16518         (gst_pad_load_and_link), (gst_pad_save_thyself),
16519         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
16520         (gst_pad_check_pull_range), (gst_pad_pull_range),
16521         (gst_pad_template_get_type), (gst_pad_template_class_init),
16522         (gst_pad_template_init), (gst_pad_template_dispose),
16523         (name_is_valid), (gst_static_pad_template_get),
16524         (gst_pad_template_new), (gst_static_pad_template_get_caps),
16525         (gst_pad_template_get_caps), (gst_pad_set_element_private),
16526         (gst_pad_get_element_private), (gst_pad_start_task),
16527         (gst_pad_pause_task), (gst_pad_stop_task),
16528         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
16529         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
16530         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
16531         (gst_ghost_pad_new):
16532         * gst/gstpad.h:
16533         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
16534         (gst_query_new_position), (gst_query_set_position),
16535         (gst_query_parse_position), (gst_query_new_convert),
16536         (gst_query_set_convert), (gst_query_parse_convert):
16537         * gst/gstquery.h:
16538         * gst/gstqueryutils.c:
16539         * gst/gstqueryutils.h:
16540         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
16541         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16542         (gst_queue_handle_src_query):
16543         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16544         (gst_element_query_position), (gst_element_query_convert),
16545         (intersect_caps_func), (gst_pad_query_position),
16546         (gst_pad_query_convert):
16547         * gst/gstutils.h:
16548         * tools/gst-inspect.c: (print_pad_info):
16549         * tools/gst-xmlinspect.c: (print_element_info):
16550         Remove old query functions. Ported old code.
16551         Added position/convert helper functions to gstutils.
16552         Reordered gstpad.c code, grouping relevant things.
16553         Remove gst_message_new(), always need to speficy a specific
16554         message.
16555
16556
16557 2005-05-09  Andy Wingo  <wingo@pobox.com>
16558
16559         * gst/gstiterator.h: Add some includes.
16560
16561         * gst/gstqueryutils.h: Include more headers.
16562
16563         * gst/gstpad.h:
16564         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
16565         some uses of gst_pad_query.
16566
16567         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
16568         NULL out parameters.
16569         (gst_query_new_position): New proc, allocates a new position
16570         query.
16571
16572         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
16573         gstqueryutils.c to the build.
16574
16575         * gst/gststructure.c (gst_structure_set_valist): Implement with
16576         the generic G_VALUE_COLLECT.
16577         
16578 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
16579
16580         * gst/Makefile.am: (gst_headers):
16581         Added gstqueryutils.h to the list of headers to install, that was
16582         a 'nachty' move wingo :)
16583
16584 2005-05-06  Andy Wingo  <wingo@pobox.com>
16585
16586         * gst/gstquery.h
16587         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
16588         GstData, init a memchunk.
16589         (standard_definitions): Add a few query types, deprecate a few.
16590         (gst_query_get_type): New proc.
16591         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
16592         implementation.
16593         (gst_query_new_application, gst_query_get_structure): New public
16594         procs.
16595
16596         * docs/design/draft-query.txt: Removed LINKS from the query types,
16597         because all the rest can be dispatched to other pads -- seemed
16598         ugly to have a query that couldn't be dispatched. internal_links
16599         is fine as a pad method.
16600
16601         * gst/gstpad.h: Add query2 as a pad method, add the new functions
16602         in gstpad.c, but maintain binary compatibility for the moment.
16603         Will fix before 0.9 is out.
16604
16605         * gst/gstqueryutils.c: 
16606         * gst/gstqueryutils.h: New files, implement 3 methods for each
16607         query type: parse_query, parse_response, and set. Probably need an
16608         allocator as well.
16609
16610         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
16611
16612         * gst/elements/gstfilesink.c (gst_filesink_query2):
16613         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
16614         query_types, and formats methods.
16615
16616         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
16617         (gst_pad_set_query2_function): New functions.
16618         (gst_real_pad_init): Set query2_default as the default query2
16619         function. Basically just dispatches to internally linked pads.
16620
16621         Needs review!
16622         
16623         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
16624         without using the atomic operations. Only one thread can possibly
16625         be accessing the data at this point. Changed so as to avoid
16626         gst_atomic operations.
16627
16628 2005-05-06  Wim Taymans  <wim@fluendo.com>
16629
16630         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
16631         Also set caps if we use the fallback buffer alloc.
16632
16633 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
16634
16635         * docs/gst/Makefile.am:
16636         * docs/gst/gstreamer-docs.sgml:
16637         * docs/gst/gstreamer-sections.txt:
16638         * docs/gst/tmpl/gstatomic.sgml:
16639         * docs/gst/tmpl/gstmemchunk.sgml:
16640         * testsuite/elements/struct_i386.h:
16641         * win32/GStreamer.vcproj:
16642         * win32/Makefile:
16643           Purge GstAtomic stuff from docs and win32 makefiles as well
16644
16645 2005-05-06  Wim Taymans  <wim@fluendo.com>
16646
16647         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
16648         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
16649         * gst/gstpad.c: (gst_pad_peer_get_caps):
16650         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
16651         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16652         (gst_queue_src_activate), (gst_queue_change_state):
16653         * gst/gstqueue.h:
16654         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16655         (intersect_caps_func):
16656         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
16657         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
16658         Some fixes for the peer_get_caps() change.
16659
16660 2005-05-06  Wim Taymans  <wim@fluendo.com>
16661
16662         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16663         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
16664         (gst_basesink_activate):
16665         Actually do something with error codes returned from the push
16666         functions.
16667
16668 2005-05-06  Wim Taymans  <wim@fluendo.com>
16669
16670         * docs/design/part-element-sink.txt:
16671         * docs/design/part-element-source.txt:
16672         * gst/base/gstbasesink.c: (gst_basesink_class_init),
16673         (gst_basesink_event), (gst_basesink_activate):
16674         * gst/base/gstbasesink.h:
16675         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
16676         (gst_basesrc_activate):
16677         * gst/base/gstbasesrc.h:
16678         * gst/gstelement.c: (gst_element_pads_activate):
16679         Some more documentation.
16680         Fixed scheduling decision in _pads_activate().
16681
16682 2005-05-05  Andy Wingo  <wingo@pobox.com>
16683
16684         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
16685         the test suite.
16686
16687 2005-05-05  Wim Taymans  <wim@fluendo.com>
16688
16689         * gst/base/Makefile.am:
16690         * gst/base/gstbasesink.h:
16691         * gst/base/gstbasesrc.c: (gst_basesrc_init),
16692         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
16693         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
16694         (gst_collectpads_class_init), (gst_collectpads_init),
16695         (gst_collectpads_finalize), (gst_collectpads_new),
16696         (gst_collectpads_set_function), (gst_collectpads_add_pad),
16697         (find_pad), (gst_collectpads_remove_pad),
16698         (gst_collectpads_is_active), (gst_collectpads_collect),
16699         (gst_collectpads_collect_range), (gst_collectpads_start),
16700         (gst_collectpads_stop), (gst_collectpads_peek),
16701         (gst_collectpads_pop), (gst_collectpads_available),
16702         (gst_collectpads_read), (gst_collectpads_flush),
16703         (gst_collectpads_chain):
16704         * gst/base/gstcollectpads.h:
16705         * gst/elements/Makefile.am:
16706         * gst/elements/gstelements.c:
16707         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16708         (gst_fakesink_get_times), (gst_fakesink_event),
16709         (gst_fakesink_preroll), (gst_fakesink_render):
16710         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16711         (gst_filesink_init), (gst_filesink_set_location),
16712         (gst_filesink_open_file), (gst_filesink_close_file),
16713         (gst_filesink_pad_query), (gst_filesink_event),
16714         (gst_filesink_render), (gst_filesink_change_state):
16715         * gst/elements/gstfilesink.h:
16716         Added object to help in making collect pad based elements.
16717         Ported filesink.
16718         Make event function in sink baseclass return gboolean.
16719
16720 2005-05-05  Wim Taymans  <wim@fluendo.com>
16721
16722         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
16723         (gst_bin_get_by_name):
16724         * gst/gstbuffer.h:
16725         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
16726         (gst_clock_finalize):
16727         * gst/gstdata.c: (gst_data_replace):
16728         * gst/gstdata.h:
16729         * gst/gstelement.c: (gst_element_request_pad),
16730         (gst_element_pads_activate):
16731         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
16732         (gst_object_unref):
16733         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16734         (gst_pad_set_checkgetrange_function),
16735         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
16736         (gst_pad_check_pull_range), (gst_pad_pull_range),
16737         (gst_static_pad_template_get_caps), (gst_pad_start_task),
16738         (gst_pad_pause_task), (gst_pad_stop_task):
16739         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16740         (gst_element_request_pad), (gst_pad_proxy_getcaps):
16741         Fix name lookup in GstBin.
16742         Added _data_replace() function and _buffer_replace()
16743         Use finalize method to clean up clock.
16744         Fix refcounting on request pads.
16745         Fix pad schedule mode error.
16746         Some more object refcounting debug info,
16747
16748
16749 2005-05-04  Andy Wingo <wingo@pobox.com>
16750
16751         * check/Makefile.am:
16752         * docs/gst/tmpl/gstatomic.sgml:
16753         * docs/gst/tmpl/gstplugin.sgml:
16754         * gst/base/gstbasesink.c: (gst_basesink_activate):
16755         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
16756         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
16757         (gst_basesrc_query), (gst_basesrc_set_property),
16758         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
16759         (gst_basesrc_activate):
16760         * gst/base/gstbasesrc.h:
16761         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
16762         (gst_base_transform_src_activate):
16763         * gst/elements/gstelements.c:
16764         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16765         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
16766         * gst/elements/gsttee.c: (gst_tee_sink_activate):
16767         * gst/elements/gsttypefindelement.c: (find_element_get_length),
16768         (gst_type_find_element_checkgetrange),
16769         (gst_type_find_element_activate):
16770         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
16771         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
16772         (gst_caps_load_thyself):
16773         * gst/gstelement.c: (gst_element_pads_activate),
16774         (gst_element_save_thyself), (gst_element_restore_thyself):
16775         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
16776         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
16777         * gst/gstpad.h:
16778         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
16779         (gst_xml_parse_file), (gst_xml_parse_memory),
16780         (gst_xml_get_element), (gst_xml_make_element):
16781         * gst/indexers/gstfileindex.c: (gst_file_index_load),
16782         (_file_index_id_save_xml), (gst_file_index_commit):
16783         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
16784         (read_enum), (load_pad_template), (load_feature), (load_plugin),
16785         (load_paths):
16786         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
16787         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
16788         * tools/gst-complete.c: (main):
16789         * tools/gst-compprep.c: (main):
16790         * tools/gst-inspect.c: (print_element_properties_info):
16791         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
16792         * tools/gst-xmlinspect.c: (print_element_properties):
16793         GCC 4 fixen.
16794         
16795 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16796
16797         * gst/gstplugin.c: (gst_plugin_check_module),
16798         (gst_plugin_check_file), (gst_plugin_load_file):
16799             apply patch from #172526 to make register work on MacOSX
16800
16801 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16802
16803         * docs/gst/tmpl/gstconfig.sgml:
16804         * gst/gstconfig.h.in:
16805           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
16806         * testsuite/debug/printf_extension.c: (main):
16807           Do not use GST_PTR_FORMAT on pointers to types with
16808           sizeof < sizeof(gpointer).  Fixes test on 64-bit
16809         * testsuite/elements/property.h:
16810           use correct printf format
16811
16812 2005-05-02  Wim Taymans  <wim@fluendo.com>
16813
16814         * docs/design/draft-push-pull.txt:
16815         * docs/design/draft-query.txt:
16816         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
16817         (gst_basesrc_start):
16818         Added draft for new query API.
16819         Added draft for better selecting scheduling methods.
16820         Make basesrc ignore length if the subclass does not support
16821         it.
16822
16823 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16824
16825         * gst/Makefile.am:
16826           possible fixes for automake-1.5 - _LIBADD is reserved
16827
16828 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16829
16830         * docs/faq/Makefile.am:
16831         * docs/manual/Makefile.am:
16832         * docs/manuals.mak:
16833         * docs/pwg/Makefile.am:
16834         * gst/Makefile.am:
16835           possible fixes for automake-1.5
16836
16837 2005-04-28  Wim Taymans  <wim@fluendo.com>
16838
16839         * gst/base/gstbasesink.c: (gst_basesink_base_init),
16840         (gst_basesink_pad_getcaps), (gst_basesink_init),
16841         (gst_basesink_do_sync):
16842         * gst/gstclock.c: (gst_clock_entry_new):
16843         * gst/gstevent.c: (gst_event_discont_get_value):
16844         * gst/gstpipeline.c: (pipeline_bus_handler),
16845         (gst_pipeline_change_state):
16846         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16847         Better debugging of clocking info.
16848         Allow NULL values when getting discont values.
16849
16850 2005-04-27  Wim Taymans  <wim@fluendo.com>
16851
16852         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
16853         * check/gst/gstpad.c: (gst_pad_suite):
16854         Increase timeout for checks.
16855
16856 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16857
16858         * check/Makefile.am:
16859           fix the broken rule for cleanup.  Apparently this rule is
16860           only needed on FC2, so maybe this warrants further autotool
16861           inspection.
16862
16863 2005-04-26  Wim Taymans  <wim@fluendo.com>
16864
16865         * gst/gsttrashstack.h:
16866         Ooohh. a nasty one! After having a failed pop() from the stack,
16867         it's possible that the stack is empty. In that case, don't
16868         follow the NULL pointer.
16869
16870 2005-04-25  Wim Taymans  <wim@fluendo.com>
16871
16872         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16873         (gst_pad_set_checkgetrange_function),
16874         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
16875         (gst_pad_check_pull_range), (gst_pad_pull_range),
16876         (gst_static_pad_template_get_caps), (gst_pad_start_task),
16877         (gst_pad_pause_task), (gst_pad_stop_task):
16878         * gst/gstplugin.c: (gst_plugin_load):
16879         * gst/gstplugin.h:
16880         Remove gst_library_load as it does more harm than good with
16881         the new g_module flags.
16882         Revert bogus caps template check in pad linking, pad caps
16883         are important when linking not the template, which is more
16884         general than the current caps.
16885
16886 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16887
16888         * gst/autoplug/.cvsignore:
16889         * gst/autoplug/Makefile.am:
16890         * gst/autoplug/gstsearchfuncs.c:
16891         * gst/autoplug/gstsearchfuncs.h:
16892         * gst/autoplug/gstspider.c:
16893         * gst/autoplug/gstspider.h:
16894         * gst/autoplug/gstspideridentity.c:
16895         * gst/autoplug/gstspideridentity.h:
16896         * gst/autoplug/spidertest.c:
16897           Die, spider, die.
16898
16899 2005-04-25  Wim Taymans  <wim@fluendo.com>
16900
16901         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16902         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16903         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
16904         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
16905         * gst/gstpad.h:
16906         Added stubs for unimplemented functions. 
16907
16908 2005-04-24  David Schleef  <ds@schleef.org>
16909
16910         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
16911         please fix.
16912
16913 2005-04-24  David Schleef  <ds@schleef.org>
16914
16915         Convert everything from GstAtomicInt to g_atomic_int_*, and
16916         remove gstatomic.
16917         * gst/Makefile.am:
16918         * gst/gstatomic.c:
16919         * gst/gstatomic.h:
16920         * gst/gstatomic_impl.h:
16921         * gst/gstbuffer.c:
16922         * gst/gstcaps.c:
16923         * gst/gstcaps.h:
16924         * gst/gstclock.c:
16925         * gst/gstclock.h:
16926         * gst/gstdata.c:
16927         * gst/gstdata.h:
16928         * gst/gstdata_private.h:
16929         * gst/gstevent.c:
16930         * gst/gstinfo.c:
16931         * gst/gstinfo.h:
16932         * gst/gstmessage.c:
16933         * gst/gstobject.c:
16934         * gst/gstobject.h:
16935         * gst/gststructure.c:
16936         * gst/gststructure.h:
16937         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
16938         * gst/gstutils.h:
16939
16940 2005-04-24  David Schleef  <ds@schleef.org>
16941
16942         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
16943         make the regressions tests work.  Remove some code that is no
16944         longer true.
16945         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
16946         Disable warning for pads without templates.
16947
16948 2005-04-24  David Schleef  <ds@schleef.org>
16949
16950         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
16951         functions that handle filtered links.
16952         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
16953         removed functions.
16954         * gst/gstutils.c: Fix/remove utility functions that handle
16955         filtered caps.
16956         * gst/gstutils.h:
16957         * gst/gstvalue.c: Add serialization/deserialization of caps
16958         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
16959         requires fixing so that the filter caps notation creates
16960         a capsfilter element and sets the filter_caps property.  I
16961         think everyone probably wants to keep the shorthand notation.
16962         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
16963         * docs/gst/tmpl/gstpad.sgml:
16964
16965         * gst/elements/gstelements.c: Register capsfilter element.
16966         * gst/Makefile.am: fix spacing
16967         * docs/random/ds/0.9-suggested-changes: random
16968
16969 2005-04-23  David Schleef  <ds@schleef.org>
16970
16971         * gst/elements/Makefile.am:
16972         * gst/elements/gstcapsfilter.c: New element that acts like an
16973         identity, but filters caps.  Will eventually replace filtered
16974         caps in pad linking.
16975         * gst/gstutils.c: (gst_element_create_all_pads): New function
16976         to create all the ALWAYS pads that are registered with an
16977         element class.  This functionality should eventually be
16978         merged in with GstElement initialization.
16979         * gst/gstutils.h:
16980         * testsuite/trigger/README: part of trigger test code that should
16981         have been checked in a long time ago.
16982
16983 2005-04-23  David Schleef  <ds@schleef.org>
16984
16985         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
16986         needed with new versions of libtool (nobody will confirm this),
16987         and hard to carry around.
16988         * gst/autoplug/Makefile.am:
16989         * gst/base/Makefile.am:
16990         * gst/elements/Makefile.am:
16991         * gst/indexers/Makefile.am:
16992         * gst/schedulers/Makefile.am:
16993         * libs/gst/bytestream/Makefile.am:
16994         * libs/gst/control/Makefile.am:
16995         * libs/gst/dataprotocol/Makefile.am:
16996         * libs/gst/getbits/Makefile.am:
16997
16998 2005-04-21  Wim Taymans  <wim@fluendo.com>
16999
17000         * docs/design/draft-push-pull.txt:
17001         * docs/design/part-MT-refcounting.txt:
17002         * docs/design/part-TODO.txt:
17003         * docs/design/part-caps.txt:
17004         * docs/design/part-events.txt:
17005         * docs/design/part-gstbus.txt:
17006         * docs/design/part-gstpipeline.txt:
17007         * docs/design/part-messages.txt:
17008         * docs/design/part-push-pull.txt:
17009         * docs/design/part-query.txt:
17010         Some more docs.
17011
17012 2005-04-21  Wim Taymans  <wim@fluendo.com>
17013
17014         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
17015         (gst_message_new), (gst_message_new_error),
17016         (gst_message_new_warning), (gst_message_new_tag),
17017         (gst_message_new_state_changed), (gst_message_new_application),
17018         (gst_message_get_structure):
17019         * gst/gstmessage.h:
17020         * gst/gststructure.c: (gst_structure_set_parent_refcount),
17021         (gst_structure_copy_conditional):
17022         Use parent refcount in GstMessage to ensure GstStructure
17023         consistency.
17024         Cleaned up headers a bit.
17025         
17026
17027 2005-04-20  Wim Taymans  <wim@fluendo.com>
17028
17029         * gst/base/gstbasesink.c: (gst_basesink_base_init),
17030         (gst_basesink_pad_getcaps), (gst_basesink_init),
17031         (gst_basesink_chain_unlocked):
17032         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
17033         (gst_type_find_helper):
17034         * gst/elements/gsttypefindelement.c:
17035         (gst_type_find_element_have_type), (gst_type_find_element_init),
17036         (stop_typefinding), (gst_type_find_element_handle_event),
17037         (find_suggest), (gst_type_find_element_chain),
17038         (gst_type_find_element_checkgetrange),
17039         (gst_type_find_element_getrange), (do_typefind),
17040         (gst_type_find_element_activate):
17041         * gst/gstbuffer.c: (_gst_buffer_sub_free),
17042         (gst_buffer_default_free), (gst_buffer_default_copy),
17043         (gst_buffer_set_caps):
17044         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
17045         (gst_caps_replace):
17046         * gst/gstmessage.c: (gst_message_new),
17047         (gst_message_new_state_changed):
17048         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17049         (gst_pad_set_checkgetrange_function),
17050         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
17051         (gst_pad_set_caps), (gst_pad_check_pull_range),
17052         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
17053         * gst/gstpad.h:
17054         * gst/gsttypefind.c: (gst_type_find_register):
17055         Make gst_caps_replace() work like other _replace() functions.
17056         Use _caps_replace() where possible.
17057         Make sure _message_new() initialises its field.
17058         Add gst_static_pad_template_get_caps()
17059
17060
17061 2005-04-18  Andy Wingo  <wingo@pobox.com>
17062
17063         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
17064         on the peer, not the pad. I think that was a typo. Pass an extra
17065         arg to see if random access is possible. Activate the pads as
17066         PULL_RANGE if possible.
17067
17068         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
17069
17070         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
17071         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
17072         to PROP_....
17073
17074 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17075
17076         * docs/faq/using.xml:
17077           Add note on gstreamer-properties (#154996).
17078
17079 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17080
17081         * docs/random/bbb/optional-properties:
17082           Some analysis on optional properties.
17083
17084 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17085
17086         * docs/gst/tmpl/gstelementfactory.sgml:
17087         * gst/gstelement.h:
17088         * gst/gstelementfactory.c: (gst_element_factory_init),
17089         (gst_element_factory_cleanup), (gst_element_register),
17090         (__gst_element_factory_add_static_pad_template),
17091         (gst_element_factory_get_static_pad_templates),
17092         (gst_element_factory_can_src_caps),
17093         (gst_element_factory_can_sink_caps):
17094         * gst/registries/Makefile.am:
17095         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
17096         (gst_xml_registry_class_init), (gst_xml_registry_init),
17097         (gst_xml_registry_new), (gst_xml_registry_set_property),
17098         (gst_xml_registry_get_property), (get_time), (make_dir),
17099         (gst_xml_registry_get_perms_func),
17100         (plugin_times_older_than_recurse), (plugin_times_older_than),
17101         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
17102         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
17103         (add_to_char_array), (read_string), (read_uint), (read_enum),
17104         (load_pad_template), (load_feature), (load_plugin), (load_paths),
17105         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
17106         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
17107         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
17108         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
17109         (gst_xml_registry_rebuild):
17110         * gst/registries/gstlibxmlregistry.h:
17111         * tools/gst-compprep.c: (main):
17112         * tools/gst-inspect.c: (print_pad_templates_info):
17113         * tools/gst-xmlinspect.c: (print_element_info):
17114           Use libxml2 for registry parsing, use staticpadtemplates in
17115           elementfactories. Makes gst_init() +/- 10x faster.
17116
17117 2005-04-12  Wim Taymans  <wim@fluendo.com>
17118
17119         * gst/base/Makefile.am:
17120         * gst/base/gstbasesink.c: (gst_basesink_base_init),
17121         (gst_basesink_pad_getcaps), (gst_basesink_init),
17122         (gst_basesink_event), (gst_basesink_change_state):
17123         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17124         (gst_basesrc_init), (gst_basesrc_query),
17125         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
17126         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
17127         (gst_basesrc_check_get_range), (gst_basesrc_loop),
17128         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
17129         (gst_basesrc_stop), (gst_basesrc_activate),
17130         (gst_basesrc_change_state):
17131         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17132         (helper_find_suggest), (gst_type_find_helper):
17133         * gst/base/gsttypefindhelper.h:
17134         * gst/elements/Makefile.am:
17135         * gst/elements/gstelements.c:
17136         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17137         (gst_fakesink_get_times), (gst_fakesink_event),
17138         (gst_fakesink_preroll), (gst_fakesink_render):
17139         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17140         (gst_fakesrc_init), (gst_fakesrc_event_handler),
17141         (gst_fakesrc_get_property), (gst_fakesrc_create),
17142         (gst_fakesrc_start), (gst_fakesrc_stop):
17143         * gst/elements/gstfakesrc.h:
17144         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
17145         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
17146         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
17147         (gst_filesrc_create_read), (gst_filesrc_create),
17148         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
17149         (gst_filesrc_start):
17150         * gst/elements/gsttypefindelement.c:
17151         (gst_type_find_element_have_type), (gst_type_find_element_init),
17152         (start_typefinding), (stop_typefinding), (push_buffer_store),
17153         (gst_type_find_element_handle_event),
17154         (gst_type_find_element_chain),
17155         (gst_type_find_element_checkgetrange),
17156         (gst_type_find_element_getrange), (do_typefind),
17157         (gst_type_find_element_activate),
17158         (gst_type_find_element_change_state):
17159         * gst/elements/gsttypefindelement.h:
17160         * gst/gstpipeline.c: (pipeline_bus_handler):
17161         Added typefind helper.
17162         Small preroll fix in the base sink.
17163         Disable typefind code in basesrc.
17164         Crude port of typefindelement.
17165         Fakesrc cleanups.
17166
17167
17168 2005-04-11  Wim Taymans  <wim@fluendo.com>
17169
17170         * check/gst/gstbus.c: (gstbus_suite):
17171         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
17172         * check/gstcheck.h:
17173           Fix up the timeout so that the test does not fail.
17174
17175 2005-04-06  Wim Taymans  <wim@fluendo.com>
17176
17177         * gst/base/README:
17178         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17179         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
17180         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
17181         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
17182         (gst_basesrc_check_get_range), (gst_basesrc_loop),
17183         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
17184         (gst_basesrc_stop), (gst_basesrc_activate),
17185         (gst_basesrc_change_state), (basesrc_find_peek),
17186         (basesrc_find_suggest), (gst_basesrc_type_find):
17187         * gst/base/gstbasesrc.h:
17188         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
17189         (gst_filesrc_class_init), (gst_filesrc_init),
17190         (gst_filesrc_finalize), (gst_filesrc_set_location),
17191         (gst_filesrc_set_property), (gst_filesrc_get_property),
17192         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
17193         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
17194         (gst_filesrc_create_read), (gst_filesrc_create),
17195         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
17196         * gst/elements/gstfilesrc.h:
17197         * gst/gstelement.c: (gst_element_get_state_func),
17198         (gst_element_lost_state), (gst_element_pads_activate):
17199         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17200         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
17201         (gst_pad_pull_range):
17202         * gst/gstpad.h:
17203         More work on the generic source base class, implement seeking,
17204         query.
17205         Make filesrc extend the base source class.
17206         Added gst_pad_set_checkgetrange_function to GstPad.
17207
17208 2005-04-06  Andy Wingo  <wingo@pobox.com>
17209
17210         * pkgconfig/gstreamer-base.pc.in:
17211         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
17212
17213         * pkgconfig/Makefile.am:
17214         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
17215
17216 2005-04-04  Wim Taymans  <wim@fluendo.com>
17217
17218         * gst/base/Makefile.am:
17219         * gst/base/README:
17220         * gst/base/gstbasesink.c: (gst_basesink_base_init),
17221         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17222         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17223         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
17224         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17225         (gst_basesrc_base_init), (gst_basesrc_class_init),
17226         (gst_basesrc_init), (gst_basesrc_get_formats),
17227         (gst_basesrc_get_query_types), (gst_basesrc_query),
17228         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
17229         (gst_basesrc_set_property), (gst_basesrc_get_property),
17230         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
17231         (gst_basesrc_loop), (gst_basesrc_activate),
17232         (gst_basesrc_change_state):
17233         * gst/base/gstbasesrc.h:
17234         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
17235         (gst_fakesrc_class_init), (gst_fakesrc_init),
17236         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
17237         (gst_fakesrc_get_property), (gst_fakesrc_create):
17238         * gst/elements/gstfakesrc.h:
17239         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
17240         (gst_filesrc_open_file), (gst_filesrc_loop),
17241         (gst_filesrc_activate), (filesrc_find_peek),
17242         (gst_filesrc_type_find):
17243         Made base source class, make fakesrc extend it.
17244         Add comments to basesink class.
17245         Some filesrc cleanup.
17246
17247 2005-03-31  David Schleef  <ds@schleef.org>
17248
17249         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
17250         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
17251         expected to link against libgstreamer.
17252         * gst/base/Makefile.am: link against libgstreamer
17253         * gst/elements/Makefile.am: same
17254
17255 2005-03-31  Andy Wingo  <wingo@pobox.com>
17256
17257         * tests/instantiate/Makefile.am:
17258         * tests/instantiate/caps.c: Add test to test speed of caps copy
17259         and free.
17260
17261         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
17262         GMemChunk to be fair.
17263
17264         * gst/gsttrashstack.h: Remove warning about using the fallback
17265         trash stack implementation, it's still faster than malloc.
17266
17267 2005-03-30  Andy Wingo  <wingo@pobox.com>
17268
17269         * tests/complexity.c: Add a copyright.
17270
17271 2005-03-31  Wim Taymans  <wim@fluendo.com>
17272
17273         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
17274         (gst_base_transform_class_init), (gst_base_transform_init),
17275         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
17276         (gst_base_transform_get_property),
17277         (gst_base_transform_sink_activate),
17278         (gst_base_transform_src_activate),
17279         (gst_base_transform_change_state):
17280         * gst/base/gstbasetransform.h:
17281         * gst/elements/gstidentity.c: (gst_identity_class_init),
17282         (gst_identity_event), (gst_identity_check_perfect),
17283         (gst_identity_transform), (gst_identity_start),
17284         (gst_identity_stop):
17285         Added start/stop methods to transform base class so subclasses 
17286         don't need to deal with state changes even.
17287
17288 2005-03-31  Wim Taymans  <wim@fluendo.com>
17289
17290         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
17291         (gst_event_new_discontinuous), (gst_event_discont_get_value):
17292         * gst/gstevent.h:
17293         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17294         (gst_pad_pull_range):
17295         Added rate to the discont event to prepare for variable speed
17296         and reverse playback.
17297
17298 2005-03-29  David Schleef  <ds@schleef.org>
17299
17300         * configure.ac:
17301         * testsuite/trigger/Makefile.am:
17302         * testsuite/trigger/trigger.c: A little example program to show
17303         how trigger-based elements can work.
17304
17305 2005-03-29  Wim Taymans  <wim@fluendo.com>
17306
17307         * gst/base/Makefile.am:
17308         * gst/base/README:
17309         * gst/base/gstbasesink.c: (gst_basesink_get_type),
17310         (gst_basesink_base_init), (gst_basesink_class_init),
17311         (gst_basesink_pad_getcaps), (gst_basesink_init),
17312         (gst_basesink_activate), (gst_basesink_change_state):
17313         * gst/base/gstbasesink.h:
17314         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
17315         (gst_base_transform_base_init), (gst_base_transform_finalize),
17316         (gst_base_transform_class_init), (gst_base_transform_init),
17317         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
17318         (gst_base_transform_event), (gst_base_transform_getrange),
17319         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
17320         (gst_base_transform_set_property),
17321         (gst_base_transform_get_property),
17322         (gst_base_transform_sink_activate),
17323         (gst_base_transform_src_activate),
17324         (gst_base_transform_change_state):
17325         * gst/base/gstbasetransform.h:
17326         * gst/elements/gstidentity.c: (gst_identity_finalize),
17327         (gst_identity_class_init), (gst_identity_init),
17328         (gst_identity_event), (gst_identity_check_perfect),
17329         (gst_identity_transform), (gst_identity_set_property),
17330         (gst_identity_get_property), (gst_identity_change_state):
17331         * gst/elements/gstidentity.h:
17332         * gst/gstelement.c: (gst_element_get_state_func),
17333         (gst_element_lost_state), (gst_element_pads_activate):
17334         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17335         (gst_pad_check_pull_range), (gst_pad_pull_range):
17336         * gst/gstpad.h:
17337         Simplify pad activation.
17338         Added function to check if pull_range can be performed.
17339         Error out when pulling inactive or flushing pads.
17340         Removed const from refcounted types as it does not make sense.
17341         Simplify pad templates in basesink
17342         Added base class for simple 1-to-1 transforms.
17343         Make identity subclass the base transform.
17344
17345 2005-03-29  Andy Wingo  <wingo@pobox.com>
17346
17347         * docs/libs/gstreamer-libs-overrides.txt: 
17348         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
17349         really don't understand what's going on, but like whatever. I want
17350         green buildbot!
17351
17352         * docs/gst/Makefile.am:
17353         * docs/libs/Makefile.am: Dist the overrides files.
17354
17355         * check/Makefile.am (clean-local): Remove .libs directories.
17356
17357         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
17358         elements to EXTRA_DIST, so po/ files are happy.
17359
17360         * po/POTFILES.in: Er, remove it here.
17361
17362         * po/POTFILES: Remove gstspider.c.
17363
17364         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
17365
17366         * docs/libs/gstreamer-libs-docs.sgml: 
17367         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
17368         bytestream.
17369
17370         * tests/complexity.c (main): Set the length of the preroll queue
17371         on the sinks to prevent a lockup.
17372
17373         * libs/gst/dataprotocol/Makefile.am: 
17374         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
17375         the same as the one in check/gst-libs/gdp.c.
17376
17377         * po/, docs/gst/: Commit automatic changes to docs and po files.
17378
17379         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
17380         the versioned libgstbase.
17381
17382         * check/Makefile.am: Depend on an unversioned gst-register, seems
17383         to make autoconf happier.
17384
17385         * gst/base/Makefile.am: Make libgstbase a versioned lib.
17386
17387 2005-03-28  Wim Taymans  <wim@fluendo.com>
17388
17389         * configure.ac:
17390         * docs/design/part-gstelement.txt:
17391         * docs/design/part-negotiation.txt:
17392         * docs/design/part-preroll.txt:
17393         * docs/design/part-scheduling.txt:
17394         * docs/design/part-states.txt:
17395         * gst/Makefile.am:
17396         * gst/base/Makefile.am:
17397         * gst/base/README:
17398         * gst/base/gstbasesink.c: (gst_basesink_get_template),
17399         (gst_basesink_base_init), (gst_basesink_class_init),
17400         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17401         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17402         (gst_basesink_set_pad_functions),
17403         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
17404         (gst_basesink_set_property), (gst_basesink_get_property),
17405         (gst_base_sink_get_template), (gst_base_sink_get_caps),
17406         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
17407         (gst_basesink_preroll_queue_push),
17408         (gst_basesink_preroll_queue_empty),
17409         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
17410         (gst_basesink_event), (gst_basesink_get_times),
17411         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
17412         (gst_basesink_chain_unlocked), (gst_basesink_chain),
17413         (gst_basesink_loop), (gst_basesink_activate),
17414         (gst_basesink_change_state):
17415         * gst/base/gstbasesink.h:
17416         * gst/elements/Makefile.am:
17417         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
17418         (gst_fakesink_class_init), (gst_fakesink_init),
17419         (gst_fakesink_set_property), (gst_fakesink_get_property),
17420         (gst_fakesink_get_times), (gst_fakesink_event),
17421         (gst_fakesink_preroll), (gst_fakesink_render),
17422         (gst_fakesink_change_state):
17423         * gst/elements/gstfakesink.h:
17424         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17425         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
17426         * gst/gstelement.c: (gst_element_add_pad),
17427         (gst_element_get_state_func), (gst_element_abort_state),
17428         (gst_element_commit_state), (gst_element_lost_state),
17429         (gst_element_set_state), (gst_element_pads_activate):
17430         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
17431         * gst/gstpipeline.c: (gst_pipeline_send_event),
17432         (gst_pipeline_change_state):
17433         Added state change code.
17434         Added/updated docs.
17435         Added sink base class, make fakesink extend the base class.
17436         Small cleanups in GstPipeline.
17437
17438 2005-03-26  David Schleef  <ds@schleef.org>
17439
17440         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
17441         is broken and should be implemented in a different library.
17442         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
17443         * gst/gst.h: remove gstcpu.h
17444         * gst/gstcpu.c: remove
17445         * gst/gstcpu.h: remove
17446         * gst/Makefile.am.future: Remove this file.  It's ancient.
17447
17448 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17449
17450         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17451         (gst_bin_send_event):
17452           Add default event/set_manager handlers. The set_manager handler
17453           takes care that the manager is distributed over kids that were
17454           already in the bin before the manager was set. The event handler
17455           is a utility virtual function that sends the event over all sinks,
17456           so that gst_element_send_event (bin, event); has the expected
17457           behaviour.
17458         * gst/gstpad.c: (gst_pad_event_default):
17459           Re-install default event handling for discontinuities, so that
17460           seeking works without requiring hacks in applications or extra
17461           code in sinks.
17462         * gst/gstpipeline.c: (gst_pipeline_class_init),
17463         (gst_pipeline_send_event):
17464           Half hack, half utility: set a pipeline to PAUSED for seek events,
17465           since that is the only way we can guarantee a/v sync. Means that
17466           you can do gst_element_seek (pipeline, method, pos); on a pipeline
17467           and it "just works".
17468
17469 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17470
17471         * gst/gstpipeline.c: (gst_pipeline_use_clock):
17472           Lock/unlock mismatch.
17473
17474 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17475
17476         * docs/faq/gst-uninstalled:
17477           add gst-plugins-base
17478         * docs/gst/Makefile.am:
17479           don't error out until docs are fixed
17480         * docs/gst/gstreamer.types:
17481           remove thread
17482
17483 2005-03-22  Wim Taymans  <wim@fluendo.com>
17484
17485         * check/Makefile.am:
17486         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
17487         * gst/gststructure.c: (gst_structure_set_valist),
17488         (gst_structure_copy_conditional):
17489         Activated more tests.
17490         Added message test.
17491         Added G_TYPE_POINTER to GstStructure.
17492         
17493
17494 2005-03-22  Wim Taymans  <wim@fluendo.com>
17495
17496         * docs/design/part-TODO.txt:
17497         * docs/design/part-events.txt:
17498         * docs/design/part-gstbin.txt:
17499         * docs/design/part-gstbus.txt:
17500         * docs/design/part-gstpipeline.txt:
17501         * docs/design/part-messages.txt:
17502         * gst/gstbus.c:
17503         * gst/gstmessage.c:
17504         Docs updates
17505
17506 2005-03-21  Wim Taymans  <wim@fluendo.com>
17507
17508         * gst/gstbus.c: (gst_bus_post):
17509         Fix copy-and-paste error.
17510
17511 2005-03-21  Wim Taymans  <wim@fluendo.com>
17512
17513         * check/Makefile.am:
17514         * gst/Makefile.am:
17515         * gst/elements/Makefile.am:
17516         * gst/elements/gstelements.c:
17517         * gst/elements/gstfakesink.c: (gst_fakesink_init),
17518         (gst_fakesink_event), (gst_fakesink_chain):
17519         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17520         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
17521         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
17522         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
17523         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
17524         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
17525         (gst_fakesrc_loop), (gst_fakesrc_activate),
17526         (gst_fakesrc_change_state):
17527         * gst/elements/gstfakesrc.h:
17528         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
17529         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
17530         (gst_filesrc_open_file), (gst_filesrc_loop),
17531         (gst_filesrc_activate), (gst_filesrc_change_state),
17532         (filesrc_find_peek), (filesrc_find_suggest),
17533         (gst_filesrc_type_find):
17534         * gst/elements/gstidentity.c: (gst_identity_finalize),
17535         (gst_identity_class_init), (gst_identity_init),
17536         (gst_identity_proxy_getcaps), (identity_queue_push),
17537         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
17538         (gst_identity_getrange), (gst_identity_chain),
17539         (gst_identity_sink_loop), (gst_identity_src_loop),
17540         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
17541         (gst_identity_set_property), (gst_identity_get_property),
17542         (gst_identity_change_state):
17543         * gst/elements/gstidentity.h:
17544         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
17545         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
17546         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
17547         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
17548         (gst_tee_sink_activate):
17549         * gst/elements/gsttee.h:
17550         * gst/gst.c: (gst_register_core_elements), (init_post):
17551         * gst/gst.h:
17552         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
17553         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
17554         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
17555         (gst_bin_change_state):
17556         * gst/gstbin.h:
17557         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
17558         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
17559         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
17560         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
17561         (gst_bus_set_sync_handler), (gst_bus_create_watch),
17562         (bus_watch_callback), (bus_watch_destroy),
17563         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
17564         (poll_timeout), (gst_bus_poll):
17565         * gst/gstbus.h:
17566         * gst/gstcaps.h:
17567         * gst/gstdata.h:
17568         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
17569         (gst_element_post_message), (gst_element_message_full),
17570         (gst_element_get_state_func), (gst_element_get_state),
17571         (gst_element_abort_state), (gst_element_commit_state),
17572         (gst_element_lost_state), (gst_element_set_state),
17573         (gst_element_pads_activate), (gst_element_change_state),
17574         (gst_element_dispose), (gst_element_set_manager_func),
17575         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
17576         (gst_element_set_manager), (gst_element_get_manager),
17577         (gst_element_set_bus), (gst_element_get_bus),
17578         (gst_element_set_scheduler), (gst_element_get_scheduler):
17579         * gst/gstelement.h:
17580         * gst/gstevent.c: (gst_event_new_segment_seek),
17581         (gst_event_new_flush):
17582         * gst/gstevent.h:
17583         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
17584         (_gst_message_free), (gst_message_get_type), (gst_message_new),
17585         (gst_message_new_eos), (gst_message_new_error),
17586         (gst_message_new_warning), (gst_message_new_tag),
17587         (gst_message_new_state_changed), (gst_message_new_application),
17588         (gst_message_get_structure), (gst_message_parse_tag),
17589         (gst_message_parse_state_changed), (gst_message_parse_error),
17590         (gst_message_parse_warning):
17591         * gst/gstmessage.h:
17592         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
17593         (gst_real_pad_set_property), (gst_pad_set_active),
17594         (gst_pad_is_active), (gst_pad_set_blocked_async),
17595         (gst_pad_set_blocked), (gst_pad_is_blocked),
17596         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
17597         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
17598         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
17599         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
17600         (gst_pad_link_filtered), (gst_pad_relink_filtered),
17601         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
17602         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
17603         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
17604         (gst_pad_set_caps), (gst_pad_configure_sink),
17605         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
17606         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
17607         (gst_real_pad_dispose), (gst_real_pad_finalize),
17608         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
17609         (gst_pad_event_default_dispatch), (gst_pad_event_default),
17610         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
17611         * gst/gstpad.h:
17612         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
17613         (pipeline_bus_handler), (gst_pipeline_change_state),
17614         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
17615         * gst/gstpipeline.h:
17616         * gst/gstprobe.h:
17617         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17618         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
17619         (gst_queue_link_src), (gst_queue_bufferalloc),
17620         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
17621         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
17622         (gst_queue_loop), (gst_queue_handle_src_event),
17623         (gst_queue_handle_src_query), (gst_queue_src_activate),
17624         (gst_queue_change_state):
17625         * gst/gstqueue.h:
17626         * gst/gstscheduler.c: (gst_scheduler_init),
17627         (gst_scheduler_dispose), (gst_scheduler_create_task),
17628         (gst_scheduler_factory_create):
17629         * gst/gstscheduler.h:
17630         * gst/gststructure.c: (gst_structure_get_type),
17631         (gst_structure_copy_conditional):
17632         * gst/gststructure.h:
17633         * gst/gsttaginterface.h:
17634         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
17635         (gst_task_init), (gst_task_dispose), (gst_task_create),
17636         (gst_task_get_state), (gst_task_start), (gst_task_stop),
17637         (gst_task_pause):
17638         * gst/gsttask.h:
17639         * gst/gstthread.c:
17640         * gst/gstthread.h:
17641         * gst/gsttypes.h:
17642         * gst/schedulers/Makefile.am:
17643         * gst/schedulers/cothreads_compat.h:
17644         * gst/schedulers/entryscheduler.c:
17645         * gst/schedulers/faircothreads.c:
17646         * gst/schedulers/faircothreads.h:
17647         * gst/schedulers/fairscheduler.c:
17648         * gst/schedulers/gstbasicscheduler.c:
17649         * gst/schedulers/gstoptimalscheduler.c:
17650         * gst/schedulers/gthread-cothreads.h:
17651         * gst/schedulers/threadscheduler.c:
17652         (gst_thread_scheduler_task_get_type),
17653         (gst_thread_scheduler_task_class_init),
17654         (gst_thread_scheduler_task_init),
17655         (gst_thread_scheduler_task_start),
17656         (gst_thread_scheduler_task_stop),
17657         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
17658         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17659         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
17660         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
17661         (plugin_init):
17662         * libs/gst/Makefile.am:
17663         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
17664         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
17665         (gst_file_pad_parent_set):
17666         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
17667         (gst_dp_event_from_packet):
17668         * tests/complexity.c: (main):
17669         * tests/mass_elements.c: (main):
17670         * testsuite/states/locked.c: (message_received), (main):
17671         * testsuite/states/parent.c: (main):
17672         * tools/gst-inspect.c: (print_element_flag_info),
17673         (print_implementation_info), (print_pad_info):
17674         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
17675         (main):
17676         * tools/gst-md5sum.c: (event_loop), (main):
17677         * tools/gst-typefind.c: (main):
17678         * tools/gst-xmlinspect.c: (print_element_info):
17679         Next big merge.
17680         Added GstBus for mainloop integration.
17681         Added GstMessage for sending notifications on the bus.
17682         Added GstTask as an abstraction for pipeline entry points.
17683         Removed GstThread.
17684         Removed Schedulers.
17685         Simplified GstQueue for multithreaded core.
17686         Made _link threadsafe, removed old capsnego.
17687         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
17688         Added pad blocking functions.
17689         Reworked scheduling functions in GstPad to prepare for
17690         scheduling updates soon.
17691         Moved events out of data stream.
17692         Simplified GstEvent types.
17693         Added return values to push/pull.
17694         Removed clocking from GstElement.
17695         Added prototypes for state change function for next merge.
17696         Removed iterate from bins and state change management.
17697         Fixed some elements, disabled others for now.
17698         Fixed -inspect and -launch.
17699         Added check for GstBus.
17700
17701 2005-03-10  Wim Taymans  <wim@fluendo.com>
17702
17703         * docs/design/part-MT-refcounting.txt:
17704         * docs/design/part-clocks.txt:
17705         * docs/design/part-gstelement.txt:
17706         * docs/design/part-gstobject.txt:
17707         * docs/design/part-standards.txt:
17708         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17709         (gst_bin_remove_func), (gst_bin_remove):
17710         * gst/gstbin.h:
17711         * gst/gstbuffer.c:
17712         * gst/gstcaps.h:
17713         * testsuite/clock/clock1.c: (main):
17714         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
17715         (main):
17716         * testsuite/dlopen/loadgst.c: (do_test):
17717         * testsuite/refcounting/bin.c: (add_remove_test1),
17718         (add_remove_test2), (main):
17719         * testsuite/refcounting/element.c: (main):
17720         * testsuite/refcounting/element_pad.c: (main):
17721         * testsuite/refcounting/pad.c: (main):
17722         * tools/gst-launch.c: (sigint_handler_sighandler):
17723         * tools/gst-typefind.c: (main):
17724         Doc updates.
17725         Added doc about clock.
17726         removed gst_bin_iterate_recurse_up(), marked methods
17727         for removal.
17728         Fix more testsuites.
17729
17730 2005-03-09  Wim Taymans  <wim@fluendo.com>
17731
17732         * gst/gstpad.c: (gst_pad_get_direction),
17733         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
17734         (gst_pad_collect_valist):
17735         * testsuite/bins/interface.c: (main):
17736         * testsuite/caps/audioscale.c: (test_caps):
17737         * testsuite/caps/caps.c: (test1), (test2), (test3):
17738         * testsuite/caps/deserialize.c: (main):
17739         * testsuite/caps/enumcaps.c: (main):
17740         * testsuite/caps/filtercaps.c: (main):
17741         * testsuite/caps/intersect2.c: (main):
17742         * testsuite/caps/random.c: (main):
17743         * testsuite/caps/renegotiate.c: (my_fixate), (main):
17744         * testsuite/caps/sets.c: (check_caps):
17745         * testsuite/caps/simplify.c: (check_caps), (main):
17746         * testsuite/caps/subtract.c: (check_caps):
17747         Fix _pad_get_direction wrt ghostpads.
17748         Fix caps testsuite.
17749
17750 2005-03-09  Wim Taymans  <wim@fluendo.com>
17751
17752         * check/Makefile.am:
17753         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
17754         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
17755         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
17756         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
17757         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
17758         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
17759         (gst_bin_remove), (gst_bin_iterate_recurse_up),
17760         (bin_element_is_sink), (gst_bin_iterate_sinks),
17761         (gst_bin_iterate_all_by_interface):
17762         * gst/gstbin.h:
17763         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
17764         (gst_element_change_state), (gst_element_dispose),
17765         (gst_element_finalize), (gst_element_set_loop_function):
17766         * gst/gstelement.h:
17767         * gst/gstiterator.c: (find_custom_fold_func):
17768         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17769         (gst_pad_collectv), (gst_pad_collect_valist),
17770         (gst_pad_template_new):
17771         * gst/gstpipeline.c: (gst_pipeline_class_init),
17772         (gst_pipeline_dispose), (gst_pipeline_set_property),
17773         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
17774         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
17775         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
17776         * gst/gstutils.h:
17777         * gst/schedulers/entryscheduler.c:
17778         * gst/schedulers/gstbasicscheduler.c:
17779         (gst_basic_scheduler_cothreaded_chain),
17780         (gst_basic_scheduler_chain_add_element):
17781         * testsuite/bins/interface.c: (main):
17782         Added GstBin test.
17783         Added GstSystemClock test.
17784         Implemented clock distribution code in GstBin.
17785         Implemented iterate sinks method for future use.
17786         Rearranged gstelement.h
17787         Fix GstIterator comparison bug.
17788         Moved some code to GstPipeline, mostly clocking related.
17789
17790 2005-03-09  Wim Taymans  <wim@fluendo.com>
17791
17792         * configure.ac:
17793         * gst/gst_private.h:
17794         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17795         (gst_bin_remove_func), (gst_bin_remove),
17796         (gst_bin_get_by_name_recurse_up):
17797         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
17798         (gst_clock_id_compare_func), (gst_clock_id_wait),
17799         (gst_clock_id_wait_async), (gst_clock_init),
17800         (gst_clock_adjust_unlocked), (gst_clock_get_time):
17801         * gst/gstelement.h:
17802         * gst/gstinfo.c: (_gst_debug_init):
17803         * gst/gstobject.h:
17804         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17805         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
17806         * gst/gstpad.h:
17807         Bump version number, we're now 0.9.0
17808         Add future debugging category.
17809         Fix NULL _unref() in _get_by_name_recurse_up
17810         Rearrange gstpad.h.
17811         Update some docs.
17812
17813 2005-03-08  Wim Taymans  <wim@fluendo.com>
17814
17815         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
17816         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
17817         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17818         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
17819         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
17820         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
17821         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
17822         * gst/elements/gstidentity.c: (gst_identity_class_init):
17823         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
17824         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
17825         * gst/elements/gstshaper.c: (gst_shaper_class_init):
17826         * gst/elements/gststatistics.c: (gst_statistics_class_init):
17827         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
17828         (gst_tee_link):
17829         * gst/gstelement.c: (gst_element_class_init),
17830         (gst_element_base_class_init), (gst_element_init),
17831         (gst_element_get_random_pad), (gst_element_wait_state_change),
17832         (gst_element_change_state), (gst_element_dispose),
17833         (gst_element_finalize), (gst_element_set_loop_function):
17834         * gst/gstelement.h:
17835         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
17836         * gst/gstthread.c: (gst_thread_class_init),
17837         (gst_thread_release_children_locks), (gst_thread_change_state):
17838         * gst/schedulers/gstbasicscheduler.c:
17839         (gst_basic_scheduler_loopfunc_wrapper),
17840         (gst_basic_scheduler_chain_wrapper),
17841         (gst_basic_scheduler_src_wrapper),
17842         (gst_basic_scheduler_remove_element):
17843         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
17844         Remove threadsafe properties. Fix elements because GObject
17845         complains when installing a property before declaring a
17846         set/get_property handler.
17847         Rearrange gstelement.h file, use STATE macros for state locks.
17848         Free mutexes in the finalize method instead of dispose.
17849
17850 2005-03-08  Wim Taymans  <wim@fluendo.com>
17851
17852         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
17853         * gst/gstthread.c: (gst_thread_release_children_locks):
17854         Added parentage check.
17855         Fix build og GstThread again.
17856
17857 2005-03-08  Wim Taymans  <wim@fluendo.com>
17858
17859         * docs/design/part-MT-refcounting.txt:
17860         * docs/design/part-conventions.txt:
17861         * docs/design/part-gstobject.txt:
17862         * docs/design/part-relations.txt:
17863         * docs/design/part-standards.txt:
17864         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17865         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
17866         (gst_bin_get_by_name), (gst_bin_get_by_interface),
17867         (gst_bin_iterate_all_by_interface):
17868         * gst/gstbuffer.h:
17869         * gst/gstclock.h:
17870         * gst/gstelement.c: (gst_element_class_init),
17871         (gst_element_change_state), (gst_element_set_loop_function):
17872         * gst/gstelement.h:
17873         * gst/gstiterator.c:
17874         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
17875         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
17876         (gst_object_dispatch_properties_changed), (gst_object_set_name),
17877         (gst_object_set_parent), (gst_object_unparent),
17878         (gst_object_check_uniqueness):
17879         * gst/gstobject.h:
17880         Docs updates, clean up some headers.
17881
17882 2005-03-07  Wim Taymans  <wim@fluendo.com>
17883
17884         * check/.cvsignore:
17885         * check/Makefile.am:
17886         * check/gst-libs/.cvsignore:
17887         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
17888         * check/gst/.cvsignore:
17889         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
17890         (START_TEST), (gstbus_suite), (main):
17891         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
17892         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
17893         (gst_data_suite), (main):
17894         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
17895         (add_fold_func), (gstiterator_suite), (main):
17896         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
17897         (thread_name_object), (thread_name_object_default),
17898         (gst_object_name_compare), (gst_object_suite), (main):
17899         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
17900         (gst_pad_suite), (main):
17901         * check/gstcheck.c: (gst_check_log_message_func),
17902         (gst_check_log_critical_func), (gst_check_init):
17903         * check/gstcheck.h:
17904         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17905         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
17906         Added checks.
17907
17908 2005-03-07  Wim Taymans  <wim@fluendo.com>
17909
17910         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17911         (gst_list_iterator_next), (gst_list_iterator_resync),
17912         (gst_list_iterator_free), (gst_iterator_new_list),
17913         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
17914         (gst_iterator_free), (gst_iterator_push), (filter_next),
17915         (filter_resync), (filter_uninit), (filter_free),
17916         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
17917         (gst_iterator_foreach), (find_custom_fold_func),
17918         (gst_iterator_find_custom):
17919         * gst/gstiterator.h:
17920         Added missing files.
17921
17922 2005-03-07  Wim Taymans  <wim@fluendo.com>
17923
17924         * Makefile.am:
17925         * configure.ac:
17926         * docs/design/part-MT-refcounting.txt:
17927         * docs/design/part-conventions.txt:
17928         * docs/design/part-gstobject.txt:
17929         * docs/design/part-relations.txt:
17930         * examples/mixer/mixer.c: (main):
17931         * examples/thread/thread.c: (eos), (main):
17932         * gst/Makefile.am:
17933         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
17934         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
17935         (gst_spider_plug_from_srcpad):
17936         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
17937         (gst_spider_identity_change_state),
17938         (gst_spider_identity_sink_loop_type_finding):
17939         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
17940         * gst/elements/gstidentity.c: (gst_identity_init):
17941         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
17942         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
17943         * gst/elements/gsttypefindelement.c: (free_entry):
17944         * gst/gst.c:
17945         * gst/gst.h:
17946         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
17947         (gst_bin_set_clock_func), (gst_bin_auto_clock),
17948         (gst_bin_set_index), (gst_bin_set_element_sched),
17949         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
17950         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
17951         (gst_bin_iterate_elements), (iterate_child_recurse),
17952         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
17953         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
17954         (compare_interface), (gst_bin_get_by_interface),
17955         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
17956         * gst/gstbin.h:
17957         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
17958         (gst_buffer_default_free), (gst_buffer_default_copy),
17959         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
17960         (gst_buffer_create_sub):
17961         * gst/gstbuffer.h:
17962         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
17963         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
17964         (gst_caps_unref), (gst_static_caps_get),
17965         (gst_caps_remove_and_get_structure), (gst_caps_append),
17966         (gst_caps_append_structure), (gst_caps_remove_structure),
17967         (gst_caps_copy_nth), (gst_caps_set_simple),
17968         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
17969         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
17970         (gst_caps_structure_intersect_field), (gst_caps_intersect),
17971         (gst_caps_structure_subtract_field), (gst_caps_subtract),
17972         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
17973         (gst_caps_structure_figure_out_union),
17974         (gst_caps_switch_structures), (gst_caps_do_simplify),
17975         (gst_caps_replace), (gst_caps_from_string),
17976         (gst_caps_copy_conditional):
17977         * gst/gstcaps.h:
17978         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
17979         (_gst_clock_id_free), (gst_clock_id_unref),
17980         (gst_clock_id_compare_func), (gst_clock_id_wait),
17981         (gst_clock_id_wait_async), (gst_clock_class_init),
17982         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
17983         (gst_clock_get_time), (gst_clock_set_time_adjust),
17984         (gst_clock_set_property), (gst_clock_get_property):
17985         * gst/gstclock.h:
17986         * gst/gstcompat.h:
17987         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
17988         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
17989         * gst/gstdata.h:
17990         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
17991         (gst_element_requires_clock), (gst_element_provides_clock),
17992         (gst_element_set_clock), (gst_element_clock_wait),
17993         (gst_element_wait), (gst_element_set_time_delay),
17994         (gst_element_is_indexable), (gst_element_add_pad),
17995         (gst_element_add_ghost_pad), (gst_element_remove_pad),
17996         (pad_compare_name), (gst_element_get_static_pad),
17997         (gst_element_request_pad), (gst_element_get_request_pad),
17998         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
17999         (gst_element_class_get_pad_template_list),
18000         (gst_element_class_get_pad_template), (gst_element_error_func),
18001         (gst_element_get_random_pad), (gst_element_get_event_masks),
18002         (gst_element_send_event), (gst_element_seek),
18003         (gst_element_get_query_types), (gst_element_query),
18004         (gst_element_get_formats), (gst_element_convert),
18005         (gst_element_is_locked_state), (gst_element_set_locked_state),
18006         (gst_element_sync_state_with_parent), (gst_element_change_state),
18007         (gst_element_finalize), (gst_element_yield),
18008         (gst_element_interrupt), (gst_element_set_scheduler),
18009         (gst_element_get_scheduler), (gst_element_set_loop_function):
18010         * gst/gstelement.h:
18011         * gst/gstevent.h:
18012         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
18013         (gst_format_get_by_nick), (gst_format_get_details),
18014         (gst_format_iterate_definitions):
18015         * gst/gstformat.h:
18016         * gst/gstindex.c: (gst_index_gtype_resolver):
18017         * gst/gstinfo.c:
18018         * gst/gstinfo.h:
18019         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
18020         (gst_mem_chunk_free):
18021         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
18022         (gst_object_ref), (gst_object_unref), (gst_object_sink),
18023         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
18024         (gst_object_dispatch_properties_changed),
18025         (gst_object_set_name_default), (gst_object_set_name),
18026         (gst_object_get_name), (gst_object_set_name_prefix),
18027         (gst_object_get_name_prefix), (gst_object_set_parent),
18028         (gst_object_get_parent), (gst_object_unparent),
18029         (gst_object_check_uniqueness), (gst_object_save_thyself),
18030         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
18031         (gst_object_set_property), (gst_object_get_property),
18032         (gst_object_get_path_string):
18033         * gst/gstobject.h:
18034         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18035         (gst_real_pad_init), (gst_real_pad_get_property),
18036         (gst_pad_custom_new), (gst_pad_get_direction),
18037         (gst_pad_set_active), (gst_pad_is_active),
18038         (gst_pad_set_event_function), (gst_pad_is_linked),
18039         (gst_pad_link_free), (gst_pad_link_intersect),
18040         (gst_pad_link_fixate), (gst_pad_set_caps),
18041         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
18042         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
18043         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
18044         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
18045         (gst_pad_get_caps), (gst_pad_peer_get_caps),
18046         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
18047         (gst_pad_realize), (gst_pad_get_allowed_caps),
18048         (gst_real_pad_dispose), (gst_real_pad_finalize),
18049         (gst_pad_collectv), (gst_pad_collect_valist),
18050         (gst_pad_template_dispose), (gst_pad_template_new),
18051         (gst_pad_get_internal_links):
18052         * gst/gstpad.h:
18053         * gst/gstpipeline.c: (gst_pipeline_dispose),
18054         (gst_pipeline_change_state):
18055         * gst/gstpipeline.h:
18056         * gst/gstplugin.c:
18057         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
18058         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
18059         * gst/gstpluginfeature.h:
18060         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
18061         * gst/gstquery.c: (_gst_query_type_initialize),
18062         (gst_query_type_register), (gst_query_type_get_by_nick),
18063         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
18064         * gst/gstquery.h:
18065         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
18066         * gst/gstscheduler.c: (gst_scheduler_add_element),
18067         (gst_scheduler_factory_create):
18068         * gst/gststructure.c: (gst_structure_set_parent_refcount),
18069         (gst_structure_free), (gst_structure_set_name),
18070         (gst_structure_id_set_value), (gst_structure_set_value),
18071         (gst_structure_set_valist), (gst_structure_remove_field),
18072         (gst_structure_remove_fields),
18073         (gst_structure_remove_fields_valist),
18074         (gst_structure_remove_all_fields), (gst_structure_foreach),
18075         (gst_structure_map_in_place),
18076         (gst_caps_structure_fixate_field_nearest_int),
18077         (gst_caps_structure_fixate_field_nearest_double):
18078         * gst/gststructure.h:
18079         * gst/gstsystemclock.c: (gst_system_clock_class_init),
18080         (gst_system_clock_init), (gst_system_clock_dispose),
18081         (gst_system_clock_async_thread),
18082         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
18083         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
18084         * gst/gstsystemclock.h:
18085         * gst/gsttag.c: (gst_tag_list_add_value_internal),
18086         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
18087         * gst/gsttaginterface.c:
18088         * gst/gstthread.c: (gst_thread_dispose),
18089         (gst_thread_release_children_locks), (gst_thread_change_state),
18090         (gst_thread_main_loop):
18091         * gst/gsttrashstack.h:
18092         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
18093         * gst/gsttypes.h:
18094         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18095         (gst_element_request_pad), (gst_element_get_pad_from_template),
18096         (gst_element_request_compatible_pad),
18097         (gst_element_get_compatible_pad_filtered),
18098         (gst_element_get_compatible_pad), (gst_element_state_get_name),
18099         (gst_element_link_pads_filtered), (gst_element_link_filtered),
18100         (gst_element_link_many), (gst_element_link),
18101         (gst_element_link_pads), (gst_element_unlink_pads),
18102         (gst_element_unlink_many), (gst_element_unlink),
18103         (gst_pad_can_link_filtered), (gst_pad_can_link),
18104         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
18105         (gst_object_default_error), (gst_bin_add_many),
18106         (gst_bin_remove_many), (gst_element_populate_std_props),
18107         (gst_element_class_install_std_props), (gst_buffer_merge),
18108         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
18109         (link_fold_func), (gst_pad_proxy_setcaps):
18110         * gst/gstutils.h:
18111         * gst/gstvalue.c: (gst_value_deserialize_string):
18112         * gst/parse/grammar.y:
18113         * gst/schedulers/gstbasicscheduler.c:
18114         (gst_basic_scheduler_cothreaded_chain),
18115         (gst_basic_scheduler_chain_recursive_add),
18116         (gst_basic_scheduler_pad_link):
18117         * gst/schedulers/gstoptimalscheduler.c:
18118         (get_group_schedule_function),
18119         (gst_opt_scheduler_state_transition),
18120         (gst_opt_scheduler_add_element), (element_get_reachables_func):
18121         * libs/gst/bytestream/bytestream.c:
18122         * libs/gst/dataprotocol/dataprotocol.c:
18123         (gst_dp_header_from_buffer):
18124         * po/nb.po:
18125         * po/ru.po:
18126         * tests/threadstate/threadstate2.c: (eos):
18127         * tools/gst-compprep.c: (main):
18128         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
18129         (print_pad_info), (print_children_info):
18130         * tools/gst-launch.c: (idle_func), (main):
18131         * tools/gst-md5sum.c: (idle_func), (main):
18132         * tools/gst-xmlinspect.c: (print_element_info):
18133         First THREADED backport attempt, focusing on adding locks and
18134         making sure the API is threadsafe. Needs more work. More docs
18135         follow this week.
18136
18137 2005-02-24  Andy Wingo  <wingo@pobox.com>
18138
18139         * tests/bench-complexity.scm:
18140         * tests/complexity.gnuplot: New files, good for running complexity
18141         benchmarks.
18142
18143         * tests/Makefile.am:
18144         * tests/complexity.c: New test, sets up N elements, at each level
18145         teeing into M streams per element. Eeeenteresting.
18146
18147         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
18148         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
18149         running bench-mass_elements.scm.
18150
18151         * tests/bench-mass_elements.scm: New script, runs mass_elements
18152         for various numbers of identities, outputting the results to a
18153         file. Requires guile 1.6. Just for testing.
18154
18155 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18156
18157         * gst/schedulers/fairscheduler.c:
18158           compile with debug disabled
18159
18160 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18161
18162         * configure.ac:
18163           hunting season on 0.9 is now OPEN