gst/gstminiobject.c: Fix lcopy for mini objects, the mini object needs to be ref'ed.
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
4           Fix lcopy for mini objects, the mini object needs to be ref'ed.
5           
6         * tests/check/gst/gstminiobject.c: (my_foo_init),
7         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
8         (test_value_collection), (gst_mini_object_suite):
9           Add test to ensure refcounts end up as expected when passing
10           GstMiniObjects through g_object_get() and g_object_set().
11
12 2005-12-14  Julien MOUTTE  <julien@moutte.net>
13
14         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
17         of collectpads. This version removes a lot of races without
18         touching API/ABI. Yay !
19
20 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
21
22         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
23           Don't allow activation of a srcpad in pull_range if it has no
24           getrange function.
25           Change some debug statements to be a little clearer
26
27         * plugins/elements/gsttypefindelement.c:
28         (gst_type_find_handle_src_query):
29           Check that we have a peer before executing queries thereupon.
30
31         * tests/examples/metadata/read-metadata.c: (message_loop):
32           Use gst_bus_pop instead of gst_bus_poll when we just want it to
33           immediately return us any available message with 0 timeout.
34
35 2005-12-12  Michael Smith  <msmith@fluendo.com>
36
37         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
38           Don't unref factories after calling them.
39         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
40         * plugins/elements/gsttypefindelement.c:
41         (gst_type_find_element_chain):
42           Free lists of factories after using them. Fixing typefinding memory
43           leaks.
44
45 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
46
47         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
48         (gst_plugin_feature_load):
49           more meaningful debug output
50         * configure.ac:
51         * tests/Makefile.am:
52         * tests/old/examples/Makefile.am:
53           make make distcheck happy again
54
55 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
56
57         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
58           Catch the special case where we are operating chain-based,
59           but the downstream peer pad has no chain function. Emit a
60           custom error message in this case instead of letting the
61           core generate one implying that this is some sort of core
62           bug. It's not, it just means that whatever got plugged
63           into the pipeline downstream when we announced the type
64           can only operate pull-based, while our source can only
65           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
66           Error string has not been marked for translation yet, as
67           it probably needs some more work first.
68
69         (gst_type_find_element_get_best_possibility):
70           Add helper function to find the best of all available
71           found possibilities that qualify given the min. threshold.
72
73         (gst_type_find_element_handle_event):
74           Fix the case where we get an EOS while still in TYPEFIND
75           mode (we want to chose the best of all possible types,
76           not just the first type that happens to be in our unsorted
77           list of possible types).
78
79         (gst_type_find_element_chain):
80           Make sure we return GST_FLOW_ERROR when we errored out
81           in stop_typefinding(); also, don't just find the best of
82           all found type entries and then use the last examined
83           type entry, but actually use the best entry.
84
85 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
86
87         * tests/examples/typefind/typefind.c: (type_found):
88         * tests/examples/xml/runxml.c: (xml_loaded):
89           More gcc4 fixes and a mem leak fix.
90
91 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
92
93         * tests/examples/xml/createxml.c: (object_saved):
94           gcc 4 fixes
95
96 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
97
98         * tests/Makefile.am:
99           enable the examples even more
100
101 2005-12-12  Andy Wingo  <wingo@pobox.com>
102
103         * libs/gst/net/gstnettimeprovider.c
104         (gst_net_time_provider_class_init, gst_net_time_provider_init)
105         (gst_net_time_provider_set_property)
106         (gst_net_time_provider_get_property): Export "active" as a GObject
107         property.
108         (gst_net_time_provider_thread): Only respond to time queries if
109         the time provider is active.
110
111         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
112         NetTimeProvider, preserving binary compat.
113
114 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
115
116         * tests/examples/controller/audio-example.c: (main):
117         * tests/examples/launch/Makefile.am:
118           convert comments again
119
120 2005-12-12  Wim Taymans  <wim@fluendo.com>
121
122         * libs/gst/base/gstpushsrc.c:
123         Fix typo.
124
125 2005-12-12  Wim Taymans  <wim@fluendo.com>
126
127         * docs/libs/gstreamer-libs-sections.txt:
128         Added new symbol to docs.
129
130         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
131         (gst_base_src_init), (gst_base_src_set_format),
132         (gst_base_src_default_query), (gst_base_src_query),
133         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
134         (gst_base_src_perform_seek), (gst_base_src_send_event),
135         (gst_base_src_default_event), (gst_base_src_event_handler),
136         (gst_base_src_set_property), (gst_base_src_get_property),
137         (gst_base_src_wait), (gst_base_src_do_sync),
138         (gst_base_src_update_length), (gst_base_src_get_range),
139         (gst_base_src_check_get_range), (gst_base_src_loop),
140         (gst_base_src_default_negotiate), (gst_base_src_start),
141         (gst_base_src_activate_push), (gst_base_src_activate_pull),
142         (gst_base_src_change_state):
143         * libs/gst/base/gstbasesrc.h:
144         Implement seeking to other formats than _BYTES.
145         Implement more seeking methods correctly.
146         Doc updates.
147         Added query vmethod.
148         Added do_seek vmethod to make life easier for subclasses
149         when seeking.
150         API addition: gst_base_src_set_format()
151
152 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
153
154         * tests/examples/Makefile.am:
155           added that too
156
157 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
158
159         * configure.ac:
160         * docs/random/ensonic/media-device-daemon.txt:
161         * tests/examples/controller/.cvsignore:
162         * tests/examples/controller/Makefile.am:
163         * tests/examples/controller/audio-example.c: (main):
164         * tests/examples/helloworld/.cvsignore:
165         * tests/examples/helloworld/Makefile.am:
166         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
167         * tests/examples/launch/.cvsignore:
168         * tests/examples/launch/Makefile.am:
169         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
170         * tests/examples/metadata/.cvsignore:
171         * tests/examples/metadata/Makefile.am:
172         * tests/examples/metadata/read-metadata.c: (message_loop),
173         (make_pipeline), (print_tag), (main):
174         * tests/examples/queue/.cvsignore:
175         * tests/examples/queue/Makefile.am:
176         * tests/examples/queue/queue.c: (event_loop), (main):
177         * tests/examples/typefind/.cvsignore:
178         * tests/examples/typefind/Makefile.am:
179         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
180         (main):
181         * tests/examples/xml/.cvsignore:
182         * tests/examples/xml/Makefile.am:
183         * tests/examples/xml/createxml.c: (object_saved), (main):
184         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
185         * tests/old/examples/Makefile.am:
186         * tests/old/examples/TODO:
187         * tests/old/examples/controller/.cvsignore:
188         * tests/old/examples/controller/Makefile.am:
189         * tests/old/examples/controller/audio-example.c:
190         * tests/old/examples/helloworld/.cvsignore:
191         * tests/old/examples/helloworld/Makefile.am:
192         * tests/old/examples/helloworld/helloworld.c:
193         * tests/old/examples/launch/.cvsignore:
194         * tests/old/examples/launch/Makefile.am:
195         * tests/old/examples/launch/mp3parselaunch.c:
196         * tests/old/examples/launch/mp3play:
197         * tests/old/examples/manual/Makefile.am:
198         * tests/old/examples/metadata/Makefile.am:
199         * tests/old/examples/metadata/read-metadata.c:
200         * tests/old/examples/queue/.cvsignore:
201         * tests/old/examples/queue/Makefile.am:
202         * tests/old/examples/queue/queue.c:
203         * tests/old/examples/typefind/.cvsignore:
204         * tests/old/examples/typefind/Makefile.am:
205         * tests/old/examples/typefind/typefind.c:
206         * tests/old/examples/xml/.cvsignore:
207         * tests/old/examples/xml/Makefile.am:
208         * tests/old/examples/xml/createxml.c:
209         * tests/old/examples/xml/runxml.c:
210           applied some simple fixing to some examples
211           re-enabled the working examples
212
213 2005-12-12  Wim Taymans  <wim@fluendo.com>
214
215         * gst/gstsegment.c: (gst_segment_init),
216         (gst_segment_set_last_stop), (gst_segment_set_seek),
217         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
218         (gst_segment_to_running_time):
219         Added more documentation.
220         Make sure the last_pos value is updated properly.
221         Make sure to_stream_time and to_running_time don't
222         operate on wrong values.
223
224         * tests/check/gst/gstsegment.c: (GST_START_TEST):
225         Update check.
226
227 2005-12-12  Michael Smith  <msmith@fluendo.com>
228
229         * plugins/elements/gsttypefindelement.c: (free_entry),
230         (gst_type_find_element_chain):
231           Now that we're not leaking factories, make sure we keep references
232           to them while we need them.
233
234 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
235
236         * tests/check/gst/struct_i386.h:
237           ifdef out the XML structs
238
239 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
240
241         * gst/gstvalue.c: (gst_value_transform_double_fraction):
242           floor is not needed, F is always positive; this obviates the
243           need for adding -lm when building without libxml
244
245 2005-12-12  Wim Taymans  <wim@fluendo.com>
246
247         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
248         Take current playback rate into account when reporting
249         the position.
250
251 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
252
253         * docs/manual/mime-world.fig:
254           Let's try this again, this time with a file that is
255           actually in XFig format.
256
257 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
258
259         * docs/manual/mime-world.fig:
260           Add audioconvert element to diagram so that it
261           matches the text and the code (fixes #319526).
262
263 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
264
265         * docs/pwg/building-chainfn.xml:
266         * docs/pwg/building-pads.xml:
267         * docs/pwg/building-state.xml:
268         * docs/pwg/other-source.xml:
269           Update state change stuff for 0.10 (fixes #322969).
270
271 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
272
273         * docs/manual/advanced-dataaccess.xml:
274         * docs/manual/appendix-checklist.xml:
275         * docs/manual/appendix-programs.xml:
276         * docs/manual/basics-pads.xml:
277         * docs/manual/highlevel-components.xml:
278         * docs/manual/manual.xml:
279           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
280           add converters in front of pipelines; remove curly
281           brackets for threads stuff, they no longer exist; use
282           GST_TYPE_FRACTION for framerates; update some pieces of
283           code to 0.10, but there's plenty more to do.
284
285         * docs/manual/appendix-porting.xml:
286           Expand on asynchroneous state changes; s/0.9/0.10/;
287           mention disappearance of gst_init_get_popt_table()
288           (fixes #322916).
289
290 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
291
292         * docs/faq/using.xml:
293           Spider no longer exists, and neither does gst-launch-ext.
294           Update examples to use decodebin and playbin and put
295           converters in front of sinks (fixes #323726).
296
297 2005-12-09  Michael Smith  <msmith@fluendo.com>
298
299         * plugins/elements/gsttypefindelement.c: (find_peek),
300         (gst_type_find_element_chain):
301           Fix leaking element factories in typefinding.
302           Fix problem where we forgot about a probable type on non-seekable
303           files, and thus later mis-typefound it.
304
305 2005-12-09  Michael Smith  <msmith@fluendo.com>
306
307         * common/m4/gst-makecontext.m4:
308         * common/m4/gst-mcsc.m4:
309         * configure.ac:
310         * win32/common/config.h:
311         * win32/common/config.h.in:
312           Remove makecontext stuff; not used in 0.10 and causes problems on
313           HPUX according to bug #322441
314
315 2005-12-07  Wim Taymans  <wim@fluendo.com>
316
317         * tests/check/Makefile.am:
318         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
319         (main):
320         * tests/check/libs/struct_i386.h:
321         Added ABI check for libs
322
323 2005-12-07  Wim Taymans  <wim@fluendo.com>
324
325         * tests/check/Makefile.am:
326         And add the struct_i386.h to dist.
327
328 2005-12-07  Wim Taymans  <wim@fluendo.com>
329
330         * tests/check/Makefile.am:
331         * tests/check/gst/.cvsignore:
332         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
333         (main):
334         * tests/check/gst/struct_i386.h:
335         Added check for ABI compatibility.
336
337 2005-12-07  Wim Taymans  <wim@fluendo.com>
338
339         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
340         (gst_fake_src_get_times), (gst_fake_src_create):
341         Fix broken sync option, fixes #323259
342
343 2005-12-07  Wim Taymans  <wim@fluendo.com>
344
345         * gst/gstbuffer.c:
346         Small docs update.
347
348         * gst/gstcaps.c: (gst_caps_is_equal):
349         Don't assert on NULL <--> X. Fixes #323260
350
351         * gst/gstminiobject.c: (gst_mini_object_replace):
352         If we're doing atomic operations, we might just as well use
353         the proper way to get an atomic pointer.
354
355         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
356         Clean up debugging.
357
358 2005-12-07  Michael Smith  <msmith@fluendo.com>
359
360         * gst/parse/grammar.y:
361           Remove handling of { } for threads.
362
363 2005-12-06  David Schleef  <ds@schleef.org>
364
365         * libs/gst/base/gstbasetransform.c: speling fix.
366
367 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
368
369         * docs/libs/tmpl/gstdataprotocol.sgml:
370         * docs/random/omega/testing/gstobject.c:
371         * gst/gst.c:
372         * gst/gstclock.c:
373         * gst/gstelement.c:
374         * gst/gstelementfactory.c:
375         * gst/gsterror.c:
376         * gst/gstevent.c:
377         * gst/gstghostpad.c:
378         * gst/gstinfo.c:
379         * gst/gstpadtemplate.c:
380         * gst/gstregistryxml.c:
381         * gst/gsttaglist.c:
382         * gst/gsttagsetter.c:
383         * gst/gsttypefind.c:
384         * gst/gstvalue.c:
385         * libs/gst/base/gstbasesrc.c:
386         * libs/gst/net/gstnetclientclock.c:
387         * libs/gst/net/gstnettimeprovider.c:
388         * plugins/elements/gstfakesrc.c:
389         * plugins/elements/gstfdsrc.c:
390         * plugins/elements/gstfilesrc.c:
391         * plugins/elements/gstidentity.c:
392         * plugins/elements/gstqueue.c:
393         * plugins/elements/gsttypefindelement.c:
394         * plugins/indexers/gstfileindex.c:
395         * plugins/indexers/gstmemindex.c:
396         * tests/check/gst/gsttag.c:
397         * tests/old/examples/cutter/cutter.c:
398         * tests/old/examples/mixer/mixer.c:
399         * tests/old/examples/xml/runxml.c: (main):
400         * tests/old/testsuite/caps/normalisation.c:
401         * tests/old/testsuite/debug/global.c:
402         * tests/old/testsuite/parse/parse1.c:
403         * tools/gst-xmlinspect.c:
404         * win32/common/dirent.c:
405           expand tabs
406
407 === release 0.10.0 ===
408
409 2005-12-05   <thomas (at) apestaart (dot) org>
410
411         * configure.ac:
412           releasing 0.10.0, "Maroilles"
413
414 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
415
416         submitted by: Funda Wang <fundawang@linux.net.cn>
417
418         * po/LINGUAS:
419         * po/zh_CN.po:
420           added Chinese (Traditional) translation
421
422 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
423
424         * docs/gst/gstreamer-sections.txt:
425         * docs/libs/tmpl/gstdataprotocol.sgml:
426         * docs/random/thomasvs/TODO:
427         * gst/gstutils.c:
428         * gst/gstutils.h:
429           fix docs
430
431 2005-12-05  Andy Wingo  <wingo@pobox.com>
432
433         patch by: Wim Taymans <wim@fluendo.com>
434
435         * libs/gst/base/gstbasetransform.c
436         (gst_base_transform_prepare_output_buf)
437         (gst_base_transform_buffer_alloc):
438         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
439         alloc_buffer_and_set_caps.
440
441         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
442         set_caps on the source pad.
443         (gst_pad_alloc_buffer_and_set_caps): New function, does what
444         alloc_buffer used to do. Fixes #322874.
445
446         * docs/gst/gstreamer-sections.txt: 
447         * docs/design/part-negotiation.txt: 
448         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
449         changes.
450
451 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
452
453         patch by: Sebastien Moutte
454
455         * win32/MANIFEST:
456         * win32/common/config.h.in:
457         * win32/vs6/libgstcontroller.dsp:
458           win32 build fixes
459
460 2005-12-05  Wim Taymans  <wim@fluendo.com>
461
462         * gst/gstcaps.c: (gst_caps_is_equal):
463         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
464         (gst_fake_src_create):
465         Back out previous code changes, leave doc updates, file bugs 
466         instead. 
467
468 2005-12-05  Wim Taymans  <wim@fluendo.com>
469
470         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
471         (gst_fake_src_get_times), (gst_fake_src_create):
472         * plugins/elements/gstfakesrc.h:
473         Fix broken sync code.
474
475 2005-12-05  Wim Taymans  <wim@fluendo.com>
476
477         * gst/gstcaps.c: (gst_caps_is_equal):
478         Comparing NULL against !NULL yields different caps, not a
479         failure.
480
481 2005-12-05  Wim Taymans  <wim@fluendo.com>
482
483         * gst/gstpipeline.c:
484         Fix small typo in docs.
485
486 2005-12-05  Andy Wingo  <wingo@pobox.com>
487
488         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
489
490         * gst/gst.c (init_post): remove hard-coded 0.9 location for
491         registries/plugins with a MAJORMINOR one.
492         (plugin_desc): Rename library from gstcoreleements to
493         staticelements. Fixes #323222.
494
495 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
496
497         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
498           Change debug category to 'collectpads' from 'collect_pads'
499           (fixes #323250).
500
501 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
502
503         patch by: Sebastien Moutte
504
505         * libs/gst/controller/gstinterpolation.c:
506           use convert function for uint64/double
507         * win32/vs6/libgstcontroller.dsp:
508           link to GLib
509
510 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
511
512         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
513         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
514         * gst/gstutils.h:
515         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
516           add tests that seem to show that the guint64/gdouble conversions
517           are correct.
518
519 2005-12-02  Wim Taymans  <wim@fluendo.com>
520
521         * gst/gstregistry.c: (gst_registry_add_path):
522         * gst/gstregistry.h:
523         * gst/gstregistryxml.c:
524         Fix docs again.
525
526 2005-12-02  Wim Taymans  <wim@fluendo.com>
527
528         * gst/gstutils.c: (gst_util_uint64_scale_int64),
529         (gst_util_uint64_scale_int):
530         Small cleanup.
531
532         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
533         Add debug log line.
534
535         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
536         Add FIXME.
537
538 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
539
540         * win32/MANIFEST:
541         * win32/common/config.h:
542         * win32/vs6/gstreamer.dsw:
543         * win32/vs6/libgstcoreelements.dsp:
544         * win32/vs6/libgstelements.dsp:
545           renamed core elements plugin
546
547 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
548
549         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
550         (get_candidates):
551           do piece-wise major/minor comparison so 0.9 < 0.10
552           also allow .exe extensions for tools
553
554 2005-12-02  Michael Smith  <msmith@fluendo.com>
555
556         * gst/gst.c:
557           Escape a % to make gtkdoc happier; bug 322958.
558
559 === release 0.9.7 ===
560
561 2005-12-01   <thomas (at) apestaart (dot) org>
562
563         * configure.ac:
564           releasing 0.9.7, "My Dog Has No Nose"
565
566 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
567
568         * common/gst-xmlinspect.py:
569         * configure.ac:
570         * docs/libs/tmpl/gstdataprotocol.sgml:
571         * docs/random/release:
572         * po/af.po:
573         * po/az.po:
574         * po/bg.po:
575         * po/ca.po:
576         * po/cs.po:
577         * po/de.po:
578         * po/en_GB.po:
579         * po/fr.po:
580         * po/it.po:
581         * po/nb.po:
582         * po/nl.po:
583         * po/ru.po:
584         * po/sq.po:
585         * po/sr.po:
586         * po/sv.po:
587         * po/tr.po:
588         * po/uk.po:
589         * po/vi.po:
590         * win32/common/config.h:
591         * win32/common/config.h.in:
592         * win32/vs6/gst_inspect.dsp:
593         * win32/vs6/gst_launch.dsp:
594         * win32/vs6/libgstbase.dsp:
595         * win32/vs6/libgstelements.dsp:
596         * win32/vs6/libgstreamer.dsp:
597         * win32/vs7/GStreamer.vcproj:
598         * win32/vs7/gst-inspect.vcproj:
599         * win32/vs7/gst-launch.vcproj:
600         * win32/vs7/libgstbase.vcproj:
601           bump GST_MAJORMINOR to 0.10
602           reset libtool version
603
604 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
605
606         * po/LINGUAS:
607         * po/bg.po:
608           Added Bulgarian translation by (Alexander Shopov)
609
610 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
611
612         * tests/check/gst/gstplugin.c:
613           fix test
614
615 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
616
617         * common/gst-xmlinspect.py:
618         * common/gtk-doc-plugins.mak:
619         * configure.ac:
620         * docs/Makefile.am:
621         * docs/gst/Makefile.am:
622         * docs/gst/gstreamer-docs.sgml:
623         * docs/gst/gstreamer-sections.txt:
624         * docs/gst/gstreamer.types:
625         * docs/gst/gstreamer.types.in:
626         * docs/plugins/Makefile.am:
627         * docs/plugins/gstreamer-plugins-docs.sgml:
628         * docs/plugins/gstreamer-plugins-sections.txt:
629         * docs/plugins/gstreamer-plugins.types:
630         * docs/plugins/inspect.stamp:
631         * docs/plugins/inspect/plugin-coreelements.xml:
632         * docs/plugins/inspect/plugin-coreindexers.xml:
633         * docs/plugins/scanobj-build.stamp:
634         * gstreamer.spec.in:
635         * plugins/elements/Makefile.am:
636         * plugins/elements/gstelements.c:
637         * plugins/elements/gstfakesink.c:
638         * plugins/elements/gstfakesrc.c:
639         * plugins/elements/gstfilesink.c:
640         * plugins/elements/gstfilesrc.c:
641         * plugins/elements/gstqueue.c:
642         * plugins/indexers/Makefile.am:
643         * plugins/indexers/gstindexers.c:
644           document core plugins in a separate document just like all the
645           others
646           rename these plugins to something starting with core
647
648 2005-12-01  Andy Wingo  <wingo@pobox.com>
649
650         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
651         padding here before, but it missed the commit.
652
653 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
654
655         * libs/gst/controller/gstinterpolation.c:
656           whitespace prices have crashed, we should feel free to use some now
657           use gst_guint64_to_gdouble
658
659 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
660
661         * libs/gst/controller/gstcontroller.c:
662         * libs/gst/controller/gsthelper.c:
663         * libs/gst/controller/gstinterpolation.c:
664         * libs/gst/controller/lib.c:
665           wrap config.h include
666
667 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
668
669         * docs/gst/gstreamer-sections.txt:
670           update docs
671
672 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
673
674         * plugins/elements/gstelements.c:
675         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
676         (gst_fd_sink__class_init), (gst_fd_sink__init),
677         (gst_fd_sink__chain), (gst_fd_sink__set_property),
678         (gst_fd_sink__get_property):
679         * plugins/elements/gstfdsink.h:
680         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
681         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
682         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
683         (gst_fd_src_unlock), (gst_fd_src_set_property),
684         (gst_fd_src_get_property), (gst_fd_src_create),
685         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
686         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
687         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
688         (gst_fd_src_uri_handler_init):
689         * plugins/elements/gstfdsrc.h:
690         * plugins/elements/gstqueue.c: (gst_queue_get_type):
691           more anal cleanup
692
693 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
694
695         * docs/gst/Makefile.am:
696         * docs/gst/gstreamer.types.in:
697         * gst/Makefile.am:
698           fix the docs build
699
700 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
701
702         * configure.ac:
703         * gst/Makefile.am:
704         * gst/gst.c:
705         * gst/gstplugin.h:
706         * gst/gstregistry.h:
707         * tests/benchmarks/complexity.c:
708         * tests/benchmarks/mass-elements.c:
709         * tests/check/Makefile.am:
710         * tools/Makefile.am:
711         * tools/gst-inspect.c:
712         * tools/gst-xmlinspect.c:
713           various fixes to make
714           --disable-nls --disable-registry --disable-loadsave
715           --disable-parse --disable-gst-debug
716           work and get the core .so down to 360444 bytes after stripping
717
718 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
719
720         * Makefile.am:
721         * configure.ac:
722           descend into tests
723         * docs/random/thomasvs/TODO:
724         * tests/Makefile.am:
725         * tests/README:
726           add a README
727
728 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
729
730         * win32/GStreamer.vcproj:
731         * win32/MANIFEST:
732         * win32/Makefile:
733         * win32/Makefile.inspect:
734         * win32/Makefile.launch:
735         * win32/Makefile.register:
736         * win32/README.txt:
737         * win32/gst-inspect.vcproj:
738         * win32/gst-launch.vcproj:
739         * win32/gst-register.vcproj:
740         * win32/gstelements.vcproj:
741         * win32/gstgetbits.def:
742         * win32/gstgetbits.vcproj:
743         * win32/gstreamer-dbg.def:
744         * win32/gstreamer.def:
745         * win32/libgstbase.def:
746         * win32/libgstbase.vcproj:
747         * win32/link_oldruntime.c:
748         * win32/mman.c:
749         * win32/mman.h:
750         * win32/mman.inl:
751         * win32/msvc71.sln:
752           move even more stuff, win32/ is nice and clean now
753
754 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
755
756         * libs/gst/control/.cvsignore:
757         * win32/MANIFEST:
758         * win32/config.h:
759         * win32/dirent.c:
760         * win32/dirent.h:
761         * win32/gstbytestream.def:
762         * win32/gstbytestream.vcproj:
763         * win32/gstconfig.h:
764         * win32/gstenumtypes.c:
765         * win32/gstenumtypes.h:
766         * win32/gstoptimalscheduler.vcproj:
767         * win32/gstversion.h:
768         * win32/gtchar.h:
769         * win32/testsuite/bins.vcproj:
770         * win32/testsuite/bytestream.vcproj:
771         * win32/testsuite/caps.vcproj:
772         * win32/testsuite/cleanup.vcproj:
773         * win32/testsuite/clock.vcproj:
774         * win32/testsuite/debug.vcproj:
775         * win32/testsuite/dlopen.vcproj:
776         * win32/testsuite/dynparams.vcproj:
777         * win32/testsuite/elements.vcproj:
778         * win32/testsuite/ghostpads.vcproj:
779         * win32/testsuite/indexers.vcproj:
780         * win32/testsuite/negotiation.vcproj:
781         * win32/testsuite/parse.vcproj:
782         * win32/testsuite/plugin.vcproj:
783         * win32/testsuite/refcounting.vcproj:
784         * win32/testsuite/schedulers.vcproj:
785         * win32/testsuite/states.vcproj:
786         * win32/testsuite/tags.vcproj:
787         * win32/testsuite/threads.vcproj:
788           remove old win32 stuff that isn't maintained and should be
789           reorganized
790
791 2005-11-30  Andy Wingo  <wingo@pobox.com>
792
793         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
794         loading the gst.interfaces python module bork.
795
796         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
797         available since GLib 2.2. Fixes #318031.
798
799 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
800
801         * Makefile.am:
802         * check/.cvsignore:
803         * check/Makefile.am:
804         * check/elements/.cvsignore:
805         * check/elements/fakesrc.c:
806         * check/elements/fdsrc.c:
807         * check/elements/identity.c:
808         * check/generic/.cvsignore:
809         * check/generic/states.c:
810         * check/gst-libs/.cvsignore:
811         * check/gst-libs/controller.c:
812         * check/gst-libs/gdp.c:
813         * check/gst/.cvsignore:
814         * check/gst/capslist.h:
815         * check/gst/gst.c:
816         * check/gst/gstbin.c:
817         * check/gst/gstbuffer.c:
818         * check/gst/gstbus.c:
819         * check/gst/gstcaps.c:
820         * check/gst/gstelement.c:
821         * check/gst/gstevent.c:
822         * check/gst/gstghostpad.c:
823         * check/gst/gstiterator.c:
824         * check/gst/gstmessage.c:
825         * check/gst/gstminiobject.c:
826         * check/gst/gstobject.c:
827         * check/gst/gstpad.c:
828         * check/gst/gstpipeline.c:
829         * check/gst/gstplugin.c:
830         * check/gst/gstsegment.c:
831         * check/gst/gststructure.c:
832         * check/gst/gstsystemclock.c:
833         * check/gst/gsttag.c:
834         * check/gst/gstutils.c:
835         * check/gst/gstvalue.c:
836         * check/net/.cvsignore:
837         * check/net/gstnetclientclock.c:
838         * check/net/gstnettimeprovider.c:
839         * check/pipelines/.cvsignore:
840         * check/pipelines/cleanup.c:
841         * check/pipelines/simple_launch_lines.c:
842         * check/pipelines/stress.c:
843         * check/states/.cvsignore:
844         * check/states/sinks.c:
845         * configure.ac:
846         * examples/Makefile.am:
847         * examples/appreader/.cvsignore:
848         * examples/appreader/Makefile.am:
849         * examples/appreader/appreader.c:
850         * examples/controller/.cvsignore:
851         * examples/controller/Makefile.am:
852         * examples/controller/audio-example.c:
853         * examples/cutter/.cvsignore:
854         * examples/cutter/Makefile.am:
855         * examples/cutter/cutter.c:
856         * examples/cutter/cutter.h:
857         * examples/events/Makefile.am:
858         * examples/events/seek.c:
859         * examples/helloworld/.cvsignore:
860         * examples/helloworld/Makefile.am:
861         * examples/helloworld/helloworld.c:
862         * examples/helloworld2/.cvsignore:
863         * examples/helloworld2/Makefile.am:
864         * examples/helloworld2/helloworld2.c:
865         * examples/launch/.cvsignore:
866         * examples/launch/Makefile.am:
867         * examples/launch/mp3parselaunch.c:
868         * examples/launch/mp3play:
869         * examples/manual/.cvsignore:
870         * examples/manual/Makefile.am:
871         * examples/manual/extract.pl:
872         * examples/metadata/Makefile.am:
873         * examples/metadata/read-metadata.c:
874         * examples/mixer/.cvsignore:
875         * examples/mixer/Makefile.am:
876         * examples/mixer/mixer.c:
877         * examples/mixer/mixer.h:
878         * examples/pingpong/.cvsignore:
879         * examples/pingpong/Makefile.am:
880         * examples/pingpong/pingpong.c:
881         * examples/plugins/.cvsignore:
882         * examples/plugins/Makefile.am:
883         * examples/plugins/example.c:
884         * examples/plugins/example.h:
885         * examples/pwg/.cvsignore:
886         * examples/pwg/Makefile.am:
887         * examples/pwg/extract.pl:
888         * examples/queue/.cvsignore:
889         * examples/queue/Makefile.am:
890         * examples/queue/queue.c:
891         * examples/queue2/.cvsignore:
892         * examples/queue2/Makefile.am:
893         * examples/queue2/queue2.c:
894         * examples/queue3/.cvsignore:
895         * examples/queue3/Makefile.am:
896         * examples/queue3/queue3.c:
897         * examples/queue4/.cvsignore:
898         * examples/queue4/Makefile.am:
899         * examples/queue4/queue4.c:
900         * examples/retag/.cvsignore:
901         * examples/retag/Makefile.am:
902         * examples/retag/retag.c:
903         * examples/retag/transcode.c:
904         * examples/thread/.cvsignore:
905         * examples/thread/Makefile.am:
906         * examples/thread/thread.c:
907         * examples/typefind/.cvsignore:
908         * examples/typefind/Makefile.am:
909         * examples/typefind/typefind.c:
910         * examples/xml/.cvsignore:
911         * examples/xml/Makefile.am:
912         * examples/xml/createxml.c:
913         * examples/xml/runxml.c:
914         * tests/Makefile.am:
915         * tests/check/Makefile.am:
916         * testsuite/.cvsignore:
917         * testsuite/Makefile.am:
918         * testsuite/Rules:
919         * testsuite/caps/.cvsignore:
920         * testsuite/caps/Makefile.am:
921         * testsuite/caps/app_fixate.c:
922         * testsuite/caps/audioscale.c:
923         * testsuite/caps/caps.c:
924         * testsuite/caps/caps.h:
925         * testsuite/caps/caps_strings:
926         * testsuite/caps/compatibility.c:
927         * testsuite/caps/deserialize.c:
928         * testsuite/caps/enumcaps.c:
929         * testsuite/caps/eratosthenes.c:
930         * testsuite/caps/filtercaps.c:
931         * testsuite/caps/fixed.c:
932         * testsuite/caps/fraction-convert.c:
933         * testsuite/caps/fraction-multiply-and-zero.c:
934         * testsuite/caps/intersect2.c:
935         * testsuite/caps/intersection.c:
936         * testsuite/caps/normalisation.c:
937         * testsuite/caps/random.c:
938         * testsuite/caps/renegotiate.c:
939         * testsuite/caps/sets.c:
940         * testsuite/caps/simplify.c:
941         * testsuite/caps/string-conversions.c:
942         * testsuite/caps/structure.c:
943         * testsuite/caps/subtract.c:
944         * testsuite/caps/union.c:
945         * testsuite/debug/.cvsignore:
946         * testsuite/debug/Makefile.am:
947         * testsuite/debug/category.c:
948         * testsuite/debug/commandline.c:
949         * testsuite/debug/global.c:
950         * testsuite/debug/output.c:
951         * testsuite/debug/printf_extension.c:
952         * testsuite/dlopen/.cvsignore:
953         * testsuite/dlopen/Makefile.am:
954         * testsuite/dlopen/dlopen_gst.c:
955         * testsuite/dlopen/loadgst.c:
956         * testsuite/elements/.cvsignore:
957         * testsuite/elements/Makefile.am:
958         * testsuite/elements/gst-inspect-check.in:
959         * testsuite/elements/struct_i386.h:
960         * testsuite/elements/struct_size.c:
961         * testsuite/indexers/.cvsignore:
962         * testsuite/indexers/Makefile.am:
963         * testsuite/indexers/cache1.c:
964         * testsuite/indexers/indexdump.c:
965         * testsuite/parse/.cvsignore:
966         * testsuite/parse/Makefile.am:
967         * testsuite/parse/parse1.c:
968         * testsuite/parse/parse2.c:
969         * testsuite/plugin/.cvsignore:
970         * testsuite/plugin/Makefile.am:
971         * testsuite/plugin/README:
972         * testsuite/plugin/dynamic.c:
973         * testsuite/plugin/linked.c:
974         * testsuite/plugin/loading.c:
975         * testsuite/plugin/registry.c:
976         * testsuite/plugin/static.c:
977         * testsuite/plugin/static2.c:
978         * testsuite/plugin/testplugin.c:
979         * testsuite/plugin/testplugin2.c:
980         * testsuite/plugin/testplugin2_s.c:
981         * testsuite/plugin/testplugin_s.c:
982         * testsuite/refcounting/.cvsignore:
983         * testsuite/refcounting/Makefile.am:
984         * testsuite/refcounting/bin.c:
985         * testsuite/refcounting/element.c:
986         * testsuite/refcounting/element_pad.c:
987         * testsuite/refcounting/mainloop.c:
988         * testsuite/refcounting/mem.c:
989         * testsuite/refcounting/mem.h:
990         * testsuite/refcounting/object.c:
991         * testsuite/refcounting/pad.c:
992         * testsuite/refcounting/sched.c:
993         * testsuite/refcounting/thread.c:
994         * testsuite/states/.cvsignore:
995         * testsuite/states/Makefile.am:
996         * testsuite/states/bin.c:
997         * testsuite/states/locked.c:
998         * testsuite/states/parent.c:
999         * testsuite/threads/.cvsignore:
1000         * testsuite/threads/159566.c:
1001         * testsuite/threads/159852.c:
1002         * testsuite/threads/Makefile.am:
1003         * testsuite/threads/queue.c:
1004         * testsuite/threads/signals.c:
1005         * testsuite/threads/staticrec.c:
1006         * testsuite/threads/thread.c:
1007         * testsuite/threads/threadb.c:
1008         * testsuite/threads/threadc.c:
1009         * testsuite/threads/threadd.c:
1010         * testsuite/threads/threade.c:
1011         * testsuite/threads/threadf.c:
1012         * testsuite/threads/threadg.c:
1013         * testsuite/threads/threadh.c:
1014         * testsuite/threads/threadi.c:
1015           move all of these under tests
1016
1017 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1018
1019         * configure.ac:
1020         * tests/Makefile.am:
1021           fix distcheck
1022
1023 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1024
1025         * docs/gst/gstreamer-sections.txt:
1026         * tests/sched/.cvsignore:
1027         * tests/sched/Makefile.am:
1028         * tests/sched/cases/(fs-fs).xml:
1029         * tests/sched/cases/(fs-i-fs).xml:
1030         * tests/sched/cases/(fs-i-i-fs).xml:
1031         * tests/sched/cases/(fs-i-q[i-fs]).xml:
1032         * tests/sched/dynamic-pipeline.c:
1033         * tests/sched/interrupt1.c:
1034         * tests/sched/interrupt2.c:
1035         * tests/sched/interrupt3.c:
1036         * tests/sched/runtestcases:
1037         * tests/sched/runxml.c:
1038         * tests/sched/sched-stress.c:
1039         * tests/sched/sort.c:
1040         * tests/sched/testcases:
1041         * tests/sched/testcases1.tc:
1042         * tests/seeking/.cvsignore:
1043         * tests/seeking/Makefile.am:
1044         * tests/seeking/seeking1.c:
1045         * tests/threadstate/.cvsignore:
1046         * tests/threadstate/Makefile.am:
1047         * tests/threadstate/test1.c:
1048         * tests/threadstate/test2.c:
1049         * tests/threadstate/threadstate1.c:
1050         * tests/threadstate/threadstate2.c:
1051         * tests/threadstate/threadstate3.c:
1052         * tests/threadstate/threadstate4.c:
1053         * tests/threadstate/threadstate5.c:
1054           remove obsolete tests
1055         * configure.ac:
1056         * tests/bench-complexity.scm:
1057         * tests/bench-mass_elements.scm:
1058         * tests/complexity.c:
1059         * tests/complexity.gnuplot:
1060         * tests/instantiate/.cvsignore:
1061         * tests/instantiate/Makefile.am:
1062         * tests/instantiate/caps.c:
1063         * tests/mass_elements.c:
1064         * tests/network-clock-utils.scm:
1065         * tests/network-clock.scm:
1066         * tests/plot-data:
1067         First pass at cleaning up tests/ dir before moving the rest
1068         Combined with CVS surgery
1069
1070 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1071
1072         * po/POTFILES.in:
1073           queue has moved, update
1074
1075 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1076
1077         * docs/gst/gstreamer-sections.txt:
1078           remove double entries from the docs
1079         * gst/gst_private.h:
1080         * gst/gstinfo.c: (_gst_debug_init):
1081           remove the THREAD debug category
1082         * gst/Makefile.am:
1083         * gst/gstqueue.c:
1084         * gst/gstqueue.h:
1085         * docs/gst/gstreamer.types:
1086         * plugins/elements/gstqueue.c: (gst_queue_get_type),
1087         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
1088           completely move queue and fix up debugging categories
1089
1090 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1091
1092         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1093           make initialization portable, using LL is not
1094
1095 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1096
1097         * win32/common/gstconfig.h:
1098           add large padding
1099
1100 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1101
1102         * win32/common/libgstreamer.def:
1103           rename symbols; sort base section
1104
1105 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1106
1107         * gst/gstclock.c: (do_linear_regression):
1108           remove crack non-portable handrolled DEBUG macro
1109
1110 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1111
1112         * docs/random/release:
1113           update notes
1114         * win32/common/gstenumtypes.c: (register_gst_object_flags),
1115         (gst_object_flags_get_type), (register_gst_bin_flags),
1116         (gst_bin_flags_get_type), (register_gst_buffer_flag),
1117         (gst_buffer_flag_get_type), (register_gst_bus_flags),
1118         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1119         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
1120         (gst_caps_flags_get_type), (register_gst_clock_return),
1121         (gst_clock_return_get_type), (register_gst_clock_entry_type),
1122         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1123         (gst_clock_flags_get_type), (register_gst_state),
1124         (gst_state_get_type), (register_gst_state_change_return),
1125         (gst_state_change_return_get_type), (register_gst_state_change),
1126         (gst_state_change_get_type), (register_gst_element_flags),
1127         (gst_element_flags_get_type), (register_gst_core_error),
1128         (gst_core_error_get_type), (register_gst_library_error),
1129         (gst_library_error_get_type), (register_gst_resource_error),
1130         (gst_resource_error_get_type), (register_gst_stream_error),
1131         (gst_stream_error_get_type), (register_gst_event_type_flags),
1132         (gst_event_type_flags_get_type), (register_gst_event_type),
1133         (gst_event_type_get_type), (register_gst_seek_type),
1134         (gst_seek_type_get_type), (register_gst_seek_flags),
1135         (gst_seek_flags_get_type), (register_gst_format),
1136         (gst_format_get_type), (register_gst_index_certainty),
1137         (gst_index_certainty_get_type), (register_gst_index_entry_type),
1138         (gst_index_entry_type_get_type),
1139         (register_gst_index_lookup_method),
1140         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1141         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1142         (gst_index_resolver_method_get_type), (register_gst_index_flags),
1143         (gst_index_flags_get_type), (register_gst_debug_level),
1144         (gst_debug_level_get_type), (register_gst_debug_color_flags),
1145         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1146         (gst_iterator_result_get_type), (register_gst_iterator_item),
1147         (gst_iterator_item_get_type), (register_gst_message_type),
1148         (gst_message_type_get_type), (register_gst_mini_object_flags),
1149         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1150         (gst_pad_link_return_get_type), (register_gst_flow_return),
1151         (gst_flow_return_get_type), (register_gst_activate_mode),
1152         (gst_activate_mode_get_type), (register_gst_pad_direction),
1153         (gst_pad_direction_get_type), (register_gst_pad_flags),
1154         (gst_pad_flags_get_type), (register_gst_pad_presence),
1155         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1156         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1157         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1158         (gst_plugin_error_get_type), (register_gst_plugin_flags),
1159         (gst_plugin_flags_get_type), (register_gst_rank),
1160         (gst_rank_get_type), (register_gst_query_type),
1161         (gst_query_type_get_type), (register_gst_tag_merge_mode),
1162         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1163         (gst_tag_flag_get_type), (register_gst_task_state),
1164         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1165         (gst_alloc_trace_flags_get_type),
1166         (register_gst_type_find_probability),
1167         (gst_type_find_probability_get_type), (register_gst_uri_type),
1168         (gst_uri_type_get_type), (register_gst_parse_error),
1169         (gst_parse_error_get_type):
1170         * win32/common/gstenumtypes.h:
1171         * win32/common/gstversion.h:
1172           update visual studio generated files
1173
1174 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1175
1176         * win32/vs6/libgstbase.dsp:
1177         * win32/vs6/libgstelements.dsp:
1178           update project files for new locations
1179
1180 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1181
1182         * Makefile.am:
1183           remove some files
1184         * README:
1185           reinstate and update
1186         * DEVEL:
1187         * REQUIREMENTS:
1188           removed
1189         * LICENSE:
1190         * docs/random/LICENSE:
1191           moved to random
1192
1193 2005-11-30  Edward Hervey  <edward@fluendo.com>
1194
1195         * gst/gsttypefind.c: (gst_type_find_register):
1196         * gst/gsttypefind.h:
1197         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
1198         (gst_type_find_factory_dispose):
1199         * gst/gsttypefindfactory.h:
1200         Fix memory leak in GstTypeFindFactory.
1201
1202 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1203
1204         * gst/gst.c:
1205         * plugins/elements/Makefile.am:
1206         * plugins/elements/gstelements.c:
1207         * plugins/elements/gstqueue.c:
1208           move queue from core to the elements plugin
1209
1210 2005-11-29  Andy Wingo  <wingo@pobox.com>
1211
1212         * libs/gst/base/gstbasetransform.h: 
1213         * libs/gst/base/gstbasesrc.h: 
1214         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
1215
1216         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
1217         of pointers by which to pad very extensible base classes (like the
1218         ones in libs/gst/base).
1219
1220 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1221
1222         * docs/gst/gstreamer-docs.sgml:
1223         * docs/gst/gstreamer-sections.txt:
1224         * docs/libs/gstreamer-libs-docs.sgml:
1225         * docs/libs/gstreamer-libs-sections.txt:
1226           moving documentation from core to lib
1227
1228 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1229
1230         * check/Makefile.am:
1231         * configure.ac:
1232         * docs/gst/Makefile.am:
1233         * gst/Makefile.am:
1234         * gst/base/.cvsignore:
1235         * gst/base/Makefile.am:
1236         * gst/base/README:
1237         * gst/base/gstadapter.c:
1238         * gst/base/gstadapter.h:
1239         * gst/base/gstbasesink.c:
1240         * gst/base/gstbasesink.h:
1241         * gst/base/gstbasesrc.c:
1242         * gst/base/gstbasesrc.h:
1243         * gst/base/gstbasetransform.c:
1244         * gst/base/gstbasetransform.h:
1245         * gst/base/gstcollectpads.c:
1246         * gst/base/gstcollectpads.h:
1247         * gst/base/gstpushsrc.c:
1248         * gst/base/gstpushsrc.h:
1249         * gst/base/gsttypefindhelper.c:
1250         * gst/base/gsttypefindhelper.h:
1251         * gst/check/Makefile.am:
1252         * gst/check/gstcheck.c:
1253         * gst/check/gstcheck.h:
1254         * gst/net/Makefile.am:
1255         * gst/net/gstnet.h:
1256         * gst/net/gstnetclientclock.c:
1257         * gst/net/gstnetclientclock.h:
1258         * gst/net/gstnettimepacket.c:
1259         * gst/net/gstnettimepacket.h:
1260         * gst/net/gstnettimeprovider.c:
1261         * gst/net/gstnettimeprovider.h:
1262         * libs/gst/Makefile.am:
1263         * libs/gst/base/Makefile.am:
1264         * libs/gst/base/gstbasetransform.c:
1265         * libs/gst/check/Makefile.am:
1266         * plugins/elements/Makefile.am:
1267         * po/POTFILES.in:
1268           CVS surgery + support to move base, check, and net out of gst
1269           and into libs/gst
1270
1271 2005-11-29  Andy Wingo  <wingo@pobox.com>
1272
1273         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
1274
1275         * gst/gststructure.h (struct _GstStructure): Only one pointer of
1276         padding.
1277
1278         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
1279
1280         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
1281
1282         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
1283
1284         * gst/gstobject.h: (struct _GstObject): Only one pointer of
1285         padding; reduces object size by about 30%. We don't expect
1286         anything else to go into gstobject.
1287
1288         * gst/gstminiobject.h (struct _GstMiniObject)
1289         (struct _GstMiniObjectClass): Only one pointer of padding; the
1290         payload is only a pointer and two ints anyway. For the class there
1291         are only two methods as well.
1292         
1293         * gst/gstelement.h (struct _GstElementClass): Removed
1294         the state_changed signal callback, it is not used.
1295
1296 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1297
1298         * docs/gst/gstreamer.types:
1299           fix includes, though they are a little dinky
1300
1301 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1302
1303         * check/Makefile.am:
1304           look in the right place for elements, a lot more chance of
1305           success
1306         * gst/Makefile.am:
1307           remove indexers and elements subdirs
1308         * plugins/Makefile.am:
1309           make indexers conditional
1310
1311 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1312
1313         * Makefile.am:
1314         * configure.ac:
1315         * plugins/elements/Makefile.am:
1316         * plugins/elements/gstcapsfilter.c:
1317         * plugins/elements/gstfilesink.c:
1318         * plugins/elements/gstfilesrc.c:
1319         * plugins/elements/gstidentity.c:
1320         * plugins/indexers/Makefile.am:
1321           do CVS surgery and related build fixery to move elements
1322           and indexers in a new gstreamer/plugins directory, out of the
1323           gst/ directory
1324
1325 2005-11-29  Andy Wingo  <wingo@pobox.com>
1326
1327         * check/Makefile.am:
1328         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1329         * pkgconfig/gstreamer-net.pc.in:
1330         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1331         #322257.
1332
1333 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1334
1335         * tools/Makefile.am:
1336         * tools/gst-complete.1.in:
1337         * tools/gst-complete.c:
1338         * tools/gst-compprep.1.in:
1339         * tools/gst-compprep.c:
1340           removing -compprep and -complete
1341
1342 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1343
1344         * gst/gstevent.c: (gst_event_new_new_segment),
1345         (gst_event_parse_new_segment):
1346         * gst/gstevent.h:
1347           fix #320529 - clean up new_segment API and structure.
1348           Let's hope everyone was using the methods, and not the structure.
1349
1350 2005-11-29  Edward Hervey  <edward@fluendo.com>
1351
1352         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1353         (gst_base_sink_event), (gst_base_sink_do_sync),
1354         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1355         Properly handle non GST_FORMAT_TIME segment
1356         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1357         Properly handle non GST_FORMAT_TIME segment
1358         * gst/gstsegment.c:
1359         This function is valid if the accumulator is 0 and the format
1360         is different from the requested format.
1361         
1362 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1363
1364         * docs/gst/gstreamer-sections.txt:
1365         Add gst_query_new_seeking and gst_query_parse_seeking to the
1366         docs.
1367
1368 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1369
1370         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1371           Treat a pad alloc with new caps the same as if we were not
1372           negotiated, in order to allow a changing upstream output
1373           to produce a new format of data.
1374
1375 2005-11-29  Edward Hervey  <edward@fluendo.com>
1376
1377         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1378         (gst_base_transform_event), (gst_base_transform_eventfunc):
1379         The event virtual method is now properly implemented, with a default
1380         handler
1381         Sub classes should call the parent_class event method. They should
1382         return FALSE if they had a problem handling the given event, or don't
1383         want GstBaseTransform to send that even downstream
1384         * gst/elements/gstidentity.c: (gst_identity_class_init),
1385         (gst_identity_init), (gst_identity_event),
1386         (gst_identity_transform_ip), (gst_identity_set_property),
1387         (gst_identity_get_property):
1388         * gst/elements/gstidentity.h:
1389         Added the single-segment boolean property.
1390         If set to TRUE, it will output a single segment of data, starting from
1391         0, will eat up all incoming newsegment, and modify the timestamp of the
1392         buffers accordingly
1393
1394 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
1395
1396         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1397           Don't ref NULL target pad (#322751). Improve docs.
1398
1399 2005-11-29  Michael Smith  <msmith@fluendo.com>
1400
1401         * gst/gstregistryxml.c: (load_plugin):
1402           Don't crash if we failed to load a feature from a plugin. 
1403
1404 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1405
1406         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1407         (GST_START_TEST):
1408           use more check API and less GLib API
1409
1410 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1411
1412         * Makefile.am:
1413           don't run checks if we don't have check
1414         * common/check.mak:
1415           remove the registry when running make torture
1416         * docs/gst/gstreamer-sections.txt:
1417           remove second multiply
1418         * gst/gstqueue.c: (gst_queue_loop):
1419           fix a compile warning when disabling debug
1420
1421 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1422
1423         * gst/gstinfo.h:
1424         Hey! Let's print the pad name if the pointer != NULL instead
1425         of when it == NULL :-)
1426
1427 2005-11-28  Wim Taymans  <wim@fluendo.com>
1428
1429         * check/gst/gstutils.c: (GST_START_TEST):
1430         Updated check, add some scaling accuracy checking code.
1431
1432         * gst/gstutils.c: (gst_util_div128_64),
1433         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1434         (gst_util_uint64_scale_int):
1435         Fix 6 times faster division code. Optimize for common 
1436         1/1 and less common X/1 cases.
1437
1438 2005-11-28  Wim Taymans  <wim@fluendo.com>
1439
1440         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1441         More checks.
1442
1443         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1444         (do_linear_regression), (gst_clock_add_observation):
1445         Cleanups.
1446         Release lock when the clock cannot be slaved.
1447         Catch the case where the regression returned an invalid denominator.
1448
1449         * gst/gstutils.c: (gst_util_div128_64_iterate),
1450         (gst_util_div128_64), (gst_util_uint64_scale_int64),
1451         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1452         Add protentially more performant non-iterative 128/64 divide function
1453         that unfortunatly does not work yet.
1454         Shortcut the trivial 0/X = 0 case.
1455         Remove the warnings on overflow.
1456
1457 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1458
1459         * gst/gstplugin.c: (gst_plugin_register_func):
1460           everything causing a plugin not to load should be at least a WARNING
1461
1462 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
1463
1464         * docs/random/ensonic/dparams.txt:
1465           some TODOs for the next dev cycle
1466         * libs/gst/controller/gstcontroller.c:
1467         (gst_controlled_property_set_interpolation_mode),
1468         (gst_controlled_property_new):
1469         * libs/gst/controller/gstcontroller.h:
1470           use base type to assign acccessor functions
1471
1472 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1473
1474         * check/Makefile.am:
1475         Oops, that should have been top_srcdir
1476
1477 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
1478
1479         * check/Makefile.am:
1480         * check/elements/fdsrc.c: (GST_START_TEST):
1481         Use a cmdline define to specify the location of a file to use for
1482         testing, to avoid breaking distcheck.
1483
1484 2005-11-28  Andy Wingo  <wingo@pobox.com>
1485
1486         * gst/gstpad.c (fixate_value): Use array functions for arrays.
1487
1488 2005-11-28  Edward Hervey  <edward@fluendo.com>
1489
1490         * tools/gst-launch.c: (main):
1491         Clarify the output strings, makes it easier to translate.
1492         Fixes #322626
1493
1494 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1495
1496         * gst/Makefile.am:
1497           don't try and build net if we don't even have <sys/socket.h>
1498
1499 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
1500
1501         * check/Makefile.am:
1502         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1503         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1504           Add tests for fdsrc seekability
1505
1506         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1507         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1508         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1509         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1510         * gst/elements/gstfdsrc.h:
1511           fdsrc should not be a 'live' source.
1512           Implement seeking on seekable fd's.
1513
1514         * gst/gstquery.c: (gst_query_new_seeking),
1515         (gst_query_parse_seeking):
1516         * gst/gstquery.h:
1517           Implement SEEKING query functions: 
1518             *_new_seeking and *_parse_seeking
1519
1520 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
1521
1522         * gst/gstelement.c: (gst_element_dispose):
1523           don't loop forever
1524
1525         * gst/gstiterator.c:
1526         * gst/gststructure.c:
1527           doc fixes
1528
1529         * libs/gst/controller/gstcontroller.c:
1530         (gst_controlled_property_set_interpolation_mode):
1531         * libs/gst/controller/gstcontroller.h:
1532         * libs/gst/controller/gstinterpolation.c:
1533         (interpolate_none_get_enum_value_array):
1534           support controlling enums
1535
1536 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1537
1538         * gst/gstvalue.c:
1539           Improve documentation for gst_value_union().
1540
1541         * gst/gstvalue.h:
1542           Change return value for union, intersect and subtract functions
1543           from gint to gboolean.
1544
1545 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
1546
1547         * gst/gstvalue.c: (gst_value_serialize_any_list),
1548         (gst_value_transform_any_list_string),
1549         (gst_value_deserialize_list), (gst_value_deserialize_array),
1550         (gst_value_set_int_range), (gst_value_deserialize_int_range),
1551         (gst_value_set_double_range), (gst_value_deserialize_double_range),
1552         (gst_value_set_fraction_range_full),
1553         (gst_value_deserialize_fraction_range),
1554         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1555         (gst_value_deserialize_boolean),
1556         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1557         (gst_value_serialize_float), (gst_value_deserialize_float),
1558         (gst_string_wrap), (gst_value_deserialize_string),
1559         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1560         (gst_value_union_int_range_int_range),
1561         (gst_value_intersect_int_range_int_range),
1562         (gst_value_intersect_double_range_double_range),
1563         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1564         (gst_value_subtract_int_range_int_range),
1565         (gst_value_subtract_double_double_range),
1566         (gst_value_subtract_double_range_double_range),
1567         (gst_value_deserialize_fraction):
1568         * gst/gstvalue.h:
1569           Use gint, gdouble and gchar in our API instead of int, double and
1570           char (and make usage in gstvalue.c more consistent).
1571
1572 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1573
1574         * check/Makefile.am:
1575         * libs/gst/controller/Makefile.am:
1576         * libs/gst/dataprotocol/Makefile.am:
1577           fix up Makefile.am and remove GST_ENABLE_NEW
1578
1579 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1580
1581         * configure.ac:
1582         * gst/Makefile.am:
1583         * gst/base/Makefile.am:
1584         * gst/check/Makefile.am:
1585         * gst/elements/Makefile.am:
1586         * gst/net/Makefile.am:
1587           update LDFLAGS use some more
1588
1589 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
1590
1591         * common/m4/gst-doc.m4:
1592           Fixes #312589
1593
1594 2005-11-26  Edward Hervey  <edward@fluendo.com>
1595
1596         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1597         This shouldn't issue a g_warning since it returns NULL if it
1598         couldn't find the plugin, and all functions using this behave
1599         properly on a NULL return. Switching to a GST_WARNING.
1600
1601 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
1602
1603         * gst/gstbin.c: (gst_bin_handle_message_func):
1604         Don't leak clock messages.
1605
1606 2005-11-25  Wim Taymans  <wim@fluendo.com>
1607
1608         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1609         (gst_util_uint64_scale_int):
1610         Optimisations, remove unneeded vars.
1611
1612 2005-11-25  Wim Taymans  <wim@fluendo.com>
1613
1614         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1615         Added more checks for the high precision uint64 cases.
1616
1617         * gst/gstutils.c: (gst_util_uint64_scale_int64),
1618         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1619         Implement high precision (guint64 * guint64) / guint64.
1620
1621 2005-11-24  Wim Taymans  <wim@fluendo.com>
1622
1623         * gst/base/gstbasesrc.c: (gst_base_src_query):
1624         Fix wrong percentage query.
1625
1626         * gst/gstutils.c: (gst_util_uint64_scale),
1627         (gst_util_uint64_scale_int):
1628         Add some more common cases that can be handled 
1629         efficiently to _scale.
1630
1631 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1632
1633         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1634         (gst_mini_object_suite):
1635           don't use check calls from threads; check probably isn't
1636           threadsafe and using a lock to make it threadsafe would
1637           defeat the purpose of this check
1638         * gst/check/gstcheck.c:
1639         * gst/check/gstcheck.h:
1640           use GST_DEBUG some more
1641
1642 2005-11-24  Wim Taymans  <wim@fluendo.com>
1643
1644         * gst/gstutils.c: (gst_util_uint64_scale),
1645         (gst_util_uint64_scale_int):
1646         Chain trivial case to _scale_int.
1647
1648 2005-11-24  Wim Taymans  <wim@fluendo.com>
1649
1650         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1651         Added test for scaling.
1652
1653         * gst/gstclock.h:
1654         Small doc fix.
1655
1656         * gst/gstutils.c: (gst_util_uint64_scale_int):
1657         Implemented high precision scaling code.
1658
1659 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
1660
1661         * gst/gstinfo.h:
1662           do not crash on pad==NULL
1663
1664 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1665
1666         Patch by: Stefan Kost
1667
1668         * common/gtk-doc.mak:
1669         * docs/gst/Makefile.am:
1670         * docs/libs/Makefile.am:
1671           Fix distcheck issues for the libraries docs build
1672           Closes #319599.
1673
1674 2005-11-24  Michael Smith <msmith@fluendo.com>
1675
1676         * docs/manual/basics-helloworld.xml:
1677           Fix bug #315027: memory leak in example code in docs.
1678
1679 2005-11-24  Michael Smith <msmith@fluendo.com>
1680
1681         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1682           Unlock the PREROLL_LOCK in a failure case.
1683
1684 2005-11-24  Wim Taymans  <wim@fluendo.com>
1685
1686         * docs/gst/gstreamer-sections.txt:
1687         * gst/base/gstadapter.h:
1688         * gst/base/gstbasesink.h:
1689         * gst/base/gstbasesrc.h:
1690         * gst/base/gstbasetransform.h:
1691         * gst/base/gstpushsrc.h:
1692         * gst/elements/gstfakesink.h:
1693         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1694         * gst/elements/gstfakesrc.h:
1695         * gst/elements/gstfilesink.h:
1696         * gst/elements/gstfilesrc.h:
1697         * gst/gst.c:
1698         * gst/gstbin.c:
1699         * gst/gstbuffer.c: (_gst_buffer_copy):
1700         * gst/gstbus.h:
1701         * gst/gstcaps.c:
1702         * gst/gstchildproxy.c:
1703         * gst/gstclock.c:
1704         * gst/gstelement.c:
1705         * gst/gstelementfactory.c:
1706         * gst/gstelementfactory.h:
1707         * gst/gstevent.c:
1708         * gst/gstghostpad.h:
1709         * gst/gstindex.h:
1710         * gst/gstinterface.h:
1711         * gst/gstminiobject.c:
1712         * gst/gstminiobject.h:
1713         * gst/gstpad.c:
1714         * gst/gstpad.h:
1715         * gst/gstpadtemplate.h:
1716         * gst/gstpipeline.h:
1717         * gst/gstpluginfeature.h:
1718         * gst/gstquery.h:
1719         * gst/gstqueue.h:
1720         * gst/gsttaglist.c:
1721         * gst/gsttaglist.h:
1722         * gst/gsttagsetter.c:
1723         * gst/gsttagsetter.h:
1724         * gst/gsttrace.c:
1725         * gst/gsttrace.h:
1726         * gst/gsttypefind.h:
1727         * gst/gsturi.h:
1728         * gst/gstvalue.c:
1729         * gst/net/gstnetclientclock.c:
1730         * gst/net/gstnetclientclock.h:
1731         * gst/net/gstnettimepacket.c:
1732         * gst/net/gstnettimeprovider.c:
1733         * gst/net/gstnettimeprovider.h:
1734         Doc fixes.
1735
1736 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1737
1738         * configure.ac: back to HEAD
1739
1740 === release 0.9.6 ===
1741
1742 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
1743
1744         * configure.ac:
1745           releasing 0.9.6, "Always On Time"
1746
1747 2005-11-23  Wim Taymans  <wim@fluendo.com>
1748
1749         * docs/gst/gstreamer-sections.txt:
1750         * gst/glib-compat.c:
1751         * gst/gsttagsetter.c:
1752         * gst/gstvalue.c:
1753         * gst/net/gstnetclientclock.c:
1754         * gst/net/gstnettimepacket.h:
1755         Doc updates.
1756
1757 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1758
1759         * docs/faq/using.xml:
1760         * docs/libs/tmpl/gstcontrol.sgml:
1761         * docs/manual/advanced-dparams.xml:
1762         * docs/manual/appendix-checklist.xml:
1763         * docs/manual/basics-elements.xml:
1764         * docs/pwg/other-source.xml:
1765         * docs/random/moving-plugins:
1766         * gst/gstpad.c:
1767         * tools/gst-launch.1.in:
1768           remove mentions of sinesrc
1769
1770 2005-11-23  Michael Smith <msmith@fluendo.com>
1771
1772         * docs/gst/gstreamer-sections.txt:
1773           Update for new API and API changes.
1774         * gst/gstobject.h:
1775           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1776         * gst/gstvalue.c:
1777           Documentation typo fix.
1778         * gst/net/gstnettimepacket.c:
1779           Documentation fixes for arguments.
1780
1781 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
1782
1783         * gst/gststructure.c: (gst_structure_get_fraction),
1784         (gst_structure_parse_value),
1785         (gst_structure_fixate_field_nearest_fraction):
1786         * gst/gststructure.h:
1787         * gst/gstutils.c: (gst_util_uint64_scale_int):
1788         * gst/gstutils.h:
1789         * scripts/update-funcnames:
1790         API Changes. 
1791         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1792         Make gst_structure_fixate_field_nearest_fraction take a numerator
1793         and denominator argument instead of a GValue
1794         add gst_structure_get_fraction helper function.
1795
1796 2005-11-23  Wim Taymans  <wim@fluendo.com>
1797
1798         * docs/design/part-TODO.txt:
1799         Update TODO.
1800
1801         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1802         * gst/net/gstnetclientclock.h:
1803         Use parent fields for timeout and window_size.
1804
1805 2005-11-23  Andy Wingo  <wingo@pobox.com>
1806
1807         * check/net/gstnetclientclock.c (test_functioning): Adjust to
1808         rate_num/rate_denom change.
1809
1810         * gst/net/gstnetclientclock.c
1811         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1812         OBJECT_LOCK. Don't call add_observation with the lock.
1813
1814         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1815         fraction.
1816         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1817         rate fraction.
1818         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1819         deal with rate as a fraction whose numerator and denominator are
1820         GstClockTime values.
1821         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1822         master; the other fields are protected by the SLAVE_LOCK.
1823         (do_linear_regression): Note that this must be called with the
1824         SLAVE_LOCK.
1825         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1826         OBJECT_LOCK. Call set_calibration instead of touching the
1827         variables directly.
1828         (gst_clock_set_property, gst_clock_get_property): Protect
1829         master/slave parameters with the SLAVE_LOCK.
1830
1831         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1832         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1833         note that all of the instance variables that add_observation and
1834         the set_master functions use are protected by that lock and not
1835         the OBJECT_LOCK.
1836         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1837
1838         * gst/gstclock.c (gst_clock_add_observation): No longer requires
1839         the caller to take the object lock.
1840
1841 2005-11-23  Wim Taymans  <wim@fluendo.com>
1842
1843         * gst/gsterror.c: (_gst_core_errors_init):
1844         * gst/gsterror.h:
1845         Add error for clock stuff.
1846
1847         * gst/gstpipeline.c: (gst_pipeline_change_state),
1848         (gst_pipeline_set_clock):
1849         Post clock error when clock cannot be used in a pipeline.
1850
1851 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
1852
1853         * docs/gst/gstreamer-sections.txt:
1854           make two symbols from gstinfo private for the docs
1855         * gst/base/gstcollectpads.h:
1856         * gst/gstutils.c:
1857           fix doc typos, update docs
1858
1859 2005-11-22  Wim Taymans  <wim@fluendo.com>
1860
1861         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1862         (gst_base_sink_wait), (gst_base_sink_do_sync),
1863         (gst_base_sink_handle_event):
1864         * gst/base/gstbasesink.h:
1865         No need to store the clock, the parent element class already
1866         has it.
1867
1868         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1869         Updates for clock_set returning a gboolean
1870
1871         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1872         (gst_clock_id_wait_async), (gst_clock_class_init),
1873         (gst_clock_init), (gst_clock_finalize),
1874         (gst_clock_get_internal_time), (gst_clock_get_time),
1875         (gst_clock_slave_callback), (gst_clock_set_master),
1876         (gst_clock_get_master), (do_linear_regression),
1877         (gst_clock_add_observation), (gst_clock_set_property),
1878         (gst_clock_get_property):
1879         * gst/gstclock.h:
1880         Implement master/slave. When setting a clock as a slave, a
1881         periodic timeout is scheduled to sample master and slave times.
1882         Then the slave clock is recalibrated to match offset and rate
1883         of the master clock.
1884         Update logging a bit.
1885         Add flag so that a clock can state that is cannot be slaved to
1886         another clock.
1887
1888         * gst/gstelement.c: (gst_element_set_clock):
1889         * gst/gstelement.h:
1890         The set clock returns a gboolean for when an element cannot
1891         deal with the selected clock in the pipeline. 
1892
1893         * gst/gstpipeline.c: (gst_pipeline_change_state),
1894         (gst_pipeline_set_clock):
1895         * gst/gstpipeline.h:
1896         Handle the case where the selected clock cannot be set on
1897         the pipeline.
1898
1899         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1900         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1901         (gst_net_client_clock_set_property),
1902         (gst_net_client_clock_get_property),
1903         (gst_net_client_clock_observe_times):
1904         * gst/net/gstnetclientclock.h:
1905         Use regression code in GstClock parent, remove duplicated
1906         functionality.
1907
1908 2005-11-22  Michael Smith <msmith@fluendo.com>
1909
1910         * gst/gstutils.c: (gst_util_clock_time_scale):
1911         * gst/gstutils.h:
1912         * docs/gst/gstreamer-sections.txt:
1913           Rename method to have extra underscore.
1914
1915 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1916
1917         * gst/elements/Makefile.am:
1918         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1919         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1920         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1921         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1922         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1923         * gst/elements/gstfakesrc.h:
1924         * gst/gstqueue.c: (queue_leaky_get_type):
1925           correctly fix GEnumValues so that nick is the short lowercase
1926           dashed tag
1927         * tools/gst-inspect.c: (print_element_properties_info):
1928           also show the nick, since it's useful to use from parse_launch
1929           syntax
1930           Fixes #322139
1931
1932 2005-11-22  Michael Smith <msmith@fluendo.com>
1933
1934         * gst/gstutils.c: (gst_util_clocktime_scale):
1935         * gst/gstutils.h:
1936         * docs/gst/gstreamer-sections.txt:
1937           Add util method for scaling a clocktime by a fraction. Useful 
1938           implementation is left as an exercise for the reader.
1939
1940 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1941
1942         * gst/gstvalue.c: (gst_value_collect_fraction_range):
1943         If needed, allocate storage in the destination value during
1944         collection.
1945
1946 2005-11-22  Edward Hervey  <edward@fluendo.com>
1947
1948         * docs/gst/gstreamer-sections.txt:
1949         * gst/Makefile.am:
1950         * gst/gst.h:
1951         * gst/gsturitype.c:
1952         * gst/gsturitype.h:
1953         * gst/gstutils.c: (gst_util_set_object_arg):
1954         * tools/gst-compprep.c: (main):
1955         * tools/gst-inspect.c: (print_element_properties_info):
1956         Removed GstURI, closes bug #321061
1957
1958 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1959
1960         * check/gst/gststructure.c: (GST_START_TEST):
1961         * gst/gststructure.c: (gst_structure_parse_value):
1962           Oops, broke automatic string type parsing.
1963           Add a test to catch it in future.
1964
1965 2005-11-22  Andy Wingo  <wingo@pobox.com>
1966
1967         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
1968         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1969         Actually rename the function implementations. Grr.
1970
1971 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1972
1973         * check/gst/capslist.h:
1974           Comment test cases
1975         * check/gst/gststructure.c: (GST_START_TEST),
1976         (gst_structure_suite):
1977           Test automatic value type detection in gst_structure_from_string.
1978         * gst/gststructure.c: (gst_structure_parse_value):
1979           Add fraction as a type we try and guess automatically in
1980           caps/structure strings.
1981
1982 2005-11-22  Andy Wingo  <wingo@pobox.com>
1983
1984         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1985
1986         * gst/gsttagsetter.h:
1987         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1988         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1989         (gst_tag_setter_add_tag_valist)
1990         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1991         _add_values, _add_valist, and _add_valist_values. Since this is an
1992         interface the function suffixes should be more explicit so
1993         language binding don't end up with element.add_valist ->
1994         gst_tag_setter_add_valist, for example. Fixes #322069.
1995
1996 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
1997
1998         * check/gst/gstcaps.c: (GST_START_TEST):
1999           Extend caps string tests to check that a caps to string
2000           conversion is reversible and produces the same caps.
2001
2002         * gst/gststructure.c: (gst_structure_value_get_generic_type):
2003           Output "fraction" as the generic type fraction range, so caps
2004           serialisation and deserialisation works.
2005         * check/gst/capslist.h:
2006         * gst/gstvalue.c: (gst_value_deserialize_fraction):
2007           Support 'MIN' and 'MAX' for deserialising fractions.
2008
2009 2005-11-22  Andy Wingo  <wingo@pobox.com>
2010
2011         * gst/gstevent.h (gst_event_new_new_segment)
2012         (gst_event_parse_new_segment, gst_event_new_buffer_size)
2013         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
2014         Renamed from *_newsegment, *_buffersize, *_notarget.
2015
2016         * scripts/update-funcnames: New script, performs the changes
2017         listed above.
2018
2019 2005-11-22  Wim Taymans  <wim@fluendo.com>
2020
2021         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2022         Make sure the GstFlowReturn is returned.
2023
2024         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
2025         (gst_bus_add_signal_watch):
2026         * gst/gstbus.h:
2027         add gst_bus_add_signal_watch_full.
2028
2029         * gst/gstplugin.c: (gst_plugin_load_file):
2030         Small style cleanup.
2031
2032 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2033
2034         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
2035           Block the fakesrc srcpad when we send an event, to avoid
2036           contention on the stream_lock causing random test failures.
2037
2038 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2039
2040         * check/gst/gstvalue.c: (GST_START_TEST):
2041         * gst/gstvalue.c: (gst_value_fraction_subtract):
2042           Fix subtraction.
2043
2044 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
2045
2046         * gst/gst.h:
2047           include "gstchildproxy.h"
2048         * gst/gstchildproxy.h:
2049         * libs/gst/controller/gstcontroller.h:
2050           use G_GNUC_NULL_TERMINATED
2051
2052 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2053
2054         * check/gst/capslist.h:
2055         * check/gst/gstcaps.c: (GST_START_TEST):
2056         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2057         * gst/gststructure.c: (gst_structure_parse_range),
2058         (gst_structure_fixate_field_nearest_fraction):
2059         * gst/gststructure.h:
2060         * gst/gstvalue.c: (gst_value_init_fraction_range),
2061         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
2062         (gst_value_collect_fraction_range),
2063         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
2064         (gst_value_set_fraction_range_full),
2065         (gst_value_get_fraction_range_min),
2066         (gst_value_get_fraction_range_max),
2067         (gst_value_serialize_fraction_range),
2068         (gst_value_transform_fraction_range_string),
2069         (gst_value_compare_fraction_range),
2070         (gst_value_deserialize_fraction_range),
2071         (gst_value_intersect_fraction_fraction_range),
2072         (gst_value_intersect_fraction_range_fraction_range),
2073         (gst_value_subtract_fraction_fraction_range),
2074         (gst_value_subtract_fraction_range_fraction),
2075         (gst_value_subtract_fraction_range_fraction_range),
2076         (gst_value_collect_fraction), (gst_value_fraction_multiply),
2077         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
2078         (gst_value_transform_string_fraction), (_gst_value_initialize):
2079         * gst/gstvalue.h:
2080           Implement fraction ranges and extend GstFraction to support
2081           arithmetic subtraction, as well as deserialization from integer
2082           strings such as "100"
2083           Add a testsuite as for int and double range set operations
2084
2085 2005-11-21  Andy Wingo  <wingo@pobox.com>
2086
2087         * gst/gsttaglist.h: 
2088         * gst/gstcaps.h: 
2089         * gst/gststructure.h: Add glib-compat.h.
2090
2091 2005-11-21  Wim Taymans  <wim@fluendo.com>
2092
2093         * gst/gstbin.c: (gst_bin_change_state_func):
2094         Fix for #321595
2095
2096 2005-11-21  Wim Taymans  <wim@fluendo.com>
2097
2098         * gst/gstsegment.h:
2099         And add a nice define too.
2100
2101 2005-11-21  Wim Taymans  <wim@fluendo.com>
2102
2103         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
2104         (gst_segment_new), (gst_segment_free), (gst_segment_init),
2105         (gst_segment_set_duration), (gst_segment_set_last_stop),
2106         (gst_segment_set_seek), (gst_segment_set_newsegment),
2107         (gst_segment_to_stream_time), (gst_segment_to_running_time),
2108         (gst_segment_clip):
2109         * gst/gstsegment.h:
2110         Make binding friendly.
2111
2112 2005-11-21  Andy Wingo  <wingo@pobox.com>
2113
2114         * gst/gsttagsetter.h: 
2115         * gst/gsttaglist.h: 
2116         * gst/gststructure.h: 
2117         * gst/gstcaps.h: 
2118         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
2119         #319940.
2120
2121         * gst/gsterror.c (_gst_core_errors_init):
2122         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
2123         category.
2124
2125         * gst/Makefile.am (gst_headers): Add glib-compat.h.
2126         (noinst_HEADERS): noinst the -private.
2127
2128 2005-11-21  Michael Smith <msmith@fluendo.com>
2129
2130         * gst/gstplugin.h:
2131         * gst/gstregistry.h:
2132           Remove unimplemented declarations for which we can see no sensible
2133           use.
2134
2135 2005-11-21  Andy Wingo  <wingo@pobox.com>
2136
2137         * gst/gst.h: Include glib-compat.h.
2138
2139         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
2140
2141         * gst/glib-compat.c: Include the public and the private header.
2142
2143         * gst/glib-compat-private.h: Copied here from glib-compat.h.
2144
2145         * gst/gstvalue.c: 
2146         * gst/gstpad.c: 
2147         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
2148
2149         * check/gst/gstevent.c (create_custom_events): Check that
2150         FLUSH_STOP is serialized.
2151
2152         * check/elements/identity.c (event_func): 
2153         * check/elements/fakesrc.c (event_func): No stream lock, the core
2154         takes it.
2155
2156         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
2157         stream lock taking, yay.
2158
2159         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
2160         ensure that core takes the stream lock.
2161
2162         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
2163         lock name change.
2164
2165         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
2166         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
2167         it already. For the flush start we do take it though so we get the
2168         right preroll state change messages.
2169
2170         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
2171         the stream lock here, the core does it for us.
2172
2173         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
2174         GST_STREAM_GET_LOCK.
2175         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
2176         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
2177         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
2178         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
2179         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
2180         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
2181
2182         * gst/gstpad.c: Update for stream lock name change.
2183
2184         * gst/base/gstbasesink.c: Update for preroll lock name change.
2185
2186 2005-11-21  Wim Taymans  <wim@fluendo.com>
2187
2188         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
2189         (gst_clock_get_master):
2190         * gst/gstclock.h:
2191         * gst/gstsystemclock.c: (gst_system_clock_init):
2192         Convert Clock flags to object flags.
2193         Added methods to manage master/slave clocks.
2194
2195 2005-11-21  Wim Taymans  <wim@fluendo.com>
2196
2197         * check/gst/gstsegment.c: (GST_START_TEST):
2198         * docs/design/part-TODO.txt:
2199         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2200         (gst_base_sink_event), (gst_base_sink_do_sync),
2201         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
2202         (gst_base_sink_query), (gst_base_sink_change_state):
2203         * gst/base/gstbasesink.h:
2204         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2205         (gst_base_src_default_newsegment),
2206         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2207         (gst_base_src_get_range), (gst_base_src_loop),
2208         (gst_base_src_change_state):
2209         * gst/base/gstbasesrc.h:
2210         * gst/base/gstbasetransform.c:
2211         (gst_base_transform_prepare_output_buf),
2212         (gst_base_transform_event), (gst_base_transform_change_state):
2213         * gst/base/gstbasetransform.h:
2214         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2215         (gst_collect_pads_event):
2216         * gst/base/gstcollectpads.h:
2217         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
2218         (gst_fake_src_create):
2219         * gst/elements/gstfakesrc.h:
2220         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2221         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2222         (gst_segment_set_last_stop), (gst_segment_set_seek),
2223         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
2224         (gst_segment_to_running_time), (gst_segment_clip):
2225         * gst/gstsegment.h:
2226         More segment updates, replace code in plugins with segment
2227         helper functions.
2228
2229 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2230
2231         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
2232         Don't ignore sscanf results
2233
2234 2005-11-21  Andy Wingo  <wingo@pobox.com>
2235
2236         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
2237
2238         * *.h:
2239         * *.c: Ran scripts/update-macros. Oh yes.
2240
2241         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
2242         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
2243         GST_GET_LOCK, etc.
2244
2245         * scripts/update-macros: New script. Run it on your files to
2246         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
2247         well.
2248
2249 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
2250
2251         * docs/gst/Makefile.am:
2252         * docs/gst/gstreamer-docs.sgml:
2253         * docs/gst/gstreamer-sections.txt:
2254         * docs/gst/gstreamer.types:
2255         * gst/gstinfo.h:
2256           more docs fixes, add new api to the docs
2257
2258 2005-11-21  Andy Wingo  <wingo@pobox.com>
2259
2260         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
2261         state_broadcast call.
2262
2263         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
2264
2265 2005-11-21  Julien MOUTTE  <julien@moutte.net>
2266
2267         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
2268         function calls for arrays.
2269
2270 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
2271
2272         * docs/random/ensonic/media-device-daemon.txt:
2273           wild idea, can this be done?
2274         * docs/gst/gstreamer-sections.txt:
2275         * gst/gsterror.h:
2276         * gst/gstfilter.c:
2277         * gst/gstfilter.h:
2278         * gst/gstplugin.h:
2279         * gst/gstpluginfeature.c:
2280         * gst/gsttrace.c:
2281         * gst/gstvalue.c:
2282         * gst/gstvalue.h:
2283           doc fixes and additions
2284
2285 2005-11-21  Andy Wingo  <wingo@pobox.com>
2286
2287         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
2288         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
2289         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
2290         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2291         private to the basesrc implementation.
2292
2293         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2294         behalf of event function if necessary. It should no longer be
2295         necessary to take the stream lock in pad's event functions. Fixes
2296         #320299.
2297
2298 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2299         * docs/gst/gstreamer-sections.txt:
2300         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2301         (gst_structure_fixate_field_nearest_double),
2302         (gst_structure_fixate_field_boolean):
2303         * gst/gststructure.h:
2304         * win32/common/libgstreamer.def:
2305         * win32/gstreamer.def:
2306
2307         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2308         (#322027)
2309
2310 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
2311
2312         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2313         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2314         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2315         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2316         (gst_fdsrc_uri_handler_init):
2317         * gst/elements/gstfdsrc.h:
2318           Port fd:// URI handler from 0.8 to fdsrc
2319
2320 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2321
2322         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2323         (gst_value_serialize_fourcc):
2324         * gst/gstvalue.h:
2325           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2326           consistent with our other format defines (#320324).
2327
2328 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2329
2330         * gst/gstvalue.c: (gst_value_is_fixed):
2331           Revert previous commit. Value lists are by definition
2332           not fixed, as they are a list of possible values.
2333
2334 2005-11-21  Andy Wingo  <wingo@pobox.com>
2335
2336         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2337         during the stable series if we need it. Fixes #319178.
2338
2339         * gst/gstevent.c (gst_event_new_filler): Removed.
2340
2341         * check/gst/gstevent.c: Update comment about filler events.
2342
2343 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2344
2345         * gst/gstvalue.c: (gst_value_is_fixed):
2346           Should handle both value arrays and value lists.
2347
2348 2005-11-21  Andy Wingo  <wingo@pobox.com>
2349
2350         patch by: Alessandro Dessina <alessandro nnva org>
2351
2352         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2353         functions to access arrays. Fixes #321962.
2354
2355 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2356
2357         * docs/gst/gstreamer.types:
2358           gst_collectpads_get_type => gst_collect_pads_get_type.
2359           
2360         * gst/base/gstbasetransform.c:
2361           Remove unused SIGNAL_HANDOFF enum.
2362
2363 2005-11-21  Andy Wingo  <wingo@pobox.com>
2364
2365         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2366         the event type (upstream, downstream, serialized). Renamed
2367         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2368         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2369         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2370
2371         * gst/gstevent.c: Update for new CUSTOM event names.
2372
2373         * check/gst/gstevent.c: Update check for new CUSTOM event names.
2374
2375         * gst/gstevent.h:
2376         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2377         bug #319392.
2378
2379 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2380
2381         * docs/gst/gstreamer-sections.txt:
2382         * win32/common/libgstbase.def:
2383         * win32/libgstbase.def:
2384         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2385         (gst_collect_pads_class_init), (gst_collect_pads_init),
2386         (gst_collect_pads_finalize), (gst_collect_pads_new),
2387         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2388         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2389         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2390         (gst_collect_pads_start), (gst_collect_pads_stop),
2391         (gst_collect_pads_peek), (gst_collect_pads_pop),
2392         (gst_collect_pads_available), (gst_collect_pads_read),
2393         (gst_collect_pads_flush), (gst_collect_pads_event),
2394         (gst_collect_pads_chain):
2395         * gst/base/gstcollectpads.h:
2396           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2397           unimplemented functions as unimplemented. Add padding to
2398           GstCollectData. (#320766, #320423)
2399
2400 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2401
2402         * gst/gstmessage.c:
2403           Improve docs for DURATION message (usage of duration parameter)
2404           (#320113)
2405
2406 2005-11-20  Wim Taymans  <wim@fluendo.com>
2407
2408         * check/Makefile.am:
2409         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2410         (main):
2411         * gst/Makefile.am:
2412         * gst/gst.h:
2413         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2414         (gst_segment_set_seek), (gst_segment_set_newsegment),
2415         (gst_segment_to_stream_time), (gst_segment_to_running_time),
2416         (gst_segment_clip):
2417         * gst/gstsegment.h:
2418         Added segment helper structure and methods. Not fully implemented
2419         yet.
2420         Added segment check.
2421
2422 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
2423
2424         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2425           Add a deserialisation test for fractions
2426         * examples/metadata/read-metadata.c: (message_loop),
2427         (make_pipeline), (main):
2428           Fix up metadata reading sample.
2429         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2430           Debug format fix
2431         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2432           Don't try and fixate empty caps
2433         * gst/gst_private.h:
2434           Wrap in G_BEGIN_DECLS/G_END_DECLS
2435         * gst/gstvalue.c: (gst_value_collect_fraction),
2436         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2437         (gst_value_transform_string_fraction),
2438         (gst_value_compare_fraction):
2439           Add some extra guards to ensure that we don't end up 
2440           with an invalid denominator of 0 in a gstfraction and
2441           that fractions always get reduced.
2442
2443 2005-11-20  Wim Taymans  <wim@fluendo.com>
2444
2445         * docs/gst/gstreamer-sections.txt:
2446         * gst/gstbuffer.h:
2447         * gst/gstelement.c:
2448         * gst/gstformat.c:
2449         * gst/gstformat.h:
2450         * gst/gstindex.h:
2451         * gst/gstquery.c:
2452         * gst/gstquery.h:
2453         * gst/gstvalue.c:
2454         Doc fixes.
2455
2456 2005-11-20  Wim Taymans  <wim@fluendo.com>
2457
2458         * docs/design/part-TODO.txt:
2459         * gst/gstcaps.h:
2460         Make a proper enum of the flag.
2461
2462 2005-11-19  Wim Taymans  <wim@fluendo.com>
2463
2464         * docs/design/part-TODO.txt:
2465         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2466         (gst_format_to_quark), (gst_format_register):
2467         * gst/gstformat.h:
2468         * gst/gstquery.c: (_gst_query_initialize),
2469         (gst_query_type_get_name), (gst_query_type_to_quark),
2470         (gst_query_type_register):
2471         * gst/gstquery.h:
2472         Add type to quark and type to string conversions.
2473
2474 2005-11-19  Andy Wingo  <wingo@pobox.com>
2475
2476         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2477         #320097.
2478
2479 2005-11-19  Wim Taymans  <wim@fluendo.com>
2480
2481         * docs/design/part-TODO.txt:
2482         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2483         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2484         (gst_bin_handle_message_func):
2485         * gst/gstbin.h:
2486         Make message handling overridable.
2487
2488 2005-11-19  Andy Wingo  <wingo@pobox.com>
2489
2490         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2491
2492         * gst/gstclock.h:
2493         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2494         be a GstClockTime.
2495         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2496         is a GstClockTime. Fixes #321710.
2497
2498         * gst/gstclock.h (GstClock): Remove offset property. Add
2499         internal_calibration and external_calibration. Fix padding. Pad
2500         also by GstClockTime so we don't run into problems.
2501
2502         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2503         (gst_clock_get_rate_offset): Remove.
2504         (gst_clock_set_time_adjust): Remove. Fixes #321712.
2505
2506         * gst/gstutils.h:
2507         * gst/gstutils.c (g_static_rec_cond_wait)
2508         (g_static_rec_cond_timed_wait): Removed, no longer needed.
2509
2510         * gst/gstbin.c: Remove terrible continue_state prototype.
2511
2512         * gst/gstelement.h (gst_element_continue_state): Make public.
2513
2514         * gst/gstelement.h:
2515         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2516         by continue_state. Fixes #319389.
2517
2518         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2519         Really fixes #168438. However I don't see anywhere where the
2520         filter function is called... stupid GStreamer...
2521         
2522         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2523         don't have a dispose function, so it won't get called when the
2524         object is unreffed, but oh well!
2525
2526         * gst/gstindex.c (gst_index_set_filter_full): New API function,
2527         allows a destroy function to be set so user_data can be freed.
2528         Fixes #168438.
2529         (gst_index_set_filter): Call gst_index_set_filter_full.
2530
2531         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2532
2533         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2534         string should produce an error, given the lack of a way to
2535         represent NULL strings. Fixes #165650.
2536         
2537         * gst/gstvalue.h: 
2538         * gst/gstvalue.c (gst_value_array_append_value) 
2539         (gst_value_array_prepend_value, gst_value_array_get_size) 
2540         (gst_value_array_get_value): New API, copied from
2541         gst_value_list_*, only operates on arrays.
2542         (gst_value_list_append_value, gst_value_list_prepend_value) 
2543         (gst_value_list_concat, gst_value_list_get_size) 
2544         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2545
2546         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2547         init_list, because it works on both.
2548         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2549         (gst_value_copy_list_or_array): Renamed from copy_list.
2550         (gst_value_free_list_or_array): Renamed from free_list.
2551         (gst_value_collect_list_or_array): Renamed from collect_list.
2552         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2553         (gst_value_list_or_array_peek_pointer): Renamed from
2554         list_peek_pointer.
2555         (_gst_value_array_value_table, _gst_value_list_value_table):
2556         Update value table functions.
2557         (gst_value_compare_list_or_array): Renamed from compare_list.
2558
2559         * gsttaglist.h: Whoops, foreach function returns void. Also fix
2560         some constness.
2561
2562         * gst/gsttaglist.c:
2563         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2564         GstTagList*. Fixes #143472.
2565
2566         * gst/gststructure.h: Clarify what the foreach/map functions can
2567         or can't do to their arguments.
2568
2569 2005-11-18  Wim Taymans  <wim@fluendo.com>
2570
2571         * gst/gstclock.c: (gst_clock_set_calibration),
2572         (gst_clock_get_calibration):
2573         Doc and API fixes.
2574         Calibration can be set with internal time equal to current
2575         internal time too.
2576
2577 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2578
2579         * gst/gsterror.c:
2580         * gst/gsterror.h:
2581           document
2582
2583 2005-11-18  Andy Wingo  <wingo@pobox.com>
2584
2585         * configure.ac: 
2586         * pkgconfig/gstreamer-net.pc.in:
2587         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2588         * pkgconfig/Makefile.am: Add net pkgconfig files.
2589
2590 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
2591
2592         * gst/gstcaps.c:
2593         * gst/gstghostpad.c:
2594         * gst/gsttrace.c:
2595         * gst/gstvalue.c:
2596         * gst/gstvalue.h:
2597           docs fixes
2598
2599 2005-11-18  Andy Wingo  <wingo@pobox.com>
2600
2601         * gst/net/gstnetclientclock.c: Turn off debugging.
2602
2603         * check/net/gstnetclientclock.c (test_functioning): Assert that the
2604         times connverge somewhat. Can't make a real test.
2605
2606         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2607         integer arithmetic. Return the minimum of the domain, which can be
2608         set as "internal" for gst_clock_set_calibration.
2609         (gst_net_client_clock_observe_times): Call _set_calibration.
2610         (gst_net_client_clock_new): Call _set_calibration instead of
2611         rate_offset.
2612
2613         * check/net/gstnetclientclock.c (test_functioning): Use the right
2614         adjustment api.
2615
2616         * gst/gstclock.h:
2617         * gst/gstclock.c (gst_clock_get_calibration) 
2618         (gst_clock_set_calibration): New functions, obsolete the ones I
2619         added yesterday. Doh. Precision issues mean we have to extrapolate
2620         from a point in the more recent past than 1970.
2621         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2622         obsolete.
2623         (gst_clock_adjust_unlocked): Use the right calibration data.
2624
2625 2005-11-18  Edward Hervey  <edward@fluendo.com>
2626
2627         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
2628         Also reset the ->current_* values in READY->PAUSED
2629
2630 2005-11-18  Andy Wingo  <wingo@pobox.com>
2631
2632         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2633         Whoops, check the right fd. Also add some debugging.
2634         (gst_net_client_clock_observe_times): Adjust for int64 offset.
2635         (do_linear_regression): Add a crapload of debugging. Subtract off
2636         the minimum values from the input series to discard unneeded bits.
2637         Use only int arithmetic. There is still double arithmetic when
2638         calculating the intercept that needs fixing. Return boolean to
2639         indicate success; FALSE would mean the domain or range is too
2640         great. Still needs fixes.
2641
2642 2005-11-18  Wim Taymans  <wim@fluendo.com>
2643
2644         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2645         For the current position in stream time, we need to subtract
2646         accumulated time.
2647         
2648         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2649         Release lock before calling the callback function of async
2650         entries.
2651
2652 2005-11-18  Andy Wingo  <wingo@pobox.com>
2653
2654         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2655         Port goes all the way to MAXUINT16.
2656
2657         * gst/net/gstnettimeprovider.c: Make the port range the same as
2658         for the kernel: 0 assigns, otherwise ports are less than
2659         MAXUINT16.
2660
2661         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2662         port change.
2663
2664         * check/net/gstnetclientclock.c (test_functioning): Add the start
2665         of another test. 
2666
2667 2005-11-18  Wim Taymans  <wim@fluendo.com>
2668
2669         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2670         (gst_bin_remove_func), (bin_bus_handler):
2671         * gst/gstbin.h:
2672         Removing a clock provider from a bin, triggers a clock lost message
2673         so that a new clock will be selected.
2674         Adding a clock to a bin triggers a clock provider message.
2675         Make sure we reselect a clock when we received a clock lost message.
2676         Keep a reference to the element that provided the clock.
2677
2678 2005-11-18  Andy Wingo  <wingo@pobox.com>
2679
2680         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2681         the clock initially so it produces values around the base time.
2682         (gst_net_client_clock_class_init): Typo fix.
2683         (gst_net_client_clock_thread): Add note on when the socket gets
2684         closed.
2685
2686 2005-11-17  Wim Taymans  <wim@fluendo.com>
2687
2688         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2689         Free remote and local time arrays.
2690
2691 2005-11-17  Wim Taymans  <wim@fluendo.com>
2692
2693         * gst/net/gstnetclientclock.c: (do_linear_regression),
2694         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2695         Fix compilation, uninitialized vars and a forgotten continue.
2696
2697 2005-11-17  Andy Wingo  <wingo@pobox.com>
2698
2699         * check/Makefile.am (check_PROGRAMS): 
2700         * check/net/gstnetclientclock.c: Add a most minimal test for the
2701         net client clock. More to come later.
2702
2703         * gst/net/gstnet.h: 
2704         * gst/net/Makefile.am: Add netclientclock.
2705
2706         * gst/net/gstnetclientclock.h:
2707         * gst/net/gstnetclientclock.c: New files, implement an untested
2708         GstClock that takes its time from a network time provider.
2709         Implements the algorithm in network-clock.scm.
2710
2711         * tests/network-clock.scm (*window-size*): Rename from
2712         *queue-length*.
2713         * tests/network-clock.scm (network-time): 
2714         * tests/network-clock-utils.scm (q-push): Update callers.
2715
2716 2005-11-17  Wim Taymans  <wim@fluendo.com>
2717
2718         * gst/gstbin.c: (gst_bin_provide_clock_func),
2719         (gst_bin_sort_iterator_new):
2720         And unref the child too..
2721
2722 2005-11-17  Wim Taymans  <wim@fluendo.com>
2723
2724         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2725         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2726         Refactor the sort iterator so it can be used while holding the
2727         LOCK too.
2728         Make clock selection select a clock closest to the source.
2729
2730 2005-11-17  Michael Smith <msmith@fluendo.com>
2731
2732         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2733         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2734         * gst/gstclock.h:
2735           Anonymous structs are a gcc (and some other compilers) extension, so
2736           don't use them. Since this is only for ABI-compatibility, and our
2737           API/ABI freeze is over in a few days, this whole thing will only
2738           last a few days, so don't bother trying to think up a meaningful
2739           name for the struct.
2740
2741 2005-11-17  Andy Wingo  <wingo@pobox.com>
2742
2743         * gst/gstclock.h (GstClock): Add rate and offset properties,
2744         preserving ABI stability. Add rate/offset accessors. Will file bug
2745         for the freeze break.
2746
2747         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2748         and offset, trying to keep precision and avoiding
2749         underflow/overflow.
2750         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2751         functions. Make gst_clock_set_time_adjust obsolete.
2752         (gst_clock_set_time_adjust): Note that this function is obsolete.
2753         Will file bug soon.
2754
2755         * gst/base/gstbasetransform.h: Make the ABI-stability hack
2756         greppable by using GST_PADDING-1+1.
2757
2758 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
2759
2760         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2761
2762         * gst/gstmessage.c: (gst_message_parse_clock_lost):
2763           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2764
2765         * gst/gstpadtemplate.h:
2766         * gst/gstpluginfeature.h:
2767           Don't use c++ style comments in headers (#321638).
2768
2769 2005-11-16  Andy Wingo  <wingo@pobox.com>
2770
2771         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2772         buffer.
2773
2774         * check/net/gstnettimeprovider.c: Check to see that the time
2775         provider actually provides times. Works, yo!
2776
2777 2005-11-16  Wim Taymans  <wim@fluendo.com>
2778
2779         * check/Makefile.am:
2780         Enable more tests.
2781
2782         * check/elements/fakesrc.c: (GST_START_TEST):
2783         Set element to NULL before disposing it.
2784
2785 2005-11-16  Andy Wingo  <wingo@pobox.com>
2786
2787         * gst/net/Makefile.am:
2788         * gst/net/gstnet.h:
2789         * gst/net/gstnettimeprovider.c: 
2790         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2791         provider, include it from gstnet.h, and add it to the build.
2792
2793         * gst/net/gstnettimepacket.h: 
2794         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2795         sending and receiving.
2796
2797 2005-11-16  Wim Taymans  <wim@fluendo.com>
2798
2799         * check/Makefile.am:
2800         Enable valgrind check.
2801
2802         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2803         (gst_fake_src_alloc_buffer):
2804         Fix memleak.
2805
2806 2005-11-16  Wim Taymans  <wim@fluendo.com>
2807
2808         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2809         Call parent finalize too.
2810
2811 2005-11-16  Wim Taymans  <wim@fluendo.com>
2812
2813         * check/Makefile.am:
2814         Enable valgrind check that should work fine now.
2815
2816         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2817         * gst/gstqueue.c: (gst_queue_init):
2818         Fix memleaks in pad allocation.
2819
2820 2005-11-16  Andy Wingo  <wingo@pobox.com>
2821
2822         * gst/net/Makefile.am:
2823         * gst/net/gstnet.h: New part of core to hold network elements and
2824         objects. Put in core because it exposes API that applications want
2825         to use. The library is named libgstnet-tempname right now because
2826         of the existing libgstnet in gst-plugins-base. Solution is
2827         probably to rename the one in plugins-base; will file a bug for
2828         the freeze break.
2829
2830         * gst/net/gstnettimeprovider.c: 
2831         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2832         get_time call over the network.
2833
2834         * configure.ac: 
2835         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2836
2837         * check/Makefile.am:
2838         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2839         get additions shortly.
2840
2841 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2842
2843         * gst/gstpad.c: (gst_pad_new_from_static_template):
2844         * gst/gstpad.h:
2845           add gst_pad_new_from_static_template functions
2846         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2847         (gst_check_setup_sink_pad):
2848         * gst/elements/gsttee.c: (gst_tee_init):
2849           and use them
2850
2851 2005-11-16  Wim Taymans  <wim@fluendo.com>
2852
2853         * gst/gstpad.c: (gst_pad_pause_task):
2854         Removed warning, it's not really an error either.
2855
2856 2005-11-16  Wim Taymans  <wim@fluendo.com>
2857
2858         * gst/base/gstbasetransform.c:
2859         (gst_base_transform_prepare_output_buf),
2860         (gst_base_transform_event):
2861         Check if the caps are NULL, this can happen if the element
2862         is shutting down and the pad caps are set to NULL.
2863
2864 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2865
2866         * gst/elements/gsttee.c: (gst_tee_init):
2867           fix pad template leak in tee
2868
2869 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2870
2871         * gst/glib-compat.c: (g_value_dup_gst_object):
2872         * gst/glib-compat.h:
2873         * gst/gstpad.c: (gst_pad_set_property):
2874           use gst_object_ref when setting the pad template; this will
2875           trigger the pad template leaks on GLib 2.6 and the slaves
2876
2877 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2878
2879         * gst/glib-compat.c: (gst_flags_get_first_value):
2880         * gst/glib-compat.h:
2881         * gst/gstregistryxml.c:
2882           remove functions copied from GLib 2.6
2883
2884 2005-11-16  Michael Smith <msmith@fluendo.com>
2885
2886         * gst/Makefile.am:
2887           Don't link against VALGRIND_LIBS. That was always the wrong thing to
2888           do, but only breaks with newer valgrind versions. We're not a
2889           valgrind tool, we have no link-time dependencies on libcoregrind.
2890
2891 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2892
2893         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2894           some debug changes
2895         * gst/gstmessage.h:
2896           typo fixes
2897
2898 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2899
2900         * gst/base/gstbasesrc.c: (gst_base_src_init):
2901         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2902         * gst/gstqueue.c: (gst_queue_init):
2903         * gst/gstregistryxml.c: (load_feature):
2904           Revert all these unrefs, they don't even pass make check !
2905
2906 2005-11-15  Johan Dahlin  <johan@gnome.org>
2907
2908         * gst/base/gstbasesrc.c: (gst_base_src_init):
2909         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2910         * gst/gstqueue.c: (gst_queue_init): 
2911         Free pad templates, fixes a couple of leaks.
2912
2913 2005-11-15  Daniel Fischer  <dan at f3c dot com>
2914
2915         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2916
2917         * gst/gstpad.c: (gst_pad_get_property):
2918           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2919           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2920           (#321452)
2921
2922 2005-11-15  Wim Taymans  <wim@fluendo.com>
2923
2924         * gst/gstevent.c:
2925         Small doc update.
2926
2927 2005-11-15  Andy Wingo  <wingo@pobox.com>
2928
2929         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2930
2931         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2932         using GST_CLOCK_TIME_NONE to disable base time management.
2933         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2934         time if it was NONE before.
2935         (gst_pipeline_change_state): Only munge the base time if
2936         stream_time != GST_CLOCK_TIME_NONE.
2937
2938         * check/gst/gstpipeline.c (test_base_time): Punt around the
2939         problem of the probe not being called, because that's not the
2940         issue I'm looking at. Add a check that setting stream_time to NONE
2941         disables base time management.
2942         
2943 2005-11-15  Wim Taymans  <wim@fluendo.com>
2944
2945         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2946         segment_stop == -1 at startup.
2947
2948         * gst/base/gstbasetransform.c: (gst_base_transform_event),
2949         (gst_base_transform_change_state):
2950         Init segment values at start.
2951
2952 2005-11-15  Wim Taymans  <wim@fluendo.com>
2953
2954         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2955         0 segment values are 0 in any format.
2956
2957         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2958         * gst/base/gstbasetransform.h:
2959         Parse newsegment correctly in basetransform
2960
2961         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2962         Sync to clock using updated segment values.
2963
2964 2005-11-15  Andy Wingo  <wingo@pobox.com>
2965
2966         * check/gst/gstpipeline.c (test_base_time): Add check that the
2967         base time and stream time are reset correctly.
2968
2969 2005-11-15  Wim Taymans  <wim@fluendo.com>
2970
2971         * docs/design/part-TODO.txt:
2972         Some more TODO items.
2973
2974 2005-11-15  Andy Wingo  <wingo@pobox.com>
2975
2976         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2977         error if the user selected "no clock" as the clocking method.
2978
2979         * check/gst/gstpipeline.c (test_base_time): New test for buffer
2980         timestamps with live capture.
2981
2982         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2983         is 0 but we are a live source, timestamp the buffers using the
2984         element's clock.
2985
2986 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
2987
2988         * docs/gst/gstreamer-sections.txt:
2989         * gst/gsterror.c:
2990         * gst/gstghostpad.c:
2991         * gst/gstobject.h:
2992         * gst/gstxml.c:
2993           more section docs
2994
2995 2005-11-14  Wim Taymans  <wim@fluendo.com>
2996
2997         * common/gst.supp:
2998           add suppressions from Wim's Debian machine
2999
3000 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3001
3002         * common/gst.supp:
3003           add suppressions from Andy's AMD64 Ubuntu machine
3004
3005 2005-11-14  Andy Wingo  <wingo@pobox.com>
3006
3007         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
3008         STATE_LOCK not necessary. Fixes #311489.
3009
3010         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
3011         #305291.
3012
3013         * gst/gstindex.c (gst_index_add_object): Note in the docs that
3014         this function is not implemented.
3015
3016 2005-11-14  Julien MOUTTE  <julien@moutte.net>
3017
3018         * gst/base/gstbasetransform.c:
3019         (gst_base_transform_prepare_output_buf):
3020         Ref the source pad caps while we need them.
3021         Fixes (#321386)
3022
3023 2005-11-11  Wim Taymans  <wim@fluendo.com>
3024
3025         * docs/gst/gstreamer-sections.txt:
3026         Added some docs for GstCollectData.
3027
3028         * gst/base/gstadapter.c:
3029         Some small code example fix.
3030
3031         * gst/base/gstcollectpads.c:
3032         * gst/base/gstcollectpads.h:
3033         Document some more.
3034
3035 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3036
3037         * configure.ac: back to HEAD
3038
3039 === release 0.9.5 ===
3040
3041 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
3042
3043         * configure.ac:
3044           releasing 0.9.5, "Bike Lunch Day"
3045
3046 2005-11-11  Wim Taymans  <wim@fluendo.com>
3047
3048         * gst/gstbuffer.c: (_gst_buffer_copy):
3049         Copy more flags.
3050
3051         * gst/gstcaps.c: (gst_caps_is_equal):
3052         Fix some docs.
3053         Make _is_equal fast in the trivial cases.
3054
3055         * gst/gstminiobject.c:
3056         * gst/gstminiobject.h:
3057         More docs. Spifify .h file.
3058
3059         * gst/gstutils.c:
3060         Small doc update.
3061
3062 2005-11-11  Wim Taymans  <wim@fluendo.com>
3063
3064         * gst/base/gstbasetransform.c:
3065         (gst_base_transform_prepare_output_buf),
3066         (gst_base_transform_handle_buffer):
3067         Small cleanups.
3068         If we're processing a buffer and need to allocate an output
3069         buffer, we cannot accept a format change. If we did get a 
3070         format change, we have to alloc a buffer ourselves of the 
3071         right size.
3072
3073 2005-11-11  Wim Taymans  <wim@fluendo.com>
3074
3075         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
3076         While checking the flag for reentrancy in the gstcaps function
3077         is nice to detect recursive invocations, it also makes it 
3078         impossible to call getcaps from multiple threads, which must be
3079         possible. So, checking for recursive calls has to go.
3080
3081 2005-11-11  Michael Smith <msmith@fluendo.com>
3082
3083         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3084           Don't sync on buffers that fall partially outside our current
3085           segment. Prevents an assertion failure/abort playing some files.
3086
3087 2005-11-10  Andy Wingo  <wingo@pobox.com>
3088
3089         * check/gst/gstbin.c (test_message_state_changed_children): Style
3090         fix..
3091
3092         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
3093         gst_bus_poll with the signal watch. Ensures that poll and a signal
3094         watch see the same messages.
3095
3096         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
3097         a poll and a watch at the same time get the same messages.
3098
3099 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3100
3101         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
3102         * gst/gstcaps.c: (gst_caps_intersect):
3103           Don't call gst_caps_do_simplify - it doesn't respect order of caps
3104           and it's not needed.
3105
3106 2005-11-10  Wim Taymans  <wim@fluendo.com>
3107
3108         * docs/design/part-TODO.txt:
3109         Updated todo.
3110
3111 2005-11-10  Wim Taymans  <wim@fluendo.com>
3112
3113         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3114         * gst/base/gstbasesrc.c: (gst_base_src_wait),
3115         (gst_base_src_do_sync), (gst_base_src_get_range):
3116         Implement clock sync in base class.
3117
3118 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3119
3120         patch by: Tim-Philipp Müller <tim at centricular dot net>
3121
3122         * gst/gststructure.c: (gst_structure_parse_field),
3123         (gst_structure_from_string):
3124           Forward-port a 0.8 patch to handle escaped spaces in structure string,
3125           so that gst_parse_launch() can deal with spaces in filtered link
3126           caps (fixes #164479)
3127         * check/gst/capslist.h:
3128         * check/gst/gststructure.c: (GST_START_TEST):
3129           add unit tests for this change
3130
3131 2005-11-10  Wim Taymans  <wim@fluendo.com>
3132
3133         * docs/gst/gstreamer-sections.txt:
3134         * gst/gstelement.c:
3135         * gst/gstelement.h:
3136         Fix docs, move some STATE macros to private.
3137
3138 2005-11-10  Wim Taymans  <wim@fluendo.com>
3139
3140         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3141         Added check for bug #317341
3142
3143         * gst/gstbuffer.c:
3144         * gst/gstbuffer.h:
3145         Some more spiffifying.
3146
3147         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
3148         Call peer linkfunction if we are a source pad. Totally fixes
3149         #317341
3150
3151         * gst/gstpad.c:
3152         Update docs, source pads should call the peer linkfunction
3153         so they can atomically perform the pad link.
3154
3155 2005-11-09  Wim Taymans  <wim@fluendo.com>
3156
3157         * gst/gstbuffer.c:
3158         * gst/gstbuffer.h:
3159         Uber-spiffy-spiffify some more.
3160
3161 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
3162
3163         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
3164         * gst/elements/gstfilesink.c: (gst_file_sink_init):
3165         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3166         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
3167         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
3168         * gst/gstpad.c: (gst_pad_init):
3169           Use GST_DEBUG_FUNCPTR() more extensively.
3170
3171 2005-11-09  Wim Taymans  <wim@fluendo.com>
3172
3173         * gst/gstobject.c: (gst_object_class_init):
3174         * gst/gstobject.h:
3175         Documentation fixes.
3176
3177 2005-11-09  Edward Hervey  <edward@fluendo.com>
3178
3179         * gst/gsttypefindfactory.c:
3180         Fix docs.
3181         
3182 2005-11-09  Edward Hervey  <edward@fluendo.com>
3183
3184         * gst/base/gsttypefindhelper.c:
3185         * gst/gsttypefind.c:
3186         * gst/gsttypefind.h:
3187         Fix docs.
3188
3189 2005-11-09  Wim Taymans  <wim@fluendo.com>
3190
3191         * gst/gstiterator.c:
3192         Fix revision data.
3193
3194         * gst/gsttask.c:
3195         * gst/gsttask.h:
3196         Fix docs.
3197
3198 2005-11-09  Wim Taymans  <wim@fluendo.com>
3199
3200         * gst/gstevent.h:
3201         * gst/gsturi.h:
3202         Fix docs.
3203
3204 2005-11-09  Wim Taymans  <wim@fluendo.com>
3205
3206         * docs/gst/gstreamer-sections.txt:
3207         Moved the message async delivery private lock and cond
3208         to the private section.
3209
3210         * gst/gstmessage.c:
3211         * gst/gstmessage.h:
3212         Fixed docs.
3213
3214 2005-11-09  Edward Hervey  <edward@fluendo.com>
3215
3216         * docs/gst/gstreamer-sections.txt:
3217         * gst/gsturi.c:
3218         * gst/gsturi.h:
3219         Document GstURIHandler
3220
3221 2005-11-09  Wim Taymans  <wim@fluendo.com>
3222
3223         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
3224         (gst_iterator_find_custom):
3225         * gst/gstiterator.h:
3226         Fix iterator docs.
3227
3228 2005-11-09  Wim Taymans  <wim@fluendo.com>
3229
3230         * gst/gstbin.h:
3231         Document another field.
3232
3233         * gst/gststructure.c:
3234         * gst/gststructure.h:
3235         Document.
3236
3237 2005-11-09  Wim Taymans  <wim@fluendo.com>
3238
3239         * gst/gstbin.h:
3240         Documented structs.
3241
3242 2005-11-09  Wim Taymans  <wim@fluendo.com>
3243
3244         * docs/gst/gstreamer-sections.txt:
3245         Added some new macros.
3246
3247         * gst/gstclock.c:
3248         * gst/gstclock.h:
3249         * gst/gstobject.h:
3250         Docs updates.
3251
3252 2005-11-09  Wim Taymans  <wim@fluendo.com>
3253
3254         * docs/design/part-TODO.txt:
3255         Some more items for the TODO
3256
3257         * gst/gstcaps.c:
3258         * gst/gstcaps.h:
3259         Document GstCaps.
3260
3261 2005-11-09  Andy Wingo  <wingo@pobox.com>
3262
3263         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
3264         to work on something else now tho...
3265
3266         * gst/base/gstadapter.c: More adapter docs.
3267
3268         * gst/elements/gstfilesink.c (gst_file_sink_start) 
3269         (gst_file_sink_stop): New functions, replace the state change
3270         handler.
3271         (gst_file_sink_class_init): Hook up the start and stop functions.
3272         (gst_file_sink_base_init): Don't set the state change handler any
3273         more. It was a bit ugly too, being set from here...
3274         (gst_file_sink_get_property, gst_file_sink_set_property):
3275         Cleanups...
3276         (gst_file_sink_set_location): More robust check that doesn't call
3277         GST_STATE. Ugggggg.
3278
3279 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
3280
3281         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3282           Hold STREAM_LOCK while pushing newsegment or tag events as well.
3283
3284 2005-11-08  Wim Taymans  <wim@fluendo.com>
3285
3286         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3287         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3288         (gst_base_sink_chain), (gst_base_sink_change_state):
3289         * gst/base/gstbasesink.h:
3290         * gst/base/gstbasesrc.h:
3291         * gst/gstelement.h:
3292         * gst/gstevent.h:
3293         Avoid excessive typechecking in macros.
3294
3295         * gst/gstminiobject.c: (gst_mini_object_get_type),
3296         (gst_mini_object_init), (gst_mini_object_new),
3297         (gst_mini_object_free):
3298         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3299         (gst_object_finalize):
3300         Remove cruft code, optimize alloc_trace.
3301
3302 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3303
3304         * docs/faq/gst-uninstalled:
3305           fix up PS1 for systems that try to reset it
3306
3307 2005-11-07  Wim Taymans  <wim@fluendo.com>
3308
3309         * gst/base/gstbasesrc.c: (gst_base_src_init),
3310         (gst_base_src_get_range):
3311         Set the segment_end to -1 initially. Fixed typefind.
3312
3313 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3314
3315         * gst/base/gstadapter.c:
3316           Debug category should be 'adapter', not 'GstAdapter'.
3317           
3318         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3319         (gst_collectpads_class_init), (gst_collectpads_init),
3320         (gst_collectpads_peek), (gst_collectpads_pop),
3321         (gst_collectpads_event), (gst_collectpads_chain):
3322           Add debug category and some debugging output. Use boilerplate
3323           macros. Remove some extraneous words from docs.
3324
3325 2005-11-05  Andy Wingo  <wingo@pobox.com>
3326
3327         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3328         macro.
3329
3330 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3331
3332         * docs/gst/gstreamer-sections.txt:
3333         * gst/gstcaps.h:
3334         * gst/gstinfo.c:
3335         * gst/gstminiobject.h:
3336         * gst/gstobject.h:
3337         * gst/gstutils.h:
3338           more docs added
3339
3340 2005-11-04  Wim Taymans  <wim@fluendo.com>
3341
3342         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3343         Small update to stop at the configured segment_end
3344         position.
3345
3346 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
3347
3348         * gst/gstregistry.c:
3349         * gst/gstregistry.h:
3350           added missing docs
3351
3352 2005-11-04  Edward Hervey  <edward@fluendo.com>
3353
3354         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3355         Check if we are doing a segment seek and have arrived at the
3356         end of that segment.
3357
3358 2005-11-04  Wim Taymans  <wim@fluendo.com>
3359
3360         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3361         Don't leak a mutex unlock in case of an error.
3362
3363         * gst/gstbus.h:
3364         Doc fixes.
3365
3366 2005-11-04  Wim Taymans  <wim@fluendo.com>
3367
3368         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3369         (gst_bus_post):
3370         Get the context to wake up only once.
3371
3372 2005-11-03  Wim Taymans  <wim@fluendo.com>
3373
3374         * check/states/sinks.c: (GST_START_TEST):
3375         Uncomment fixed check.
3376
3377         * docs/design/part-TODO.txt:
3378         Updated TODO.
3379
3380         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3381         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3382         (gst_base_sink_get_position):
3383         If we are going to PLAYING, post the right pending state
3384         when we post the intermediate paused message.
3385
3386         * gst/gstelement.c: (gst_element_continue_state),
3387         (gst_element_set_state_func), (gst_element_change_state):
3388         Don't post state changes that were between the same state
3389         and were not ASYNC.
3390
3391 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3392
3393         * docs/gst/gstreamer-sections.txt:
3394         * gst/gstcaps.h:
3395         * gst/gstinfo.c:
3396         * gst/gstminiobject.h:
3397         * gst/gstobject.h:
3398         * gst/gstutils.h:
3399           more docs and doc style fixes
3400
3401 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
3402
3403         * docs/gst/gstreamer-sections.txt:
3404         * gst/gstelement.c:
3405         * gst/gstminiobject.c:
3406         doc fixes
3407
3408 2005-11-03  Andy Wingo  <wingo@pobox.com>
3409
3410         * check/states/sinks.c (test_livesrc_sink): Add checks that the
3411         state-changed messages actually have the right order and the right
3412         values.
3413
3414 2005-11-03  Wim Taymans  <wim@fluendo.com>
3415
3416         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3417         Added some more checks. Specifically the case where NO_PREROLL
3418         elements are in the pipeline.
3419
3420         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3421         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3422         (gst_base_sink_get_position):
3423         Post READY->PAUSED state change messages too.
3424         Fix bug where VOID was posted as pending state...
3425
3426         * gst/gstbin.c: (gst_bin_recalc_state):
3427         use _element_continue_state() to continue the state change.
3428
3429         * gst/gstelement.c: (gst_element_continue_state),
3430         (gst_element_commit_state), (gst_element_set_state_func),
3431         (gst_element_change_state), (gst_element_change_state_func):
3432         Lots of state change cleanups, assign the STATE_RETURN in
3433         a new continue_state() function that also propagates the
3434         last return value from a state change to the app.
3435         Update some debug statements with proper category.
3436
3437 2005-11-03  Wim Taymans  <wim@fluendo.com>
3438
3439         * docs/design/part-events.txt:
3440         * docs/design/part-gstpipeline.txt:
3441         * docs/design/part-messages.txt:
3442         * docs/design/part-overview.txt:
3443         * docs/design/part-seeking.txt:
3444         * docs/design/part-states.txt:
3445         * docs/design/part-trickmodes.txt:
3446         * docs/manual/advanced-position.xml:
3447         Small docs updates.
3448
3449         * gst/gstobject.h:
3450         People think !! is ugly, this looks better.
3451
3452         * gst/gstpad.c: (gst_pad_set_blocked_async):
3453         Remove !! since it's fixed elsewhere now.
3454
3455 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3456
3457         * gst/gstminiobject.h:
3458         * gst/gstobject.h:
3459           Add !! to _FLAG_IS_SET macros to make the result boolean.
3460
3461 2005-11-03  Edward Hervey  <edward@fluendo.com>
3462
3463         * gst/gstpad.c: (gst_pad_set_blocked_async):
3464         comparing a flag and a gboolean rarely returns coherent results...
3465         Added two characters (!!) to make that work correctly.
3466         
3467 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3468
3469         * gst/gstbus.c: (gst_bus_class_init):
3470           Fix some typos.
3471           
3472         * gst/gstqueue.c: (gst_queue_loop):
3473           Don't assume a miniobject that isn't a buffer is an
3474           event (it could be that there is a refcounting
3475           problem somewhere and the pointer is stale and
3476           refers to an already destroyed miniobject).
3477
3478 2005-11-03  Julien MOUTTE  <julien@moutte.net>
3479
3480         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3481
3482 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3483
3484         * docs/manual/advanced-position.xml:
3485           Update seek example and explanations to current 0.9 API.
3486
3487         * gst/elements/gsttypefindelement.c:
3488         (gst_type_find_element_activate):
3489           Remove FIXME comment now that the found caps
3490           are unreffed.
3491
3492 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3493
3494         * gst/gstregistryxml.c: (load_feature):
3495           Add another GST_STR_NULL instance
3496
3497 2005-11-02  Edward Hervey  <edward@fluendo.com>
3498
3499         * gst/gstpad.c: (handle_pad_block):
3500         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3501         
3502 2005-11-02  Wim Taymans  <wim@fluendo.com>
3503
3504         * gst/gstbin.c:
3505         Fix typo in docs.
3506
3507         * gst/gstelement.c: (gst_element_commit_state):
3508         Remove unused value.
3509
3510         * gst/gstiterator.c:
3511         Mention that the returned element is reffed in the docs.
3512
3513 2005-11-02  Wim Taymans  <wim@fluendo.com>
3514
3515         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3516         (gst_pad_push), (gst_pad_push_event):
3517         Unlock blocked pads when they are flushed.
3518
3519 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3520
3521         * docs/README:
3522         * docs/gst/gstreamer-sections.txt:
3523         * gst/gstbin.c:
3524           doc updates
3525         * gst/gstregistry.c: (gst_registry_scan_path_level):
3526           fix for a nasty little missed situation where an installed plug-in
3527           which was in the cache did not get overridden by an uninstalled one
3528           which was earlier in the plugin path because the newly created plugin
3529           for the uninstalled one (not in the registry) didn't get its
3530           ->registered set to TRUE
3531
3532 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3533
3534         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3535         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3536         (gst_collectpads_is_active), (gst_collectpads_collect),
3537         (gst_collectpads_collect_range), (gst_collectpads_start),
3538         (gst_collectpads_stop), (gst_collectpads_peek),
3539         (gst_collectpads_pop), (gst_collectpads_available),
3540         (gst_collectpads_read), (gst_collectpads_flush):
3541           Guard public API with assertions.
3542         
3543         * gst/gstpad.c:
3544           Fix docs for gst_pad_set_link_function().
3545
3546 2005-11-02  Johan Dahlin  <johan@gnome.org>
3547
3548         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
3549         Unref found_caps after we used it.
3550
3551 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3552
3553         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3554           Don't try to ref NULL.
3555
3556 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3557
3558         * win32/common/config.h.in:
3559           provide a GST_FUNCTION that just gives a string for now
3560
3561 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
3562
3563         * win32/common/gstenumtypes.c: (register_gst_object_flags),
3564         (gst_object_flags_get_type), (register_gst_bin_flags),
3565         (gst_bin_flags_get_type), (register_gst_buffer_flag),
3566         (gst_buffer_flag_get_type), (register_gst_bus_flags),
3567         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3568         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3569         (gst_clock_return_get_type), (register_gst_clock_entry_type),
3570         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3571         (gst_clock_flags_get_type), (register_gst_state),
3572         (gst_state_get_type), (register_gst_state_change_return),
3573         (gst_state_change_return_get_type), (register_gst_state_change),
3574         (gst_state_change_get_type), (register_gst_element_flags),
3575         (gst_element_flags_get_type), (register_gst_core_error),
3576         (gst_core_error_get_type), (register_gst_library_error),
3577         (gst_library_error_get_type), (register_gst_resource_error),
3578         (gst_resource_error_get_type), (register_gst_stream_error),
3579         (gst_stream_error_get_type), (register_gst_event_type),
3580         (gst_event_type_get_type), (register_gst_seek_type),
3581         (gst_seek_type_get_type), (register_gst_seek_flags),
3582         (gst_seek_flags_get_type), (register_gst_format),
3583         (gst_format_get_type), (register_gst_index_certainty),
3584         (gst_index_certainty_get_type), (register_gst_index_entry_type),
3585         (gst_index_entry_type_get_type),
3586         (register_gst_index_lookup_method),
3587         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3588         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3589         (gst_index_resolver_method_get_type), (register_gst_index_flags),
3590         (gst_index_flags_get_type), (register_gst_debug_level),
3591         (gst_debug_level_get_type), (register_gst_debug_color_flags),
3592         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3593         (gst_iterator_result_get_type), (register_gst_iterator_item),
3594         (gst_iterator_item_get_type), (register_gst_message_type),
3595         (gst_message_type_get_type), (register_gst_mini_object_flags),
3596         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3597         (gst_pad_link_return_get_type), (register_gst_flow_return),
3598         (gst_flow_return_get_type), (register_gst_activate_mode),
3599         (gst_activate_mode_get_type), (register_gst_pad_direction),
3600         (gst_pad_direction_get_type), (register_gst_pad_flags),
3601         (gst_pad_flags_get_type), (register_gst_pad_presence),
3602         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3603         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3604         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3605         (gst_plugin_error_get_type), (register_gst_plugin_flags),
3606         (gst_plugin_flags_get_type), (register_gst_rank),
3607         (gst_rank_get_type), (register_gst_query_type),
3608         (gst_query_type_get_type), (register_gst_tag_merge_mode),
3609         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3610         (gst_tag_flag_get_type), (register_gst_task_state),
3611         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3612         (gst_alloc_trace_flags_get_type),
3613         (register_gst_type_find_probability),
3614         (gst_type_find_probability_get_type), (register_gst_uri_type),
3615         (gst_uri_type_get_type), (register_gst_parse_error),
3616         (gst_parse_error_get_type):
3617         * win32/common/gstversion.h:
3618           update win32 copies
3619
3620 2005-11-01  Luca Ognibene  <luogni@tin.it>
3621
3622         * gst/gst.c:
3623           fix docs. popt is dead, long live GOption.
3624
3625 2005-10-31  Wim Taymans  <wim@fluendo.com>
3626
3627         * gst/gstbuffer.h:
3628         Small doc fix.
3629
3630 2005-10-31  Andy Wingo  <wingo@pobox.com>
3631
3632         * Boo!
3633
3634         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3635
3636         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3637         need to serialize property notifications on GLib 2.8. GLib 2.6 has
3638         the possibility of deadlocks here if code calling notify() or
3639         set() has a lock that can be taken in another notify handler (ABBA
3640         with class lock and e.g. python GIL state lock).
3641
3642 2005-10-28  Julien MOUTTE  <julien@moutte.net>
3643
3644         * gst/gstbus.c: Doc updates.
3645
3646 2005-10-28  Wim Taymans  <wim@fluendo.com>
3647
3648         * docs/design/part-TODO.txt:
3649         * gst/gstiterator.c:
3650         * gst/gstsystemclock.c:
3651         * gst/gstsystemclock.h:
3652         Doc updates.
3653
3654 2005-10-28  Edward Hervey  <edward@fluendo.com>
3655
3656         * docs/gst/gstreamer-docs.sgml:
3657         * docs/gst/gstreamer-sections.txt:
3658         the GstURIType documentation page is private, it only defines GstURIType
3659         which should be defined in the GstURIHandler page
3660         
3661 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3662
3663         * gst/gstbin.c: (gst_bin_class_init):
3664         * gst/gstbin.h:
3665         * gst/gstutils.c:
3666         Documentation updates.
3667
3668 2005-10-28  Wim Taymans  <wim@fluendo.com>
3669
3670         * docs/gst/gstreamer-sections.txt:
3671         * gst/gstclock.c:
3672         * gst/gstclock.h:
3673         Documented the clocks.
3674
3675 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
3676
3677         * docs/gst/gstreamer-sections.txt:
3678           move some macros to private sections
3679         * gst/gstminiobject.c:
3680         * gst/gstminiobject.h:
3681           add descriptions provided by ds and some more
3682         * gst/gstpad.h:
3683           mark macro as to be removed
3684
3685 2005-10-28  Wim Taymans  <wim@fluendo.com>
3686
3687         * docs/design/part-TODO.txt:
3688         Add an item to TODO.
3689
3690         * gst/gstiterator.c: (gst_iterator_fold),
3691         (gst_iterator_find_custom):
3692         * gst/gstiterator.h:
3693         Add iterator docs.
3694
3695 2005-10-28  Wim Taymans  <wim@fluendo.com>
3696
3697         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3698         (gst_base_transform_init):
3699         Don't leak class.
3700
3701         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3702         An EOS event marks the queue as completely filled.
3703
3704 2005-10-27  Wim Taymans  <wim@fluendo.com>
3705
3706         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3707         (gst_base_sink_do_sync), (gst_base_sink_get_position):
3708         Some more debugging.
3709
3710         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3711         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3712         (gst_base_transform_event), (gst_base_transform_getrange),
3713         (gst_base_transform_chain):
3714         * gst/base/gstbasetransform.h:
3715         Fix debugging,
3716         Protect transform and concurrent buffer alloc with a new lock.
3717         Try not to break ABI/API.
3718
3719 2005-10-27  Wim Taymans  <wim@fluendo.com>
3720
3721         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3722         (gst_base_src_init), (gst_base_src_query),
3723         (gst_base_src_default_newsegment),
3724         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3725         (gst_base_src_send_event), (gst_base_src_event_handler),
3726         (gst_base_src_pad_get_range), (gst_base_src_loop),
3727         (gst_base_src_unlock), (gst_base_src_default_negotiate),
3728         (gst_base_src_start), (gst_base_src_deactivate),
3729         (gst_base_src_activate_push), (gst_base_src_change_state):
3730         Move some stuff around and cleanup things.
3731
3732 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
3733
3734         * gst/base/gstbasesrc.c: (gst_base_src_query):
3735           Add missing break statements.
3736
3737 2005-10-27  Wim Taymans  <wim@fluendo.com>
3738
3739         * check/gst/gstbin.c: (GST_START_TEST):
3740         An extra refcount is taken in basesrc.
3741
3742         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3743         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3744         (gst_base_src_loop):
3745         Small cleanups, check for flushing after being unlocked from the 
3746         LIVE_LOCK. take refcounts correctly (not yet everywhere).
3747         Don't send out EOS when going to READY.
3748
3749 2005-10-27  Wim Taymans  <wim@fluendo.com>
3750
3751         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3752         (gst_base_sink_get_position):
3753         Some more debug.
3754
3755         * gst/gstbin.c: (message_check), (bin_replace_message),
3756         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3757         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3758         (bin_query_duration_init), (bin_query_duration_fold),
3759         (bin_query_duration_done), (bin_query_generic_fold),
3760         (gst_bin_query):
3761         * tools/gst-launch.c: (main):
3762         Remove old option.
3763
3764 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
3765
3766         * examples/controller/audio-example.c: (main):
3767         * examples/queue/queue.c: (event_loop):
3768         * gst/base/gstbasetransform.h:
3769         * gst/gstelement.c: (gst_element_send_event):
3770         * gst/gstevent.h:
3771         * gst/gstpad.c: (gst_pad_send_event):
3772           fixing examples
3773           fixing docs typos
3774           changing log priority in error situations
3775
3776 2005-10-25  Wim Taymans  <wim@fluendo.com>
3777
3778         * gst/gstbin.c: (message_check), (bin_replace_message),
3779         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3780         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3781         (bin_query_duration_init), (bin_query_duration_fold),
3782         (bin_query_duration_done), (bin_query_generic_fold),
3783         (gst_bin_query):
3784         Some doc and debug updates.
3785         Cache previously requested query DURATION for speed. invalidate
3786         cached duration if element posts a DURATION message.
3787
3788 2005-10-25  Wim Taymans  <wim@fluendo.com>
3789
3790         * docs/design/part-TODO.txt:
3791         Update TODO.
3792
3793         * gst/gstbin.c: (message_check), (bin_replace_message),
3794         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3795         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3796         (bin_query_duration_init), (bin_query_duration_fold),
3797         (bin_query_duration_done), (bin_query_generic_fold),
3798         (gst_bin_query):
3799         Handle SEGMENT_START/DONE messages correctly.
3800         More evolved query algorithm that handles duration queries
3801         correctly.
3802
3803         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3804         (gst_element_get_state_func), (gst_element_abort_state),
3805         (gst_element_commit_state), (gst_element_lost_state):
3806         Some more debugging.
3807
3808         * gst/gstmessage.h:
3809         Added doc.
3810
3811 2005-10-25  Wim Taymans  <wim@fluendo.com>
3812
3813         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3814         Don't use invalid stream_time.
3815
3816         * gst/gstevent.c: (gst_event_new_newsegment):
3817         stream_time in newsegment cannot be undefined.
3818
3819 2005-10-24  Wim Taymans  <wim@fluendo.com>
3820
3821         * gst/gstbus.c:
3822         Doc fix.
3823
3824         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3825         (gst_queue_loop):
3826         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3827
3828 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
3829
3830         * docs/libs/tmpl/gstdparam.sgml:
3831         * docs/libs/tmpl/gstdplinint.sgml:
3832         * docs/libs/tmpl/gstdpman.sgml:
3833         * docs/libs/tmpl/gstdpsmooth.sgml:
3834         * docs/libs/tmpl/gstunitconvert.sgml:
3835           these are obsolete
3836
3837 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3838
3839         * configure.ac:
3840           back to HEAD
3841
3842 === release 0.9.4 ===
3843
3844 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3845
3846         * configure.ac:
3847           releasing 0.9.4, "Tyrannosaurus Rex"
3848
3849 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
3850
3851         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3852         (gst_file_sink_get_current_offset):
3853           Use fseeko() and ftello() if available. When falling back on
3854           lseek() to get the current offset, fflush() first to make sure
3855           everything is up-to-date and we get the right offset.
3856
3857 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3858
3859         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3860         * gst/base/gstbasesrc.c: (gst_base_src_loop):
3861         * gst/gsterror.c: (_gst_stream_errors_init):
3862         * gst/gsterror.h:
3863         * gst/gstqueue.c: (gst_queue_loop):
3864         * po/POTFILES.in:
3865           remove prematurely added error category and clean up the instances
3866
3867 2005-10-21  Wim Taymans  <wim@fluendo.com>
3868
3869         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3870         (gst_base_sink_get_position), (gst_base_sink_query),
3871         (gst_base_sink_change_state):
3872         Simply set the right flag when going to playing, that's all
3873         we need to do instead of calling a function inside the object
3874         lock (that could take the lock as well and deadlock)
3875
3876 2005-10-21  Wim Taymans  <wim@fluendo.com>
3877
3878         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3879         (gst_base_src_loop):
3880         Don't warn, the peer element knows what to do best when
3881         the seek failed, it might try something else.
3882
3883 2005-10-21  Wim Taymans  <wim@fluendo.com>
3884
3885         * gst/base/gstbasesrc.c: (gst_base_src_init),
3886         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3887         Fix seeking.
3888
3889 2005-10-21  Wim Taymans  <wim@fluendo.com>
3890
3891         * docs/design/part-segments.txt:
3892         More docs.
3893
3894         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3895         Correctly set caps, even on the subbufer.
3896
3897 2005-10-21  Wim Taymans  <wim@fluendo.com>
3898
3899         * docs/gst/gstreamer-docs.sgml:
3900         * docs/gst/gstreamer-sections.txt:
3901         * gst/gstelement.h:
3902         * gst/gstevent.c:
3903         * gst/gstevent.h:
3904         * gst/gstmessage.h:
3905         * gst/gstpad.h:
3906         * gst/gstparse.h:
3907         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3908         * gst/gsttask.h:
3909         * gst/gstutils.c:
3910         * gst/gstutils.h:
3911         And 2% more doc coverage.
3912
3913 2005-10-21  Andy Wingo  <wingo@pobox.com>
3914
3915         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3916         position reporting.
3917
3918 2005-10-20  Wim Taymans  <wim@fluendo.com>
3919
3920         * gst/gsterror.c: (gst_error_get_message):
3921         * gst/gstparse.h:
3922         * gst/gstquery.h:
3923         * gst/gststructure.c:
3924         * gst/gsttrace.c:
3925         * gst/gstutils.c:
3926         More docs.
3927
3928 2005-10-20  Wim Taymans  <wim@fluendo.com>
3929
3930         * gst/gstbuffer.h:
3931         * gst/gstpad.c:
3932         * gst/gstparse.c:
3933         Another 1% more coverage.
3934
3935 2005-10-20  Wim Taymans  <wim@fluendo.com>
3936
3937         * docs/gst/gstreamer-sections.txt:
3938         * gst/gstelement.c: (gst_element_get_state_func),
3939         (gst_element_abort_state), (gst_element_commit_state),
3940         (gst_element_lost_state):
3941         * gst/gstevent.h:
3942         * gst/gstquery.c: (gst_query_set_position),
3943         (gst_query_parse_position), (gst_query_set_duration),
3944         (gst_query_parse_duration), (gst_query_new_convert):
3945         * gst/gstutils.c:
3946         Yay! 1% more docs coverage.
3947
3948 2005-10-20  Wim Taymans  <wim@fluendo.com>
3949
3950         * gst/gstpad.h:
3951         * gst/gstquery.c: (gst_query_set_position),
3952         (gst_query_parse_position), (gst_query_set_duration),
3953         (gst_query_parse_duration), (gst_query_new_convert):
3954         * gst/gstquery.h:
3955         * gst/gstutils.c: (gst_element_query_convert):
3956         * gst/gstutils.h:
3957         Docs and consistency fixes.
3958
3959 2005-10-20  Wim Taymans  <wim@fluendo.com>
3960
3961         * gst/gsttask.c:
3962         * gst/gsttask.h:
3963         More docs.
3964
3965 2005-10-20  Wim Taymans  <wim@fluendo.com>
3966
3967         * gst/gstbin.c: (message_check), (bin_replace_message),
3968         (bin_remove_messages), (is_eos), (gst_bin_add_func),
3969         (update_degree), (gst_bin_sort_iterator_next),
3970         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3971         Reworked the message handling a bit, cache the messages instead of
3972         only the senders. alows us to do more in the future.
3973
3974 2005-10-20  Wim Taymans  <wim@fluendo.com>
3975
3976         * docs/design/part-TODO.txt:
3977         Update TODO
3978
3979         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3980         (gst_base_sink_query):
3981         Don't use clock time to report position when in EOS.
3982
3983 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
3984
3985         * tools/gst-inspect.c: (print_interfaces),
3986         (print_element_properties_info), (print_element_info):
3987           Fix interface output with gst-inspect -a; don't print
3988           newlines after double/float properties.
3989
3990 2005-10-20  Wim Taymans  <wim@fluendo.com>
3991
3992         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3993         (gst_base_sink_query):
3994         Speed up current position calculation.
3995
3996         * gst/base/gstbasesrc.c: (gst_base_src_query),
3997         (gst_base_src_default_newsegment):
3998         Correctly set stream position in newsegment.
3999
4000         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
4001         (update_degree), (gst_bin_sort_iterator_next),
4002         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
4003         * gst/gstmessage.c: (gst_message_new_custom):
4004         Clean up debugging info
4005
4006         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
4007         (gst_queue_loop), (gst_queue_handle_src_query):
4008         Pause task faster.
4009
4010 2005-10-19  Wim Taymans  <wim@fluendo.com>
4011
4012         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4013         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
4014         Fix query handling again.
4015
4016 2005-10-19  Wim Taymans  <wim@fluendo.com>
4017
4018         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4019         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
4020         * gst/base/gstbasesrc.c: (gst_base_src_query):
4021         * gst/elements/gstfilesink.c: (gst_file_sink_query):
4022         * gst/elements/gsttypefindelement.c:
4023         (gst_type_find_handle_src_query), (find_element_get_length),
4024         (gst_type_find_element_activate):
4025         API change fix.
4026
4027         * gst/gstquery.c: (gst_query_new_position),
4028         (gst_query_set_position), (gst_query_parse_position),
4029         (gst_query_new_duration), (gst_query_set_duration),
4030         (gst_query_parse_duration), (gst_query_set_segment),
4031         (gst_query_parse_segment):
4032         * gst/gstquery.h:
4033         Bundling query position/duration is not a good idea since duration
4034         does not change much and we don't want to recalculate it for every
4035         position query, so they are separated again..
4036         Base value in segment query is not needed.
4037
4038         * gst/gstqueue.c: (gst_queue_handle_src_query):
4039         * gst/gstutils.c: (gst_element_query_position),
4040         (gst_element_query_duration), (gst_pad_query_position),
4041         (gst_pad_query_duration):
4042         * gst/gstutils.h:
4043         Updates for query API change.
4044         Added some docs here and there.
4045
4046 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
4047
4048         * check/gst/gstbin.c: (GST_START_TEST):
4049         * check/gst/gstghostpad.c: (GST_START_TEST):
4050         * check/pipelines/cleanup.c: (GST_START_TEST):
4051           wait on thread to die so we can check refcount correctly
4052
4053 2005-10-18  Wim Taymans  <wim@fluendo.com>
4054
4055         * check/pipelines/stress.c: (GST_START_TEST):
4056         Make check a little more time consuming.
4057
4058 2005-10-18  Wim Taymans  <wim@fluendo.com>
4059
4060         * check/Makefile.am:
4061         * check/pipelines/stress.c: (GST_START_TEST),
4062         (simple_launch_lines_suite), (main):
4063         Small state change torture test.
4064
4065         * docs/design/part-states.txt:
4066         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4067         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
4068         (gst_base_sink_change_state):
4069         Never take state lock from streaming thread, clean up ugly
4070         hacks. Unfortunatly core does not yet support nice ways to
4071         async commit state.
4072         
4073         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
4074         (bin_bus_handler):
4075         Start state recalc if a STATE_DIRTY message is posted, but only
4076         on the toplevel bin.
4077
4078         * gst/gstelement.c: (gst_element_sync_state_with_parent),
4079         (gst_element_get_state_func), (gst_element_abort_state),
4080         (gst_element_commit_state), (gst_element_lost_state),
4081         (gst_element_set_state_func), (gst_element_change_state):
4082         * gst/gstelement.h:
4083         State variables are now protected with the LOCK, the state
4084         lock is only used to serialize _set_state().
4085
4086 2005-10-18  Wim Taymans  <wim@fluendo.com>
4087
4088         * check/gst/gstbin.c: (GST_START_TEST):
4089         * check/gst/gstmessage.c: (GST_START_TEST):
4090         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4091         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
4092         (bin_bus_handler):
4093         * gst/gstelement.c: (gst_element_abort_state),
4094         (gst_element_commit_state), (gst_element_lost_state):
4095         * gst/gstmessage.c: (gst_message_new_state_changed),
4096         (gst_message_new_state_dirty), (gst_message_new_segment_start),
4097         (gst_message_new_segment_done), (gst_message_new_duration),
4098         (gst_message_parse_state_changed),
4099         (gst_message_parse_segment_start),
4100         (gst_message_parse_segment_done), (gst_message_parse_duration):
4101         * gst/gstmessage.h:
4102         * tools/gst-launch.c: (event_loop):
4103         Seriously, this is better than a previous commit as we only need
4104         to notify the fact that an element changed state in a streaming
4105         thread, marking the state of the parents dirty, hence the 
4106         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
4107         message.
4108
4109 2005-10-18  Wim Taymans  <wim@fluendo.com>
4110
4111         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4112         (gst_bin_recalc_func):
4113         * gst/gstelement.c: (gst_element_set_clock),
4114         (gst_element_abort_state), (gst_element_lost_state):
4115         Cleanups, prepare for state change fixes.
4116
4117 2005-10-18  Wim Taymans  <wim@fluendo.com>
4118
4119         * gst/gstbin.h:
4120         * gst/gstelement.c: (gst_element_class_init),
4121         (gst_element_set_state), (gst_element_set_state_func):
4122         * gst/gstelement.h:
4123         Pending ABI changes.
4124         GThreadPool in GstBinClass to monitor async state changes.
4125         state_cookie in GstElement to detect concurrent gst/set state.
4126         set_state is now virtual too in case a very complicated element
4127         has to be constructed.
4128
4129 2005-10-18  Wim Taymans  <wim@fluendo.com>
4130
4131         * check/gst/gstbin.c: (GST_START_TEST):
4132         * check/gst/gstmessage.c: (GST_START_TEST):
4133         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4134         * gst/gstbin.c: (bin_bus_handler):
4135         * gst/gstelement.c: (gst_element_commit_state),
4136         (gst_element_lost_state):
4137         * gst/gstmessage.c: (gst_message_new_state_changed),
4138         (gst_message_new_segment_start), (gst_message_new_segment_done),
4139         (gst_message_new_duration), (gst_message_parse_state_changed),
4140         (gst_message_parse_segment_start),
4141         (gst_message_parse_segment_done), (gst_message_parse_duration):
4142         * gst/gstmessage.h:
4143         * tools/gst-launch.c: (event_loop):
4144         Make messages future proof.
4145         state-change gets a flag if it was a message comming from the
4146         streaming thread.
4147         segment-start/stop can also be specified in other formats.
4148         A message to notify an app that a pipeline changed playback 
4149         duration.
4150         Also fix a GstMessage leak in -launch
4151
4152 2005-10-18  Andy Wingo  <wingo@pobox.com>
4153
4154         * gst/gstelement.c (gst_element_dispose): More helpful message.
4155
4156 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4157
4158         reviewed by: <delete if not using a buddy>
4159
4160         * common/gtk-doc.mak:
4161
4162 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4163
4164         * gst/gstregistry.c: (gst_registry_scan_path_level):
4165           unref a plug-in we get that was already initialized
4166
4167 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
4168
4169         * docs/gst/gstreamer-sections.txt:
4170         * docs/libs/gstreamer-libs-sections.txt:
4171         * gst/gstelement.h:
4172           add new api entries
4173           hide internal macro
4174
4175 2005-10-17  Andy Wingo  <wingo@pobox.com>
4176
4177         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
4178         cleanup.
4179
4180         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
4181
4182         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
4183
4184         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
4185         (gst_element_get_state_func): Better debug message.
4186         (gst_element_commit_state): s/INFO/DEBUG/.
4187         (gst_element_lost_state, gst_element_change_state): 
4188
4189         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
4190         (gst_message_new_custom): s/INFO/LOG/.
4191
4192 2005-10-17  Michael Smith <msmith@fluendo.com>
4193
4194         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4195           Check if end time is valid using end time, not start time.
4196
4197 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
4198
4199         * check/gst-libs/controller.c: (GST_START_TEST),
4200         (gst_controller_suite):
4201         * libs/gst/controller/gstcontroller.c:
4202         (gst_controlled_property_set_interpolation_mode):
4203         * libs/gst/controller/gstcontroller.h:
4204         * libs/gst/controller/gstinterpolation.c:
4205         * testsuite/controller/.cvsignore:
4206         * testsuite/controller/Makefile.am:
4207         * testsuite/controller/interpolator.c:
4208           merge controller testsuites
4209           fix broken tests
4210           remove mem-chunk from docs
4211
4212 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4213
4214         * gst/gstmemchunk.c:
4215         * gst/gstmemchunk.h:
4216         * gst/gsttrashstack.c:
4217         * gst/gsttrashstack.h:
4218           out.  get out.  you're fired.  to the Attic !
4219
4220 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4221
4222         * gst/gstcaps.c: (gst_caps_intersect):
4223           fix signedness issues in a (hopefully) correct way
4224         * gst/gstelement.c: (gst_element_pads_activate):
4225           some debugging
4226         * gst/gstobject.c: (gst_object_set_parent):
4227           some debugging
4228
4229 2005-10-17  Julien MOUTTE  <julien@moutte.net>
4230
4231         * gst/gstvalue.h: Fix prototypes.
4232
4233 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4234
4235         * docs/gst/gstreamer-sections.txt:
4236         * gst/gst.c: (gst_version_string):
4237         * gst/gst.h:
4238         * gst/gstversion.h.in:
4239         * win32/common/libgstreamer.def:
4240           add gst_version_string ()
4241
4242 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4243
4244         * configure.ac:
4245           clean up further
4246         * gst/gst.c: (init_post):
4247         * win32/common/config.h.in:
4248           it's PLUGINDIR now
4249         * gst/gstcaps.c: (gst_caps_intersect):
4250           use gint64, the range could be bigger than a guint
4251
4252 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4253
4254         * gst/gstclock.h:
4255           document potential problem in 2038
4256
4257 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4258
4259         * gst/gstcaps.c: (gst_caps_intersect):
4260           Fix guint j diving under 0
4261
4262 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4263
4264         * configure.ac:
4265         * win32/common/config.h:
4266         * win32/common/config.h.in:
4267           check for process.h, declares getpid() on Windows
4268         * gst/gstinfo.c:
4269           include process.h if we have it
4270         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
4271         * gst/gstmemchunk.h:
4272           fix signedness issues
4273         * win32/common/libgstreamer.def:
4274           fix get_type's
4275
4276 2005-10-16  Julien MOUTTE  <julien@moutte.net>
4277
4278         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
4279         fix. Because of unsigned ints, caps intersection was going nuts and
4280         trying to access structures with G_MAXUINT index. That fixes
4281         videotestsrc ! ffmpegcolorspace ! fakesink
4282         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
4283         consistency.
4284
4285 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4286
4287         * configure.ac:
4288           use the gettext macro
4289         * gst/elements/gstelements.c:
4290         * gst/gst.c:
4291         * gst/indexers/gstindexers.c:
4292           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4293         * win32/common/config.h:
4294           updated config.h
4295         * win32/common/config.h.in:
4296           add the template to generate config.h
4297         * win32/common/gstenumtypes.c:
4298         * win32/common/gstversion.h:
4299           updated copies
4300
4301 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4302
4303         * gst/gst.c: (gst_version):
4304         * gst/gstversion.h.in:
4305           add the nano
4306
4307 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4308
4309         * gst/gstevent.h:
4310           Oops, add missing closing bracket.
4311
4312 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4313
4314         * configure.ac:
4315           use common m4's for argument checking
4316
4317 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4318
4319         * docs/gst/gstreamer-sections.txt:
4320         * gst/gstevent.h:
4321           Add GST_EVENT_TYPE_NAME() macro.
4322
4323 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4324
4325         * gst/gstinfo.c:
4326         * gst/gstpluginfeature.c:
4327         * gst/gsttask.c:
4328           privatize more symbols
4329
4330 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4331
4332         * configure.ac:
4333           add srcdir, builddir includes to GST_ALL_CFLAGS, since
4334           everything that uses GStreamer API should have the includes
4335
4336 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4337
4338         * docs/gst/gstreamer-sections.txt:
4339         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4340         * gst/gstvalue.h:
4341           give each value a _get_type, removes the DATA exports
4342
4343 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4344
4345         * gst/gst.c:
4346         * gst/gst.h:
4347           remove _gst_registry_auto_load, not used anymore
4348         * gst/gstbin.c: (gst_bin_get_type):
4349         * gst/gstbin.h:
4350         * gst/gstelement.c: (gst_element_get_type):
4351         * gst/gstelement.h:
4352         * gst/gstobject.c: (gst_object_get_type):
4353         * gst/gstobject.h:
4354         * gst/gstpad.c: (gst_pad_get_type):
4355         * gst/gstpad.h:
4356           make _get_type functions similar, fixes data export from library
4357
4358 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4359
4360         * configure.ac:
4361           correctly make conditionals
4362         * gst/elements/Makefile.am:
4363         * gst/elements/gstelements.c:
4364           fix typo causing fdsrc not to build
4365
4366 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4367
4368         * testsuite/Makefile.am:
4369         * testsuite/bytestream/.cvsignore:
4370         * testsuite/bytestream/Makefile.am:
4371         * testsuite/bytestream/filepadsink.c:
4372         * testsuite/bytestream/gstbstest.c:
4373         * testsuite/bytestream/test1.c:
4374         * testsuite/bytestream/testfile1:
4375         * testsuite/caps/normalisation.c:
4376         * testsuite/caps/random.c: (main):
4377         * testsuite/cleanup/.cvsignore:
4378         * testsuite/cleanup/Makefile.am:
4379         * testsuite/cleanup/cleanup1.c:
4380         * testsuite/cleanup/cleanup2.c:
4381         * testsuite/cleanup/cleanup3.c:
4382         * testsuite/cleanup/cleanup4.c:
4383         * testsuite/cleanup/cleanup5.c:
4384         * testsuite/controller/interpolator.c:
4385         * testsuite/debug/printf_extension.c: (main):
4386         * testsuite/elements/tee.c:
4387         * testsuite/negotiation/.cvsignore:
4388         * testsuite/negotiation/Makefile.am:
4389         * testsuite/negotiation/pad_link.c:
4390         * testsuite/pad/Makefile.am:
4391         * testsuite/pad/chainnopull.c:
4392         * testsuite/pad/getnopush.c:
4393         * testsuite/pad/link.c:
4394         * testsuite/refcounting/sched.c: (create_pipeline):
4395         * testsuite/registry/Makefile.am:
4396         * testsuite/registry/gst-print-formats.c:
4397         * testsuite/schedulers/.cvsignore:
4398         * testsuite/schedulers/142183-2.c:
4399         * testsuite/schedulers/142183.c:
4400         * testsuite/schedulers/143777-2.c:
4401         * testsuite/schedulers/143777.c:
4402         * testsuite/schedulers/147713.c:
4403         * testsuite/schedulers/147819.c:
4404         * testsuite/schedulers/147894-2.c:
4405         * testsuite/schedulers/147894.c:
4406         * testsuite/schedulers/Makefile.am:
4407         * testsuite/schedulers/group_link.c:
4408         * testsuite/schedulers/queue_link.c:
4409         * testsuite/schedulers/relink.c:
4410         * testsuite/schedulers/unlink.c:
4411         * testsuite/schedulers/unref.c:
4412         * testsuite/schedulers/useless_iteration.c:
4413         * testsuite/states/bin.c:
4414           clean out/remove some stuff from the testsuite directories
4415
4416 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4417
4418         * configure.ac:
4419           check for some headers
4420         * gst/elements/Makefile.am:
4421         * gst/elements/gstelements.c:
4422           don't compile fdsrc without sys/socket.h
4423         * gst/indexers/Makefile.am:
4424         * gst/indexers/gstindexers.c: (plugin_init):
4425           don't compile fileindex without mmap
4426
4427 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4428
4429         * configure.ac:
4430           reorganize
4431           clean up
4432           document more
4433           remove cruft
4434         * check/Makefile.am:
4435         * docs/gst/Makefile.am:
4436         * examples/helloworld/Makefile.am:
4437         * gst/Makefile.am:
4438         * gst/base/Makefile.am:
4439         * gst/check/Makefile.am:
4440         * gst/elements/Makefile.am:
4441         * gst/indexers/Makefile.am:
4442         * gst/parse/Makefile.am:
4443         * libs/gst/controller/Makefile.am:
4444         * libs/gst/dataprotocol/Makefile.am:
4445         * examples/helloworld/helloworld.c: (event_loop):
4446           compile fixes, though it's not being compiled currently
4447
4448 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4449
4450         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4451           Add some simple tests for the new taglist date API.
4452
4453 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4454
4455         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4456         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4457           Beautify 'last-message' output: print 'none' for buffer timestamps
4458           and durations if none is set; improve alignment with next messages.
4459
4460 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
4461
4462         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4463         * gst/gstpluginfeature.h:
4464         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4465         * gst/gstregistry.h:
4466         * docs/gst/gstreamer-sections.txt:
4467           Add new API to check plugin feature version requirements.
4468
4469         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4470           Some basic tests for the above.         
4471
4472 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4473
4474         * gst/gststructure.c: (gst_structure_to_string):
4475           guard against NULL printf - happens when for example
4476           a message structure with GstClock gets serialized
4477
4478 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4479
4480         * gst/base/gstcollectpads.c: (gst_collectpads_event):
4481           Fix presumable copy'n'pasto.
4482
4483 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4484
4485         * gst/elements/gstfakesrc.h:
4486         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4487         * gst/elements/gsttypefindelement.c:
4488           fix some signedness
4489         * gst/elements/gstfilesink.c: (gst_file_sink_render):
4490           I wonder if this could actually write +2GB files before
4491
4492 2005-10-13  Andy Wingo  <wingo@pobox.com>
4493
4494         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4495         Fix Timmeke Waymans bug.
4496         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4497         string of the proper length to gst_caps_from_string. There's a
4498         potential for, before this fix, that this could cause someone
4499         connecting over the network to cause a segfault if the payload is
4500         not NUL-terminated.
4501
4502 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4503
4504         * docs/design/draft-push-pull.txt:
4505         * docs/design/part-overview.txt:
4506         * docs/random/TODO-pre-0.9:
4507         * docs/random/old/ChangeLog.gstreamer:
4508         * gst/base/gstpushsrc.c:
4509         * gst/gstclock.c:
4510           fixed typos
4511
4512 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4513
4514         * gst/glib-compat.c: (gst_flags_get_first_value):
4515         * gst/glib-compat.h:
4516         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4517         (gst_value_compare_double), (gst_value_serialize_flags):
4518           GLib 2.6 g_flags_get_first_value has a bug that triggers an
4519           infinite loop
4520
4521 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4522
4523         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4524         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4525           fix up debugging
4526         * tools/gst-launch.c: (event_loop):
4527           print out clock nicely
4528
4529 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4530
4531         * docs/gst/gstreamer-sections.txt:
4532         * gst/gsttaglist.h:
4533         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4534         (gst_tag_list_get_date_index):
4535           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4536           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4537
4538 2005-10-13  Julien MOUTTE  <julien@moutte.net>
4539
4540         * gst/base/gstcollectpads.c: (gst_collectpads_event),
4541         (gst_collectpads_chain):
4542         * gst/base/gstcollectpads.h: Handle newsegment and store informations
4543         in CollectData.
4544
4545 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
4546
4547         * docs/gst/gstreamer-sections.txt:
4548         * gst/gst.c:
4549         * gst/gsterror.h:
4550         * tools/gst-inspect.c: (main):
4551         * tools/gst-launch.c: (main):
4552         * tools/gst-run.c: (main):
4553         * tools/gst-xmlinspect.c: (main):
4554           fix GOption context leaks
4555           doc fixes
4556
4557 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4558
4559         * gst/gstbus.c:
4560           use HAVE_UNISTD_H
4561         * win32/common/config.h:
4562           update config
4563         * win32/vs6/grammar.dsp:
4564         * win32/vs6/libgstelements.dsp:
4565         * win32/vs6/libgstreamer.dsp:
4566           update vs6 files
4567
4568 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4569
4570         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4571         * gst/base/gstbasesrc.c: (gst_base_src_query):
4572           fix more guint64<->gdouble conversions
4573
4574 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4575
4576         * Makefile.am:
4577           add win32-update target
4578         * win32/common/gstconfig.h:
4579         * win32/common/gstenumtypes.c:
4580         * win32/common/gstenumtypes.h:
4581         * win32/common/gstversion.h:
4582           add files that visual studio can't generate
4583
4584 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4585
4586         * Makefile.am:
4587           add a win32-update target
4588         * configure.ac:
4589
4590 2005-10-12  Wim Taymans  <wim@fluendo.com>
4591
4592         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4593         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4594         * gst/gstelement.c: (gst_element_commit_state),
4595         (gst_element_set_state):
4596         Protect flags with proper lock.
4597         unref provided cached clock in dispose.
4598
4599 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4600
4601         * gst/gst.c:
4602         * gst/gstminiobject.h:
4603         * gst/gstpad.h:
4604         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4605           removed unused flags from miniobject
4606           doc fixes
4607
4608 2005-10-12  Wim Taymans  <wim@fluendo.com>
4609
4610         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4611         (gst_file_sink_event), (gst_file_sink_render):
4612         Flush before seeking.
4613
4614 2005-10-12  Andy Wingo  <wingo@pobox.com>
4615
4616         * gst/gst.c (gst_init_check): Ignore unknown options, as has
4617         always been the case.
4618
4619 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
4620
4621         * check/gst/gstbin.c: (GST_START_TEST):
4622         * docs/gst/gstreamer-sections.txt:
4623         * gst/base/gstbasesink.c: (gst_base_sink_init):
4624         * gst/base/gstbasesrc.c: (gst_base_src_init),
4625         (gst_base_src_get_range), (gst_base_src_check_get_range),
4626         (gst_base_src_start), (gst_base_src_stop):
4627         * gst/base/gstbasesrc.h:
4628         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4629         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4630         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4631         (bin_bus_handler):
4632         * gst/gstbin.h:
4633         * gst/gstbuffer.h:
4634         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4635         * gst/gstbus.h:
4636         * gst/gstelement.c: (gst_element_is_locked_state),
4637         (gst_element_set_locked_state), (gst_element_commit_state),
4638         (gst_element_set_state):
4639         * gst/gstelement.h:
4640         * gst/gstindex.c: (gst_index_init):
4641         * gst/gstindex.h:
4642         * gst/gstminiobject.h:
4643         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4644         (gst_object_set_parent):
4645         * gst/gstobject.h:
4646         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4647         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4648         * gst/gstpad.h:
4649         * gst/gstpadtemplate.h:
4650         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4651         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4652         * gst/gstpipeline.h:
4653         * gst/indexers/gstfileindex.c: (gst_file_index_load),
4654         (gst_file_index_commit):
4655         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4656         * testsuite/pad/link.c: (gst_test_src_init),
4657         (gst_test_filter_init), (gst_test_sink_init):
4658         * testsuite/states/locked.c: (main):
4659           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4660           moved bitshift from macro to enum definition
4661
4662 2005-10-12  Wim Taymans  <wim@fluendo.com>
4663
4664         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4665         * gst/elements/gstfilesink.c: (gst_file_sink_event),
4666         (gst_file_sink_render):
4667         Some more debugging info.
4668
4669 2005-10-12  Wim Taymans  <wim@fluendo.com>
4670
4671         * docs/design/part-states.txt:
4672         * tools/gst-launch.c: (main):
4673         Some doc updates.
4674         Revert non-intentional change.
4675
4676 2005-10-12  Wim Taymans  <wim@fluendo.com>
4677
4678         * check/gst/gstbin.c: (GST_START_TEST):
4679         * check/gst/gstelement.c: (GST_START_TEST):
4680         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4681         * check/gst/gstghostpad.c: (GST_START_TEST):
4682         * check/gst/gstpipeline.c: (GST_START_TEST):
4683         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4684         * check/states/sinks.c: (GST_START_TEST):
4685         * gst/elements/gsttypefindelement.c: (stop_typefinding):
4686         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4687         (gst_bin_remove_func), (gst_bin_get_state_func),
4688         (gst_bin_recalc_state), (gst_bin_change_state_func),
4689         (bin_bus_handler):
4690         * gst/gstelement.c: (gst_element_get_state_func),
4691         (gst_element_get_state), (gst_element_abort_state),
4692         (gst_element_commit_state), (gst_element_set_state),
4693         (gst_element_change_state), (gst_element_change_state_func):
4694         * gst/gstelement.h:
4695         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4696         (gst_pipeline_provide_clock_func):
4697         * gst/gstutils.c: (gst_element_link_pads_filtered):
4698         * tools/gst-launch.c: (main):
4699         * tools/gst-typefind.c: (main):
4700         Use GstClockTime in _get_state() instead of GTimeVal.
4701         Remove old code in gstutils.c
4702
4703 2005-10-12  Andy Wingo  <wingo@pobox.com>
4704
4705         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4706         removed.
4707
4708         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4709         there is no task. Shouldn't affect any code, as nothing in our
4710         plugins checks this return value.
4711         (gst_pad_stop_task): Also take the stream lock if the pad has no
4712         task. Docs updated.
4713
4714 2005-10-12  Wim Taymans  <wim@fluendo.com>
4715
4716         * gst/gstpad.c: (pre_activate), (post_activate),
4717         (gst_pad_activate_pull), (gst_pad_activate_push):
4718         Cleanup activation code. Reset old state if
4719         activation failed.
4720
4721 2005-10-12  Wim Taymans  <wim@fluendo.com>
4722
4723         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4724         (gst_base_sink_change_state):
4725         No need to prerol after receiving EOS.
4726
4727         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4728         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4729         * gst/elements/gstidentity.c: (gst_identity_event):
4730         Print events more verbosely.
4731
4732 2005-10-12  Wim Taymans  <wim@fluendo.com>
4733
4734         * check/Makefile.am:
4735         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4736         * check/states/sinks2.c:
4737         Moved sinks2 testcode in sinks check.
4738
4739         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4740         (gst_bin_remove_func), (gst_bin_recalc_state),
4741         (gst_bin_change_state_func), (bin_bus_handler):
4742         Fix potential race condition when _get_state() iterated over an
4743         ASYNC element right before it posted a state completion.
4744
4745         * gst/gstclock.h:
4746         Do proper cast here.
4747
4748         * gst/gstevent.c: (gst_event_new_newsegment),
4749         (gst_event_parse_newsegment):
4750         A playback rate of 0.0 is not allowed.
4751
4752 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4753
4754         * win32/common/config.h:
4755         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4756         (_trewinddir), (_ttelldir), (_tseekdir):
4757         * win32/common/dirent.h:
4758         * win32/common/gtchar.h:
4759         * win32/common/libgstbase.def:
4760         * win32/common/libgstreamer.def:
4761         * win32/vs6/grammar.dsp:
4762         * win32/vs6/gst_inspect.dsp:
4763         * win32/vs6/gst_launch.dsp:
4764         * win32/vs6/gstreamer.dsw:
4765         * win32/vs6/libgstbase.dsp:
4766         * win32/vs6/libgstelements.dsp:
4767         * win32/vs6/libgstreamer.dsp:
4768           Visual Studio 6 project files, and a new common directory.
4769           Phear.
4770
4771 2005-10-11  Wim Taymans  <wim@fluendo.com>
4772
4773         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4774         (gst_base_sink_do_sync), (gst_base_sink_query),
4775         (gst_base_sink_change_state):
4776         * gst/base/gstbasesink.h:
4777         Correctly parse newsegment info.
4778
4779 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4780
4781         * gst/gst.c: (init_post):
4782           split plugin paths correctly
4783
4784 2005-10-11  Wim Taymans  <wim@fluendo.com>
4785
4786         * check/gst/gstevent.c: (GST_START_TEST):
4787         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4788         (gst_base_sink_change_state):
4789         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4790         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4791         * gst/elements/gstfilesink.c: (gst_file_sink_event):
4792         * gst/gstevent.c: (gst_event_new_newsegment),
4793         (gst_event_parse_newsegment):
4794         * gst/gstevent.h:
4795         Added extra flag to newsegment for future API freeze.
4796         Updated check and base elements.
4797
4798 2005-10-11  Julien MOUTTE  <julien@moutte.net>
4799
4800         * gst/base/gstcollectpads.c: (gst_collectpads_init),
4801         (gst_collectpads_add_pad), (gst_collectpads_pop),
4802         (gst_collectpads_event), (gst_collectpads_chain):
4803         * gst/base/gstcollectpads.h: Handle EOS correctly.
4804
4805 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4806
4807         * tools/gst-launch.c: (main):
4808           more null protecting
4809
4810 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4811
4812         * gst/gst-i18n-lib.h:
4813           check for ENABLE_NLS, not GETTEXT_PACKAGE
4814         * gst/gstregistry.c: (gst_registry_add_plugin),
4815         (gst_registry_scan_path_level),
4816         (_gst_registry_remove_cache_plugins):
4817           protect possibly NULL strings
4818         * gst/parse/types.h:
4819           config.h already included before
4820         * tools/gst-inspect.c: (main):
4821           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4822           check for ENABLE_NLS, not GETTEXT_PACKAGE
4823         * tools/gst-launch.c: (main):
4824           check for ENABLE_NLS, not GETTEXT_PACKAGE
4825
4826 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4827
4828         * configure.ac:
4829           if we don't have glib, fail before testing 2.8
4830         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4831           fix a leak, should fix plugins-base testsuite
4832
4833 2005-10-11  Andy Wingo  <wingo@pobox.com>
4834
4835         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4836         take the mode we're going to as an arg. Go head and set the mode
4837         and flushing flags now, so that if the activate function starts a
4838         thread all the flags will be in the right state.
4839         (post_activate): Renamed also. Just handle making sure streaming
4840         finishes for the deactivation case, and setting the deactivated
4841         mode.
4842         (gst_pad_set_active): Complain loudly if deactivation fails.
4843         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4844         (gst_pad_activate_push): Adapt to pre/post_activate changes,
4845         remove the terrible hack.
4846
4847 2005-10-11  Wim Taymans  <wim@fluendo.com>
4848
4849         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4850         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4851         (gst_bin_recalc_state), (gst_bin_change_state_func),
4852         (gst_bin_dispose), (bin_bus_handler):
4853         * gst/gstbin.h:
4854         Prepare to make current EOS message queue more generic.
4855         Fix some typos.
4856
4857         * gst/gstevent.c: (gst_event_new_newsegment),
4858         (gst_event_parse_newsegment):
4859         * gst/gstevent.h:
4860         Rename base to stream_time.
4861
4862         * gst/gstmessage.h:
4863         Fix typo in docs.
4864
4865 2005-10-11  Wim Taymans  <wim@fluendo.com>
4866
4867         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4868         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4869         (gst_bin_change_state_func), (bin_bus_handler):
4870         * gst/gstbin.h:
4871         Work on proper clock selection.
4872
4873 2005-10-11  Edward Hervey  <edward@fluendo.com>
4874
4875         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
4876         * libs/gst/controller/gstcontroller.h:
4877         Added GList* version of _remove_properties() in order to be able to wrap
4878         it in bindings.
4879
4880 2005-10-11  Wim Taymans  <wim@fluendo.com>
4881
4882         * docs/design/part-states.txt:
4883         Some more docs.
4884
4885         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4886         (gst_bin_change_state_func), (bin_bus_handler):
4887         Doc updates. Don't distribute the same clock over and over again.
4888
4889         * gst/gstclock.c:
4890         * gst/gstclock.h:
4891         Doc updates.
4892
4893         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4894         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4895         (gst_pad_send_event):
4896         * gst/gstpad.h:
4897         Make probe emission threadsafe again.
4898         Register quarks and move _get_name() from utils.
4899         Doc updates.
4900
4901         * gst/gstpipeline.c: (gst_pipeline_class_init),
4902         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4903         Only redistribute the clock of it changed.
4904
4905         * gst/gstsystemclock.h:
4906         Doc updates. 
4907
4908         * gst/gstutils.c:
4909         * gst/gstutils.h:
4910         Moved the _flow_get_name() to GstPad.
4911
4912 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4913
4914         * check/gst-libs/gdp.c: (GST_START_TEST):
4915         * check/gst/gstcaps.c: (GST_START_TEST):
4916         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4917         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4918         (gst_dp_packet_from_caps):
4919           fix more valgrind warnings before turning up the heat
4920
4921 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4922
4923         * gst/parse/grammar.y:
4924           some cleanup before the hacking
4925
4926 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4927
4928         * gst/base/gstbasesrc.c: (gst_base_src_query):
4929           use conversions
4930         * gst/gstutils.c: (gst_guint64_to_gdouble),
4931         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4932         * gst/gstutils.h:
4933           externalize, basesrc uses it
4934           obviously the implementation needs testing
4935
4936 2005-10-10  Wim Taymans  <wim@fluendo.com>
4937
4938         * tests/sched/Makefile.am:
4939         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4940         (make_pipeline3), (make_pipeline4), (print_elem), (main):
4941
4942 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4943
4944         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4945           apparently converting from guint64 to double is not implemented
4946           on MSVC
4947
4948 2005-10-10  Wim Taymans  <wim@fluendo.com>
4949
4950         * check/Makefile.am:
4951         * check/generic/states.c: (GST_START_TEST):
4952         * check/gst/gstbin.c: (GST_START_TEST):
4953         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4954         * check/states/sinks.c: (GST_START_TEST):
4955         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4956         (main):
4957         Check fixes, use API as stated in design docs, remove hacks.
4958
4959         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4960         (gst_base_sink_change_state):
4961         Catch stopping our task while we're shutting down.
4962
4963         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4964         (gst_bin_remove_func), (gst_bin_get_state_func),
4965         (gst_bin_recalc_state), (gst_bin_change_state_func),
4966         (bin_bus_handler):
4967         * gst/gstbin.h:
4968         * gst/gstelement.c: (gst_element_init),
4969         (gst_element_get_state_func), (gst_element_abort_state),
4970         (gst_element_commit_state), (gst_element_lost_state),
4971         (gst_element_set_state), (gst_element_change_state),
4972         (gst_element_change_state_func):
4973         * gst/gstelement.h:
4974         New state change algorithm (see #318116)
4975
4976         * gst/gstpipeline.c: (gst_pipeline_class_init),
4977         (gst_pipeline_init), (gst_pipeline_set_property),
4978         (gst_pipeline_get_property), (do_pipeline_seek),
4979         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4980         * gst/gstpipeline.h:
4981         Remove crude state change hacks.
4982
4983         * gst/gstutils.h:
4984         Remove crude hacks.
4985
4986         * tools/gst-launch.c: (main):
4987         Fixes for state change. Needs some more work to fully use the
4988         new stuff.
4989
4990 2005-10-10  Andy Wingo  <wingo@pobox.com>
4991
4992         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4993
4994         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4995         this flag, but it's not even in GLib 2.6. Odd. Hack around the
4996         issue.
4997
4998 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4999
5000         * gst/gstiterator.c: (gst_iterator_new):
5001           Fix my previous commit: GTypes passed to gst_iterator_new()
5002           can be fundamental types.
5003
5004 2005-10-10  Wim Taymans  <wim@fluendo.com>
5005
5006         * gst/gstelement.c: (gst_element_iterate_pad_list),
5007         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
5008         (gst_element_iterate_sink_pads):
5009         Use src/sink pads lists for the respective iterators instead
5010         of filtering.
5011
5012 2005-10-10  Andy Wingo  <wingo@pobox.com>
5013
5014         Merged in popt removal + GOption addition patch from Ronald, bug
5015         #169772.
5016
5017         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
5018         GstElement macros around, remove popt-related symbols, add goption
5019         stuff.
5020
5021         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
5022         
5023         * docs/gst/Makefile.am:
5024         * docs/libs/Makefile.am: No POPT_CFLAGS.
5025         
5026         * examples/manual/Makefile.am:
5027         * docs/manual/basics-init.xml: Doc updates with an example.
5028         
5029         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5030         (gst_init), (parse_one_option), (parse_goption_arg):
5031         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
5032         bit of hand merging and debugging to get the GOption stuff working
5033         tho.
5034         
5035         * tests/Makefile.am:
5036         * tools/Makefile.am:
5037         * tools/gst-inspect.c: (main):
5038         * tools/gst-launch.c: (main):
5039         * tools/gst-run.c: (main):
5040         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
5041
5042 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
5043
5044         * gst/gstiterator.c: (gst_iterator_new):
5045           Add assertions to make sure passed GType is likely to really
5046           be a GType (as the compiler won't catch it if the size and
5047           GType arguments get mixed up, see #318447).
5048
5049 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
5050
5051         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5052
5053         * gst/gstbin.c: (gst_bin_iterate_sorted):
5054           Pass GType and size arguments to gst_iterator_new() in the right
5055           order (maybe we should make _new() take the GType as first argument
5056           just like _new_list()?) (#318447).
5057           
5058
5059 2005-10-10  Wim Taymans  <wim@fluendo.com>
5060
5061         * gst/gstelement.c: (gst_element_finalize):
5062         And free the GStaticRecMutex too
5063
5064 2005-10-10  Andy Wingo  <wingo@pobox.com>
5065
5066         * gst/gstelement.c (gst_element_init, gst_element_finalize):
5067         Allocate and free the mutex properly.
5068
5069         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
5070         New macros.
5071         (GstElement): The state_lock is now recursive. Rebuild your
5072         plugins, suckers. Old macros adapted.
5073
5074         * docs/gst/gstreamer-sections.txt: Doc updates.
5075
5076         * gst/gstutils.h:
5077         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
5078         (g_static_rec_cond_wait): Ported from state changes patch, while
5079         we wait on bug #317802 to be solved in a well-distributed GLib.
5080
5081         * gst/gstelement.c (gst_element_change_state_func): Renamed from
5082         gst_element_change_state, variable name changes.
5083         (gst_element_change_state): Split out of gst_element_set_state in
5084         preparation for the state change merge. Doesn't pay attention to
5085         the 'transition' argument.
5086         (gst_element_set_state): Updates, hopefully purely cosmetic.
5087         (gst_element_sync_state_with_parent): MT-safety. Ported from the
5088         state change patch.
5089         (gst_element_get_state_func): Renamed from get_state, cosmetic
5090         changes.
5091
5092 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5093
5094         * gst/elements/gstelements.c:
5095         * win32/GStreamer.vcproj:
5096         * win32/config.h:
5097         * win32/dirent.c: (_tseekdir):
5098         * win32/gst-inspect.vcproj:
5099         * win32/gst-launch.vcproj:
5100         * win32/gstconfig.h:
5101         * win32/gstelements.vcproj:
5102         * win32/gstenumtypes.c: (gst_object_flags_get_type):
5103         * win32/gstreamer.def:
5104         * win32/msvc71.sln:
5105           updates for the win32 build (patch from Sebastien Moutte)
5106
5107 2005-10-10  Andy Wingo  <wingo@pobox.com>
5108
5109         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
5110         gst_bin_get_state, cleaned up (but no logic changes).
5111         (bin_element_is_sink): Comment updates.
5112         (sink_iterator_filter): Remove needless cast.
5113         (gst_bin_iterate_sinks): Doc update.
5114         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
5115         cleaned up (but no logic changes).
5116
5117         * check/states/sinks.c (test_src_sink): Cleanups from the state
5118         change patch.
5119         (test_livesrc_sink): Sync on the state.
5120
5121         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
5122         the state change patch.
5123
5124         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
5125         change patch.
5126
5127         * check/gst/gstbin.c: Merge in some style fixes and additional
5128         checks from Wim's state change patch.
5129
5130 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
5131
5132         * gst/base/gsttypefindhelper.c: (helper_find_peek),
5133         (gst_type_find_helper):
5134           Check whether we have the requested data already in our list of
5135           cached buffers before pulling a new buffer; also make the buffer
5136           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
5137
5138 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5139
5140         * gst/gstcaps.c:
5141         * gst/gstevent.c:
5142           doc updates
5143         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5144           don't use long long, it's not portable.  Replacing with
5145           gint64 seems to work; let's hope no skeletons fall out of the closet.
5146
5147 2005-10-10  Andy Wingo  <wingo@pobox.com>
5148
5149         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
5150
5151 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
5152
5153         * docs/gst/gstreamer-sections.txt:
5154         * gst/gstevent.c:
5155         * gst/gstevent.h:
5156         * gst/gstinfo.c:
5157         * gst/gstinfo.h:
5158         * gst/gstmessage.c: (gst_message_parse_state_changed):
5159         * gst/gstpad.c:
5160         * gst/gstpad.h:
5161           more docs, fix compilation
5162
5163 2005-10-09  Philippe Khalaf <burger@speedy.org>
5164         * gst/gstmessage.c:
5165           Fixed a few forgotten variables on previous commit
5166
5167 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
5168
5169         * gst/base/gsttypefindhelper.c: (helper_find_peek):
5170           Fix evil typefind crasher: getrange() might return a short
5171           buffer at the end of a file, but gst_type_find_peek() must
5172           either return the full data as requested or NULL, but
5173           never a short buffer.
5174
5175 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5176
5177         * gst/gstmessage.c: (gst_message_new_state_changed),
5178         (gst_message_parse_state_changed):
5179         * gst/gstmessage.h:
5180           don't use "new", it's a C++ keyword
5181
5182 2005-10-08  Wim Taymans  <wim@fluendo.com>
5183
5184         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
5185         * gst/gstelement.c: (gst_element_post_message):
5186         * gst/gstpipeline.c: (gst_pipeline_change_state):
5187         Small docs and debug updates.
5188
5189 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
5190
5191         * docs/gst/gstreamer-sections.txt:
5192         * gst/gstelementfactory.c:
5193         * gst/gstevent.c:
5194         * gst/gsttaglist.c:
5195           more docs
5196
5197 2005-10-08  Wim Taymans  <wim@fluendo.com>
5198
5199         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
5200         (gst_bin_dispose), (bin_bus_handler):
5201         Fix typos, add comments.
5202         Clear EOS list when going to PAUSED from any direction and do it
5203         in a threadsafe way.
5204         Get base time in a threadsafe way too.
5205         Fix confusing debug in the change_state function.
5206         Various other small cleanups.
5207         
5208         * gst/gstelement.c: (gst_element_post_message):
5209         Fix very verbose bus posting code.
5210
5211         * gst/gstpipeline.c: (gst_pipeline_class_init),
5212         (gst_pipeline_set_property), (gst_pipeline_get_property),
5213         (gst_pipeline_change_state):
5214         Small ARG_ -> PROP_ cleanup
5215
5216 2005-10-08  Wim Taymans  <wim@fluendo.com>
5217
5218         * gst/gstbin.c: (is_eos), (bin_bus_handler):
5219         Do a less CPU demanding EOS check because we can.
5220
5221 2005-10-08  Wim Taymans  <wim@fluendo.com>
5222
5223         * libs/gst/dataprotocol/dataprotocol.c:
5224         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5225         (gst_dp_packet_from_event):
5226         * libs/gst/dataprotocol/dataprotocol.h:
5227         * libs/gst/dataprotocol/dp-private.h:
5228         It's about time we bump the version number.
5229         Since event types don't fit in the guint8 anymore describing
5230         the payload type, make payload type 16 bits wide.
5231
5232 2005-10-08  Wim Taymans  <wim@fluendo.com>
5233
5234         * docs/design/part-TODO.txt:
5235         * docs/design/part-clocks.txt:
5236         * docs/design/part-events.txt:
5237         * docs/design/part-gstbin.txt:
5238         * docs/design/part-gstelement.txt:
5239         * docs/design/part-gstpipeline.txt:
5240         * docs/design/part-live-source.txt:
5241         * docs/design/part-messages.txt:
5242         * docs/design/part-overview.txt:
5243         * docs/design/part-states.txt:
5244         Many doc updates.
5245
5246 2005-10-08  Wim Taymans  <wim@fluendo.com>
5247
5248         * gst/gstevent.c:
5249         * gst/gstevent.h:
5250         Fix event quark registration.
5251         Add some space between events so we can insert them in the
5252         right groups.
5253
5254 2005-10-08  Wim Taymans  <wim@fluendo.com>
5255
5256         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5257         (gst_base_sink_handle_buffer):
5258         Better log message.
5259
5260         * gst/gstbus.h:
5261         * gst/gstelement.h:
5262         More docs.
5263
5264         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
5265         (gst_queue_set_property), (gst_queue_get_property):
5266         * gst/gstqueue.h:
5267         Remove old unused properties.
5268
5269 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
5270         * docs/gst/gstreamer-sections.txt:
5271         * gst/gstmessage.c:
5272         * gst/gstmessage.h:
5273         * gst/gstminiobject.c:
5274         * gst/gstminiobject.h:
5275         * gst/gstobject.h:
5276         * gst/gstpad.h:
5277         * gst/gstutils.h:
5278           lots of new docs and doc fixes
5279
5280 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5281
5282         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
5283         * gst/gstplugin.h:
5284         * gst/gstregistry.c: (gst_registry_lookup_locked),
5285         (gst_registry_scan_path_level):
5286         * gst/gstregistryxml.c: (load_plugin):
5287           Only ever load one plugin for a given plugin basename.
5288           This ensures correct overriding of GST_PLUGIN_PATH over
5289           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5290           system installed plugins.
5291
5292 2005-10-08  Wim Taymans  <wim@fluendo.com>
5293
5294         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5295         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5296         Prepare for doing QOS.
5297
5298 2005-10-08  Wim Taymans  <wim@fluendo.com>
5299
5300         * check/gst/gstbin.c: (GST_START_TEST):
5301         * check/pipelines/cleanup.c: (GST_START_TEST):
5302         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5303         Allow new clock message too.
5304
5305 2005-10-08  Wim Taymans  <wim@fluendo.com>
5306
5307         * gst/gstmessage.c: (gst_message_new_error),
5308         (gst_message_new_warning), (gst_message_new_tag),
5309         (gst_message_new_state_changed), (gst_message_new_clock_provide),
5310         (gst_message_new_clock_lost), (gst_message_new_new_clock),
5311         (gst_message_new_segment_start), (gst_message_new_segment_done),
5312         (gst_message_parse_state_changed),
5313         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5314         (gst_message_parse_new_clock):
5315         * gst/gstmessage.h:
5316         Also carry the clock in question.
5317
5318 2005-10-08  Wim Taymans  <wim@fluendo.com>
5319
5320         * gst/gstmessage.c: (gst_message_new_custom),
5321         (gst_message_new_eos), (gst_message_new_error),
5322         (gst_message_new_warning), (gst_message_new_tag),
5323         (gst_message_new_state_changed), (gst_message_new_clock_provide),
5324         (gst_message_new_new_clock), (gst_message_new_segment_start),
5325         (gst_message_new_segment_done), (gst_message_parse_state_changed),
5326         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5327         * gst/gstmessage.h:
5328         Clean up.
5329         Added clock related messages.
5330
5331         * gst/gstpipeline.c: (gst_pipeline_change_state):
5332         Post message when the clock changed.
5333
5334         * tools/gst-launch.c: (event_loop):
5335         Print new clock.
5336
5337 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
5338
5339         * tools/gst-inspect.c: (print_element_properties_info):
5340           Can't pass NULL strings to g_print() on windows.
5341
5342 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5343
5344         * docs/Makefile.am:
5345         * docs/gst/Makefile.am:
5346         * docs/gst/gstreamer-docs.sgml:
5347         * docs/gst/running.xml:
5348         * docs/version.entities.in:
5349           add a chapter on running GStreamer.
5350           document GST_DEBUG and GST_PLUGIN* env vars
5351
5352 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5353
5354         * Makefile.am:
5355           remove include dir
5356         * configure.ac:
5357           remove PLUGINS_BUILDDIR stuff
5358         * gst/gst.c: (init_post):
5359           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5360         * idiottest.mak:
5361           remove, it was condescending and not needed
5362
5363 2005-10-08  Wim Taymans  <wim@fluendo.com>
5364
5365         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5366         (gst_base_sink_handle_object), (gst_base_sink_event),
5367         (gst_base_sink_wait), (gst_base_sink_handle_event),
5368         (gst_base_sink_change_state):
5369         * gst/base/gstbasesink.h:
5370         Repost EOS message while going to PLAYING if still EOS.
5371         Make sure that when receiving a FLUSH_START we don't attempt
5372         to sync on the clock anymore.
5373
5374 2005-10-08  Wim Taymans  <wim@fluendo.com>
5375
5376         * tools/gst-launch.c: (event_loop):
5377         Better message printout.
5378
5379 2005-10-08  Wim Taymans  <wim@fluendo.com>
5380
5381         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5382         (gst_bin_child_proxy_get_children_count):
5383         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5384         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5385         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5386         (gst_child_proxy_set_valist):
5387         * gst/parse/grammar.y:
5388         Make ChildProxy threadsafe and fix mem leaks.
5389
5390 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5391
5392         * gst/gst.c: (init_post):
5393           debug the GST_PLUGIN_ env vars
5394
5395 2005-10-08  Wim Taymans  <wim@fluendo.com>
5396
5397         * check/gst/gstbin.c: (GST_START_TEST):
5398         * check/gst/gstmessage.c: (GST_START_TEST):
5399         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5400         * gst/gstelement.c: (gst_element_commit_state),
5401         (gst_element_lost_state):
5402         * gst/gstmessage.c: (gst_message_new_state_changed),
5403         (gst_message_parse_state_changed):
5404         * gst/gstmessage.h:
5405         * tools/gst-launch.c: (event_loop):
5406         Added extra field to STATE_CHANGE message with the pending
5407         state, which will be different from the new state soon.
5408
5409 2005-10-08  Wim Taymans  <wim@fluendo.com>
5410
5411         * gst/gstbus.c: (gst_bus_pop):
5412         * gst/gstclock.c:
5413         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5414         Small cleanups and doc updates.
5415
5416 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5417
5418         * gst/gst.c: (init_pre):
5419         * gst/gstbin.c: (gst_bin_add_func):
5420           log distributing clocks and base time
5421         * gst/gstregistry.c: (gst_registry_add_plugin),
5422         (gst_registry_scan_path_level), (gst_registry_scan_path):
5423           clean up the debugging output a little
5424         * gst/gstutils.c: (gst_element_state_get_name):
5425           warn about a memleak (I've actually seen this be used, though
5426           it was probably a bug)
5427
5428 2005-10-07  Wim Taymans  <wim@fluendo.com>
5429
5430         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5431         (gst_base_src_init), (gst_base_src_default_newsegment),
5432         (gst_base_src_newsegment), (gst_base_src_do_seek),
5433         (gst_base_src_loop), (gst_base_src_start):
5434         * gst/base/gstbasesrc.h:
5435         Make the newsegment event customizable by subclasses.
5436
5437 2005-10-07  Wim Taymans  <wim@fluendo.com>
5438
5439         * gst/gstevent.c: (gst_event_new_buffersize),
5440         (gst_event_parse_buffersize):
5441         * gst/gstevent.h:
5442         New event for future idea.
5443
5444 2005-10-07  Andy Wingo  <wingo@pobox.com>
5445
5446         * gst/gstelement.c (gst_element_post_message): Doc update.
5447
5448         * docs/gst/gstreamer-sections.txt: Update.
5449
5450         * gst/gstmessage.c (gst_message_new_application): Made into a
5451         function like honest API calls.
5452         (gst_message_new_element): New message type.
5453
5454         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5455
5456         * check/elements/fakesrc.c (test_no_preroll): New check, checks
5457         that setting a live fakesrc to PAUSED returns NO_PREROLL both
5458         times.
5459
5460         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5461         NO_PREROLL from gst_element_change_state to fall through.
5462
5463 2005-10-07  Wim Taymans  <wim@fluendo.com>
5464
5465         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5466         (gst_ghost_pad_do_activate_push):
5467         Activating a ghostpad with no internal pad in push mode
5468         is ok.
5469
5470 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5471
5472         * gst/gstobject.h:
5473           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5474           Fixes compilation on Windows.
5475
5476 2005-10-07  Michael Smith <msmith@fluendo.com>
5477
5478         * tools/gst-inspect.c:
5479           Print out feature and plugin count at the end when printing out
5480           all features.
5481
5482 2005-10-04  Michael Smith <msmith@fluendo.com>
5483
5484         * gst/gsterror.c: (_gst_stream_errors_init):
5485           Add another error string used in a few existing plugins.
5486
5487         * gst/gstplugin.c:
5488         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5489         * tools/gst-inspect.c: (print_element_info):
5490           When a feature disappears from a plugin (and the feature exists in
5491           the cached registry file), things went horribly wrong. This isn't a
5492           complete fix, we should actually be removing the 'missing' features
5493           from the features list when we load the actual plugin. That's not
5494           yet implemented. 
5495
5496 2005-10-04  Johan Dahlin  <johan@gnome.org>
5497
5498         * check/gst/gstiterator.c: (GST_START_TEST):
5499         * gst/gstbin.c: (gst_bin_iterate_elements),
5500         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5501         * gst/gstelement.c: (gst_element_iterate_pads):
5502         * gst/gstformat.c: (gst_format_iterate_definitions):
5503         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5504         (gst_iterator_new_list), (gst_iterator_filter):
5505         * gst/gstiterator.h:
5506         * gst/gstquery.c: (gst_query_type_iterate_definitions):
5507         Add a GType to GstIterator, update callsites and tests.
5508
5509 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5510
5511         * gst/gstpad.c: (gst_pad_event_default_dispatch):
5512           give events a chance to be handled by event probes when the pad
5513           is not linked
5514
5515 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5516
5517         * gst/gstevent.c: (gst_event_type_get_name),
5518         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5519         * gst/gstevent.h:
5520           add string representations for event types
5521
5522 2005-10-06  Wim Taymans  <wim@fluendo.com>
5523
5524         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5525         Don't use NULL pointers.
5526
5527 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5528
5529         * gst/gst_private.h:
5530         * gst/gstbus.c:
5531         * gst/gstelement.c:
5532         * gst/gstinfo.c:
5533         * gst/gstpluginfeature.c:
5534           widen the debug category in output to fit the biggest one we have
5535           add a bus category and use it
5536           play with the colors
5537           fix up some categories
5538
5539 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5540
5541         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5542           add push activation of sink ghost pads.
5543           Andye, please verify
5544
5545 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5546
5547         * gst/gstutils.c: (gst_element_link_pads):
5548           fix a bug in the case where neither element has a pad
5549         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5550           add a test for that case
5551
5552 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5553
5554         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5555           emit have-data before checking for peers.  This allows
5556           for probe handlers to connect elements.  This helps autopluggers.
5557         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5558         (gst_pad_suite):
5559           add six checks, linked/unlinked with no/true/false probe
5560
5561 2005-10-04  Wim Taymans  <wim@fluendo.com>
5562
5563         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5564         (gst_fake_sink_event), (gst_fake_sink_preroll),
5565         (gst_fake_sink_render), (gst_fake_sink_change_state):
5566         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5567         (gst_fake_src_get_property), (gst_fake_src_create),
5568         (gst_fake_src_stop):
5569         * gst/elements/gstidentity.c: (gst_identity_stop):
5570         Protect last_message with lock.
5571
5572 2005-10-04  Edward Hervey  <edward@fluendo.com>
5573
5574         * gst/gstformat.h: 
5575         Added precision in the comments for GST_FORMAT_DEFAULT
5576
5577 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
5578
5579         * tools/gst-launch.c: (main):
5580           Don't try to run erroneous pipelines.
5581
5582 2005-10-04  Julien MOUTTE  <julien@moutte.net>
5583
5584         * gst/gstbus.c: We don't need this header.
5585
5586 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5587
5588         * configure.ac:
5589           back to development
5590
5591 === release 0.9.3 ===
5592
5593 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5594
5595         * README:
5596         * configure.ac:
5597           Releasing 0.9.3, "Unregistered"
5598
5599 2005-10-03  Andy Wingo  <wingo@pobox.com>
5600
5601         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5602         whereby calling a pad's activatepush() function can start a thread
5603         that starts to push or pull before the pad gets the FLUSHING flag
5604         unset. Hack around it by holding the stream lock until the flag is
5605         set. Need to replace this with a proper solution. Together with
5606         the ghost pad fixes, this fixes mp3 playing/tagreading.
5607
5608         * docs/design/part-gstghostpad.txt: Add a note about activation of
5609         proxy pads outside of ghost pads.
5610
5611         * gst/gstghostpad.c: Implement the ghost pad activation design.
5612
5613 2005-10-02  Andy Wingo  <wingo@pobox.com>
5614
5615         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5616         It is volatile, after all.
5617
5618         * docs/design/part-gstghostpad.txt: Flesh out activation with
5619         ghost pads.
5620
5621         * gst/base/gstbasesrc.c (gst_base_src_init): Use
5622         GST_DEBUG_FUNCPTR.
5623
5624 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5625
5626         * configure.ac:
5627           Fix (unused) AM_CONDITIONAL tests.
5628
5629 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
5630
5631         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5632
5633         * gst/gstutils.c: (gst_pad_query_convert):
5634           Add assertion that makes sure src_val is >=0, just like
5635           gst_query_new_convert() has. (#315895)
5636
5637 2005-09-30  Edward Hervey  <edward@fluendo.com>
5638
5639         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5640         Let's not iterate pads we're not interested in, it avoids getting 
5641         sky-high refcounts on sinkpad.
5642
5643 2005-09-30  Wim Taymans  <wim@fluendo.com>
5644
5645         * gst/gstelement.c: (gst_element_set_state),
5646         (gst_element_change_state):
5647         Small tweak, element in ASYNC remains ASYNC.
5648
5649 2005-09-30  Wim Taymans  <wim@fluendo.com>
5650
5651         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5652         Only error is an error.
5653
5654         * gst/gstbin.c: (gst_bin_change_state):
5655         Better debugging.
5656
5657         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5658         Also call pad_block in pad alloc.
5659
5660         * gst/gstutils.c: (gst_flow_get_name):
5661         Better debugging.
5662
5663 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5664
5665         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5666         (gst_base_src_get_range):
5667           Fix documentation typos. Add some more debug info.
5668
5669 2005-09-29  David Schleef  <ds@schleef.org>
5670
5671         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5672           more end-user friendly.
5673         * tools/gst-inspect.c: (main): Check if command-line argument is
5674           a file and attempt to load that file as a plugin.
5675
5676 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5677
5678         * check/gst/gstbin.c:
5679         * check/states/sinks.c:
5680           fix tests for the new warning
5681         * check/gst/gstpipeline.c:
5682           add a test for pipeline and bus interaction
5683         * gst/gstelement.c:
5684           elements should be NULL if they get disposed; add a warning if not
5685
5686 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5687
5688         * gst/gstobject.c:
5689           for 2.6 refcounting, make debug log more correct by printing
5690           the actual refcounts at the time of swap (Wim)
5691
5692 2005-09-29  Andy Wingo  <wingo@pobox.com>
5693
5694         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5695         removes signal watches previously added via
5696         gst_bus_add_signal_watch.
5697         (gst_bus_add_signal_watch): Don't return the source id, just store
5698         it on the bus if there wasn't an id already.
5699
5700         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5701         add_signal_watch and remove_signal_watch.
5702
5703 2005-09-29  Edward Hervey  <edward@fluendo.com>
5704
5705         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
5706         Better if we actually iterate the list :)
5707
5708 2005-09-29  Wim Taymans  <wim@fluendo.com>
5709
5710         * check/gst/gstbin.c: (GST_START_TEST):
5711         Change for new bus API.
5712
5713         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5714         (send_messages), (GST_START_TEST), (gstbus_suite):
5715         Change for new bus signal API.
5716
5717         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5718         (gst_bus_source_prepare), (gst_bus_source_check),
5719         (gst_bus_create_watch), (gst_bus_add_watch_full),
5720         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5721         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5722         * gst/gstbus.h:
5723         Remove support for multiple GSources operating on different
5724         message types as it is too complex and unneeded when using
5725         signals.
5726         Added support for receiving signals from the bus.
5727
5728 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5729
5730         * docs/libs/tmpl/gstdataprotocol.sgml:
5731         * docs/manual/advanced-dataaccess.xml:
5732         * gst/elements/gstcapsfilter.c:
5733         * gst/gstutils.c:
5734           rename filter-caps to caps property
5735
5736 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5737
5738         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5739           More robust fraction string parsing.
5740
5741         * docs/pwg/appendix-porting.xml:
5742           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5743
5744 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5745
5746         * gst/gstcaps.c: (gst_caps_do_simplify):
5747           Thou shalt not free a structure and then continue using it
5748           in the next loop iteration.
5749
5750         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5751         (gst_caps_suite):
5752           Add test case for caps simplification.
5753
5754 2005-09-29  Wim Taymans  <wim@fluendo.com>
5755
5756         * check/gst/gstbin.c: (GST_START_TEST):
5757         Oops.
5758
5759 2005-09-29  Wim Taymans  <wim@fluendo.com>
5760
5761         * check/gst/gstbin.c: (GST_START_TEST):
5762         Add bus to bin.
5763
5764         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5765         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5766         (find_element), (gst_bin_sort_iterator_next),
5767         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5768         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5769         (gst_bin_change_state), (gst_bin_dispose):
5770         A bin does not have a bus, it gets the bus from the parent.
5771
5772         * gst/gstelement.c: (gst_element_requires_clock),
5773         (gst_element_provides_clock), (gst_element_is_indexable),
5774         (gst_element_is_locked_state), (gst_element_change_state),
5775         (gst_element_set_bus_func):
5776         Small cleanups.
5777
5778         * gst/gstpipeline.c: (gst_pipeline_class_init),
5779         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5780         The pipeline provides a bus.
5781
5782 2005-09-28  Johan Dahlin  <johan@gnome.org>
5783
5784         * gst/gstmessage.c (gst_message_parse_state_changed): Use
5785         gst_structure_get_enum instead of gst_structure_get_int
5786
5787         * gst/gststructure.c (gst_structure_get_enum): Impl.
5788
5789         * gst/gststructure.h (gst_structure_get_enum): Add
5790
5791         * docs/gst/gstreamer-sections.txt: Ditto
5792
5793         * gst/gstmessage.c (gst_message_new_state_changed): Use
5794         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5795         which does introspection.
5796         Reviewed by Christian Schaller
5797
5798 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5799
5800         * gst/gstinfo.c: (gst_debug_log_default):
5801           don't do dummy g_strdup()s
5802         * libs/gst/controller/gstcontroller.c:
5803         (on_object_controlled_property_changed),
5804         (gst_controlled_property_new), (gst_controller_new_valist),
5805         (gst_controller_new_list),
5806         (gst_controller_remove_properties_valist), (gst_controller_set),
5807         (gst_controller_get), (gst_controller_sync_values),
5808         (gst_controller_get_value_array), (_gst_controller_class_init),
5809         (gst_controller_get_type):
5810         * libs/gst/controller/gstcontroller.h:
5811         * libs/gst/controller/gstinterpolation.c:
5812         (gst_controlled_property_find_timed_value_node):
5813           convert // to /**/ comments
5814
5815 2005-09-28  Wim Taymans  <wim@fluendo.com>
5816
5817         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5818         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5819         (gst_bus_sync_signal_handler):
5820         * gst/gstbus.h:
5821         Added async-message and sync-message signals to the bus.
5822         Added helper BusFunc to emit signals for all posted messages.
5823
5824         * gst/gstmessage.c: (gst_message_type_get_name),
5825         (gst_message_type_to_quark), (gst_message_get_type):
5826         * gst/gstmessage.h:
5827         Register quarks for message names.
5828
5829 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
5830
5831         * docs/libs/gstreamer-libs-sections.txt:
5832         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5833         (gst_controller_new_list):
5834         * libs/gst/controller/gstcontroller.h:
5835           added another constructor for language bindings
5836
5837 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5838
5839         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5840           add another check
5841         * gst/gstbus.c:
5842           add some doc
5843         * gst/gstinfo.c: (_gst_debug_init):
5844           slightly more readable color for refcount debugging
5845
5846 2005-09-28  Wim Taymans  <wim@fluendo.com>
5847
5848         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5849         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5850         (find_element), (gst_bin_sort_iterator_next),
5851         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5852         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5853         (gst_bin_change_state), (gst_bin_dispose):
5854         Small doc fixes. get_clock -> provide_clock.
5855
5856         * gst/gstelement.c: (gst_element_class_init),
5857         (gst_element_provides_clock), (gst_element_provide_clock),
5858         (gst_element_get_clock), (gst_element_commit_state),
5859         (gst_element_lost_state):
5860         * gst/gstelement.h:
5861         Make get/set_clock() symetric. Add provide_clock vmethod since
5862         that is actually what this function does.
5863
5864         * gst/gstpipeline.c: (gst_pipeline_class_init),
5865         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5866         (gst_pipeline_get_clock):
5867         get_clock -> provide_clock.
5868
5869 2005-09-28  Andy Wingo  <wingo@pobox.com>
5870
5871         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5872         lieu of real docs...
5873
5874         * gst/elements/gstfdsrc.c: Cleaned up a bit.
5875
5876 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
5877
5878         * gst/elements/gstcapsfilter.c:
5879         * gst/elements/gstfakesink.c:
5880         * gst/elements/gstfakesrc.c:
5881         * gst/elements/gstfdsink.c:
5882         * gst/elements/gstfdsrc.c:
5883         * gst/elements/gstfilesink.c:
5884         * gst/elements/gstfilesrc.c:
5885         * gst/elements/gstidentity.c:
5886         * gst/elements/gsttee.c:
5887         * gst/elements/gsttypefindelement.c:
5888           Make element details static.
5889
5890 2005-09-28  Wim Taymans  <wim@fluendo.com>
5891
5892         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5893         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5894         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5895         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5896         (gst_bin_change_state), (gst_bin_dispose):
5897         Some documentation updates.
5898         Clean up dispose handlers.
5899
5900         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5901         * gst/gstpad.c: (gst_pad_dispose):
5902         Clean up dispose handler.
5903
5904         * gst/gstpipeline.c: (gst_pipeline_change_state):
5905         Removed spurious UNLOCK.
5906
5907 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
5908
5909         * docs/gst/gstreamer-sections.txt:
5910         * gst/base/gstbasesrc.h:
5911         * gst/gstelement.h:
5912         * gst/gstevent.h:
5913         * gst/gstobject.h:
5914         * gst/gstpad.h:
5915         * gst/gstpipeline.c:
5916         * gst/gstpipeline.h:
5917         * gst/gstutils.h:
5918         * gst/gstxml.h:
5919           added two new functions to the docs
5920                 documents all undocumented GstXXXFlags
5921                 completed some incomplete docs 
5922
5923 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5924
5925         * gst/gstbin.c: (gst_bin_dispose):
5926         * gst/gstelement.c: (gst_element_dispose):
5927           remove now useless and leaky resurrection code in dispose
5928         * gst/base/gstbasesrc.c: (gst_base_src_init):
5929         * gst/gstelementfactory.c: (gst_element_factory_create):
5930         * gst/gstobject.c: (gst_object_set_parent):
5931           add some debugging
5932
5933 2005-09-27  Wim Taymans  <wim@fluendo.com>
5934
5935         * docs/design/part-TODO.txt:
5936         Update TODO.
5937
5938         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5939         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5940         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5941         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5942         (gst_bin_change_state):
5943         * gst/gstelement.h:
5944         Remove element variable, we keep element info in the iterator now.
5945
5946 2005-09-27  Andy Wingo  <wingo@pobox.com>
5947
5948         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5949         values.
5950
5951 2005-09-27  Wim Taymans  <wim@fluendo.com>
5952
5953         * check/gst/gstbin.c: (GST_START_TEST):
5954         Enable check that works now.
5955
5956         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5957         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5958         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5959         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5960         (gst_bin_change_state):
5961         * gst/gstbin.h:
5962         Redid the state change algorithm using a topological sort algo.
5963         Handles all cases correctly.
5964         Exposed iterator for state change order.
5965
5966         * gst/gstelement.h:
5967         Temp storage for state changes. Need to get rid of this soon.
5968
5969 2005-09-27  Wim Taymans  <wim@fluendo.com>
5970
5971         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5972         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5973         (link_fold_func), (gst_pad_proxy_setcaps):
5974         Leak fixes, the fold functions need to unref the passed object and
5975         _get_parent_*() returns ref to parent.
5976
5977 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5978
5979         * check/gst/gstbuffer.c: (test_make_writable):
5980           Plug leak in test case and fix 'make check-valgrind'
5981
5982 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5983
5984         * gst/gstbuffer.c: (gst_subbuffer_init):
5985           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5986           works correctly in all circumstances (we could have just copied
5987           the parent buffer's readonly flag, but conceptually it seems
5988           cleaner to mark all subbuffers as read-only). (based on patch
5989           by Alessandro Decina, #314710).
5990         
5991         * check/gst/gstbuffer.c: (create_read_only_buffer),
5992         (test_make_writable), (test_subbuffer_make_writable),
5993         (gst_test_suite):
5994           Add some tests for gst_buffer_make_writable().
5995
5996 2005-09-27  Wim Taymans  <wim@fluendo.com>
5997
5998         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5999         use gst_object_has_ancestor().
6000
6001         * gst/gstobject.c: (gst_object_has_ancestor):
6002         * gst/gstobject.h:
6003         gst_object_has_ancestor() copied from gstbin.c as it is a
6004         usefull function.
6005
6006         * tests/instantiate/create.c: (create_all_elements):
6007         * tests/lat.c: (handoff_src), (handoff_sink):
6008         * tests/sched/runxml.c: (main):
6009         * tests/seeking/seeking1.c: (main):
6010         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6011         (main):
6012         Fix compilation of some tests.
6013
6014 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6015
6016         * gst/gsterror.h:
6017           Remove comment. GST_TYPE_G_ERROR is here to stay,
6018           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
6019           (#316961, #300610).
6020
6021 2005-09-26  Wim Taymans  <wim@fluendo.com>
6022
6023         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6024         Added check that shows error in state change order.
6025
6026 2005-09-26  Wim Taymans  <wim@fluendo.com>
6027
6028         * gst/gstbin.c: (gst_bin_change_state):
6029         Make state change function use 3 queues again, we were
6030         adding elements in the wrong order.
6031
6032         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6033         Some debug info,
6034
6035         * gst/gstpad.c: (gst_pad_dispose):
6036         Added some debug info first.
6037
6038 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6039
6040         * docs/design/draft-push-pull.txt:
6041         * docs/design/part-events.txt:
6042         * docs/design/part-overview.txt:
6043         * docs/design/part-scheduling.txt:
6044           Replace all _pull_region() with _pull_range()
6045           
6046 2005-09-26  Andy Wingo  <wingo@pobox.com>
6047
6048         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
6049
6050         * check/gst-libs/controller.c: Update for controller api change.
6051
6052         * configure.ac: 
6053         * tests/Makefile.am:
6054         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
6055         over by GLib bug 118439.
6056         
6057         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
6058         routines to a function.
6059
6060         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
6061
6062         * libs/gst/controller/gsthelper.c:
6063         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
6064         (gst_object_sync_values): Renamed from sink_values. Ugh.
6065
6066         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
6067
6068         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
6069         Renamed from controller_key, as it is exported.
6070
6071         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
6072
6073 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6074
6075         * gst/Makefile.am:
6076         * gst/gst.h:
6077         * gst/gstpad.h:
6078         * gst/gstpadtemplate.h:
6079         * gst/gstquery.c:
6080         * gst/gstquery.h:
6081         * gst/gstqueryutils.c:
6082         * gst/gstqueryutils.h:
6083           remove queryutils headers after moving the two used functions
6084           to gstquery.  also fixes build problem for gstsiddec
6085
6086 2005-09-26  Michael Smith <msmith@fluendo.com>
6087
6088         * tools/gst-launch.1.in:
6089         Correct documentation in manpage of debug syntax
6090
6091 2005-09-26  Wim Taymans  <wim@fluendo.com>
6092
6093         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6094         (gst_base_src_is_seekable), (gst_base_src_change_state):
6095         Some more debugging info.
6096
6097 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
6098
6099         * docs/gst/gstreamer-sections.txt:
6100         * gst/base/gstbasetransform.h:
6101         * gst/gstindex.h:
6102           added more docs
6103
6104 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
6105
6106         * docs/gst/.cvsignore:
6107         * docs/gst/tmpl/.cvsignore:
6108         * docs/gst/tmpl/gstpipeline.sgml:
6109         * docs/gst/tmpl/gstplugin.sgml:
6110         * gst/gstpipeline.c:
6111         * gst/gstplugin.c:
6112         * gst/gstplugin.h:
6113           inlined the last two docs files
6114           removed the tmpl directory from cvs (no more conflicts here!)
6115
6116 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
6117
6118         * docs/gst/gstreamer-sections.txt:
6119         * docs/gst/tmpl/.cvsignore:
6120         * docs/gst/tmpl/gstpad.sgml:
6121         * docs/gst/tmpl/gstpadtemplate.sgml:
6122         * gst/Makefile.am:
6123         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6124         (gst_pad_finalize), (gst_pad_set_pad_template):
6125         * gst/gstpad.h:
6126         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
6127         (gst_pad_template_class_init), (gst_pad_template_init),
6128         (gst_pad_template_dispose), (name_is_valid),
6129         (gst_static_pad_template_get), (gst_pad_template_new),
6130         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
6131         (gst_pad_template_pad_created):
6132         * gst/gstpadtemplate.h:
6133           inlined two more docs
6134           factored gstpadtemplate out of gstpad
6135
6136 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6137
6138         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6139         (test_children_state_change_order_semi_sink):
6140           Fix test case: we can't rely on a fixed state change order when
6141           going from READY => PAUSED because the sink might commit its 
6142           new state first when the first buffer created by the source 
6143           reaches the sink before the source has finished its change state.
6144           (Test case still fails at times, see #316856, comment 5 onwards)
6145
6146 2005-09-24  Wim Taymans  <wim@fluendo.com>
6147
6148         * docs/design/part-events.txt:
6149         * docs/design/part-gstbus.txt:
6150         * docs/design/part-gstpipeline.txt:
6151         * docs/design/part-messages.txt:
6152         * docs/design/part-overview.txt:
6153         * docs/design/part-segments.txt:
6154         * gst/gstbin.c:
6155         * gst/gstbuffer.c:
6156         * gst/gstclock.c:
6157         * gst/gstelement.c:
6158         * gst/gstevent.c:
6159         * gst/gstfilter.c:
6160         * gst/gstiterator.c:
6161         Various documentation updates.
6162
6163 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6164
6165         * gst/gstclock.h:
6166           Well, that's embarassing.  Luckily we weren't using
6167           GST_CLOCK_DIFF anywhere.
6168
6169 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6170
6171         * common/gtk-doc.mak:
6172           don't fail on building XML, FC4 slave shows a bunch of doc
6173           missing bits that I don't get
6174         * gst/gstpad.c:
6175         * gst/gstpipeline.c:
6176         * gst/gststructure.c:
6177           some doc updates
6178
6179 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6180
6181         * docs/design/part-gstbin.txt:
6182         * docs/design/part-gstbus.txt:
6183         * gst/gstbus.c:
6184           Add blurb about how the bus goes into flushing mode and
6185           drops all messages when its bin goes from READY into NULL 
6186           state.
6187
6188 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6189
6190         * docs/gst/gstreamer-sections.txt:
6191         * gst/gststructure.c: (gst_structure_get_clock_time):
6192         * gst/gststructure.h:
6193           add a method to get a GstClockTime out of a structure
6194
6195 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6196
6197         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6198         (test_children_state_change_order_semi_sink), (gst_bin_suite):
6199           Added test to check state change order in bins (can still be made
6200           to fail here under heavy disk load; bails out with 'Push on pad
6201           fakesink:sink0, but it was not activated in push mode').
6202
6203         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
6204           Fix state change order when there is only a semi sink (#316856)
6205
6206         * gst/gstbus.c: (gst_bus_class_init):
6207           Use _class_peek_parent(), not _class_ref(); fix docs to say
6208           'default main context' instead of 'mainloop' where that is
6209           what's meant.
6210
6211         * gst/gstelement.c: (gst_element_commit_state),
6212         (gst_element_set_state):
6213           Fix typos in debug messages
6214
6215 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6216
6217         * docs/README:
6218         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
6219         * gst/gstpluginfeature.c:
6220         * gst/gstutils.c:
6221           various doc updates
6222         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6223           change an assert into an error until it gets fixed properly
6224
6225 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
6226
6227         * docs/gst/gstreamer-sections.txt:
6228         * docs/gst/tmpl/.cvsignore:
6229         * docs/gst/tmpl/gstelement.sgml:
6230         * docs/gst/tmpl/gstinfo.sgml:
6231         * docs/gst/tmpl/gstobject.sgml:
6232         * gst/gstelement.c:
6233         * gst/gstelement.h:
6234         * gst/gstinfo.c:
6235         * gst/gstinfo.h:
6236         * gst/gstobject.c: (gst_object_class_init):
6237         * gst/gstobject.h:
6238           inlined 3 more biiiig doc files and added some missing docs on the fly
6239
6240 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6241
6242         * check/gst/.cvsignore:
6243         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
6244         * gst/gstregistryxml.c: (load_plugin),
6245         (gst_registry_xml_save_plugin):
6246           put back source in registry.  add checks for find_plugin.
6247         * testsuite/states/bin.c: (assert_state), (empty_bin),
6248         (test_adding_one_element), (main):
6249         * testsuite/states/locked.c: (main):
6250           some compile/run fixes
6251
6252 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6253
6254         * check/gst/gstvalue.c: (GST_START_TEST):
6255           fix leaks in the test itself
6256
6257 2005-09-22  Wim Taymans  <wim@fluendo.com>
6258
6259         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6260         (gst_base_sink_send_event), (gst_base_sink_peer_query),
6261         (gst_base_sink_query):
6262         Prepare for more accurate position reporting and query
6263         handling.
6264
6265         * gst/gstelement.c: (gst_element_send_event),
6266         (gst_element_set_state):
6267         Add some comment.
6268
6269 2005-09-22  Wim Taymans  <wim@fluendo.com>
6270
6271         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
6272         (gst_query_parse_segment):
6273         * gst/gstquery.h:
6274         More documentation.
6275         Add segment query for future use.
6276
6277 2005-09-22  Wim Taymans  <wim@fluendo.com>
6278
6279         * gst/gstbin.c: (gst_bin_add_func):
6280         Some more debug info.
6281
6282         * gst/gstelement.c: (gst_element_send_event):
6283         Simplify send_event
6284
6285         * gst/gstelement.h:
6286         Don't know how flags got broken.
6287
6288         * gst/gstquery.h:
6289         Added new query.
6290
6291 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6292
6293         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6294           Add simplistic test suite for GST_TYPE_DATE serialisation and
6295           deserialisation.
6296
6297 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6298
6299         * docs/gst/gstreamer-sections.txt:
6300         * gst/gststructure.c: (gst_structure_set_valist),
6301         (gst_structure_get_date):
6302         * gst/gststructure.h:
6303         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6304         (gst_date_copy), (gst_value_compare_date),
6305         (gst_value_serialize_date), (gst_value_deserialize_date),
6306         (gst_value_transform_date_string),
6307         (gst_value_transform_string_date), (_gst_value_initialize):
6308         * gst/gstvalue.h:
6309           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6310           bunch of utility functions along with a hack that checks that
6311           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6312           is required. Part of the grand scheme in #170777.
6313
6314 2005-09-22  Andy Wingo  <wingo@pobox.com>
6315
6316         * gst/gstconfig.h.in: Psych out gtk-doc.
6317
6318         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6319
6320         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6321
6322         * tools/gst-inspect.c (print_element_list): Plug some
6323         inconsequential leaks.
6324
6325         * gst/gstregistry.c (gst_registry_get_default): Doc.
6326
6327         * check/gst/gstplugin.c: 
6328         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6329         * gst/gstelementfactory.c (gst_element_factory_create): 
6330         * gst/gstindexfactory.c (gst_index_factory_create): Update for
6331         refcount changes.
6332
6333         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6334         (gst_plugin_feature_load): Doc, don't eat refs.
6335
6336         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6337         (gst_plugin_list_free): Doc.
6338         (gst_plugin_load_file): Doc updates.
6339
6340         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6341         accessors returning refcounted objects, return a ref.
6342
6343         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6344         accessor for caps. IDEMPOTENCE. Oh yes.
6345
6346 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
6347
6348         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6349
6350         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6351         (_gst_debug_register_funcptr):
6352           Add mutex to serialise access to the hash table with
6353           the function pointer => function name string mapping;
6354           make that hash table static scope (#316809).
6355
6356         * gst/registries/.cvsignore:
6357           Remove left-over file.
6358
6359 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6360
6361         * docs/pwg/appendix-porting.xml:
6362           And something about newsegment events and caps-on-buffers to
6363           the porting guide (feel free to improve).
6364
6365 2005-09-21  Andy Wingo  <wingo@pobox.com>
6366
6367         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6368         data and event probes on the same pad.
6369         (test_buffer_probe_once): Test that removing probes from within
6370         the probe functions works.
6371
6372 2005-09-21  Andy Wingo  <wingo@pobox.com>
6373
6374         * check/gst/gstutils.c: New file.
6375         (test_buffer_probe_n_times): A simple buffer probe test. More to
6376         come, foolios.
6377
6378         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6379         have-data::buffer, not have-data.
6380         (gst_pad_add_event_probe): Likewise for have-data::event.
6381         (gst_pad_add_data_probe): More docs. The part about 'resolving the
6382         peer' isn't quite right yet though.
6383         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
6384         (gst_pad_remove_data_probe): Change to take the guint handler_id
6385         as their arg, not the function+data, which is more glib-like.
6386
6387         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6388         the signal emission to indicate if the data is a buffer or an
6389         event.
6390         (gst_pad_get_type): Initialize buffer and event quarks.
6391         (gst_pad_class_init): have-data is now a detailed signal, yes it
6392         is.
6393
6394 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
6395
6396         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6397         * gst/gstutils.c: (gst_util_set_value_from_string),
6398         (gst_util_set_object_arg):
6399           Don't put functional code in g_return_if_fail() or
6400           g_return_val_if_fail() statements, otherwise things will 
6401           break when G_DISABLE_CHECKS is defined during compilation.
6402
6403 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6404
6405         * docs/gst/tmpl/.cvsignore:
6406         * docs/gst/tmpl/gstvalue.sgml:
6407         * gst/gstvalue.c:
6408         * gst/gstvalue.h:
6409           inlied another one and added  some obvious docs
6410
6411 2005-09-21  Wim Taymans  <wim@fluendo.com>
6412
6413         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6414         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6415         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6416         (gst_fdsrc_get_property), (gst_fdsrc_create):
6417         * gst/elements/gstfdsrc.h:
6418         Properly implement fdsrc. Removed signal and timeout,
6419         better implemented somewhere else.
6420
6421 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6422
6423         * docs/gst/tmpl/.cvsignore:
6424         * docs/gst/tmpl/gstimplementsinterface.sgml:
6425         * gst/gstinterface.c:
6426           inlined more docs
6427
6428 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6429
6430         * docs/gst/gstreamer-sections.txt:
6431         * docs/gst/tmpl/.cvsignore:
6432         * docs/gst/tmpl/gstenumtypes.sgml:
6433           remove obsolete doc file
6434
6435 2005-09-21  David Schleef  <ds@schleef.org>
6436
6437         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6438         little beer, fix a little leak.
6439
6440 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
6441
6442         * docs/gst/gstreamer-docs.sgml:
6443         * docs/gst/gstreamer-sections.txt:
6444         * docs/gst/tmpl/.cvsignore:
6445         * gst/Makefile.am:
6446         * gst/gst.h:
6447         * gst/gstbin.c:
6448         * gst/gstelement.h:
6449         * gst/gstindex.c: (gst_index_class_init):
6450         * gst/gstindex.h:
6451         * gst/gstindexfactory.c: (gst_index_factory_get_type),
6452         (gst_index_factory_class_init), (gst_index_factory_init),
6453         (gst_index_factory_finalize), (gst_index_factory_new),
6454         (gst_index_factory_destroy), (gst_index_factory_find),
6455         (gst_index_factory_create), (gst_index_factory_make):
6456         * gst/gstindexfactory.h:
6457         * gst/gstpluginfeature.c:
6458         * gst/gstpluginfeature.h:
6459         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6460           more docs inlined, splitted gstindex.{c,h}
6461
6462 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6463
6464         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6465           fix a leak
6466
6467 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6468
6469         * gst/elements/gstfilesink.c: (gst_file_sink_init):
6470           Set sync to FALSE by default.
6471
6472 2005-09-20  Wim Taymans  <wim@fluendo.com>
6473
6474         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6475         (gst_base_sink_init):
6476         Make sync property settable from subclass.
6477
6478         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6479         (gst_fake_sink_change_state):
6480         Set sync to FALSE by default.
6481
6482 2005-09-20  Wim Taymans  <wim@fluendo.com>
6483
6484         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6485         * tools/gst-launch.c: (main):
6486         The timeout handler should have lower priority than the source
6487         so we don't timeout before popping a message with 0 timeout.
6488         Dump error messages after failed state change.
6489
6490 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
6491
6492         * tools/gst-inspect.c: (print_element_properties_info):
6493           Fix two typos.
6494
6495 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6496
6497         * check/gst/gstevent.c:
6498         * gst/elements/gstfakesink.c:
6499         * gst/elements/gstfakesink.h:
6500           remove the sync property from fakesink.
6501           has the side effect of setting sync TRUE
6502           for fakesink, which is a change.  Anyone who knows how
6503           to fix this nicely in a GObject-y way, feel free.
6504
6505 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6506
6507         * docs/gst/gstreamer-docs.sgml:
6508           remove probe refsection
6509
6510 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6511
6512         * check/Makefile.am:
6513           disable valgrinding the controller test again
6514         * docs/gst/gstreamer-sections.txt:
6515           update for api-changes
6516
6517 2005-09-20  Wim Taymans  <wim@fluendo.com>
6518
6519         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6520         (gst_base_sink_set_property), (gst_base_sink_get_property),
6521         (gst_base_sink_do_sync):
6522         * gst/base/gstbasesink.h:
6523         Added sync property to basesink to disable clock sync.
6524
6525 2005-09-20  Andy Wingo  <wingo@pobox.com>
6526
6527         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6528         eating the caller's refcount.
6529
6530         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
6531         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6532         refcount.
6533
6534         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6535         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6536         of GLib 2.8 public, so we can know which refcount to check in
6537         tests.
6538
6539         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6540         (gst_object_init): Only set the gst refcount if we're going ahead
6541         with the refcount hack.
6542
6543 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6544
6545         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6546         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6547           more leaks plumbed, added more debug-logging
6548         * gst/gstmacros.h:
6549           whitespace fix
6550
6551 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6552
6553         * gst/gstmessage.c:
6554           remove include of gstmemchunk.h
6555
6556 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6557
6558         * gst/gstclock.c: (_gst_clock_id_free):
6559           Commit from the Political Party For More Atomic CVS Commits,
6560           so that people don't waste too much of their day fishing
6561           out obvious leaks out of massive commits.
6562           Oh, and fix a pretty damn obvious leak in the memchunk
6563           removal code.
6564
6565 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
6566
6567         * check/Makefile.am:
6568         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6569           plug mem-leak, re-add to valgrindable tests
6570
6571 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6572
6573         * gst/gstplugin.h:
6574           unbreak the build for those who have chronic arthritis
6575           and typing "make check" is just too taxing on the hands
6576
6577 2005-09-20  Andy Wingo  <wingo@pobox.com>
6578
6579         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6580         really want it out, you should fix plugins at the same time.
6581
6582 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
6583
6584         * configure.ac:
6585         * docs/gst/gstreamer-sections.txt:
6586         * gst/gstobject.c:
6587           added missing symbols to api docs
6588           disable ref-count hack if we have glib >= 2.8
6589
6590 2005-09-19  David Schleef  <ds@schleef.org>
6591
6592         * docs/gst/Makefile.am: Ignore a few more internal headers
6593         * docs/gst/gstreamer-docs.sgml: Remove old sections
6594         * docs/gst/gstreamer-sections.txt: Remove old sections
6595         * docs/gst/tmpl/gstobject.sgml: update
6596         * docs/gst/tmpl/gstplugin.sgml: update
6597         * docs/gst/tmpl/gstpluginfeature.sgml: update
6598         * docs/random/ds/0.9-suggested-changes: update.
6599         * gst/Makefile.am: remove memchunk and trashstack, since they're
6600           not used.
6601         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6602         * gst/gst.h: don't include some headers
6603         * gst/gstchildproxy.c: add gstmarshal.h
6604         * gst/gstclock.c: Don't use memchunks
6605         * gst/gstminiobject.c: Add some docs
6606         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6607         * gst/gstobject.h: same
6608         * gst/gstplugin.c: include gstmacros.h
6609         * gst/gstplugin.h: don't include gstmacros.h, since it's private
6610         * gst/gstquery.c: don't use memchunks
6611         * gst/gstregistry.c: rename gst_registry_deinit()
6612         * gst/gstregistry.h: same
6613
6614 2005-09-19  David Schleef  <ds@schleef.org>
6615
6616         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6617         * docs/libs/gstreamer-libs-sections.txt:
6618         * docs/libs/tmpl/gstgetbits.sgml:
6619         * docs/libs/tmpl/gstputbits.sgml:
6620
6621 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6622
6623         * win32/gstenumtypes.c:
6624         * win32/gstenumtypes.h:
6625           Update.
6626
6627 2005-09-19  Wim Taymans  <wim@fluendo.com>
6628
6629         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6630         Automatically PAUSE and RESUME a pipeline when a flushing seek
6631         is performed.
6632
6633 2005-09-19  Andy Wingo  <wingo@pobox.com>
6634
6635         * gst/gstregistry.h: Spacing fixen.
6636
6637 2005-09-19  Wim Taymans  <wim@fluendo.com>
6638
6639         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6640         Handle state change failure more correctly.
6641
6642 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6643
6644         * check/Makefile.am:
6645         * check/pipelines/cleanup.c: (run_pipeline):
6646         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6647         (GST_START_TEST):
6648           enable cleanup again after fixing the leak
6649         * docs/README:
6650           some more info on docs
6651
6652 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6653
6654         * check/Makefile.am:
6655           re-enable tests now that leaks are plugged
6656         * check/gst/gst.c:
6657         * check/gst/gstbin.c:
6658         * check/gst/gstpipeline.c:
6659           add some more tests while fixing leaks
6660         * common/check.mak:
6661           make sure binaries are uptodate when valgrinding/gdbing
6662         * gst/gst.c:
6663         * gst/gstelementfactory.c:
6664           remove a ref too many, and add a FIXME for when we get
6665           round to disposing of classes
6666         * gst/gstplugin.c:
6667           fix the refcounting when loading a plugin from a file and
6668           the code pretends that the pointer is the same even though
6669           of course it can change
6670         * gst/gstpluginfeature.c:
6671           unref plugins marked cached (a bit confusing as a name)
6672           as the docs state should be done
6673           various doc additions to explain refcounting
6674         * gst/gstregistry.c:
6675         * gst/gstregistryxml.c:
6676           debugging
6677
6678 2005-09-19  Wim Taymans  <wim@fluendo.com>
6679
6680         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6681         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6682         (send_messages), (GST_START_TEST), (gstbus_suite):
6683         * check/gst/gstpipeline.c: (GST_START_TEST):
6684         * check/pipelines/cleanup.c: (run_pipeline):
6685         * check/pipelines/simple_launch_lines.c: (run_pipeline),
6686         (GST_START_TEST):
6687         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6688         (gst_bus_source_check), (gst_bus_source_dispatch),
6689         (gst_bus_create_watch), (gst_bus_add_watch_full),
6690         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6691         * gst/gstbus.h:
6692         * tools/gst-launch.c: (event_loop):
6693         * tools/gst-md5sum.c: (event_loop):
6694         GstBusHandler -> GstBusFunc, return value has the same meaning as
6695         any other GSource (FALSE == remove source).
6696         _add_watch() and _add_watch_full() now take a MessageType mask to
6697         only handle specific types of messages.
6698         _poll() returns the GstMessage instead of the message type to avoid
6699         race conditions.
6700         _have_pending() takes a MessageType mask now too.
6701         Added testsuite for multiple bus watches.
6702         Fix testsuites and applications for new bus API.
6703
6704 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
6705
6706         * check/Makefile.am:
6707           mark a bunch of the tests as to fix until we fix them
6708
6709 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6710
6711         * common/check.mak:
6712           use GST_PLUGIN settings for valgrind tests as well, so we're
6713           valgrinding the correct thing
6714         * gst/gst.c: (init_post):
6715           plug another leak
6716
6717 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6718
6719         * gst/gst.c: (init_post), (gst_deinit):
6720         * gst/gstelementfactory.c: (gst_element_factory_class_init),
6721         (gst_element_factory_finalize), (gst_element_factory_cleanup):
6722         * gst/gstindex.c: (gst_index_factory_class_init),
6723         (gst_index_factory_finalize):
6724         * gst/gstobject.c: (gst_object_dispose):
6725         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6726         (gst_plugin_load_file), (gst_plugin_desc_free):
6727         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6728         (gst_plugin_feature_finalize):
6729         * gst/gstregistry.c: (gst_registry_class_init),
6730         (gst_registry_init), (gst_registry_finalize),
6731         (gst_registry_get_default), (gst_registry_deinit):
6732         * gst/gstregistry.h:
6733         * gst/gstregistryxml.c: (load_feature), (load_plugin):
6734           various cleanups and memleak plugging.  make valgrind is happy now.
6735
6736 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6737
6738         * common/check.mak:
6739           add a check-valgrind target
6740
6741 2005-09-18  David Schleef  <ds@schleef.org>
6742
6743         * tools/gst-inspect.c: Revert the GOption code.
6744
6745 2005-09-17  David Schleef  <ds@schleef.org>
6746
6747         * check/Makefile.am: Fix environment variables.
6748         * check/gst/gstplugin.c: Fix for API changes.
6749         * tools/gst-inspect.c: Fix for API changes.
6750         * tools/gst-xmlinspect.c: Fix for API changes.
6751         * gst/gstelementfactory.c:
6752         * gst/gstplugin.c:
6753         * gst/gstplugin.h:
6754         * gst/gstpluginfeature.c:
6755         * gst/gstpluginfeature.h:
6756         * gst/gstregistry.c:
6757         * gst/gstregistry.h:
6758         * gst/gstregistryxml.c:
6759         * gst/gsttypefind.c:
6760         * gst/gsttypefindfactory.c:
6761         * gst/indexers/gstfileindex.c:
6762         * gst/indexers/gstmemindex.c:
6763         * gst/schedulers/Makefile.am:
6764           Change registry to keep track of both plugins and features,
6765           removing the feature tracking from plugins themselves.
6766
6767 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6768
6769         * check/Makefile.am:
6770         * tools/gst-register.1.in:
6771           remove gst-register
6772
6773 2005-09-15  David Schleef  <ds@schleef.org>
6774
6775         * check/gst/gstplugin.c:
6776         * gst/gstelementfactory.c:
6777         * gst/gstplugin.c:
6778         * gst/gstpluginfeature.c:
6779         * gst/gstregistry.c:
6780           Getting tired of debugging.  Disabled all the unreffing of
6781           plugins and features, which fixes the segfaults, but of
6782           course leaks like crazy.  At least playbin works.
6783
6784 2005-09-15  David Schleef  <ds@schleef.org>
6785
6786         * check/gst/gstplugin.c: (register_check_elements),
6787         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6788         More testing
6789         * gst/elements/gsttypefindelement.c: Fix refcounting.
6790         * gst/gsttypefind.c:
6791         * gst/gsttypefindfactory.c:
6792         * gst/gsttypefindfactory.h:
6793
6794 2005-09-15  David Schleef  <ds@schleef.org>
6795
6796         * gst/gstindex.c: get refcounting correct.
6797         * gst/gstregistry.c: Handle the case where a feature/plugin is
6798           not found.
6799
6800 2005-09-15  David Schleef  <ds@schleef.org>
6801
6802         * check/Makefile.am:
6803         * check/gst/gstplugin.c: Add test
6804         * gst/gstplugin.c: Fix problems noticed by testsuite
6805         * gst/gstplugin.h:
6806         * gst/gstregistry.c: 
6807         * gst/gstregistry.h:
6808
6809 2005-09-15  David Schleef  <ds@schleef.org>
6810
6811         * gst/gstplugin.c: Implement semi-decent recounting and locking
6812           in plugins and plugin features.
6813         * gst/gstplugin.h:
6814         * gst/gstpluginfeature.c:
6815         * gst/gstpluginfeature.h:
6816         * gst/gstregistry.c:
6817
6818 2005-09-15  Michael Smith <msmith@fluendo.com>
6819
6820         * gst/gstregistry.c: (gst_registry_get_feature_list):
6821           Implement this. Makes oggdemux work; decodebin still broken.
6822
6823 2005-09-14  David Schleef  <ds@schleef.org>
6824
6825         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6826           #316076)
6827         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6828         * gst/check/Makefile.am:
6829         * libs/gst/controller/Makefile.am:
6830         * libs/gst/dataprotocol/Makefile.am:
6831
6832 2005-09-14  David Schleef  <ds@schleef.org>
6833
6834         * configure.ac: Remove getbits library.  Nothing uses it, and
6835           it should be in something like liboil if someone did want
6836           to use it.
6837         * libs/gst/Makefile.am:
6838         * libs/gst/getbits/Makefile.am:
6839         * libs/gst/getbits/gbtest.c:
6840         * libs/gst/getbits/getbits.c:
6841         * libs/gst/getbits/getbits.h:
6842         * libs/gst/getbits/gstgetbits_generic.c:
6843         * libs/gst/getbits/gstgetbits_i386.s:
6844         * libs/gst/getbits/gstgetbits_inl.h:
6845
6846 2005-09-14  David Schleef  <ds@schleef.org>
6847
6848         * gst/Makefile.am: Dist glib-compat.h
6849
6850 2005-09-14  David Schleef  <ds@schleef.org>
6851
6852         * configure.ac: Remove gst/registries, since it's no longer used.
6853         * gst/registries/Makefile.am:
6854         * gst/registries/gstlibxmlregistry.c:
6855         * gst/registries/gstlibxmlregistry.h:
6856         * gst/registries/gstxmlregistry.c:
6857         * gst/registries/gstxmlregistry.h:
6858         * gst/registries/registrytest.c:
6859
6860 2005-09-14  David Schleef  <ds@schleef.org>
6861
6862         * gst/glib-compat.h:
6863         * gst/gstregistryxml.c:
6864           Convergence is near.  Seriously.
6865
6866 2005-09-14  David Schleef  <ds@schleef.org>
6867
6868         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6869         * gst/glib-compat.h:
6870           Attempt #4 to appease the buildbots.
6871
6872 2005-09-14  David Schleef  <ds@schleef.org>
6873
6874         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6875           Attempt #3.
6876
6877 2005-09-14  David Schleef  <ds@schleef.org>
6878
6879         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6880         Attempt #2.
6881
6882 2005-09-14  David Schleef  <ds@schleef.org>
6883
6884         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6885           the new functions.
6886
6887 2005-09-14  David Schleef  <ds@schleef.org>
6888
6889         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6890         * gst/glib-compat.h: Add some functions that are in newer versions
6891           of glib than we care to require.
6892         * gst/gstregistryxml.c: Use them.
6893
6894 2005-09-14  David Schleef  <ds@schleef.org>
6895
6896         * po/POTFILES.in: remove gst-register.c
6897
6898 2005-09-14  David Schleef  <ds@schleef.org>
6899
6900         * docs/gst/gstreamer-docs.sgml:
6901         * docs/gst/gstreamer-sections.txt:
6902         * docs/gst/gstreamer.types:
6903         * docs/gst/tmpl/gstelement.sgml:
6904         * docs/gst/tmpl/gstplugin.sgml:
6905         * docs/gst/tmpl/gstpluginfeature.sgml:
6906           Documentation updates for registry changes.
6907
6908 2005-09-14  David Schleef  <ds@schleef.org>
6909
6910         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6911           because we don't require glib-2.8.
6912
6913 2005-09-14  David Schleef  <ds@schleef.org>
6914
6915         * gst/gstregistryxml.c: Added.  Essentially moved out of the
6916           registries directory.
6917
6918 2005-09-14  David Schleef  <ds@schleef.org>
6919
6920         * check/Makefile.am:
6921         * check/generic/states.c:
6922         * gst/Makefile.am:
6923         * gst/gst.c:
6924         * gst/gst.h:
6925         * gst/gst_private.h:
6926         * gst/gstelementfactory.c:
6927         * gst/gstindex.c:
6928         * gst/gstinfo.c:
6929         * gst/gstplugin.c:
6930         * gst/gstplugin.h:
6931         * gst/gstpluginfeature.c:
6932         * gst/gstpluginfeature.h:
6933         * gst/gstregistry.c:
6934         * gst/gstregistry.h:
6935         * gst/gstregistrypool.c: remove
6936         * gst/gstregistrypool.h: remove
6937         * gst/gsttypefind.c:
6938         * gst/gsttypefindfactory.c:
6939         * gst/gsturi.c:
6940         * tools/Makefile.am:
6941         * tools/gst-compprep.c:
6942         * tools/gst-inspect.c:
6943         * tools/gst-register.c: remove
6944         * tools/gst-xmlinspect.c:
6945           Registry rewrite.  Changes registry from being a file created
6946           by a tool into a simple cache file created automatically by 
6947           libgstreamer.  Removed gst-register (because it's no longer
6948           needed).  Remove registry pools, because we only have one
6949           registry implementation (XML).  Fix up other subsystems as
6950           necessary.
6951
6952 2005-09-13  Michael Smith <msmith@fluendo.com>
6953
6954         * gst/gstconfig.h.in:
6955           Don't Use windows linking attributes for MinGW. Fixes #316157
6956
6957 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6958
6959         * gst/gstutils.c: (set_state_async_thread_func),
6960         (gst_element_set_state_async):
6961           Apparently people think it's better if this function doesn't
6962           try to set the state to whatever state was asked for on the first
6963           call to this function for any object.  Seriously.
6964
6965 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6966
6967         * check/gst/gstpipeline.c: (GST_START_TEST):
6968         * docs/gst/gstreamer-sections.txt:
6969         * gst/gstutils.c: (set_state_async_thread_func),
6970         (gst_element_set_state_async):
6971         * gst/gstutils.h:
6972           add a "gst_element_set_state_async" method that
6973           sets the state and starts a thread to make sure the state
6974           change completes as best as it can
6975
6976 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6977
6978         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6979           codify design+behaviour in testsuite after discussion
6980
6981 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6982
6983         * docs/gst/tmpl/gstelement.sgml:
6984         * docs/manual/appendix-quotes.xml:
6985           add a quote
6986         * gst/gstelement.c: (gst_element_set_state):
6987           add some debug
6988
6989 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
6990
6991         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6992         (gst_base_transform_prepare_output_buf),
6993         (gst_base_transform_handle_buffer):
6994         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6995         (gst_capsfilter_prepare_buf):
6996           Remove the requirement for sub-classes to call the parent
6997           implementation of prepare_output_buffer with a wrapper function.
6998           
6999         * gst/gsttaglist.h:
7000         * gst/gsttagsetter.h:
7001           Fix #define wrapper
7002
7003 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
7004
7005         * docs/gst/gstreamer-sections.txt:
7006           more doc cleanups
7007
7008 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7009
7010         * docs/gst/gstreamer-sections.txt:
7011         * docs/gst/tmpl/gstelement.sgml:
7012         * docs/gst/tmpl/gstplugin.sgml:
7013         * gst/gstminiobject.c:
7014         * gst/gstvalue.h:
7015           docs now stop throwing warnings
7016
7017 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7018
7019         * docs/gst/gstreamer-sections.txt:
7020         * docs/gst/gstreamer.types:
7021         * docs/gst/tmpl/gstpad.sgml:
7022         * docs/gst/tmpl/gsttypes.sgml:
7023         * gst/base/gstadapter.h:
7024         * gst/base/gstbasesink.h:
7025         * gst/base/gstbasesrc.h:
7026         * gst/gstbin.h:
7027         * gst/gstbuffer.h:
7028         * gst/gstbus.h:
7029         * gst/gstcaps.h:
7030         * gst/gstclock.h:
7031         * gst/gstelement.h:
7032         * gst/gstevent.h:
7033         * gst/gstmessage.h:
7034         * gst/gstpad.h:
7035         * gst/gststructure.c:
7036         * gst/registries/gstlibxmlregistry.h:
7037           various documentation fixes
7038
7039 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7040
7041         * docs/gst/gstreamer-sections.txt:
7042         * docs/gst/tmpl/gstvalue.sgml:
7043           rearrange gstvalue section
7044         * gst/gstutils.c: (gst_element_state_get_name):
7045           NONE -> VOID
7046         * gst/gstvalue.c: (_gst_value_initialize):
7047         * gst/gstvalue.h:
7048           doc updates
7049
7050 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
7051
7052         * check/gst-libs/controller.c:
7053           Header include fix.
7054         * gst/base/gstbasetransform.c:
7055         (gst_base_transform_default_prepare_buf),
7056         (gst_base_transform_handle_buffer):
7057         * gst/base/gstbasetransform.h:
7058           Some more basetransform changes and fixes to enable sub-classes
7059           that modify buffer metadata only.
7060         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7061         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
7062         (gst_capsfilter_prepare_buf):
7063           If the output pad has fixed allowed caps and input buffers 
7064           don't have any, set the fixed caps on outgoing buffers.
7065
7066 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
7067         * check/elements/identity.c: (GST_START_TEST):
7068           Make the error a little clearer when the test fails because
7069           identity made a copy of the buffer.
7070         * docs/gst/gstreamer-sections.txt:
7071           New symbols in gstbasetransform.h
7072         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7073         (gst_base_transform_init), (gst_base_transform_transform_size),
7074         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7075         (gst_base_transform_default_prepare_buf),
7076         (gst_base_transform_get_unit_size),
7077         (gst_base_transform_buffer_alloc),
7078         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7079         (gst_base_transform_change_state),
7080         (gst_base_transform_set_passthrough),
7081         (gst_base_transform_set_in_place),
7082         (gst_base_transform_is_in_place):
7083         * gst/base/gstbasetransform.h:
7084           Change BaseTransform to separate in_place operate from same_caps
7085           output. in_place implies that the element can perform the transform
7086           on incoming buffers in-place, even if the caps on the output are
7087           different.
7088           Sub-class elements can now implement special buffer allocation
7089           methods for outgoing buffers if they wish to.
7090           Big documentation addition.
7091         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
7092         * gst/elements/gstelements.c:
7093           Changes for basetransform modifications.
7094         * gst/elements/Makefile.am:
7095         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
7096           Compile fix. Extra debug output.
7097
7098 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7099
7100         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
7101         (gst_pad_suite):
7102           add tests for valid pad naming
7103         * gst/check/gstcheck.c: (gst_check_log_message_func),
7104         (gst_check_log_critical_func):
7105           add ASSERT_WARNING
7106           remove printing of code, it is fragile when the code contains
7107           % and the line number is enough info
7108         * gst/check/gstcheck.h:
7109         * gst/gstpad.c: (gst_pad_template_new):
7110           fix memleaks
7111
7112 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7113
7114         * configure.ac:
7115           say what CHECK flags we use
7116         * docs/libs/gstreamer-libs.types:
7117         * libs/gst/controller/Makefile.am:
7118         * libs/gst/controller/gst-controller.c:
7119         * libs/gst/controller/gst-controller.h:
7120         * libs/gst/controller/gst-helper.c:
7121         * libs/gst/controller/gst-interpolation.c:
7122         * libs/gst/controller/gstcontroller.c:
7123         * libs/gst/controller/gsthelper.c:
7124         * libs/gst/controller/gstinterpolation.c:
7125         * tools/gst-inspect.c: (print_plugin_info):
7126           we don't use dashes in header names
7127
7128 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7129
7130         * check/Makefile.am:
7131         * check/gst/.cvsignore:
7132         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
7133         (gst_pipeline_suite), (main):
7134           adding a test for pipelines and state changes
7135         * gst/gstutils.c: (get_state_func):
7136           add some debugging
7137         * gstreamer.spec.in:
7138           fix up spec file
7139
7140 2005-09-08  Michael Smith <msmith@fluendo.com>
7141
7142         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
7143         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
7144         (gst_file_src_is_seekable), (gst_file_src_get_size),
7145         (gst_file_src_start):
7146         * gst/elements/gstfilesrc.h:
7147           Various fixes for unseekable, unmmapable, and non-normal files, so
7148           that fallback to read() rather than mmap() works.
7149         * gst/gstevent.c: (gst_event_new_newsegment):
7150           Allow newsegment events with segment_start == segment_end, as will
7151           correctly happen if you use filesrc on a zero-size file, for
7152           example.
7153
7154 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
7155
7156         * gst/gstplugin.c: (gst_plugin_load_file):
7157           Call g_module_close when we don't load the module
7158
7159         * gst/registries/gstlibxmlregistry.c:
7160         (gst_xml_registry_get_property):
7161           Port leak fix from 0.8
7162
7163 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7164
7165         * docs/gst/gstreamer-docs.sgml:
7166         * docs/gst/tmpl/.cvsignore:
7167         * docs/gst/tmpl/gsttrace.sgml:
7168         * docs/gst/tmpl/gsttrashstack.sgml:
7169         * gst/Makefile.am:
7170         * gst/gst.h:
7171         * gst/gstelement.h:
7172         * gst/gstevent.h:
7173         * gst/gstmessage.c:
7174         * gst/gstmessage.h:
7175         * gst/gsttag.c:
7176         * gst/gsttag.h:
7177         * gst/gsttaginterface.c:
7178         * gst/gsttaginterface.h:
7179         * gst/gsttaglist.c:
7180         * gst/gsttaglist.h:
7181         * gst/gsttagsetter.c:
7182         * gst/gsttagsetter.h:
7183         * gst/gsttrace.c:
7184         * gst/gsttrace.h:
7185         * gst/gsttrashstack.c:
7186           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
7187           inlined docs for gsttrace, gsttrashstack
7188
7189 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7190
7191         * gst/Makefile.am:
7192         * gst/elements/gstbufferstore.h:
7193         * gst/elements/gsttypefindelement.c:
7194         * gst/elements/gsttypefindelement.h:
7195         * gst/gst.h:
7196         * gst/gsttypefind.c:
7197         * gst/gsttypefind.h:
7198         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
7199         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
7200         (gst_type_find_factory_dispose),
7201         (gst_type_find_factory_unload_thyself),
7202         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
7203         (gst_type_find_factory_get_caps),
7204         (gst_type_find_factory_get_extensions),
7205         (gst_type_find_factory_call_function):
7206         * gst/gsttypefindfactory.h:
7207         * gst/registries/gstlibxmlregistry.c:
7208         * gst/registries/gstxmlregistry.c:
7209           splitted gsttypefind into gsttypefind, gsttypefindfactory
7210
7211 2005-09-07  Andy Wingo  <wingo@pobox.com>
7212
7213         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
7214         condition whereby the pad's task function is entered before the
7215         pad_mode variable was set.
7216
7217 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
7218
7219         * gst/gstpad.c: (gst_pad_alloc_buffer):
7220           Catch misbehaving pad_alloc functions that don't
7221           set up caps and do it for them.
7222
7223 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
7224
7225         * check/pipelines/simple_launch_lines.c: (run_pipeline):
7226           test for pipe!=NULL
7227         * docs/gst/tmpl/.cvsignore:
7228         * docs/gst/tmpl/gstmemchunk.sgml:
7229         * docs/gst/tmpl/gstparse.sgml:
7230         * docs/gst/tmpl/gsttaglist.sgml:
7231         * docs/gst/tmpl/gsttagsetter.sgml:
7232         * docs/gst/tmpl/gsttypefind.sgml:
7233         * docs/gst/tmpl/gsttypefindfactory.sgml:
7234         * gst/gstmemchunk.c:
7235         * gst/gstparse.c:
7236         * gst/gsttag.c:
7237         * gst/gsttaginterface.c:
7238         * gst/gsttypefind.c:
7239         * gst/gsttypefind.h:
7240           inlined more docs
7241
7242 === release 0.9.2 ===
7243
7244 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7245
7246         * NEWS:
7247         * RELEASE:
7248         * configure.ac:
7249           releasing 0.9.2, "South"
7250
7251 2005-09-05  Andy Wingo  <wingo@pobox.com>
7252
7253         * gst/registries/gstxmlregistry.h:
7254         * gst/registries/gstxmlregistry.c: Um... resurrect...
7255         
7256         * gst/registries/gstxmlregistry.h:
7257         * gst/registries/gstxmlregistry.c: and update to newer API.
7258         Incidentally they should be a bit faster now that they don't have
7259         to parse the caps.
7260         
7261 2005-09-05  Andy Wingo  <wingo@pobox.com>
7262
7263         * gst/registries/gstxmlregistry.h:
7264         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
7265         replaced by the libxml registry a while back
7266
7267 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7268
7269         * docs/gst/tmpl/gstplugin.sgml:
7270         * gst/elements/gstelements.c:
7271         * gst/gst.c:
7272         * gst/gstplugin.c: (gst_plugin_register_func),
7273         (gst_plugin_desc_copy), (gst_plugin_desc_free),
7274         (gst_plugin_get_source):
7275         * gst/gstplugin.h:
7276         * gst/registries/gstlibxmlregistry.c: (load_plugin),
7277         (gst_xml_registry_save_plugin):
7278         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
7279         (gst_xml_registry_save_plugin):
7280         * tools/gst-inspect.c: (print_plugin_info):
7281           add a "source" plugin description field, to represent the source
7282           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
7283           will set it to PACKAGE, which is automake's idea of the name of
7284           the source project.
7285
7286 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7287
7288         * Makefile.am:
7289         * autogen.sh:
7290         * configure.ac:
7291         * docs/Makefile.am:
7292         * docs/faq/Makefile.am:
7293         * docs/gst/tmpl/gstelement.sgml:
7294         * docs/gst/tmpl/gsttypes.sgml:
7295         * docs/htmlinstall.mak:
7296         * docs/manual/Makefile.am:
7297         * docs/pwg/Makefile.am:
7298           reorganize doc build a little
7299           split out docbook and gtk-doc stuff
7300           have two separate --enable's and enable them through autogen
7301           but disable by default in configure (to be similar to other
7302           projects)
7303         * gstreamer.spec.in:
7304           clean up docs install
7305         * po/af.po:
7306         * po/az.po:
7307         * po/ca.po:
7308         * po/cs.po:
7309         * po/de.po:
7310         * po/en_GB.po:
7311         * po/fr.po:
7312         * po/it.po:
7313         * po/nb.po:
7314         * po/nl.po:
7315         * po/ru.po:
7316         * po/sq.po:
7317         * po/sr.po:
7318         * po/sv.po:
7319         * po/tr.po:
7320         * po/uk.po:
7321         * po/vi.po:
7322           translation updates
7323
7324 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7325
7326         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7327           Add comment.
7328           
7329         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7330         (gst_fake_sink_change_state):
7331           Make state change function thread-safe.
7332           
7333         * gst/gstpad.c: (gst_pad_alloc_buffer):
7334           Set offset on generic buffer allocated by fallback.
7335
7336 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
7337
7338         * docs/gst/gstreamer-sections.txt:
7339         * docs/gst/tmpl/gstelement.sgml:
7340         * gst/gstpad.c:
7341         * libs/gst/controller/gst-controller.c:
7342         (gst_controlled_property_set_interpolation_mode),
7343         (gst_controlled_property_new),
7344         (gst_controller_find_controlled_property):
7345          run the wingo-magic script against the docs
7346
7347 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7348
7349         * docs/gst/gstreamer-docs.sgml:
7350         * docs/gst/gstreamer-sections.txt:
7351         * docs/gst/tmpl/.cvsignore:
7352         * docs/gst/tmpl/gstelementdetails.sgml:
7353         * docs/gst/tmpl/gstelementfactory.sgml:
7354         * gst/gst.c:
7355         * gst/gstbus.c:
7356         * gst/gstelementfactory.c:
7357         * gst/gstelementfactory.h:
7358           merged elementdetails docs into elementfactory docs
7359           inlined both
7360
7361 2005-09-02  Andy Wingo  <wingo@pobox.com>
7362
7363         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7364         consider this enum an enum and not a flags.
7365
7366 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
7367
7368         * docs/gst/gstreamer-docs.sgml:
7369         * docs/gst/tmpl/.cvsignore:
7370         * docs/gst/tmpl/gstghostpad.sgml:
7371         * docs/gst/tmpl/gstiterator.sgml:
7372         * docs/gst/tmpl/gstmacros.sgml:
7373         * docs/gst/tmpl/gstrealpad.sgml:
7374         * docs/gst/tmpl/gstregistry.sgml:
7375         * docs/gst/tmpl/gstregistrypool.sgml:
7376         * docs/gst/tmpl/gststructure.sgml:
7377         * docs/gst/tmpl/gstsystemclock.sgml:
7378         * docs/gst/tmpl/gsttrace.sgml:
7379         * gst/gstghostpad.c:
7380         * gst/gstmacros.h:
7381         * gst/gstmemchunk.c:
7382         * gst/gstmemchunk.h:
7383         * gst/gstqueue.c:
7384         * gst/gstregistry.c:
7385         * gst/gstregistrypool.c:
7386         * gst/gststructure.c:
7387         * gst/gstsystemclock.c:
7388           more docs inlined
7389
7390 2005-09-02  Andy Wingo  <wingo@pobox.com>
7391
7392         * gst/gstelement.h (GstState): Renamed from GstElementState,
7393         changed to be a normal enum instead of flags.
7394         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7395         munged to be GST_STATE_CHANGE_*.
7396         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7397         work with the new state representation.
7398         (GstStateChange): New enumeration of possible state transitions.
7399         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7400         (GstElementClass::change_state): Pass the GstStateChange along as
7401         an argument. Helps language bindings, so they don't have to use
7402         tricky lock-needing macros like GST_STATE_CHANGE ().
7403
7404         * scripts/update-states (file): New script. Run it on a file to
7405         update it for state naming and API changes. Updates files in
7406         place.
7407
7408         * All files updated for the new API.
7409
7410 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7411
7412         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7413         * gst/gstutils.c: (gst_util_set_value_from_string),
7414         (gst_util_set_object_arg):
7415           fix a bunch of unchecked return values
7416         * tools/gst-complete.c: (main):
7417         * gstreamer.spec.in:
7418           clean up a little
7419
7420 2005-09-01  Wim Taymans  <wim@fluendo.com>
7421
7422         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7423         (gst_base_sink_event), (gst_base_sink_do_sync),
7424         (gst_base_sink_handle_event):
7425         * gst/base/gstbasesink.h:
7426         Handle newsegments more correctly.
7427
7428         * gst/gstbus.c:
7429         Fix docs.
7430
7431         * gst/gstevent.c: (gst_event_new_newsegment):
7432         A newsegment cannot have a start_time of -1
7433
7434 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7435
7436         * win32/gstenumtypes.c:
7437         * win32/gstenumtypes.h:
7438           Update
7439
7440 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7441
7442         * libs/gst/controller/gst-controller.c:
7443         (gst_controlled_property_set_interpolation_mode),
7444         (gst_controlled_property_new):
7445          fixed boolean again
7446
7447 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
7448
7449         * docs/faq/gst-uninstalled:
7450           add -good
7451         * gst/gstevent.c:
7452         * gst/gstevent.h:
7453           remove wrong docs
7454         * gst/gstutils.c: (gst_element_link_filtered):
7455         * gst/gstutils.h:
7456           add gst_element_link_filtered
7457
7458 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7459
7460         * docs/gst/gstreamer-docs.sgml:
7461         * docs/gst/gstreamer-sections.txt:
7462         * docs/gst/tmpl/.cvsignore:
7463         * docs/gst/tmpl/gsterror.sgml:
7464         * docs/gst/tmpl/gstfilter.sgml:
7465         * docs/gst/tmpl/gsturihandler.sgml:
7466         * docs/gst/tmpl/gsturitype.sgml:
7467         * docs/gst/tmpl/gstutils.sgml:
7468         * docs/gst/tmpl/gstxml.sgml:
7469         * gst/gsterror.c:
7470         * gst/gsterror.h:
7471         * gst/gstfilter.c:
7472         * gst/gsturi.c:
7473         * gst/gsturitype.c:
7474         * gst/gstutils.c:
7475         * gst/gstxml.c:
7476           inlined more docs, fixed double id-ref
7477
7478 2005-08-31  Wim Taymans  <wim@fluendo.com>
7479
7480         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7481         (gst_base_transform_handle_buffer):
7482         Passthrough elements don't need the caps as they don't care.
7483
7484 2005-08-31  Wim Taymans  <wim@fluendo.com>
7485
7486         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7487         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7488         Don't leak refcounts on buffers.
7489
7490 2005-08-31  Wim Taymans  <wim@fluendo.com>
7491
7492         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7493         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7494         (gst_base_transform_chain), (gst_base_transform_change_state):
7495         * gst/base/gstbasetransform.h:
7496         Handle the case where we are not negotiated more gracefully.
7497
7498 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
7499
7500         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7501         (gst_file_src_map_region):
7502           Set READONLY flag on mmap'ed buffers, otherwise
7503           gst_buffer_make_writable() won't work properly (#314708).
7504
7505 2005-08-31  Wim Taymans  <wim@fluendo.com>
7506
7507         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7508         passthrough elements can even do inplace on non writable
7509         buffers (as they don't touch them).
7510
7511 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
7512
7513         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7514         (gst_test_mono_source_set_property),
7515         (gst_test_mono_source_class_init), (GST_START_TEST),
7516         (gst_controller_suite):
7517           more tests (hehe I have the most)
7518         * gst/gstbus.c:
7519           describe popping messages whenusing mulltiple sources
7520         * libs/gst/controller/gst-controller.c:
7521         (gst_controlled_property_set_interpolation_mode),
7522         (gst_controlled_property_new):
7523         * libs/gst/controller/gst-controller.h:
7524         * libs/gst/controller/gst-interpolation.c:
7525           implement boolean properties
7526
7527 2005-08-31  Wim Taymans  <wim@fluendo.com>
7528
7529         * gst/gstminiobject.c: (gst_mini_object_ref):
7530         Cannot assert that the refcount has to be positive
7531         since a disposed object can be resurrected.
7532
7533 2005-08-31  Wim Taymans  <wim@fluendo.com>
7534
7535         * gst/gstpad.c: (gst_pad_init):
7536         Revert change, need to first fix badly behaving 
7537         apps.
7538
7539 2005-08-30  Wim Taymans  <wim@fluendo.com>
7540
7541         * check/elements/fakesrc.c: (setup_fakesrc):
7542         * check/elements/identity.c: (setup_identity):
7543         Activate pads before using them.
7544
7545 2005-08-30  Wim Taymans  <wim@fluendo.com>
7546
7547         * gst/base/gstadapter.c: (gst_adapter_flush):
7548         Flushing out 0 bytes is ok for this function.
7549
7550         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7551         no newsegment gives a warning and sets the start/stop to 
7552         invalid.
7553
7554         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7555         (gst_base_transform_set_passthrough):
7556         Some debug info.
7557
7558         * gst/gstminiobject.c: (gst_mini_object_ref):
7559         Check refcount here too.
7560
7561         * gst/gstpad.c: (gst_pad_init):
7562         Pads are initially flushing and refusing data.
7563
7564         * gst/gstutils.c: (gst_element_link_pads_filtered):
7565         When adding a capsfilter element make sure it has the
7566         same state as the parent bin.
7567
7568 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7569
7570         * docs/gst/tmpl/.cvsignore:
7571         * docs/gst/tmpl/gstformat.sgml:
7572         * docs/gst/tmpl/gstversion.sgml:
7573         * gst/gstbus.h:
7574         * gst/gstformat.c:
7575         * gst/gstformat.h:
7576         * gst/gstversion.h.in:
7577           more docs and two more inlined
7578
7579 2005-08-30  Wim Taymans  <wim@fluendo.com>
7580
7581         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7582         Don't sync to clock.
7583
7584 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7585
7586         * docs/gst/gstreamer-sections.txt:
7587           ultral33t func10ns deserve to appear in the docs actually
7588         * docs/gst/tmpl/.cvsignore:
7589         * docs/gst/tmpl/gstcompat.sgml:
7590         * docs/gst/tmpl/gstconfig.sgml:
7591         * gst/check/gstcheck.c:
7592         * gst/gstcompat.h:
7593         * gst/gstconfig.h.in:
7594           inlined more docs
7595
7596 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7597
7598         * docs/gst/tmpl/.cvsignore:
7599         * docs/gst/tmpl/gstquery.sgml:
7600         * docs/gst/tmpl/gstutils.sgml:
7601         * gst/gstquery.c:
7602         * gst/gstquery.h:
7603           inlined and extended docs
7604
7605 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
7606
7607         * check/gst-libs/controller.c: (GST_START_TEST),
7608         (gst_controller_suite):
7609           more tests
7610         * docs/gst/tmpl/gstutils.sgml:
7611         * docs/libs/gstreamer-libs-sections.txt:
7612         * docs/libs/tmpl/gstdataprotocol.sgml:
7613           include path fixes
7614         * examples/controller/audio-example.c: (main):
7615           controller example works now
7616         * gst/gstclock.h:
7617           doc fixes
7618         * tools/gst-inspect.c: (print_element_properties_info):
7619           show param spec flags
7620
7621 2005-08-29  Andy Wingo  <wingo@pobox.com>
7622
7623         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7624
7625 2005-08-28  Andy Wingo  <wingo@pobox.com>
7626
7627         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7628         as having two arguments instead of just one. Allows superclasses
7629         to access information on subclasses -- see the terrible for() loop
7630         in gtype.c:g_type_create_instance for the reason why. All callers
7631         changed.
7632
7633 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7634
7635         * docs/design/part-messages.txt:
7636           update info
7637         * docs/gst/tmpl/.cvsignore:
7638         * docs/gst/tmpl/gstcaps.sgml:
7639         * docs/gst/tmpl/gstclock.sgml:
7640         * gst/gstbus.c:
7641         * gst/gstcaps.c:
7642         * gst/gstcaps.h:
7643         * gst/gstclock.c:
7644         * gst/gstclock.h:
7645         * gst/gstmessage.c:
7646           added descriptions for bus and message
7647           inline caps and clock docs
7648
7649 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7650
7651         * gst/gstmessage.c:
7652         * gst/gstmessage.h:
7653           doc fixes
7654
7655 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
7656
7657         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7658           fix div-by-zero
7659
7660 2005-08-26  Andy Wingo  <wingo@pobox.com>
7661
7662         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7663         element_set_state's return val.
7664         (test_2_elements): Add test that's been disabled for months.
7665
7666         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7667         can-activate-pull properties.
7668
7669         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7670         can-activate-pull properties. Implement is_seekable so fakesrc can
7671         operate in pull mode.
7672
7673         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7674         properties.
7675         (gst_base_sink_activate, gst_base_sink_activate_pull)
7676         (gst_base_sink_activate_push): Make activation mode choosing work.
7677         Cleanups.
7678         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7679         is right. Make pull mode work. Post an eos before pausing in pull
7680         mode.
7681         (gst_base_sink_change_state): Pay attention to the core's
7682         change_state() return val.
7683         
7684         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7685         has-getrange properties. Cleanups.
7686         
7687         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7688         has_getrange and replace with can_activate_pull and
7689         can_activate_push.
7690
7691         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7692         locking comments. Remove has_loop, has_chain and replace with
7693         can_activate_pull and can_activate_push.
7694
7695 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
7696
7697         * configure.ac:
7698         * examples/Makefile.am:
7699         * examples/metadata/Makefile.am:
7700         * examples/metadata/read-metadata.c: (message_loop),
7701         (have_pad_handler), (make_pipeline), (print_tag), (main):
7702           Add metadata reading example that loops over a list of filenames,
7703           dumping any tags found.
7704
7705         * gst/gstbus.c: (gst_bus_dispose):
7706         * gst/gstelement.c: (gst_element_dispose):
7707           Release a few potentially-held references in dispose.
7708
7709 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7710
7711         * docs/gst/tmpl/gstminiobject.sgml:
7712           do *not* add tmpl/*.sgml files to CVS!
7713
7714 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7715
7716         * libs/gst/bytestream/.cvsignore:
7717         * libs/gst/bytestream/Makefile.am:
7718         * libs/gst/bytestream/adapter.c:
7719         * libs/gst/bytestream/adapter.h:
7720         * libs/gst/bytestream/bytestream.c:
7721         * libs/gst/bytestream/bytestream.h:
7722         * libs/gst/bytestream/filepad.c:
7723         * libs/gst/bytestream/filepad.h:
7724           removing obsolete files
7725
7726 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7727
7728         * docs/gst/gstreamer-docs.sgml:
7729         * docs/libs/gstreamer-libs-docs.sgml:
7730           disabed additional index entries again, as this makes docs-gen just
7731           slow and they aren't useful yet
7732         * docs/libs/gstreamer-libs-sections.txt:
7733           little -section.txt cleanup for libs
7734
7735 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7736
7737         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7738         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7739           fix up some debugging
7740         (gst_base_transform_get_unit_size),
7741         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7742         (gst_base_transform_handle_buffer):
7743         * gst/base/gstbasetransform.h:
7744           handle and store timed NEWSEGMENT events so that subclasses that
7745           calculate time by counting samples have a segment_start time they
7746           need to add to their timestamps - see audioresample
7747
7748 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
7749
7750         * gst/gstbin.h:
7751           removed ';' from the end of macro defs
7752         * docs/gst/gstreamer-docs.sgml:
7753         * docs/gst/gstreamer-sections.txt:
7754         * docs/gst/tmpl/.cvsignore:
7755         * gst/gstbus.h:
7756         * gst/gstelement.c: (gst_element_class_init),
7757         (gst_element_set_state), (activate_pads),
7758         (gst_element_save_thyself):
7759         * gst/gstevent.c: (gst_event_new_newsegment):
7760         * gst/gstevent.h:
7761         * gst/gstiterator.c:
7762         * gst/gstiterator.h:
7763         * gst/gstpad.c:
7764         * gst/gstprobe.h:
7765         * gst/gstutils.c: (gst_pad_query_convert):
7766         * gst/gstutils.h:
7767           fixed parameter name mismatches between source, header and docs
7768           added some more docs, resolved the last batch of unused elements in
7769           docs (now someone needs to doc them)
7770
7771 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7772
7773         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7774         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7775           don't walk through the plugins backwards.  Where is all this
7776           reversed logic coming from ?
7777
7778 2005-08-25  Wim Taymans  <wim@fluendo.com>
7779
7780         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7781         (gst_base_transform_transform_size),
7782         (gst_base_transform_configure_caps),
7783         (gst_base_transform_get_unit_size),
7784         (gst_base_transform_buffer_alloc),
7785         (gst_base_transform_change_state):
7786         * gst/base/gstbasetransform.h:
7787         Cache caps unit_size.
7788         Make sure we cannot negotiate up and downstream at the
7789         same time.
7790
7791 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7792
7793         * gst/gst.c: (init_pre), (init_post):
7794           register the installed plugin path after the env var
7795         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7796         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7797           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7798           directories, so the tests can prefer uninstalled over installed
7799
7800 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
7801
7802         * gst/base/gstbasetransform.h:
7803           comment
7804         * gst/gstpad.c:
7805           add to docs
7806
7807 2005-08-25  Wim Taymans  <wim@fluendo.com>
7808
7809         * gst/gstbin.c: (bin_bus_handler):
7810         Be a bit more conservative about the posted message.
7811         
7812         * gst/gstbus.c: (gst_bus_post):
7813         Some cleanups, warn wrong return values.
7814
7815 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
7816
7817         * check/gst/gstbin.c: (GST_START_TEST):
7818         * gst/gstbin.c: (bin_bus_handler):
7819         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7820         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7821         (gst_message_new_warning), (gst_message_new_tag),
7822         (gst_message_new_state_changed), (gst_message_new_segment_start),
7823         (gst_message_new_segment_done), (gst_message_new_custom):
7824         * gst/gstmessage.h:
7825         * tools/gst-launch.c: (event_loop):
7826         * tools/gst-md5sum.c: (event_loop):
7827           Revert unpopular change for GST_MESSAGE_SRC to GObject.
7828
7829 2005-08-25  Wim Taymans  <wim@fluendo.com>
7830
7831         * check/generic/states.c: (GST_START_TEST):
7832         Cleanup can be done at the end.
7833
7834         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7835         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7836         (gst_task_get_state), (gst_task_start), (gst_task_pause):
7837         Oh boy.. Thanks for finding this, Thomas. 
7838
7839 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7840
7841         * docs/gst/gstreamer.types:
7842           added missing types
7843
7844 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
7845
7846         * docs/gst/gstreamer-docs.sgml:
7847         * docs/gst/gstreamer-sections.txt:
7848         * docs/gst/tmpl/.cvsignore:
7849         * gst/gstbin.c:
7850         * gst/gstiterator.c:
7851         * gst/gstutils.c:
7852         * gst/registries/gstxmlregistry.h:
7853           added missing classes and symbols (123 more to go)
7854           removed removed symbols from section file
7855           fixed many doc-comments
7856
7857 2005-08-24  Wim Taymans  <wim@fluendo.com>
7858
7859         * check/generic/states.c: (GST_START_TEST):
7860         Make sure all tasks are stopped.
7861
7862         * check/gst/gstbin.c: (GST_START_TEST):
7863         Unref after usage for proper valgrinding.
7864
7865         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7866         Really wait for the task to stop before destroying the
7867         mutex.
7868
7869         * gst/gstqueue.c: (gst_queue_sink_activate_push),
7870         (gst_queue_src_activate_push):
7871         Small cleanups. Don't stop the task when we did not start
7872         it.
7873
7874         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7875         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7876         (gst_task_get_state), (gst_task_start), (gst_task_pause),
7877         (gst_task_join):
7878         * gst/gsttask.h:
7879         Protect the stream lock with the object lock.
7880         Disallow setting the stream lock when running.
7881         Add cleanup_all to wait for the threadpool to finish.
7882         Remove code to autoallocate a mutex if none was provided.
7883         Add _join() to wait for a task to stop.
7884         Protect the thread pool with a global lock.
7885
7886 2005-08-24  Wim Taymans  <wim@fluendo.com>
7887
7888         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7889         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7890         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7891         * gst/base/gstbasesink.h:
7892         Handle newsegment events correctly.
7893         Drop buffers out of the segment range.
7894
7895 2005-08-22  Andy Wingo  <wingo@pobox.com>
7896
7897         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7898         macro, implements an interface and gstimplementsinterface for a
7899         new type.
7900
7901 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7902
7903         * check/Makefile.am:
7904         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7905           add a test that does a bunch of state changes on elements
7906           needs some fixing for valgrind
7907         * check/states/sinks.c: (gst_object_suite):
7908           whitespace
7909         * gst/gstcaps.h:
7910           add prototype for gst_caps_is_equal_fixed
7911         * gst/gstplugin.c:
7912         * gst/gstregistrypool.c:
7913           doc fixes
7914
7915 2005-08-24  Andy Wingo  <wingo@pobox.com>
7916
7917         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7918         convert a negative value. Doesn't make much sense. Mostly this is
7919         here to force callers to ensure -1 maps to -1.
7920
7921 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7922
7923         * docs/pwg/advanced-types.xml:
7924           Well done to Michael for catching my deliberate introduction
7925           of this spelling mistake. 
7926         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7927         * gst/gstelement.h:
7928           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7929           unlink pads before removing the element from the bin.
7930
7931 2005-08-24  Andy Wingo  <wingo@pobox.com>
7932
7933         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7934         the same thing as GST_DEBUG=*:4.
7935         (parse_debug_level, parse_debug_category): New helper parsers.
7936
7937 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7938
7939         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7940         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7941         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7942         (gst_base_transform_buffer_alloc),
7943         (gst_base_transform_handle_buffer):
7944           use gboolean return values and pointers to size so we can use the
7945           full GST_BUFFER_SIZE range (guint) for buffer sizes
7946           use GstPadDirection for transform_caps
7947         * gst/base/gstbasetransform.h:
7948           rename get_size to get_unit_size since that's what it is
7949         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7950           use GstPadDirection for transform_caps
7951         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7952         * gst/gstutils.h:
7953           cleanup and debugging
7954
7955 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
7956
7957         * gst/gstelement.c: (gst_element_class_init),
7958         (gst_element_set_state), (activate_pads),
7959         (gst_element_save_thyself):
7960         * tools/gst-compprep.c: (main):
7961         * tools/gst-inspect.c: (print_element_properties_info):
7962         * tools/gst-xmlinspect.c: (print_element_properties):
7963           Fixed long standing mem-leak
7964
7965 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7966
7967         * check/gst/gstbin.c: (GST_START_TEST):
7968         * gst/gstbin.c: (bin_bus_handler):
7969         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7970         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7971         (gst_message_new_warning), (gst_message_new_tag),
7972         (gst_message_new_state_changed), (gst_message_new_segment_start),
7973         (gst_message_new_segment_done), (gst_message_new_custom):
7974         * gst/gstmessage.h:
7975         * tools/gst-launch.c: (event_loop):
7976         * tools/gst-md5sum.c: (event_loop):
7977           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7978           that applications can sensibly post custom messages with references
7979           to their own objects.
7980
7981 2005-08-24  Andy Wingo  <wingo@pobox.com>
7982
7983         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7984         already.
7985
7986 2005-08-24  Wim Taymans  <wim@fluendo.com>
7987
7988         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7989         (gst_base_transform_transform_caps),
7990         (gst_base_transform_transform_size),
7991         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7992         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7993         (gst_base_transform_handle_buffer):
7994         * gst/base/gstbasetransform.h:
7995         Many fixes and new features added by Thomas. Can now also do
7996         transforms with variable sizes and a custom fixate_caps function.
7997
7998 2005-08-24  Wim Taymans  <wim@fluendo.com>
7999
8000         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8001         Some debugging.
8002
8003         * gst/gstclock.h:
8004         Cast to ClockTime before formatting to time.
8005
8006         * gst/gstutils.h:
8007         Cleanups.
8008
8009 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
8010
8011         * check/gst-libs/controller.c: (GST_START_TEST),
8012         (gst_controller_suite):
8013         * docs/gst/tmpl/gstcaps.sgml:
8014         * docs/gst/tmpl/gstghostpad.sgml:
8015         * docs/gst/tmpl/gstquery.sgml:
8016         * docs/gst/tmpl/gstutils.sgml:
8017         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
8018         (gst_object_sink_values), (gst_object_get_value_arrays),
8019         (gst_object_get_value_array):
8020           gracefully handle helper method calls to objects that are not beeing
8021           controlled, added test case for that          
8022
8023 2005-08-23  Wim Taymans  <wim@fluendo.com>
8024
8025         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
8026         (gst_event_new_newsegment), (gst_event_parse_newsegment),
8027         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
8028         (gst_event_parse_qos), (gst_event_new_seek),
8029         (gst_event_parse_seek):
8030         * gst/gstevent.h:
8031         Some more debugging output and doc cleanups.
8032
8033         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8034         Fix possible deadlock.
8035
8036 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
8037
8038         * docs/gst/gstreamer-docs.sgml:
8039         * docs/gst/gstreamer-sections.txt:
8040         * docs/gst/gstreamer.types:
8041         * docs/gst/tmpl/.cvsignore:
8042         * gst/gstbin.h:
8043         * gst/gstbus.c:
8044         * gst/gstelement.c:
8045         * gst/gstevent.h:
8046           added 100 symbols from gstreamer-unused.txt to the right sections
8047           fixed more broken comments
8048           added GstBus to docs
8049
8050 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
8051
8052         * docs/gst/gstreamer-sections.txt:
8053         * docs/gst/tmpl/.cvsignore:
8054         * docs/gst/tmpl/gstbin.sgml:
8055         * docs/gst/tmpl/gstbuffer.sgml:
8056         * gst/base/gstbasesrc.c:
8057         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
8058         * gst/gstbuffer.c:
8059         * gst/gstbuffer.h:
8060         * tools/gst-launch.1.in:
8061           inlined more doc comments, added missing comments and fixed comments
8062           fixed typos
8063
8064 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8065
8066         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8067           some debugging
8068         * gst/gstcaps.h:
8069           whitespace fixes
8070         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
8071           more debugging
8072         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
8073         * gst/gststructure.h:
8074           add a fixate function for booleans; add a FIXME that these func
8075           names should probably be gst_structure_fixate_*
8076
8077 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
8078
8079         * docs/gst/gstreamer-docs.sgml:
8080         * docs/gst/gstreamer-sections.txt:
8081         * gst/Makefile.am:
8082         * gst/gstbin.c: (gst_bin_get_type),
8083         (gst_bin_child_proxy_get_child_by_index),
8084         (gst_bin_child_proxy_get_children_count),
8085         (gst_bin_child_proxy_init):
8086         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
8087         (gst_child_proxy_get_child_by_index),
8088         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
8089         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
8090         (gst_child_proxy_get), (gst_child_proxy_set_property),
8091         (gst_child_proxy_set_valist), (gst_child_proxy_set),
8092         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
8093         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
8094         * gst/gstchildproxy.h:
8095         * gst/parse/grammar.y:
8096         * tools/gst-inspect.c: (print_interfaces),
8097         (print_element_properties_info), (print_element_info):
8098           ported gstchildproxy over from 0.8
8099           ported gst-inspect fixes and enhancements over from 0.8
8100
8101 2005-08-22  Wim Taymans  <wim@fluendo.com>
8102
8103         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8104         (gst_base_transform_handle_buffer):
8105         Also call the transform function if we have ANY caps.
8106
8107         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
8108         Fix debug info.
8109
8110 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
8111
8112         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
8113           Don't pretend to handle seek events if the source is not seekable
8114
8115 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
8116
8117         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8118           Remove extra parameter to debug output
8119
8120         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8121         (gst_base_src_do_seek), (gst_base_src_activate_push):
8122           Fix seek event handling.
8123
8124         * gst/gstpipeline.c: (gst_pipeline_change_state):
8125         * gst/gstqueue.c: (gst_queue_handle_sink_event),
8126         (gst_queue_src_activate_push):
8127           Don't start the src pad task on FLUSH_STOP if the pad
8128           isn't linked.
8129           Debug changes.
8130
8131 2005-08-22  Wim Taymans  <wim@fluendo.com>
8132
8133         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8134         Added check for gst_static_caps_get() refcounting.
8135
8136 2005-08-22  Wim Taymans  <wim@fluendo.com>
8137
8138         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
8139         Make _static_caps_get() refcounting sane.
8140         
8141         * gst/gstelement.c: (gst_element_set_state):
8142         Add g_return_val_if_fail() to protect against segfaults.
8143
8144 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
8145
8146         * docs/gst/tmpl/gstevent.sgml:
8147         * gst/gstevent.c:
8148         * gst/gstevent.h:
8149           inlined remaining docs, added missing doc comments
8150
8151 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8152
8153         * check/gst/gstbin.c: (GST_START_TEST):
8154           since we don't know when preroll is done, use refcount range
8155           check for the sink
8156         * gst/check/gstcheck.h:
8157           add macro for checking refcount range
8158
8159 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8160
8161         * check/Makefile.am:
8162           clean up environment for when registry gets built versus
8163           when actual tests are run; valgrind seems to not report
8164           leaks if GST_PLUGIN_PATH is set to some specific values
8165         * check/gst/gstbin.c: (GST_START_TEST):
8166           add more refcounting checks; maybe this exposes a
8167           preroll lock bug ?
8168         * common/check.mak:
8169         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8170         * gst/check/gstcheck.h:
8171         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
8172         (gst_bin_change_state):
8173         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
8174           add/fix debugging/whitespace
8175
8176 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
8177
8178         * check/gst/gstevent.c: (event_probe), (test_event),
8179         (GST_START_TEST):
8180          Er, don't call gst_bin_watch_for_state_change you idiot.
8181
8182 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
8183
8184         * check/Makefile.am:
8185           Use CHECK_CFLAGS and CHECK_LIBS
8186         * check/gst/gstevent.c: (event_probe), (test_event),
8187         (GST_START_TEST):
8188           Don't leak events.
8189         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8190         (gst_base_src_start), (gst_base_src_stop),
8191         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8192         (gst_base_src_change_state):
8193           Sprinkle gst_base_src_stop liberally around error paths to fix
8194           problems reusing a source after failed state changes.
8195         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8196         (helper_find_suggest), (gst_type_find_helper):
8197           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
8198         * gst/gstevent.h:
8199         * docs/gst/tmpl/gstevent.sgml:
8200           Migrate part of the docs from the SGML file. Wait for ensonic to
8201           tell me how I did it wrong ;)
8202         * tools/gst-typefind.c: (main):
8203           Extra robustness to state changes between files.
8204
8205 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8206
8207         * check/Makefile.am:
8208           don't valgrind the controller test - it's leaking - Stefan, HELP
8209         * gst/check/gstcheck.c: (gst_check_message_error),
8210         (gst_check_chain_func), (gst_check_setup_element),
8211         (gst_check_teardown_element), (gst_check_setup_src_pad),
8212         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8213         (gst_check_teardown_sink_pad):
8214         * gst/check/gstcheck.h:
8215           add a bunch of methods to set up elements, and src and sink pads
8216         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
8217         * check/elements/identity.c: (setup_identity), (cleanup_identity),
8218         (GST_START_TEST):
8219           use them
8220         * gst/gstmessage.c:
8221         * gst/gsttag.h:
8222           whitespace/doc fixes
8223
8224 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8225
8226         * gst/gstelement.h:
8227           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
8228           be handled by the application and not always printed as well
8229
8230 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8231
8232         * check/Makefile.am:
8233           set GST_TOOLS_DIR
8234         * gst/check/gstcheck.c: (gst_check_message_error):
8235         * gst/check/gstcheck.h:
8236           add a fail_unless_equals_int
8237           add fail_unless for error messages
8238
8239 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8240
8241         * check/Makefile.am:
8242         * check/gst.supp:
8243         * common/Makefile.am:
8244         * common/check.mak:
8245         * common/gst.supp:
8246           factor out some of the common stuff so we can use it
8247
8248 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8249
8250         * check/Makefile.am:
8251         * check/gst/gstiterator.c: (GST_START_TEST):
8252         * check/gst/gstsystemclock.c: (GST_START_TEST),
8253         (gst_systemclock_suite):
8254         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8255         * gst/gstclock.c:
8256           valgrind more tests
8257
8258 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8259
8260         * check/elements/.cvsignore:
8261         * check/elements/gstfakesrc.c:
8262           rename to name of element
8263         * check/elements/identity.c: (chain_func), (event_func),
8264         (setup_identity), (cleanup_identity), (GST_START_TEST),
8265         (identity_suite), (main):
8266           add a test for identity
8267         * check/Makefile.am:
8268         * pkgconfig/Makefile.am:
8269         * pkgconfig/gstreamer-check.pc.in:
8270         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8271         * gst/check:
8272         * gst/Makefile.am:
8273         * configure.ac:
8274           move the check stuff to a library that gets installed
8275         * check/gst-libs/controller.c: (GST_START_TEST):
8276         * check/gst-libs/gdp.c:
8277         * check/gst/gst.c: (GST_START_TEST):
8278         * check/gst/gstbin.c:
8279         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8280         * check/gst/gstbus.c:
8281         * check/gst/gstcaps.c: (GST_START_TEST):
8282         * check/gst/gstelement.c:
8283         * check/gst/gstghostpad.c:
8284         * check/gst/gstiterator.c:
8285         * check/gst/gstmessage.c:
8286         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
8287         * check/gst/gstobject.c:
8288         * check/gst/gstpad.c: (GST_START_TEST):
8289         * check/gst/gststructure.c: (GST_START_TEST):
8290         * check/gst/gstsystemclock.c: (GST_START_TEST),
8291         (gst_systemclock_suite):
8292         * check/gst/gsttag.c: (gst_tag_suite):
8293         * check/gst/gstvalue.c:
8294         * check/pipelines/cleanup.c:
8295         * check/pipelines/simple_launch_lines.c:
8296         * check/states/sinks.c:
8297           change include statement
8298
8299         * docs/gst/gstreamer-sections.txt:
8300         * docs/gst/tmpl/gstpad.sgml:
8301           document more pad stuff
8302         * gst/gstminiobject.c: (gst_mini_object_ref),
8303         (gst_mini_object_unref):
8304           debug refcounting
8305
8306 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
8307
8308         * docs/gst/tmpl/gst.sgml:
8309         * gst/gst.c:
8310           eliminate another tmpl file, fix spelling in the long-description
8311
8312 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8313
8314         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8315         (test_event), (timediff), (gstevents_suite):
8316           Should fix build on 64-bit arch's
8317
8318 2005-08-18  Andy Wingo  <wingo@pobox.com>
8319
8320         Make sure that when a pipeline goes to PLAYING, that data has
8321         actually hit the sink.
8322
8323         * check/states/sinks.c (test_sink): A sink that doesn't get any
8324         data shouldn't return SUCCESS for going to either PLAYING or
8325         PAUSED. Test also the return values on the way back down.
8326
8327         * gst/gstelement.c (gst_element_set_state): When changing the
8328         state of an element currently changing state asynchronously, go to
8329         lost-state after commiting the pending state. Makes future calls
8330         to get_state continue to return ASYNC.
8331
8332         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8333         ASYNC when going to PLAYING if we still don't have preroll, as can
8334         happen with live sources.
8335
8336 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8337
8338         * docs/pwg/advanced-types.xml:
8339           Hack long paragraph into 2 chunks as a workaround for buggy
8340           jadetex version in sid and breezy that loops infinitely and
8341           eats all RAM.
8342
8343 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8344
8345         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8346         (test_event), (timediff), (gstevents_suite):
8347           Provide more error margin in clock measurements to allow for 
8348           g_get_current_time inaccuracies.
8349
8350 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8351
8352         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8353         (test_event), (timediff), (gstevents_suite):
8354            Fix error message output so I might be able to tell why the
8355            test works here but fails on the build farm.
8356
8357 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
8358
8359         * check/Makefile.am:
8360         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8361         (test_event), (timediff), (gstevents_suite), (main):
8362           I wrote a test!
8363
8364         * docs/design/part-seeking.txt:
8365           Spelling correction
8366
8367         * docs/gst/tmpl/gstevent.sgml:
8368         * docs/gst/tmpl/gstfakesrc.sgml:
8369           Docs updates.
8370
8371         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8372           Treat a buffer-without-newsegment the same as a receiving 
8373           a newsegment not in time format, and disable syncing to the clock
8374           with a warning.
8375
8376         * gst/gstbus.c: (gst_bus_set_sync_handler):
8377           Assert if anyone tries to replace the existing sync_handler for bus, 
8378           as only the owner should be setting it.
8379
8380         * gst/gstevent.h:
8381           Have a fixed set of custom event enums with events identified by
8382           their structure name (as in 0.8), rather than a free-for-all
8383           allowing collisions between enum values from different plugins.
8384
8385         * gst/gstpad.c: (gst_pad_class_init):
8386           Docs change.
8387           
8388         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8389           Handle out-of-band downstream events from the sending thread.
8390
8391 2005-08-17  Andy Wingo  <wingo@pobox.com>
8392
8393         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8394         play-timeout==0 to mean no timeout at all. In that case, don't
8395         bother with a get_state or a warning, just return directly, even
8396         if it's ASYNC.
8397
8398         * gst/base/gstbasetransform.c: Debug changes.
8399
8400         * gst/gstutils.h:
8401         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8402         ensure bins post state change messages. A bit of a hack but I can't
8403         think of a way to avoid it.
8404
8405         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8406
8407 2005-08-16  Andy Wingo  <wingo@pobox.com>
8408
8409         * gst/base/gstadapter.h:
8410         * gst/base/gstadapter.c (gst_adapter_take): New function, like
8411         peek() but you own the data. Not terribly efficient atm.
8412
8413 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8414
8415         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8416         (gst_element_found_tags):
8417         * gst/gstutils.h:
8418           Add two utility functions for tag handling.
8419
8420 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8421
8422         * docs/manual/advanced-dataaccess.xml:
8423         * docs/manual/basics-helloworld.xml:
8424           Fix docs to use _bin_add() before _link(), which fixes the examples
8425           with recent core versions (reported by Madhan Raj M
8426           <raj_madan@rediffmail.com>, #313199).
8427
8428 2005-08-16  Wim Taymans  <wim@fluendo.com>
8429
8430         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8431         Added subtract checks.
8432
8433         * docs/design/part-events.txt:
8434         Some more docs about newsegment
8435
8436         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8437         Fix FIXME
8438
8439         * gst/gstcaps.c: (gst_caps_to_string):
8440         Add comments, cleanups.
8441         
8442         * gst/gstelement.c: (gst_element_save_thyself):
8443         cleanups
8444         
8445         * gst/gstvalue.c: (gst_value_collect_int_range),
8446         (gst_string_unwrap), (gst_value_union_int_int_range),
8447         (gst_value_union_int_range_int_range),
8448         (gst_value_intersect_int_int_range),
8449         (gst_value_intersect_int_range_int_range),
8450         (gst_value_intersect_double_double_range),
8451         (gst_value_intersect_double_range_double_range),
8452         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8453         (gst_value_subtract_int_range_int),
8454         (gst_value_subtract_double_range_double),
8455         (gst_value_subtract_double_range_double_range),
8456         (gst_value_subtract_from_list), (gst_value_subtract_list),
8457         (gst_value_can_compare), (gst_value_compare_fraction):
8458         Cleanups, add comments, remove unneeded asserts.
8459
8460 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8461
8462         * tools/gst-launch.c: (event_loop):
8463           don't convert NULL structures to strings
8464
8465 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
8466
8467         * docs/gst/gstreamer-sections.txt:
8468           made some defines private
8469         * docs/gst/tmpl/gstconfig.sgml:
8470         * docs/gst/tmpl/gstqueue.sgml:
8471         * docs/gst/tmpl/gsttaglist.sgml:
8472         * docs/gst/tmpl/gsttypes.sgml:
8473         * docs/gst/tmpl/gstutils.sgml:
8474         * docs/pwg/appendix-porting.xml:
8475         * gst/base/gstbasesink.h:
8476         * gst/base/gstbasesrc.c:
8477         * gst/base/gstbasesrc.h:
8478         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8479         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8480         * gst/gstelement.c: (gst_element_class_init):
8481         * gst/gstpad.c: (gst_pad_class_init):
8482         * gst/gstqueue.c: (gst_queue_class_init):
8483         * gst/gstxml.c: (gst_xml_class_init):
8484           documented all undocumented signal inline
8485         * libs/gst/controller/gst-controller.h:
8486           added padding
8487
8488 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8489
8490         * docs/pwg/appendix-porting.xml:
8491           Document _set_link_function -> _set_setcaps_function.
8492
8493 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8494
8495         * check/Makefile.am:
8496           add a .check target for running the check
8497         * check/gst-libs/controller.c: (GST_START_TEST):
8498           cosmetic fixups
8499         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8500           complete checks for gstbuffer; would be nice if I could get the
8501           gcov stuff to work so I can see if I actually completed gstbuffer.c
8502         * check/gstcheck.h:
8503           add ASSERT_BUFFER_REFCOUNT
8504
8505 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
8506
8507         * docs/gst/gstreamer-sections.txt:
8508         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8509         * gst/gsttag.h:
8510           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8511           spew out a warning if a tag that is already registered
8512           is re-registered, unless it is re-registered with a 
8513           different type (#308438).
8514
8515 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
8516
8517         * docs/pwg/appendix-porting.xml:
8518         * docs/pwg/building-state.xml:
8519           Add some paragraphs about state changes in 0.9 to the PWG
8520           and the porting guide, in particular about the new meaning
8521           of GST_STATE_PAUSED and how to write state change functions
8522           with concurrent access by multiple threads in mind.
8523
8524 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
8525
8526         * docs/gst/gstreamer-docs.sgml:
8527         * docs/libs/gstreamer-libs-docs.sgml:
8528           added deprecation and since indexes
8529         * libs/gst/controller/gst-controller.c:
8530         * libs/gst/controller/gst-helper.c:
8531           added since tags
8532
8533
8534 2005-08-11  Wim Taymans  <wim@fluendo.com>
8535
8536         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8537         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8538         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8539         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8540         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8541         (gst_ghost_pad_set_target):
8542         Actually implement (re)setting the target on a ghostpad
8543         as described in the docs.
8544
8545 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8546
8547         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8548           Check whether GST_DEBUG_NO_COLOR environment variable is
8549           set and disable coloured debug output if that is the case.
8550
8551 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
8552
8553         * gst/base/gsttypefindhelper.c: (helper_find_peek),
8554         (gst_type_find_helper):
8555           The memory returned by gst_type_find_peek() needs to
8556           stay valid until the end of a typefind function, and
8557           typefind functions may keep results from different 
8558           offsets around, so we can't just unref the buffer from
8559           the previous _peek(), but have to save all buffers 
8560           returned by _peek() until typefinding is done and only
8561           free them then.
8562
8563 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8564
8565         * docs/gst/gstreamer-sections.txt:
8566         * gst/gstutils.h:
8567           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8568
8569 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8570
8571         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8572           Fix a pretty good memleak.
8573
8574 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8575
8576         * gst/gstiterator.h:
8577           Fix wrong include and 'make distcheck'.
8578
8579 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8580
8581         * gst/gstbin.c: (bin_bus_handler):
8582           Use gst_element_post_message() instead.
8583
8584 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8585
8586         * gst/base/gstadapter.h:
8587         * gst/base/gstbasesink.h:
8588         * gst/base/gstbasesrc.h:
8589         * gst/base/gstbasetransform.h:
8590         * gst/base/gstcollectpads.h:
8591         * gst/base/gstpushsrc.h:
8592         * gst/gstiterator.h:
8593           Add padding to our base elements' class and instance structs and
8594           to GstIterator (you will need to rebuild all plugins and apps!)
8595
8596 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8597
8598         * gst/gstbin.c: (bin_bus_handler):
8599           Make default message forwarding from child->bus to bin->bus
8600           threadsafe and make it not emit warnings if the parent has no bus.
8601
8602 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8603
8604         * gst/gstelement.c: (activate_pads):
8605           On paused->ready, set pad->caps to NULL, as is the documented
8606           behaviour in this state change. Fixes playback of series of
8607           media files when visualization is enabled in Totem.
8608
8609 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8610
8611         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8612           Allow NULL as filter-caps (which means "any").
8613
8614 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8615
8616         * docs/libs/gstreamer-libs-sections.txt:
8617         * libs/gst/controller/gst-controller.c:
8618         * libs/gst/controller/gst-controller.h:
8619         * libs/gst/controller/gst-helper.c:
8620           adding more entries to the docs and fix small doc-bugs
8621
8622 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8623
8624         * docs/gst/gstreamer-docs.sgml:
8625         * docs/gst/gstreamer-sections.txt:
8626         * docs/gst/gstreamer.types:
8627         * docs/gst/tmpl/gstbasesink.sgml:
8628         * docs/gst/tmpl/gstbasesrc.sgml:
8629         * docs/gst/tmpl/gstbasetransform.sgml:
8630         * docs/gst/tmpl/gstfakesrc.sgml:
8631         * gst/base/gstcollectpads.c:
8632         * gst/base/gstcollectpads.h:
8633         * libs/gst/controller/gst-controller.c:
8634         * libs/gst/controller/gst-controller.h:
8635         * libs/gst/controller/gst-helper.c:
8636         * libs/gst/controller/gst-interpolation.c:
8637         * libs/gst/controller/lib.c:
8638           added long/short desc for controller docs
8639           added collectpads base class docs
8640           added correct includes to base-class docs
8641
8642 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
8643
8644         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8645         (gst_test_mono_source_set_property),
8646         (gst_test_mono_source_class_init), (GST_START_TEST),
8647         (gst_controller_suite):
8648         * docs/gst/gstreamer-docs.sgml:
8649         * docs/gst/gstreamer-sections.txt:
8650         * docs/gst/gstreamer.types:
8651         * docs/libs/gstreamer-libs-docs.sgml:
8652         * docs/libs/gstreamer-libs-sections.txt:
8653         * gst/base/gstadapter.c:
8654         * libs/gst/controller/gst-controller.c:
8655         (gst_controlled_property_new), (gst_controlled_property_free),
8656         (gst_controller_new_valist),
8657         (gst_controller_remove_properties_valist),
8658         (gst_controller_sink_values), (_gst_controller_finalize):
8659         * libs/gst/controller/gst-controller.h:
8660         * libs/gst/controller/gst-helper.c:
8661         (gst_object_control_properties), (gst_object_uncontrol_properties),
8662         (gst_object_get_controller), (gst_object_set_controller),
8663         (gst_object_sink_values), (gst_object_get_value_arrays),
8664         (gst_object_get_value_array):
8665           more tests (and fixes) for the controller
8666           more docs for the controller
8667           integrated companies docs for the adapter 
8668
8669 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8670
8671         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8672         (GST_START_TEST), (fakesrc_suite):
8673           add tests for sizetype
8674
8675 2005-08-04  Andy Wingo  <wingo@pobox.com>
8676
8677         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8678         fixes buffer_alloc proxying among other things.
8679
8680         * gst/base/gstbasetransform.c:
8681         * gst/base/gstbasetransform.h:
8682         Revert patch to gstbasetransform from 7-28 removing
8683         delay_configure.
8684
8685         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8686         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8687         Semantics changed, should return not the size of the output buffer
8688         but the byte size of a buffer with a given caps.
8689
8690         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8691         debug object.
8692         (gst_base_transform_configure_caps): Don't set out_size here: (in,
8693         out) are not the pad caps until setcaps finishes.
8694         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8695         not-in-place case as well. Deal with changing from in-place to
8696         not-in-place within calling pad_alloc_buffer. Still a bit
8697         concerned about the overhead here...
8698
8699 2005-08-03  Andy Wingo  <wingo@pobox.com>
8700
8701         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8702         fixating is an error.
8703
8704 2005-08-04  Edward Hervey  <edward@fluendo.com>
8705
8706         * gst/base/gstadapter.h: 
8707         Added gst_adapter_get_type() to the header
8708
8709 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8710
8711         * check/Makefile.am:
8712         * check/gst-libs/controller.c:
8713         * libs/gst/controller/gst-controller.c:
8714         (gst_controller_new_valist):
8715           added check test suite for the controller
8716         * gst/base/gstpushsrc.c:
8717           fixed a doc typo
8718
8719 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8720
8721         * docs/gst/Makefile.am:
8722         * docs/gst/gstreamer-docs.sgml:
8723         * docs/gst/gstreamer-sections.txt:
8724         * docs/gst/gstreamer.types:
8725         * docs/gst/tmpl/gstfakesrc.sgml:
8726         * gst/base/README:
8727         * gst/base/gstbasesink.c:
8728         * gst/base/gstbasesink.h:
8729         * gst/base/gstbasesrc.c:
8730         * gst/base/gstbasesrc.h:
8731         * gst/base/gstbasetransform.c:
8732         * gst/base/gstpushsrc.c:
8733         * gst/base/gstpushsrc.h:
8734           add short/long description docs to base classes
8735           add pushsrc to the docs
8736           remove consolidated doc fragments
8737
8738 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
8739
8740         * configure.ac:
8741         * docs/libs/Makefile.am:
8742         * docs/libs/gstreamer-libs-docs.sgml:
8743         * docs/libs/gstreamer-libs-sections.txt:
8744         * docs/libs/gstreamer-libs.types:
8745         * examples/Makefile.am:
8746         * examples/controller/.cvsignore:
8747         * examples/controller/Makefile.am:
8748         * examples/controller/audio-example.c: (main):
8749         * libs/gst/Makefile.am:
8750         * libs/gst/controller/.cvsignore:
8751         * libs/gst/controller/Makefile.am:
8752         * libs/gst/controller/gst-controller.c:
8753         (on_object_controlled_property_changed), (gst_timed_value_compare),
8754         (gst_timed_value_find),
8755         (gst_controlled_property_set_interpolation_mode),
8756         (gst_controlled_property_new), (gst_controlled_property_free),
8757         (gst_controller_find_controlled_property),
8758         (gst_controller_new_valist), (gst_controller_new),
8759         (gst_controller_remove_properties_valist),
8760         (gst_controller_remove_properties), (gst_controller_set),
8761         (gst_controller_set_from_list), (gst_controller_unset),
8762         (gst_controller_get), (gst_controller_get_all),
8763         (gst_controller_sink_values), (gst_controller_get_value_arrays),
8764         (gst_controller_get_value_array),
8765         (gst_controller_set_interpolation_mode),
8766         (_gst_controller_finalize), (_gst_controller_init),
8767         (_gst_controller_class_init), (gst_controller_get_type):
8768         * libs/gst/controller/gst-controller.h:
8769         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8770         (g_object_uncontrol_properties), (g_object_get_controller),
8771         (g_object_set_controller), (g_object_sink_values),
8772         (g_object_get_value_arrays), (g_object_get_value_array):
8773         * libs/gst/controller/gst-interpolation.c:
8774         (gst_controlled_property_find_timed_value_node),
8775         (interpolate_none_get), (interpolate_trigger_get),
8776         (interpolate_trigger_get_value_array):
8777         * libs/gst/controller/lib.c: (gst_controller_init):
8778         * pkgconfig/Makefile.am:
8779         * pkgconfig/gstreamer-control-uninstalled.pc.in:
8780         * pkgconfig/gstreamer-control.pc.in:
8781         * testsuite/Makefile.am:
8782         * testsuite/controller/.cvsignore:
8783         * testsuite/controller/Makefile.am:
8784         * testsuite/controller/interpolator.c: (main):
8785           added controller code
8786           removed dparam pc files
8787
8788 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8789         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8790         (gst_collectpads_stop):
8791           Broadcast the condition when shutting down, to make sure we wake all
8792           threads up. Shut down pads on finalize, for safety.
8793
8794 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
8795         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8796         (gst_base_transform_handle_buffer),
8797         (gst_base_transform_change_state):
8798           Handle PAUSED->READY->PAUSED transition after negotiation
8799           occurred already.
8800         * gst/gstmessage.c: (gst_message_init):
8801           Extra piece of debug for new messages.
8802
8803 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
8804
8805         * configure.ac:
8806         * docs/gst/tmpl/gstbasesrc.sgml:
8807         * docs/gst/tmpl/gstelement.sgml:
8808         * docs/gst/tmpl/gstevent.sgml:
8809         * docs/gst/tmpl/gstfakesrc.sgml:
8810         * docs/gst/tmpl/gstformat.sgml:
8811         * docs/gst/tmpl/gstghostpad.sgml:
8812         * docs/gst/tmpl/gstpad.sgml:
8813         * docs/gst/tmpl/gstquery.sgml:
8814         * docs/gst/tmpl/gststructure.sgml:
8815         * docs/gst/tmpl/gsttaglist.sgml:
8816         * docs/gst/tmpl/gstvalue.sgml:
8817         * docs/libs/gstreamer-libs-docs.sgml:
8818         * docs/libs/gstreamer-libs-sections.txt:
8819         * docs/libs/gstreamer-libs.types:
8820         * libs/gst/Makefile.am:
8821         * libs/gst/control/.cvsignore:
8822         * libs/gst/control/Makefile.am:
8823         * libs/gst/control/control.c:
8824         * libs/gst/control/control.h:
8825         * libs/gst/control/dparam.c:
8826         * libs/gst/control/dparam.h:
8827         * libs/gst/control/dparam_smooth.c:
8828         * libs/gst/control/dparam_smooth.h:
8829         * libs/gst/control/dparamcommon.h:
8830         * libs/gst/control/dparammanager.c:
8831         * libs/gst/control/dparammanager.h:
8832         * libs/gst/control/dplinearinterp.c:
8833         * libs/gst/control/dplinearinterp.h:
8834         * libs/gst/control/unitconvert.c:
8835         * libs/gst/control/unitconvert.h:
8836         * testsuite/Makefile.am:
8837         * testsuite/dynparams/.cvsignore:
8838         * testsuite/dynparams/Makefile.am:
8839         * testsuite/dynparams/dparamstest.c:
8840         * tools/Makefile.am:
8841         * tools/gst-inspect.c: (print_element_info), (main):
8842         * tools/gst-xmlinspect.c: (print_element_info), (main):
8843           deactivate and remove dparams (libgstcontrol)
8844
8845 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8846
8847         * gst/elements/gsttypefindelement.c:
8848         (gst_type_find_element_have_type), (gst_type_find_element_init),
8849         (stop_typefinding), (gst_type_find_element_handle_event),
8850         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8851         * gst/elements/gsttypefindelement.h:
8852           Set caps on all outgoing buffers, not just the first one.
8853
8854 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8855
8856         * gst/elements/gsttypefindelement.c:
8857         (gst_type_find_element_have_type),
8858         (gst_type_find_element_check_set_buffer_caps),
8859         (gst_type_find_element_init), (stop_typefinding),
8860         (gst_type_find_element_handle_event),
8861         (gst_type_find_element_chain), (gst_type_find_element_getrange):
8862         * gst/elements/gsttypefindelement.h:
8863           Set caps on first outgoing buffer when we've found the type.
8864
8865 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
8866
8867         * docs/gst/gstreamer-docs.sgml:
8868         * docs/gst/gstreamer-sections.txt:
8869         * docs/gst/tmpl/gstscheduler.sgml:
8870         * docs/gst/tmpl/gstschedulerfactory.sgml:
8871           Remove some old cruft from docs.
8872
8873 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
8874
8875         * gst/gstpad.h:
8876           Fix inline docs for GstPadLinkReturn.
8877           
8878         * gst/gststructure.c: (gst_structure_has_name):
8879         * gst/gststructure.h:
8880         * docs/gst/gstreamer-sections.txt:
8881           New API: gst_structure_has_name().
8882
8883 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
8884
8885         * configure.ac:
8886           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8887           and _LARGEFILE_SOURCE in config.h as required. Do not 
8888           export those flags in our .pc files any longer (#142209).
8889
8890           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8891
8892         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8893         (gst_file_sink_do_seek), (gst_file_sink_event),
8894         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8895           Redo seek/tell calls with large file support in mind; add some
8896           debugging messages; add log message that tells us when large
8897           file support is unavailable or not enabled for some reason.
8898
8899         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8900           Add log message that tells us when large file support 
8901           is unavailable or not enabled for some reason.
8902
8903 2005-07-29  Wim Taymans  <wim@fluendo.com>
8904
8905         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8906         Added test for removing an element with ghostpad from a bin.
8907         Fixed test as current implementation does the right thing.
8908
8909         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8910         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8911         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8912         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8913         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8914         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8915         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8916         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8917         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8918         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8919         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8920         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8921         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8922         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8923         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8924         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8925         * gst/gstghostpad.h:
8926         Clean up ghostpads, remove properties for internal stuff.
8927         Make threadsafe.
8928         Fix refcounting.
8929         Prepare for switching targets, not all use cases work yet.
8930
8931 2005-07-29  Wim Taymans  <wim@fluendo.com>
8932
8933         * docs/design/part-gstghostpad.txt:
8934         Small update.
8935
8936         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8937         (gst_bin_remove_func):
8938         Unlinking pads while holding the bin LOCK is not a good
8939         idea.
8940
8941         * gst/gstpad.c: (gst_pad_class_init),
8942         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8943         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8944         No prob setting template after creating the pad.
8945
8946 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
8947
8948         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8949         (gst_bus_peek), (gst_bus_source_dispatch),
8950         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8951         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8952           gst_bus_poll may be called from other threads. Handle
8953           this nicely by not making poll_data disappear off the
8954           stack once gst_bus_poll returns.
8955           gst_bus_peek now increments the refcount on the returned
8956           message.
8957
8958 2005-07-29  Wim Taymans  <wim@fluendo.com>
8959
8960         * docs/design/part-gstghostpad.txt:
8961         Overview of current GhostPad datastructures and use
8962         cases for changing the target.
8963
8964 2005-07-28  Wim Taymans  <wim@fluendo.com>
8965
8966         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8967         Added checks for hierarchy consistency whan adding linked
8968         elements to bins.
8969
8970         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8971         Added check to test element scheduling without bin/pipeline.
8972
8973         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8974         First add elements to bin, then link.
8975         
8976         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8977         (gst_bin_remove_func):
8978         Unlink pads from elements added/removed from bin to maintain
8979         hierarchy consistency.
8980
8981 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8982
8983         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8984         (gst_base_transform_handle_buffer):
8985         * gst/base/gstbasetransform.h:
8986           Remove broken delay_configure (fixes renegotiation of software
8987           scaling pipelines); remove some leftover printf()s.
8988
8989 2005-07-28  Wim Taymans  <wim@fluendo.com>
8990
8991         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8992         Added some more tests for wrong hierarchy
8993
8994         * docs/design/part-overview.txt:
8995         Some updates.
8996
8997         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8998         Cleanups.
8999
9000         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
9001         (gst_element_dispose):
9002         Some more cleanups.
9003
9004         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9005         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
9006         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9007         (gst_pad_set_caps), (gst_pad_send_event):
9008         Check for correct hierarchy when linking pads. Moving to
9009         strict requirement for ghostpads when linking elements in
9010         different bins.
9011
9012         * gst/gstpad.h:
9013         Clean ups. Added WRONG_HIERARCHY return value.
9014
9015 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9016
9017         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9018           Better debug if no transform is possible.
9019
9020 2005-07-27  Wim Taymans  <wim@fluendo.com>
9021
9022         * docs/random/wtay/network-transp:
9023         Some old doc I had.
9024
9025 2005-07-27  Wim Taymans  <wim@fluendo.com>
9026
9027         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9028         (gst_dp_event_from_packet):
9029         Fix serialization of seek events.
9030
9031 2005-07-27  Wim Taymans  <wim@fluendo.com>
9032
9033         * check/gst-libs/gdp.c: (GST_START_TEST):
9034         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9035         Fix compilation and fix event serialization.
9036
9037 2005-07-27  Wim Taymans  <wim@fluendo.com>
9038
9039         * CHANGES-0.9:
9040         * docs/design/part-TODO.txt:
9041         * docs/design/part-events.txt:
9042         Some docs updates
9043
9044         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9045         (gst_base_sink_event), (gst_base_sink_do_sync),
9046         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9047         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9048         (gst_base_src_do_seek), (gst_base_src_event_handler),
9049         (gst_base_src_loop):
9050         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9051         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9052         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9053         (gst_base_transform_event), (gst_base_transform_handle_buffer),
9054         (gst_base_transform_set_passthrough),
9055         (gst_base_transform_is_passthrough):
9056         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9057         * gst/elements/gstfilesink.c: (gst_file_sink_event):
9058         Event updates.
9059
9060         * gst/gstbuffer.h:
9061         Use faster casts.
9062
9063         * gst/gstelement.c: (gst_element_seek):
9064         * gst/gstelement.h:
9065         Update gst_element_seek.
9066
9067         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
9068         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
9069         (gst_event_new_flush_start), (gst_event_new_flush_stop),
9070         (gst_event_new_eos), (gst_event_new_newsegment),
9071         (gst_event_parse_newsegment), (gst_event_new_tag),
9072         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
9073         (gst_event_parse_qos), (gst_event_new_seek),
9074         (gst_event_parse_seek), (gst_event_new_navigation):
9075         * gst/gstevent.h:
9076         Make GstEvent use GstStructure. Add parsing code, make sure the
9077         API is sufficiently generic.
9078         Mark possible directions of events and serialization.
9079
9080         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
9081         (_gst_message_copy), (gst_message_new_segment_start),
9082         (gst_message_new_segment_done), (gst_message_new_custom),
9083         (gst_message_parse_segment_start),
9084         (gst_message_parse_segment_done):
9085         Small cleanups.
9086
9087         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9088         (gst_pad_set_caps), (gst_pad_send_event):
9089         Update for new events. 
9090         Catch events sent in wrong directions.
9091
9092         * gst/gstqueue.c: (gst_queue_link_src),
9093         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9094         (gst_queue_handle_src_query):
9095         Event updates.
9096
9097         * gst/gsttag.c:
9098         * gst/gsttag.h:
9099         Remove event code from this file.
9100
9101         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9102         (gst_dp_event_from_packet):
9103         Event updates.
9104
9105 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9106
9107         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
9108         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9109         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
9110           Make debugging actually useful.
9111
9112 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9113
9114         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
9115         (gst_pad_fixate_caps):
9116           Implement default fixation once again, so that gst_pad_fixate()
9117           actually does anything at all. This probably needs to be some
9118           sort of a last resort, and use profile-based fixation first, but
9119           since that doesn't exist yet, this is the best we have. Fixes
9120           visualization in Totem.
9121
9122 2005-07-22  Wim Taymans  <wim@fluendo.com>
9123
9124         * docs/design/part-events.txt:
9125         Small update.
9126
9127         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9128         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
9129         (gst_base_sink_activate_pull):
9130         Some more comments.
9131
9132         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
9133         (gst_fake_src_create):
9134         Fix handoff marshall.
9135
9136         * gst/elements/gstidentity.c: (gst_identity_class_init),
9137         (gst_identity_transform_ip):
9138         We're a real inplace element.
9139
9140         * gst/gstbus.c: (gst_bus_post):
9141         Added some comments.
9142
9143         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
9144         * tests/muxing/case1.c: (main):
9145         * tests/sched/dynamic-pipeline.c: (main):
9146         * tests/sched/interrupt1.c: (main):
9147         * tests/sched/interrupt2.c: (main):
9148         * tests/sched/interrupt3.c: (main):
9149         * tests/sched/runxml.c: (main):
9150         * tests/sched/sched-stress.c: (main):
9151         * tests/seeking/seeking1.c: (event_received), (main):
9152         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9153         (main):
9154         * tests/threadstate/threadstate3.c: (main):
9155         * tests/threadstate/threadstate4.c: (main):
9156         * tests/threadstate/threadstate5.c: (main):
9157         Fix the tests.
9158
9159 2005-07-21  Wim Taymans  <wim@fluendo.com>
9160
9161         * docs/design/part-seeking.txt:
9162         Some small additions.
9163
9164         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9165         (gst_base_sink_get_times), (gst_base_sink_do_sync),
9166         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9167         * gst/base/gstbasesink.h:
9168         discont values are gint64, handle the math correctly.
9169
9170         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9171         Make the basesrc report error if the source pad is not linked.
9172
9173         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9174         (gst_queue_loop), (gst_queue_handle_src_query),
9175         (gst_queue_src_activate_push):
9176         Make queue collect data even if the srcpad is not linked.
9177         Start pushing out data as soon as it is linked.
9178
9179         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
9180         * gst/gstutils.h:
9181         Added gst_flow_get_name() to ease error reporting.
9182
9183 2005-07-20  Wim Taymans  <wim@fluendo.com>
9184
9185         * gst/gstmessage.c: (gst_message_new_segment_start),
9186         (gst_message_new_segment_done), (gst_message_parse_segment_start),
9187         (gst_message_parse_segment_done):
9188         * gst/gstmessage.h:
9189         Added a bunch of messages for advanced seeking.
9190
9191         * gst/parse/grammar.y:
9192         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
9193         (gst_dpman_state_changed):
9194         Fix some new-pad -> pad-added signals
9195
9196 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9197
9198         * docs/manual/appendix-porting.xml:
9199         * docs/pwg/appendix-porting.xml:
9200           Document new-pad/state-change signal renames and the FixedList
9201           type rename.
9202
9203 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9204
9205         * docs/manual/advanced-autoplugging.xml:
9206         * docs/manual/basics-helloworld.xml:
9207         * docs/manual/basics-pads.xml:
9208         * docs/random/ds/0.9-suggested-changes:
9209         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
9210         * gst/gstelement.h:
9211         * gst/gstevent.h:
9212         * gst/gstformat.h:
9213         * gst/gstquery.h:
9214         * gst/gststructure.c: (gst_structure_value_get_generic_type),
9215         (gst_structure_parse_array), (gst_structure_parse_value):
9216         * gst/gstvalue.c: (gst_type_is_fixed),
9217         (gst_value_list_prepend_value), (gst_value_list_append_value),
9218         (gst_value_list_get_size), (gst_value_list_get_value),
9219         (gst_value_transform_array_string), (gst_value_serialize_array),
9220         (gst_value_deserialize_array), (gst_value_intersect_array),
9221         (gst_value_is_fixed), (_gst_value_initialize):
9222         * gst/gstvalue.h:
9223           GstElement::new-pad -> pad-added, GstElement::state-change ->
9224           state-changed, GstValueFixedList -> GstValueArray, add format and
9225           flags as their own arguments in gst_element_seek() (should improve
9226           "bindeability"), remove function generators since they don't work
9227           under a whole bunch of compilers (they were deprecated already
9228           anyway).
9229
9230 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9231
9232         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
9233         (_gst_debug_register_funcptr):
9234         * gst/gstinfo.h:
9235           Fix illegal cast on some platforms (#309253).
9236
9237 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9238
9239         * gst/gstmessage.c: (gst_message_new_custom):
9240         * gst/gstmessage.h:
9241           Add _new_custom, make _new_application a macro to _new_custom.
9242
9243 2005-07-20  Wim Taymans  <wim@fluendo.com>
9244
9245         * gst/base/gstbasesrc.c: (gst_base_src_init),
9246         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9247         * gst/base/gstbasesrc.h:
9248         Add a gboolean to decide when to push out a discont.
9249
9250         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9251         (gst_queue_loop), (gst_queue_handle_src_query),
9252         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
9253         (gst_queue_set_property), (gst_queue_get_property):
9254         Some cleanups.
9255
9256         * tests/threadstate/threadstate1.c: (main):
9257         Make a thread test compile and run... very silly..
9258
9259
9260 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9261
9262         * docs/manual/appendix-porting.xml:
9263           Mention removal of libgstgconf-0.9.la and existence of gconf
9264           elements.
9265
9266 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9267
9268         * docs/pwg/advanced-clock.xml:
9269         * docs/pwg/appendix-porting.xml:
9270         * docs/pwg/intro-preface.xml:
9271         * docs/pwg/other-base.xml:
9272         * docs/pwg/other-manager.xml:
9273         * docs/pwg/other-nton.xml:
9274         * docs/pwg/other-ntoone.xml:
9275         * docs/pwg/other-oneton.xml:
9276         * docs/pwg/pwg.xml:
9277           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
9278           demuxer), remove n-to-n (was never written), fix some code examples
9279           and links and update the porting section to include all this.
9280
9281 2005-07-19  Wim Taymans  <wim@fluendo.com>
9282
9283         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
9284         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
9285         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
9286         (gst_queue_src_activate_push), (gst_queue_change_state),
9287         (gst_queue_get_property):
9288         * gst/gstqueue.h:
9289         Propagate GstFlowReturn more intelligently upstream and output
9290         an ERROR/EOS when streaming stopped due to fatal error.
9291
9292 2005-07-19  Wim Taymans  <wim@fluendo.com>
9293
9294         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9295         Don't block forever for the state change to complete, the
9296         pipeline already did with a sensible timeout.
9297
9298 2005-07-19  Wim Taymans  <wim@fluendo.com>
9299
9300         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9301         Make sure we never call the create function is we
9302         got deactivated.
9303
9304 2005-07-19  Andy Wingo  <wingo@pobox.com>
9305
9306         * gst/parse/parse.l: Attempt to solve bug #172815.
9307
9308 2005-07-19  Wim Taymans  <wim@fluendo.com>
9309
9310         * docs/design/part-clocks.txt:
9311         * docs/design/part-events.txt:
9312         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9313         Small docs updates.
9314         Only update the seeking values when we are not
9315         busy streaming.
9316
9317 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
9318
9319         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9320           Oops, ignore the result of gst_pad_push_event here.
9321
9322 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
9323
9324         * gst/base/gstbasesrc.c: (gst_base_src_loop),
9325         (gst_base_src_activate_push):
9326           Send discont event from the loop function, as pads
9327           aren't activated yet in the activate_push handler.
9328
9329         * gst/gstbin.c: (bin_bus_handler):
9330           Don't leak element name.
9331
9332 2005-07-18  Andy Wingo  <wingo@pobox.com>
9333
9334         * configure.ac: Use AS_LIBTOOL_TAGS.
9335
9336 2005-07-18  Wim Taymans  <wim@fluendo.com>
9337
9338         * docs/gst/gstreamer.types:
9339         Remove deleted types.
9340
9341 2005-07-18  Wim Taymans  <wim@fluendo.com>
9342
9343         * check/elements/gstfakesrc.c: (GST_START_TEST):
9344         * configure.ac:
9345         * gst/Makefile.am:
9346         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9347         (init_popt_callback):
9348         * gst/gst.h:
9349         * gst/gst_private.h:
9350         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9351         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9352         * gst/gstbin.h:
9353         * gst/gstbus.h:
9354         * gst/gstconfig.h.in:
9355         * gst/gstelement.c: (gst_element_class_init),
9356         (gst_element_set_base_time), (gst_element_get_base_time),
9357         (iterator_fold_with_resync), (gst_element_change_state),
9358         (gst_element_dispose), (gst_element_get_bus):
9359         * gst/gstelement.h:
9360         * gst/gstelementfactory.h:
9361         * gst/gsterror.c: (_gst_core_errors_init):
9362         * gst/gsterror.h:
9363         * gst/gstevent.h:
9364         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9365         * gst/gstindex.c:
9366         * gst/gstinfo.c: (_gst_debug_init):
9367         * gst/gstmessage.c: (_gst_message_copy):
9368         * gst/gstmessage.h:
9369         * gst/gstminiobject.h:
9370         * gst/gstobject.c:
9371         * gst/gstobject.h:
9372         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9373         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9374         * gst/gstpad.h:
9375         * gst/gstparse.h:
9376         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9377         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9378         (gst_pipeline_get_last_stream_time):
9379         * gst/gstpipeline.h:
9380         * gst/gstpluginfeature.h:
9381         * gst/gstquery.h:
9382         * gst/gstscheduler.c:
9383         * gst/gstscheduler.h:
9384         * gst/gststructure.h:
9385         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9386         (gst_task_finalize), (gst_task_func), (gst_task_create),
9387         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9388         (gst_task_stop), (gst_task_pause):
9389         * gst/gsttask.h:
9390         * gst/gsttypefind.h:
9391         * gst/gsttypes.h:
9392         * gst/registries/gstlibxmlregistry.c: (load_feature),
9393         (gst_xml_registry_load), (gst_xml_registry_save_feature):
9394         * gst/registries/gstxmlregistry.c:
9395         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9396         * gst/schedulers/threadscheduler.c:
9397         * libs/gst/control/dparammanager.h:
9398         * tools/gst-inspect.c: (print_element_list),
9399         (print_plugin_features), (print_element_features):
9400         * tools/gst-xmlinspect.c: (print_element_list),
9401         (print_plugin_info), (main):
9402         Removed plugable schedulers.
9403         Removed Scheduler/Manager from elements.
9404         Removed gsttypes.h, rearranged includes.
9405         Removed dependency pad<->element, element<>pipeline, and
9406         various others,  fix includes.
9407         implement gst_pad_get_parent() with gst_object_get_parent()
9408         Make GstTask sefcontained.
9409         Fix _get_state() on GstBin, it did not return ASYNC with a 0
9410         timeout.
9411         Fix endless loop in iterator_fold_with_resync.
9412
9413
9414 2005-07-18  Wim Taymans  <wim@fluendo.com>
9415
9416         * gst/Makefile.am:
9417         * gst/gstarch.h:
9418         Remove old file.
9419
9420 2005-07-18  Wim Taymans  <wim@fluendo.com>
9421
9422         * gst/Makefile.am:
9423         No more cothreads.h
9424
9425 2005-07-18  Wim Taymans  <wim@fluendo.com>
9426
9427         * gst/cothreads.c:
9428         * gst/cothreads.h:
9429         Let's remove these.
9430
9431 2005-07-18  Wim Taymans  <wim@fluendo.com>
9432
9433         * docs/design/part-dynamic.txt:
9434         * docs/design/part-events.txt:
9435         * docs/design/part-seeking.txt:
9436         Some more docs in the works.
9437
9438         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9439         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9440         (gst_base_transform_setcaps), (gst_base_transform_get_size),
9441         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9442         (gst_base_transform_handle_buffer),
9443         (gst_base_transform_sink_activate_push),
9444         (gst_base_transform_src_activate_pull),
9445         (gst_base_transform_set_passthrough),
9446         (gst_base_transform_is_passthrough):
9447         Refcounting fixes.
9448
9449         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9450         Cleanups.
9451
9452         * gst/gstevent.c: (gst_event_finalize):
9453         Set SRC to NULL.
9454
9455         * gst/gstutils.c: (gst_element_unlink),
9456         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9457         (gst_pad_proxy_setcaps):
9458         * gst/gstutils.h:
9459         Add _get_parent_element() to get a pads parent as an element.
9460
9461 2005-07-18  Wim Taymans  <wim@fluendo.com>
9462
9463         * check/gst/gstbin.c: (GST_START_TEST):
9464         Remove bogus test.
9465
9466 2005-07-18  Wim Taymans  <wim@fluendo.com>
9467
9468         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9469         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9470         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9471         (gst_base_sink_event), (gst_base_sink_do_sync),
9472         (gst_base_sink_chain), (gst_base_sink_loop),
9473         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9474         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9475         Refcounting fixes.
9476         Fix logic for returning ASYNC when not prerolled.
9477
9478 2005-07-18  Wim Taymans  <wim@fluendo.com>
9479
9480         * gst/gstqueue.c: (gst_queue_handle_sink_event):
9481         Fix nasty refcount bug.
9482
9483 2005-07-16 Philippe Khalaf <burger@speedy.org>
9484
9485         * gst/elements/gstfdsrc.c:
9486         * gst/elements/gstfdsrc.h:
9487         * gst/elements/gstelements.c:
9488         * gst/elements/Makefile.am:
9489         Ported fdsrc to 0.9.
9490
9491 2005-07-16  Wim Taymans  <wim@fluendo.com>
9492
9493         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9494         (gst_base_sink_do_sync):
9495         Fix compile error.
9496
9497 2005-07-16  Wim Taymans  <wim@fluendo.com>
9498
9499         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9500         (gst_base_sink_event), (gst_base_sink_get_times),
9501         (gst_base_sink_do_sync), (gst_base_sink_change_state):
9502         * gst/base/gstbasesink.h:
9503         Store and use discont values when syncing buffers as described
9504         in design docs.
9505         
9506         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9507         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9508         (gst_base_src_activate_push):
9509         Push discont event when starting.
9510
9511         * gst/elements/gstidentity.c: (gst_identity_transform):
9512         Small cleanups.
9513
9514         * gst/gstbin.c: (gst_bin_change_state):
9515         Small cleanups in base_time  distribution.
9516
9517         * gst/gstelement.c: (gst_element_set_base_time),
9518         (gst_element_get_base_time), (gst_element_change_state):
9519         * gst/gstelement.h:
9520         Added methods for the base_time of the element.
9521         Some MT fixes.
9522
9523         * gst/gstpipeline.c: (gst_pipeline_send_event),
9524         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9525         (gst_pipeline_get_last_stream_time):
9526         * gst/gstpipeline.h:
9527         MT fixes.
9528         Handle seeking as described in design doc, remove stream_time
9529         hack.
9530         Cleanups clock and stream_time selection code. Added accessors
9531         for the stream_time.
9532         
9533
9534 2005-07-16  Andy Wingo  <wingo@pobox.com>
9535
9536         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9537         (#305291).
9538
9539 2005-07-16  Wim Taymans  <wim@fluendo.com>
9540
9541         * check/gst/gstbin.c: (GST_START_TEST):
9542         Make elements silent as the deep_notify refs the
9543         parent, which might make the test fail.
9544
9545         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9546         Don't hold the lock for too long.
9547
9548 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
9549
9550         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9551           Don't unref the caps we passed to gst_caps_make_writable() after
9552           passing them. gst_caps_make_writable() will do that for us.
9553
9554 2005-07-15  Andy Wingo  <wingo@pobox.com>
9555
9556         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9557         (#157311).
9558
9559         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9560         own marshalling function for the handoff signal. Properly type the
9561         buffer as a buffer. Fixes some warnings. Should do a more general
9562         solution.
9563         (gst_identity_class_init): Plug into the right marshaller.
9564
9565 2005-07-15  Wim Taymans  <wim@fluendo.com>
9566
9567         * docs/design/part-TODO.txt:
9568         * docs/design/part-clocks.txt:
9569         * docs/design/part-element-sink.txt:
9570         * docs/design/part-events.txt:
9571         * docs/design/part-gstpipeline.txt:
9572         Updated docs, mostly DISCONT related.
9573
9574 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
9575
9576         * docs/pwg/building-pads.xml:
9577           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9578
9579 2005-07-15  Andy Wingo  <wingo@pobox.com>
9580
9581         * tools/gst-typefind.c: Update, add copyright block.
9582
9583         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9584         Normalize and truncate caps before fixation.
9585
9586         * gst/gstcaps.h:
9587         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9588         discards all but the first structure from its argument.
9589
9590 2005-07-15  Wim Taymans  <wim@fluendo.com>
9591
9592         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9593         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9594         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9595         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9596         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9597         (gst_base_transform_chain), (gst_base_transform_change_state),
9598         (gst_base_transform_set_passthrough),
9599         (gst_base_transform_is_passthrough):
9600         * gst/base/gstbasetransform.h:
9601         Make passthrough work using the bufferpools.
9602         Changed API a bit, subclasses have to write into a buffer
9603         provided by the base class.
9604         More debug info in nego functions.
9605         
9606         * gst/elements/gstidentity.c: (gst_identity_init),
9607         (gst_identity_transform):
9608         Port to new base class.
9609
9610 2005-07-15  Wim Taymans  <wim@fluendo.com>
9611
9612         * gst/gstmessage.c: (gst_message_new_state_changed):
9613         * tools/gst-launch.c: (event_loop), (main):
9614         Totally dump messages in -launch with the -m option.
9615         Fix message name for State messages,
9616
9617 2005-07-14  Wim Taymans  <wim@fluendo.com>
9618
9619         * gst/base/gstbasesrc.c: (gst_base_src_loop):
9620         Post error messages on errors.
9621
9622 2005-07-14  Wim Taymans  <wim@fluendo.com>
9623
9624         * gst/gstcaps.c: (gst_caps_do_simplify):
9625         Remove debug info.
9626
9627         * gst/gsterror.h:
9628         Define error for stream stopped.
9629
9630         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9631         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9632         Do proper return values.
9633
9634         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9635         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9636         (gst_pad_get_range):
9637         Better return values.
9638
9639         * gst/gstpad.h:
9640         Reorganise return values, add macro to check for fatal errors.
9641
9642         * gst/gstqueue.c: (gst_queue_chain):
9643         Return proper GstFlowReturn values,
9644
9645 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9646
9647         * docs/gst/gstreamer-sections.txt:
9648         * docs/gst/gstreamer.types:
9649         * docs/gst/tmpl/gst.sgml:
9650         * docs/gst/tmpl/gstbasesink.sgml:
9651         * docs/gst/tmpl/gstbasesrc.sgml:
9652         * docs/gst/tmpl/gstbasetransform.sgml:
9653         * docs/gst/tmpl/gstbin.sgml:
9654         * docs/gst/tmpl/gstbuffer.sgml:
9655         * docs/gst/tmpl/gstcaps.sgml:
9656         * docs/gst/tmpl/gstclock.sgml:
9657         * docs/gst/tmpl/gstcompat.sgml:
9658         * docs/gst/tmpl/gstconfig.sgml:
9659         * docs/gst/tmpl/gstelement.sgml:
9660         * docs/gst/tmpl/gstelementdetails.sgml:
9661         * docs/gst/tmpl/gstelementfactory.sgml:
9662         * docs/gst/tmpl/gstenumtypes.sgml:
9663         * docs/gst/tmpl/gsterror.sgml:
9664         * docs/gst/tmpl/gstevent.sgml:
9665         * docs/gst/tmpl/gstfakesink.sgml:
9666         * docs/gst/tmpl/gstfakesrc.sgml:
9667         * docs/gst/tmpl/gstfilesink.sgml:
9668         * docs/gst/tmpl/gstfilesrc.sgml:
9669         * docs/gst/tmpl/gstfilter.sgml:
9670         * docs/gst/tmpl/gstformat.sgml:
9671         * docs/gst/tmpl/gstghostpad.sgml:
9672         * docs/gst/tmpl/gstimplementsinterface.sgml:
9673         * docs/gst/tmpl/gstindex.sgml:
9674         * docs/gst/tmpl/gstindexfactory.sgml:
9675         * docs/gst/tmpl/gstinfo.sgml:
9676         * docs/gst/tmpl/gstiterator.sgml:
9677         * docs/gst/tmpl/gstmacros.sgml:
9678         * docs/gst/tmpl/gstmemchunk.sgml:
9679         * docs/gst/tmpl/gstminiobject.sgml:
9680         * docs/gst/tmpl/gstobject.sgml:
9681         * docs/gst/tmpl/gstpad.sgml:
9682         * docs/gst/tmpl/gstpadtemplate.sgml:
9683         * docs/gst/tmpl/gstparse.sgml:
9684         * docs/gst/tmpl/gstpipeline.sgml:
9685         * docs/gst/tmpl/gstplugin.sgml:
9686         * docs/gst/tmpl/gstpluginfeature.sgml:
9687         * docs/gst/tmpl/gstquery.sgml:
9688         * docs/gst/tmpl/gstqueue.sgml:
9689         * docs/gst/tmpl/gstregistry.sgml:
9690         * docs/gst/tmpl/gstregistrypool.sgml:
9691         * docs/gst/tmpl/gstscheduler.sgml:
9692         * docs/gst/tmpl/gstschedulerfactory.sgml:
9693         * docs/gst/tmpl/gststructure.sgml:
9694         * docs/gst/tmpl/gstsystemclock.sgml:
9695         * docs/gst/tmpl/gsttaglist.sgml:
9696         * docs/gst/tmpl/gsttagsetter.sgml:
9697         * docs/gst/tmpl/gsttrace.sgml:
9698         * docs/gst/tmpl/gsttrashstack.sgml:
9699         * docs/gst/tmpl/gsttypefind.sgml:
9700         * docs/gst/tmpl/gsttypefindfactory.sgml:
9701         * docs/gst/tmpl/gsttypes.sgml:
9702         * docs/gst/tmpl/gsturihandler.sgml:
9703         * docs/gst/tmpl/gsturitype.sgml:
9704         * docs/gst/tmpl/gstutils.sgml:
9705         * docs/gst/tmpl/gstvalue.sgml:
9706         * docs/gst/tmpl/gstversion.sgml:
9707         * docs/gst/tmpl/gstxml.sgml:
9708         * docs/libs/tmpl/gstcontrol.sgml:
9709         * docs/libs/tmpl/gstdataprotocol.sgml:
9710         * docs/libs/tmpl/gstdparam.sgml:
9711         * docs/libs/tmpl/gstdplinint.sgml:
9712         * docs/libs/tmpl/gstdpman.sgml:
9713         * docs/libs/tmpl/gstdpsmooth.sgml:
9714         * docs/libs/tmpl/gstgetbits.sgml:
9715         * docs/libs/tmpl/gstunitconvert.sgml:
9716         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9717         (gst_push_src_base_init), (gst_push_src_class_init),
9718         (gst_push_src_init), (gst_push_src_create):
9719         * gst/base/gstpushsrc.h:
9720         * gst/elements/gstelements.c:
9721         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9722         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9723         (gst_fake_sink_init), (gst_fake_sink_set_property),
9724         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9725         (gst_fake_sink_event), (gst_fake_sink_preroll),
9726         (gst_fake_sink_render), (gst_fake_sink_change_state):
9727         * gst/elements/gstfakesink.h:
9728         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9729         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9730         (gst_fake_src_base_init), (gst_fake_src_class_init),
9731         (gst_fake_src_init), (gst_fake_src_event_handler),
9732         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9733         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9734         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9735         (gst_fake_src_create_buffer), (gst_fake_src_create),
9736         (gst_fake_src_start), (gst_fake_src_stop):
9737         * gst/elements/gstfakesrc.h:
9738         * gst/elements/gstfilesink.c: (_do_init),
9739         (gst_file_sink_base_init), (gst_file_sink_class_init),
9740         (gst_file_sink_init), (gst_file_sink_dispose),
9741         (gst_file_sink_set_location), (gst_file_sink_set_property),
9742         (gst_file_sink_get_property), (gst_file_sink_open_file),
9743         (gst_file_sink_close_file), (gst_file_sink_query),
9744         (gst_file_sink_event), (gst_file_sink_render),
9745         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9746         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9747         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9748         * gst/elements/gstfilesink.h:
9749         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9750         (gst_file_src_class_init), (gst_file_src_init),
9751         (gst_file_src_finalize), (gst_file_src_set_location),
9752         (gst_file_src_set_property), (gst_file_src_get_property),
9753         (gst_file_src_map_region), (gst_file_src_map_small_region),
9754         (gst_file_src_create_mmap), (gst_file_src_create_read),
9755         (gst_file_src_create), (gst_file_src_is_seekable),
9756         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9757         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9758         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9759         (gst_file_src_uri_handler_init):
9760         * gst/elements/gstfilesrc.h:
9761           more autistic cleanliness in functions/names/defines
9762
9763 2005-07-13  Andy Wingo  <wingo@pobox.com>
9764
9765         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9766         source couldn't negotiate.
9767
9768         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9769         connections again.
9770
9771         * gst/gstutils.h:
9772         * gst/gstutils.c (gst_element_link_pads_filtered): New old
9773         function. I am channeling Hades. Put your boots on suckers!!!
9774
9775 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9776
9777         * testsuite/caps/Makefile.am:
9778         * testsuite/caps/value_compare.c:
9779         * testsuite/caps/value_intersect.c:
9780         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9781           move two testsuite apps over to the check dir
9782
9783 2005-07-12  Wim Taymans  <wim@fluendo.com>
9784
9785         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9786         Added more debug info in the negotiate process.
9787
9788         * gst/gstmessage.h:
9789         Prepare for segment playback.
9790
9791         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9792         Better debugging.
9793
9794         * gst/gstutils.c:
9795         Some more docs.
9796
9797         * tools/gst-launch.c: (main):
9798         NULL pipeline on errors.
9799
9800 2005-07-12  Andy Wingo  <wingo@pobox.com>
9801
9802         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9803         not it comes from a malloc region. Make sure our copy gets freed.
9804
9805 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9806
9807         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9808         * check/gst/gstmessage.c: (GST_START_TEST):
9809         * check/gst/gststructure.c: (GST_START_TEST),
9810         (gst_structure_suite), (main):
9811           more testing
9812         * gst/gstelement.c: (gst_element_message_full):
9813           clean up GError and debug string now that they get copied
9814         * gst/gstmessage.c: (gst_message_new_error),
9815         (gst_message_new_warning), (gst_message_parse_error),
9816         (gst_message_parse_warning):
9817           use GST_TYPE_G_ERROR for structure_new, and take copies of
9818           arguments, so that we don't mess up refcounting
9819
9820 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9821
9822         * check/Makefile.am:
9823           add per-test valgrind targets
9824         * check/gst-libs/gdp.c: (GST_START_TEST),
9825         (gst_data_protocol_suite), (main):
9826           clean up
9827
9828 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9829
9830         * check/Makefile.am:
9831           instate more valgrindable tests
9832         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9833         (GST_START_TEST), (fakesrc_suite):
9834         * check/gst/gstpad.c: (GST_START_TEST):
9835         * check/gst/gststructure.c: (GST_START_TEST):
9836           fix test leaks
9837         * docs/gst/tmpl/gstminiobject.sgml:
9838         * gst/gstpad.c: (gst_pad_finalize):
9839           fix the static mutex leak
9840
9841 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9842
9843         * check/Makefile.am:
9844           add two more tests for valgrinding
9845         * check/gst/gstvalue.c: (GST_START_TEST):
9846           test refcount of deserialized buffer, found a leak
9847         * docs/gst/gstreamer-docs.sgml:
9848         * docs/gst/gstreamer-sections.txt:
9849         * docs/gst/gstreamer.types:
9850         * docs/gst/tmpl/gstminiobject.sgml:
9851           add miniobject to docs
9852         * gst/gstminiobject.c:
9853           add some docs
9854         * gst/gstvalue.c: (gst_value_deserialize_buffer),
9855         (gst_string_unwrap):
9856           fix a hard-to-find invalid write for one of the tests
9857           fix a leak for deserialized buffers
9858
9859 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9860
9861         * docs/pwg/advanced-events.xml:
9862         * docs/pwg/advanced-request.xml:
9863         * docs/pwg/advanced-scheduling.xml:
9864         * docs/pwg/appendix-porting.xml:
9865         * docs/pwg/building-boiler.xml:
9866         * docs/pwg/intro-preface.xml:
9867         * docs/pwg/other-ntoone.xml:
9868           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9869           of example code and explanation for pad activation, loop() and
9870           getrange() functions and a bit more. Remove old comments pointing
9871           to loop-functions.
9872         * examples/pwg/Makefile.am:
9873           Add loop/getrange examples.
9874
9875 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9876
9877         * configure.ac:
9878           check for valgrind binary + some fixes
9879         * check/gst.supp:
9880           valgrind suppressions for the tests
9881         * check/Makefile.am:
9882           add a valgrind: target that valgrinds the unit tests
9883         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9884         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9885         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9886         * check/gst/gstghostpad.c:
9887           added some cleanup
9888         * check/gst/gstdata.c:
9889           removed
9890         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9891         (thread_unref), (gst_mini_object_suite), (main):
9892           added
9893         * gst/gst.c: (gst_deinit):
9894         * gst/gst.h:
9895           add a method to clean up.
9896         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9897         (gst_system_clock_obtain):
9898           allow for disposing the system clock.
9899         * tools/gst-launch.c: (main):
9900           deinit
9901
9902 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9903
9904         * docs/gst/tmpl/gstbasesrc.sgml:
9905         * docs/gst/tmpl/gstfakesrc.sgml:
9906         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9907         (gst_base_src_init), (gst_base_src_set_property),
9908         (gst_base_src_get_property), (gst_base_src_get_range),
9909         (gst_base_src_start):
9910         * gst/base/gstbasesrc.h:
9911           add num-buffers property
9912         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9913         (gst_fakesrc_init), (gst_fakesrc_set_property),
9914         (gst_fakesrc_get_property), (gst_fakesrc_create),
9915         (gst_fakesrc_start):
9916           remove num-buffers property
9917
9918 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9919
9920         * docs/gst/gstreamer-sections.txt:
9921         * docs/gst/tmpl/gstbasesink.sgml:
9922         * docs/gst/tmpl/gstbasesrc.sgml:
9923         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9924         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9925         (gst_base_sink_finalize), (gst_base_sink_set_clock),
9926         (gst_base_sink_set_property), (gst_base_sink_get_property),
9927         (gst_base_sink_handle_object), (gst_base_sink_event),
9928         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9929         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9930         (gst_base_sink_loop), (gst_base_sink_deactivate),
9931         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9932         (gst_base_sink_change_state):
9933         * gst/base/gstbasesink.h:
9934         * gst/base/gstbasesrc.h:
9935         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9936         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9937         (gst_filesink_init):
9938           more macro splitting
9939
9940 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9941
9942         * gst/gstelement.c: (gst_element_get_bus):
9943           add debug
9944         * tools/gst-launch.c: (check_intr), (event_loop):
9945           fix bus leaks
9946
9947 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9948
9949         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9950           fix a caps leak
9951
9952 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9953
9954         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9955         (gst_base_src_finalize):
9956           add finalize method and clean up properly
9957         * gst/gstpipeline.c: (gst_pipeline_dispose):
9958           add debug
9959
9960 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9961
9962         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9963         (gst_bin_suite):
9964           add more things to check
9965         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9966         * gst/gstelement.c:
9967           more debug
9968
9969 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9970
9971         * check/elements/gstfakesrc.c: (chain_func), (event_func),
9972         (GST_START_TEST), (fakesrc_suite):
9973         * check/gst-libs/gdp.c: (GST_START_TEST):
9974         * check/gst/gst.c: (GST_START_TEST):
9975         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9976         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9977         * check/gst/gstbus.c: (GST_START_TEST):
9978         * check/gst/gstcaps.c: (GST_START_TEST):
9979         * check/gst/gstdata.c: (GST_START_TEST):
9980         * check/gst/gstelement.c: (GST_START_TEST):
9981         * check/gst/gstghostpad.c: (GST_START_TEST):
9982         * check/gst/gstiterator.c: (GST_START_TEST):
9983         * check/gst/gstmessage.c: (GST_START_TEST):
9984         * check/gst/gstobject.c: (GST_START_TEST):
9985         * check/gst/gstpad.c: (GST_START_TEST):
9986         * check/gst/gststructure.c: (GST_START_TEST):
9987         * check/gst/gstsystemclock.c: (GST_START_TEST),
9988         (gst_systemclock_suite):
9989         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9990         * check/gst/gstvalue.c: (GST_START_TEST):
9991         * check/pipelines/cleanup.c: (GST_START_TEST):
9992         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9993         * check/states/sinks.c: (GST_START_TEST):
9994         * check/gstcheck.c: (gst_check_init):
9995         * check/gstcheck.h:
9996           add debugging category
9997           use GST_START_TEST now, so we add a debug line
9998
9999 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10000
10001         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
10002           add test for state change message on a bin
10003         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
10004           add another test
10005         * gst/gstbin.c: (gst_bin_init):
10006         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
10007         * gst/gstelement.c: (gst_element_post_message),
10008         (gst_element_set_state):
10009         * gst/gstelementfactory.c: (gst_element_factory_create):
10010         * gst/gstmessage.c: (gst_message_new):
10011         * gst/gstscheduler.c:
10012           various debugging additions and cleanups
10013
10014 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10015
10016         * check/Makefile.am:
10017         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
10018         (main):
10019           adding tests for elements
10020         * gst/gstelement.c: (gst_element_dispose):
10021
10022 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10023
10024         * gst/registries/gstlibxmlregistry.c: (load_feature):
10025           plug more leaks.  A simple gst_init() now is leakfree, yay.
10026
10027 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10028
10029         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
10030         (gst_xml_registry_load):
10031           plug another memleak
10032
10033 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10034
10035         * configure.ac:
10036           use GST_SET_ERROR_CFLAGS
10037         * docs/faq/cvs.xml:
10038           change to ERROR_CFLAGS
10039
10040 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10041
10042         * configure.ac:
10043           make GST_ERROR_CFLAGS overridable and re-enable Werror
10044         * docs/faq/cvs.xml:
10045           add a note about error CFLAGS
10046         * docs/gst/tmpl/gstfakesrc.sgml:
10047         * gst/elements/gstfakesrc.c:
10048           comment out some unused code
10049         * gst/gst.c: (split_and_iterate):
10050         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
10051         (load_feature):
10052           plug some memleaks
10053
10054 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10055
10056         * common/Makefile.am:
10057         * common/gtk-doc.mak:
10058         * docs/gst/Makefile.am:
10059           factor out gtk-doc.mak
10060
10061 2005-07-07  Wim Taymans  <wim@fluendo.com>
10062
10063         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
10064         (gst_thread_scheduler_dispose):
10065         Unlock the STREAM_LOCK completely.
10066
10067 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10068
10069         * check/Makefile.am:
10070         * check/elements/.cvsignore:
10071         * check/elements/gstfakesrc.c: (chain_func), (event_func),
10072         (START_TEST), (fakesrc_suite), (main):
10073         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10074         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10075         (gst_fakesrc_create), (gst_fakesrc_start):
10076         * gst/elements/gstfakesrc.h:
10077           adding a first element test
10078
10079 2005-07-07  Andy Wingo  <wingo@pobox.com>
10080
10081         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
10082         debug message.
10083
10084 2005-07-07  Wim Taymans  <wim@fluendo.com>
10085
10086         * gst/gstquery.c:
10087         * gst/gstquery.h:
10088         Remove old types
10089
10090 2005-07-07  Wim Taymans  <wim@fluendo.com>
10091
10092         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10093         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
10094         Allow subclasses to implement their own negotiation.
10095
10096 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
10097
10098         * docs/design/part-gstbin.txt:
10099         * docs/design/part-gstpipeline.txt:
10100           Update design notes to reflect the movement of
10101           responsibility for bus handling from GstPipeline to
10102           GstBin
10103
10104 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
10105
10106         * configure.ac:
10107           Remove unnecessary queue2/3/4 examples.
10108
10109 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
10110
10111         * examples/Makefile.am:
10112         * examples/helloworld/helloworld.c: (event_loop), (main):
10113         * examples/queue/queue.c: (event_loop), (main):
10114         * examples/queue2/queue2.c: (main):
10115           Update a couple of the examples to work again.
10116
10117         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10118         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
10119          Spelling corrections and extra debug.
10120         
10121         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
10122         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
10123         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
10124         * gst/gstbin.h:
10125         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
10126         (gst_pipeline_change_state):
10127         * gst/gstpipeline.h:
10128           Move the bus handler for children to the GstBin, and create a
10129           separate bus for receiving messages from children to the one the
10130           bus sends 'upwards' on.
10131
10132 2005-07-06  Wim Taymans  <wim@fluendo.com>
10133
10134         * gst/base/README:
10135         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10136         (gst_base_sink_handle_object), (gst_base_sink_loop),
10137         (gst_base_sink_change_state):
10138         * gst/base/gstbasesink.h:
10139         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10140         (gst_base_src_init), (gst_base_src_setcaps),
10141         (gst_base_src_getcaps), (gst_base_src_loop),
10142         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
10143         (gst_base_src_start), (gst_base_src_change_state):
10144         * gst/base/gstbasesrc.h:
10145         Make basesrc negotiate.
10146         Handle the case where preroll fails in basesink.
10147         Update README.
10148
10149 2005-07-06  Wim Taymans  <wim@fluendo.com>
10150
10151         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
10152         Implement the fixate function.
10153         Clean up acceptcaps.
10154
10155 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10156
10157         * docs/pwg/building-filterfactory.xml:
10158         * docs/pwg/pwg.xml:
10159           Remove never-written filter-factory chapter; I'll add the various
10160           base classes to part 4 ("other element types") later on.
10161
10162 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10163
10164         * docs/pwg/advanced-negotiation.xml:
10165         * docs/pwg/building-boiler.xml:
10166         * docs/pwg/building-pads.xml:
10167         * docs/pwg/pwg.xml:
10168         * examples/pwg/Makefile.am:
10169           Add a chapter on caps negotiation, simplify the original code
10170           samples a bit w.r.t. caps negotiation, add link to the advanced
10171           section. Add a bunch of examples showing different use cases of
10172           different types of caps negotiation. Upstream renegotiation isn't
10173           fully documented yet since nobody knows how that works.
10174
10175 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10176
10177         * check/gst/gstpad.c:
10178         * check/gstcheck.c:
10179         * gst/gstpad.c: (gst_pad_get_internal_links_default):
10180           if pad has no parent, return NULL as list of internal links
10181
10182 2005-07-05  Andy Wingo  <wingo@pobox.com>
10183
10184         * gst/elements/gstfilesrc.c:
10185         * gst/elements/gstfakesrc.c: 
10186         * gst/base/gstpushsrc.c:
10187         * gst/base/gstbasesrc.h: 
10188         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
10189         
10190 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
10191
10192         * Makefile.am:
10193           better report generation target (lcov needs a patch)
10194
10195 2005-07-05  Andy Wingo  <wingo@pobox.com>
10196
10197         * gst/elements, testsuite: Null if we got it...
10198
10199 2005-07-05  Wim Taymans  <wim@fluendo.com>
10200
10201         * configure.ac:
10202         * libs/gst/dataprotocol/Makefile.am:
10203         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
10204         * libs/gst/dataprotocol/dataprotocol.h:
10205         * pkgconfig/Makefile.am:
10206         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
10207         * pkgconfig/gstreamer-dataprotocol.pc.in:
10208         Ported dataprotol to 0.9. 
10209         Added pkgconfig files.
10210
10211 2005-07-05  Andy Wingo  <wingo@pobox.com>
10212
10213         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
10214         Default to returning TRUE for the case when tranform_caps returns
10215         a fixed caps, like for identity or volume.
10216
10217         * check/gst/gstbus.c (pound_bus_with_messages): 
10218         * check/gst/gstmessage.c (START_TEST): 
10219         * check/pipelines/simple_launch_lines.c (got_handoff): Application
10220         message API change.
10221
10222         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
10223         logic weaks here: always run transform_caps, trying passthrough
10224         operation only if the original caps intersects with the transform.
10225
10226         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
10227         source and sink caps.
10228
10229         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
10230         Intersect the peer caps with the pad template before going into
10231         transform_caps.
10232         (gst_base_transform_transform_caps): More debugging.
10233
10234         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
10235         src argument.
10236
10237 2005-07-04  Edward Hervey  <edward@fluendo.com>
10238
10239         * gst/gstutils.c:
10240         * gst/gstutils.h:
10241         (gst_pad_add_*_probe): now returns the signal id for better wrapping
10242         in bindings.
10243
10244 2005-07-04  Andy Wingo  <wingo@pobox.com>
10245
10246         * check/gst/gstpad.c: Only set explicit caps on pads.
10247
10248 2005-07-01  Andy Wingo  <wingo@pobox.com>
10249
10250         * tests/network-clock.scm: Commentary update.
10251
10252         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
10253         Didn't really make sense, not implementable with basetransform,
10254         etc.
10255         (gst_identity_transform): Unref inbuf via make_writable. Feeble
10256         attempt at implementing the sync property, needs an unlock method.
10257
10258         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
10259         New func, by default returns the same caps (the identity
10260         transformation).
10261         (gst_base_transform_getcaps): Uses transform_caps to return
10262         something sensible.
10263         (gst_base_transform_setcaps): Complicated logic to get caps on
10264         both pads, even if they are different, and to call set_caps once
10265         for every time both pads get their caps set.
10266         (gst_base_transform_handle_buffer): Give the ref to the transform
10267         function. Allows in-place modification of the buffer.
10268
10269         * gst/base/gstbasetransform.h (transform_caps): New class method.
10270         Given caps on one side, what can I do on the other.
10271         (set_caps): Take two caps, one for each side of the element.
10272
10273         * gst/gstpad.h:
10274         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
10275         caps in place. This is safe because we can check the mutability of
10276         the caps, and a good idea because fixate functions are just called
10277         as a matter of last resort. (Not actually implemented.)
10278         (gst_pad_set_caps): If the caps we're setting is actually the same
10279         as the existing pad caps, just update the pointer without calling
10280         setcaps. Assert that caps is either NULL or fixed, as per the
10281         docs.
10282
10283         * gst/gstghostpad.c: Update for fixate changes.
10284
10285 2005-07-02  Andy Wingo  <wingo@pobox.com>
10286
10287         * gst/gstcaps.c:
10288         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10289         two refcounts makes it immutable, which is enough. Doc more.
10290
10291 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
10292
10293         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10294           Put the mini_object into GValue as a mini_object,
10295           not a gpointer, since that's how we declared
10296           the signal.
10297
10298 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10299
10300         * examples/pwg/Makefile.am:
10301           Fix buildbot again.
10302
10303 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10304
10305         * docs/pwg/building-testapp.xml:
10306           Add extra check.
10307         * examples/pwg/Makefile.am:
10308           Fix buildbot.
10309
10310 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10311
10312         * configure.ac:
10313         * examples/Makefile.am:
10314         * examples/pwg/Makefile.am:
10315         * examples/pwg/extract.pl:
10316           Enable building the PWG examples.
10317         * docs/pwg/advanced-interfaces.xml:
10318           Add URI interface stub.
10319         * docs/pwg/advanced-types.xml:
10320         * docs/pwg/other-autoplugger.xml:
10321         * docs/pwg/appendix-porting.xml:
10322         * docs/pwg/pwg.xml:
10323           Add porting guide (mostly stubs), remove autoplugging (see ADM).
10324         * docs/pwg/building-boiler.xml:
10325         * docs/pwg/building-chainfn.xml:
10326         * docs/pwg/building-pads.xml:
10327         * docs/pwg/building-props.xml:
10328         * docs/pwg/building-state.xml:
10329         * docs/pwg/building-testapp.xml:
10330           Update the building-*.xml parts for 0.9 changes. All examples
10331           code blocks compile in examples/pwg/*.
10332
10333 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10334
10335         * docs/manual/advanced-autoplugging.xml:
10336         * docs/manual/appendix-checklist.xml:
10337         * docs/manual/appendix-integration.xml:
10338         * docs/manual/highlevel-components.xml:
10339           Fix playbin/decodebin examples, update docs a bit, mention bus
10340           instead of signals in various places, mention kmplayer and
10341           kaffeine since they have a working GStreamer backend in the KDE
10342           section.
10343
10344 2005-06-30  Wim Taymans  <wim@fluendo.com>
10345
10346         * CHANGES-0.9:
10347         * docs/design/draft-ghostpads.txt:
10348         * docs/design/draft-push-pull.txt:
10349         * docs/design/draft-query.txt:
10350         * docs/design/part-TODO.txt:
10351         * docs/design/part-query.txt:
10352         Added CHANGES-0.9 doc, updated status of other docs.
10353         
10354         * gst/gstquery.h:
10355         Remove "hmm" macro
10356
10357 2005-06-30  Wim Taymans  <wim@fluendo.com>
10358
10359         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10360         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10361         (gst_base_sink_change_state):
10362         * gst/base/gstbasesink.h:
10363         Some tweaks, only EOS and a buffer complete a preroll.
10364
10365 2005-06-30  Andy Wingo  <wingo@pobox.com>
10366
10367         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10368         activate_push down to the internal pad as well.
10369
10370 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
10371
10372         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10373
10374         * gst/gsttaginterface.c:
10375           Some documentation fixes (#307394 and #307397).
10376
10377 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
10378
10379         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10380
10381         * gst/gstvalue.c: (gst_value_intersect_list):
10382           Fix memleak (#309125).
10383
10384 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10385
10386         * docs/manual/advanced-dataaccess.xml:
10387           Fix fakesrc example to compile; doesn't work, bug somewhere...?
10388         * docs/manual/basics-pads.xml:
10389           Add reference for filtered caps to above chapter.
10390
10391 2005-06-30  Wim Taymans  <wim@fluendo.com>
10392
10393         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10394         (gst_bin_change_state):
10395         Probes are gone.
10396         Lame attempt at making the state change function a bit
10397         more readable.
10398
10399 2005-06-30  Wim Taymans  <wim@fluendo.com>
10400
10401         * docs/design/part-clocks.txt:
10402         * docs/design/part-element-sink.txt:
10403         * docs/design/part-events.txt:
10404         * docs/design/part-preroll.txt:
10405         * docs/design/part-states.txt:
10406         Some more tweeks and additions to the docs.
10407
10408 2005-06-30  Wim Taymans  <wim@fluendo.com>
10409
10410         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10411         (default_have_data), (gst_pad_class_init), (gst_pad_init),
10412         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10413         (gst_pad_check_pull_range), (gst_pad_get_range),
10414         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10415         * gst/gstpad.h:
10416         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10417         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10418         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10419         (gst_pad_remove_buffer_probe):
10420         Removed atomic operations, use existing LOCK.
10421         Move exception handling out of main code path.
10422
10423 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10424
10425         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10426         (silly_return_true_function), (gst_pad_class_init),
10427         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10428         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10429         (gst_pad_send_event):
10430           Fix accumulator, add default value by using _emitv() instead
10431           of _emit() for signal emission.
10432
10433 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10434
10435         * docs/manual/advanced-dataaccess.xml:
10436         * examples/manual/Makefile.am:
10437           Add probe example.
10438         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10439           Make work (??).
10440
10441 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
10442
10443         * gst/elements/gstfilesink.c: (gst_filesink_render):
10444           Simplify code so that we don't have to handle short
10445           writes and return GST_FLOW_ERROR if an error occured.
10446
10447 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10448
10449         * docs/gst/gstreamer-docs.sgml:
10450           Remove probes more.
10451
10452 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10453
10454         * docs/gst/gstreamer-sections.txt:
10455         * docs/gst/tmpl/gstpad.sgml:
10456         * docs/gst/tmpl/gstprobe.sgml:
10457         * gst/Makefile.am:
10458         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10459         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10460         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10461         (gst_pad_push_event), (gst_pad_send_event):
10462         * gst/gstpad.h:
10463         * gst/gstutils.c: (gst_pad_add_data_probe),
10464         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10465         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10466         (gst_pad_remove_buffer_probe):
10467         * gst/gstutils.h:
10468           Remove old probes, add new g-signal-based probes and some utility
10469           functions.
10470
10471 2005-06-29  Edward Hervey  <edward@fluendo.com>
10472
10473         * gst/gstelementfactory.c:
10474         * gst/gstutils.h:
10475         * gst/gstutils.c:
10476         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10477         the definition to the header file.
10478
10479 2005-06-29  Andy Wingo  <wingo@pobox.com>
10480
10481         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10482         plugins from the source directory.
10483
10484 2005-06-29  Wim Taymans  <wim@fluendo.com>
10485
10486         * docs/gst/tmpl/gstbuffer.sgml:
10487         * docs/gst/tmpl/gstclock.sgml:
10488         Some fixings for blantently wrong text.
10489
10490 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10491
10492         * check/Makefile.am:
10493         * gst/gst.c: (add_path_func), (init_pre):
10494         * gst/gstregistry.c: (gst_registry_add_path):
10495           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10496           only scan the GST_PLUGIN_PATH locations, and not add
10497           system locations
10498
10499 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10500
10501         * docs/gst/gstreamer-sections.txt:
10502         * docs/gst/tmpl/gstbasesrc.sgml:
10503         * gst/gstelement.c:
10504         * gst/gstelement.h:
10505         * gst/gstevent.c:
10506         * gst/gstutils.c:
10507           doc fixes
10508
10509 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10510
10511         * docs/manual/advanced-autoplugging.xml:
10512           Fix autoplugging example.
10513
10514 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10515
10516         * docs/manual/advanced-autoplugging.xml:
10517         * docs/manual/mime-world.fig:
10518           Try to get autoplugging working, fix type detection. Fix text
10519           in hello-world image.
10520
10521 2005-06-29  Wim Taymans  <wim@fluendo.com>
10522
10523         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10524         (gst_base_sink_change_state):
10525         Small debug line.
10526
10527         * gst/gstclock.h:
10528         map SIGNAL and BROADCAST to the right function.
10529
10530         * gst/gstobject.h:
10531         Remove redundant braces.
10532
10533         * gst/gstpad.c: (gst_pad_set_caps):
10534         Don't call setcaps function when reseting caps to NULL.
10535
10536         * gst/gstsystemclock.c: (gst_system_clock_dispose),
10537         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10538         (gst_system_clock_id_unschedule):
10539         Use BROADCAST as this is what we do.
10540
10541 2005-06-29  Wim Taymans  <wim@fluendo.com>
10542
10543         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10544         We are actually prerolling before commiting the state
10545         change. 
10546
10547 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10548
10549         * docs/manual/advanced-clocks.xml:
10550         * docs/manual/advanced-interfaces.xml:
10551         * docs/manual/advanced-metadata.xml:
10552         * docs/manual/advanced-position.xml:
10553         * docs/manual/advanced-schedulers.xml:
10554         * docs/manual/advanced-threads.xml:
10555         * docs/manual/appendix-porting.xml:
10556         * docs/manual/basics-bins.xml:
10557         * docs/manual/basics-bus.xml:
10558         * docs/manual/basics-elements.xml:
10559         * docs/manual/basics-helloworld.xml:
10560         * docs/manual/basics-pads.xml:
10561         * docs/manual/highlevel-components.xml:
10562         * docs/manual/manual.xml:
10563         * docs/manual/thread.fig:
10564           Update (until threads/scheduling) Application Development Manual;
10565           remove GstThread, add GstBus, add simple porting checklist, add
10566           documentation for tag writing, clocks, make all examples until this
10567           part compile and run.
10568         * examples/manual/Makefile.am:
10569           Update from changes to Application Development Manual; add bus
10570           example, remove thread example.
10571
10572 2005-06-28  Wim Taymans  <wim@fluendo.com>
10573
10574         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10575         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10576         (gst_bus_source_dispatch):
10577         Add debugging messages.
10578         Make internal methods static.
10579         Handle the case where the bus is flushed in the handler.
10580         
10581         * gst/gstelement.c: (gst_element_get_bus):
10582         Fix refcount in _get_bus();
10583
10584         * gst/gstpipeline.c: (gst_pipeline_change_state),
10585         (gst_pipeline_get_clock_func):
10586         Clock refcounting fixes.
10587         Handle the case where preroll timed out more gracefully.
10588         
10589         * gst/gstsystemclock.c: (gst_system_clock_dispose):
10590         Clean up the internal thread in dispose. This is needed
10591         for subclasses that actually get disposed.
10592         
10593         * gst/schedulers/threadscheduler.c:
10594         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10595         (gst_thread_scheduler_dispose):
10596         Free thread pool in dispose.
10597
10598 2005-06-28  Andy Wingo  <wingo@pobox.com>
10599
10600         * tests/network-clock-utils.scm (debug, print-event): New utils.
10601
10602         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10603         (*packet-loss*): Unified loss probability.
10604         (network-time): Report out-of-band events.
10605
10606         * tests/plot-data: Add support for out-of-band events. Hack it
10607         into this script instead of passing it down the pipe; should fix
10608         this later.
10609
10610 2005-06-28  Wim Taymans  <wim@fluendo.com>
10611
10612         * docs/gst/gstreamer.types:
10613         * docs/gst/tmpl/gstbasesrc.sgml:
10614         * docs/gst/tmpl/gstpad.sgml:
10615         Docs fixes.
10616
10617 2005-06-28  Wim Taymans  <wim@fluendo.com>
10618
10619         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10620         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10621         (gst_proxy_pad_do_fixatecaps):
10622         Correctly proxy the check_pull_range function.
10623
10624 2005-06-28  Andy Wingo  <wingo@pobox.com>
10625
10626         * tests/network-clock.scm: Removed need for slib.
10627         
10628 2005-06-28  Wim Taymans  <wim@fluendo.com>
10629
10630         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10631         (gst_basesink_preroll_queue_flush):
10632         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10633         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10634         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10635         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10636         (gst_proxy_pad_set_property):
10637         * gst/gstpad.c:
10638         * gst/gstpad.h:
10639         * gst/gstqueue.c: (gst_queue_init):
10640         The deprecated pad loop function is removed now.
10641
10642 2005-06-28  Andy Wingo  <wingo@pobox.com>
10643
10644         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10645         New parameters, simulate network packet loss.
10646
10647         * tests/network-clock-utils.scm: Initialize the RNG.
10648
10649 2005-06-28  Wim Taymans  <wim@fluendo.com>
10650
10651         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10652         (gst_basesink_event), (gst_basesink_deactivate):
10653         Flushing the preroll queue always needs to unlock the waiters.
10654
10655 2005-06-28  Edward Hervey  <edward@fluendo.com>
10656
10657         * gst/gstpipeline.c: (gst_pipeline_send_event): 
10658         Wheen a seek was successful on a pipeline, set the stream_time to the
10659         seek offset in order to have a synchronized stream_time.
10660
10661 2005-06-28  Wim Taymans  <wim@fluendo.com>
10662
10663         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10664         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10665         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10666         (gst_proxy_pad_do_fixatecaps):
10667         Call wrapper function instead of just calling the function
10668         pointers. This takes care of any locking and whatmore.
10669
10670 2005-06-28  Wim Taymans  <wim@fluendo.com>
10671
10672         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10673         (gst_pad_pull_range):
10674         * gst/gstpad.h:
10675         CONNECTED -> LINKED.
10676
10677 2005-06-28  Andy Wingo  <wingo@pobox.com>
10678
10679         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10680         source-munging commit!!!
10681
10682         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
10683         (gst_object_sink): Take gpointer arguments, not GstObject --
10684         avoids casts. Like GLib.
10685
10686         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10687         activate.
10688
10689 2005-06-27  Andy Wingo  <wingo@pobox.com>
10690
10691         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10692         remaining buffer.
10693
10694         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10695         returns a sorted copy of the trace list.
10696         (gst_alloc_trace_print_live): New API, only prints traces with
10697         live objects. Sort the list.
10698         (gst_alloc_trace_print_all): Sort the list.
10699         (gst_alloc_trace_print): Align columns.
10700
10701         * gst/elements/gstttypefindelement.c:
10702         * gst/elements/gsttee.c:
10703         * gst/base/gstbasesrc.c:
10704         * gst/base/gstbasesink.c:
10705         * gst/base/gstbasetransform.c:
10706         * gst/gstqueue.c: Adapt for pad activation changes.
10707
10708         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10709         sched.
10710         (gst_pipeline_dispose): Drop ref on sched.
10711
10712         * gst/gstpad.c (gst_pad_init): Set the default activate func.
10713         (gst_pad_activate_default): Push mode by default.
10714         (pre_activate_switch, post_activate_switch): New stubs, things to
10715         do before and after switching activation modes on pads.
10716         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10717         the pad's activate function to choose which mode to activate.
10718         Shortcut on deactivation and call the right function directly.
10719         (gst_pad_activate_pull): New API, (de)activates a pad in pull
10720         mode.
10721         (gst_pad_activate_push): New API, same for push mode.
10722         (gst_pad_set_activate_function) 
10723         (gst_pad_set_activatepull_function) 
10724         (gst_pad_set_activatepush_function): Setters for new API.
10725
10726         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10727         Trace all miniobjects.
10728         (gst_mini_object_make_writable): Unref the arg if we copy, like
10729         gst_caps_make_writable.
10730
10731         * gst/gstmessage.c (_gst_message_initialize): No trace init.
10732
10733         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
10734         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10735         Adapt for new pad API.
10736
10737         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10738
10739         * gst/gstelement.h:
10740         * gst/gstelement.c (gst_element_iterate_src_pads) 
10741         (gst_element_iterate_sink_pads): New API functions.
10742         
10743         * gst/gstelement.c (iterator_fold_with_resync): New utility,
10744         should fold into gstiterator.c in some form.
10745         (gst_element_pads_activate): Simplified via use of fold and
10746         delegation of decisions to gstpad->activate.
10747
10748         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10749         help in debugging.
10750
10751         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10752         class once in init, like gstmessage. Didn't run into this issue
10753         but it seems correct. Don't initialize a trace, gstminiobject does
10754         that.
10755
10756         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10757         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10758         to the bus.
10759         (assert_live_count): New util function, uses alloc traces to check
10760         cleanup.
10761
10762         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10763         To be modified when unlink drops the internal pad.
10764
10765 2005-06-27  Wim Taymans  <wim@fluendo.com>
10766
10767         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10768         (gst_bin_change_state):
10769         Cleanup the get_state() function a little, make sure it
10770         iterates the same set of elements.
10771         Added stub iterate_state_order().
10772
10773 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10774
10775         * docs/gst/gstreamer-docs.sgml:
10776         * docs/gst/gstreamer-sections.txt:
10777         * docs/gst/gstreamer.types:
10778         * docs/gst/tmpl/gstbasesink.sgml:
10779         * docs/gst/tmpl/gstbasesrc.sgml:
10780         * docs/gst/tmpl/gstbasetransform.sgml:
10781         * docs/gst/tmpl/gstelement.sgml:
10782         * docs/gst/tmpl/gstiterator.sgml:
10783         * gst/base/gstbasesrc.c:
10784         * gst/base/gstbasesrc.h:
10785         * gst/base/gstbasetransform.h:
10786         * gst/gstelement.c:
10787         * gst/gstiterator.h:
10788           adding basetransform and iterator docs
10789
10790 2005-06-27  Andy Wingo  <wingo@pobox.com>
10791
10792         * docs/design/part-activation.txt: Notes on how activation should
10793         work -- not quite implemented yet.
10794
10795 2005-06-25  Wim Taymans  <wim@fluendo.com>
10796
10797         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10798         At least get the chain function correct, needs more
10799         fixing.
10800
10801 2005-06-25  Wim Taymans  <wim@fluendo.com>
10802
10803         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10804         (gst_basesink_handle_object), (gst_basesink_event),
10805         (gst_basesink_do_sync), (gst_basesink_handle_event),
10806         (gst_basesink_change_state):
10807         * gst/gsttask.h:
10808         Right, two problems here: ghostpads don't take locks and
10809         glib _rec_mutex_lock_full() with depth==0 still locks.
10810         Catch illegal locking and g_warn them.
10811
10812 2005-06-25  Wim Taymans  <wim@fluendo.com>
10813
10814         * check/states/sinks.c: (START_TEST), (gst_object_suite):
10815         Have to check for completion now...
10816
10817 2005-06-25  Wim Taymans  <wim@fluendo.com>
10818
10819         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10820         (gst_basesink_handle_object), (gst_basesink_event),
10821         (gst_basesink_do_sync), (gst_basesink_handle_event),
10822         (gst_basesink_change_state):
10823         * gst/gstpad.h:
10824         Unlock STREAM_LOCK whatever the recursion was.
10825
10826 2005-06-25  Wim Taymans  <wim@fluendo.com>
10827
10828         * gst/base/gstbasesink.c: (gst_basesink_set_property),
10829         (gst_basesink_preroll_queue_empty),
10830         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10831         (gst_basesink_event), (gst_basesink_do_sync),
10832         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10833         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10834         (gst_basesink_change_state):
10835         Reworked the base sink, handle event and buffer serialisation
10836         correctly and removed possible deadlock.
10837         Handle EOS correctly.
10838
10839 2005-06-25  Wim Taymans  <wim@fluendo.com>
10840
10841         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10842         (gst_pipeline_change_state):
10843         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10844         Allow elements to post EOS in the state change function.
10845         Fix up -launch, make it exit the poll loop when the
10846         pipeline actually changed state.
10847         Fix up warning parsing in -launch.
10848
10849 2005-06-25  Wim Taymans  <wim@fluendo.com>
10850
10851         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10852         (gst_tee_sink_activate):
10853         Core takes STREAM_LOCK for us now.
10854
10855 2005-06-25  Wim Taymans  <wim@fluendo.com>
10856
10857         * gst/gstelement.c: (gst_element_get_state_func),
10858         (gst_element_set_state):
10859         * gst/gstelement.h:
10860         * gst/gstmessage.c: (gst_message_parse_error),
10861         (gst_message_parse_warning):
10862         Keep track of current target state while performing a state
10863         change so that subclasses can do something interesting.
10864         Fix parsing of warning/error messages when GError is NULL.
10865
10866 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10867
10868         * docs/gst/Makefile.am:
10869         * docs/gst/gstreamer-docs.sgml:
10870         * docs/gst/gstreamer-sections.txt:
10871         * docs/gst/gstreamer.types:
10872         * docs/gst/tmpl/gstbasesink.sgml:
10873         * docs/gst/tmpl/gstbasesrc.sgml:
10874         * docs/gst/tmpl/gstbin.sgml:
10875         * docs/gst/tmpl/gstcompat.sgml:
10876         * docs/gst/tmpl/gstfakesink.sgml:
10877         * docs/gst/tmpl/gstfakesrc.sgml:
10878         * docs/gst/tmpl/gstfilesink.sgml:
10879         * docs/gst/tmpl/gstfilesrc.sgml:
10880         * docs/gst/tmpl/gstindex.sgml:
10881         * docs/manual/appendix-quotes.xml:
10882         * gst/base/gstbasesrc.h:
10883         * gst/elements/gstfakesrc.h:
10884         * gst/gstmessage.h:
10885           start pulling in base classes and elements in our docs
10886
10887 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
10888
10889         * docs/gst/Makefile.am:
10890         * docs/libs/Makefile.am:
10891           fixed make distcheck with gtk-doc 1.3
10892
10893 2005-06-23  Wim Taymans  <wim@fluendo.com>
10894
10895         * gst/gstelement.c: (gst_element_get_state_func),
10896         (gst_element_set_state), (gst_element_change_state):
10897         When the state did not change, also report NO_PREROLL
10898         when it matters.
10899
10900 2005-06-23  Wim Taymans  <wim@fluendo.com>
10901
10902         * gst/gstpad.c: (gst_pad_event_default):
10903         * gst/gstqueue.c: (gst_queue_loop):
10904         No unsafe task pausing please.
10905
10906 2005-06-23  Wim Taymans  <wim@fluendo.com>
10907
10908         * gst/schedulers/threadscheduler.c:
10909         (gst_thread_scheduler_task_start),
10910         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10911         Ref the task before pushing it on the threadpool. This
10912         makes sure that we have a ref when the threadfunction is
10913         actually called.
10914
10915 2005-06-23  Andy Wingo  <wingo@pobox.com>
10916
10917         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10918         offset is greater than the file's size.
10919
10920         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
10921         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10922         * gst/gstobject.c (gst_object_class_init): Make the class lock
10923         recursive. Wim won't let me drop deep_notify. Decodebin works
10924         again, whoopdy doo.
10925
10926         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10927         internal pad, and hacks accordingly. Doesn't do it on the target
10928         pad because we change its caps. Probably catches all cases of
10929         interest tho.
10930         (gst_ghost_pad_set_property): Connect to notify::caps as
10931         appropritate.
10932
10933         * tests/network-clock.scm (plot-simulation): Pipe data to the
10934         elite python skript.
10935
10936         * tests/network-clock-utils.scm (define-parameter): New macro,
10937         defines a parameter that can be set via the command line.
10938         (set-parameter!, parse-parameter-arguments): Command line args
10939         parser.
10940
10941         * tests/plot-data: Simple matplotlib-based plotter, takes input on
10942         stdin.
10943
10944 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
10945
10946         * gst/elements/gsttypefindelement.c:
10947         (gst_type_find_element_handle_event):
10948           Don't restart typefinding on a discont.
10949         * gst/gstelement.c: (gst_element_set_state):
10950           Debug spelling fix.
10951         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10952           Allow changing mode of an active pad.
10953           Debug output fixes.
10954         * gst/registries/gstlibxmlregistry.c: (load_feature):
10955           Don't cast a static pad template to a normal pad template.
10956
10957 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10958
10959         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10960         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10961           remove gst_strtoll completely, since it didn't actually do
10962           anything more than what g_ascii_strtoull already does.
10963           check for range errors when deserializing
10964           do a cast for the unsigned cases; but further fixing needs
10965           a decision on what the interpretation of "(int)" and
10966           deserialization should be for values that fall outside the
10967           type's boundaries (ie, refuse, or interpret as casting)
10968
10969 2005-06-23  Wim Taymans  <wim@fluendo.com>
10970
10971         * check/Makefile.am:
10972         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10973         * docs/design/part-live-source.txt:
10974         * docs/design/part-states.txt:
10975         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10976         (gst_basesrc_set_live), (gst_basesrc_is_live),
10977         (gst_basesrc_get_range), (gst_basesrc_activate),
10978         (gst_basesrc_change_state):
10979         * gst/base/gstbasesrc.h:
10980         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10981         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10982         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10983         * gst/gstelement.c: (gst_element_get_state_func),
10984         (gst_element_set_state):
10985         * gst/gstelement.h:
10986         * gst/gsttypes.h:
10987         * tools/gst-launch.c: (event_loop), (main):
10988         Added support for live sources and other elements that
10989         cannot do preroll.
10990         Updated design docs, added live-source design doc.
10991         Implemented live source functionality in basesrc
10992         Fix error condition in _bin_get_state()
10993         Implement live source handling in -launch.
10994         Added check for live sources.
10995         Fixed case in GstBin where elements were changed state
10996         multiple times.
10997
10998
10999 2005-06-23  Andy Wingo  <wingo@pobox.com>
11000
11001         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
11002         borken refcounting.
11003
11004         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
11005         gst_caps_replace takes care of this for us.
11006
11007         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
11008         gst_pad_set_caps on the target, not just its setcaps() function.
11009
11010         * tests/network-clock.scm: 
11011         * tests/network-clock-utils.scm: A network clock simulator.
11012         Something of an algorithmic testbed before doing something in C.
11013
11014 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11015
11016         * check/Makefile.am:
11017         * check/gst/capslist.h:
11018           copy over from 0.8, and add two with bitmasks specified with
11019           (int) 0xFF...
11020         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11021           add test to parse everything from capslist.h
11022         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
11023         (main):
11024           add test for structure deserialization
11025         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11026           add tests for deserialization of strings to int types
11027         * gst/gststructure.c: (gst_structure_nth_field_name):
11028         * gst/gststructure.h:
11029           add a way to get the name of a field referenced by index
11030         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11031           instead of checking if the resulting long long lies between
11032           min and max, we check if the long long would fit into
11033           a number of bytes for the final type.
11034           This fixes cases where a string represents 2^32 - 1, which
11035           when cast to int would be the (valid) -1, but is bigger than
11036           G_MAXINT
11037
11038 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11039
11040         * gst/parse/grammar.y:
11041           add a log line for type deserialization
11042
11043 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11044
11045         * check/gst/gstvalue.c: (START_TEST):
11046         * gst/gstvalue.c: (gst_value_deserialize):
11047           return long long, not int, so gint64 deserialization actually
11048           works.  Is there any flag that makes the compiler check this ?
11049           Fixes #308559
11050
11051 2005-06-22  Wim Taymans  <wim@fluendo.com>
11052
11053         * gst/gstbuffer.h:
11054         Added convenience macros for setting buffers in GValue.
11055
11056 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11057
11058         * check/gst/.cvsignore:
11059         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11060           add a test deserializing int64, and comment part out because
11061           it fails, yay !
11062
11063 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11064
11065         * check/Makefile.am:
11066         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
11067         * testsuite/Makefile.am:
11068         * testsuite/caps/Makefile.am:
11069         * testsuite/caps/value_serialize.c:
11070         * testsuite/test_gst_init.c:
11071           move a value_serialize test over
11072
11073 2005-06-20  Wim Taymans  <wim@fluendo.com>
11074
11075         * gst/gstpad.c:
11076         Small doc updates.
11077         
11078         * gst/gstvalue.c: (gst_value_compare_buffer),
11079         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
11080         (gst_value_compare_flags), (gst_value_serialize_flags),
11081         (gst_value_deserialize_flags), (_gst_value_initialize):
11082         Fix serialisation of buffers, they are not boxed types anymore
11083
11084 2005-06-20  Wim Taymans  <wim@fluendo.com>
11085
11086         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11087         Testcase to show error in buffer-on-caps serialisation.
11088
11089 2005-06-20  Andy Wingo  <wingo@pobox.com>
11090
11091         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
11092         will be adding to later.
11093
11094         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
11095         if its socks fill with rocks.
11096         (gst_system_clock_obtain): Set the name on object construction.
11097         Avoid double-checked locking.
11098
11099 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
11100
11101         * gst/gsturi.c: (gst_element_make_from_uri):
11102           Fix potential endless loop.
11103
11104 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11105
11106         * check/Makefile.am:
11107           add gsttag
11108         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
11109         (main):
11110           move over from testsuite dir and clean up
11111         * configure.ac:
11112         * gst/gsttag.c:
11113         * testsuite/Makefile.am:
11114         * testsuite/tags/.cvsignore:
11115         * testsuite/tags/Makefile.am:
11116         * testsuite/tags/merge.c:
11117           remove testsuite/tags
11118
11119 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11120
11121         * docs/gst/gstreamer-sections.txt:
11122         * docs/gst/tmpl/gstenumtypes.sgml:
11123         * win32/gstenumtypes.c:
11124           clean up documentation build a little
11125
11126 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11127
11128         * check/gstcheck.h:
11129           add macros for checking refcounts on objects and caps
11130         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
11131           add some more unit tests
11132         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11133         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
11134           fix leaked refcounts (I hope :)) so unittest works
11135         * gst/gstpad.h:
11136           whitespace removal
11137
11138 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11139
11140         * configure.ac: back to HEAD
11141
11142 === release 0.9.1 ===
11143
11144 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11145
11146         * NEWS:
11147         * RELEASE:
11148           updated
11149
11150 2005-06-17  Andy Wingo  <wingo@pobox.com>
11151
11152         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
11153         assert; it's always possible that the pad gets deactivated in
11154         between the checks in gstpad.c and the implementation. Rely on
11155         finish_preroll() to return a FLUSHING or similar instead of on the
11156         assert.
11157         
11158         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
11159         clock and post an EOS message if we come out of finish_preroll in
11160         the playing state.
11161
11162 2005-06-16  David Schleef  <ds@schleef.org>
11163
11164         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11165         (gst_capsfilter_set_property): Allow NULL as possible value
11166         for filter_caps property, indicating GST_CAPS_ANY.
11167
11168 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11169
11170         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
11171           fix debug output
11172         * gst/schedulers/Makefile.am:
11173           use libgst prefix
11174         * gstreamer.spec.in:
11175           fix spec for it
11176
11177 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11178
11179         * gstreamer.spec.in:
11180           clean up
11181
11182 2005-06-08  Andy Wingo  <wingo@pobox.com>
11183
11184         * gst/gstutils.c: RPAD fixes all around.
11185         (gst_element_link_pads): Refcounting fixes.
11186
11187         * tools/gst-inspect.c:
11188         * tools/gst-xmlinspect.c:
11189         * parse/grammar.y:
11190         * gst/base/gsttypefindhelper.c:
11191         * gst/base/gstbasesink.c:
11192         * gst/gstqueue.c: RPAD fixes.
11193
11194         * gst/gstghostpad.h:
11195         * gst/gstghostpad.c: New ghost pad implementation as full proxy
11196         pads. The tricky thing is they provide both source and sink
11197         interfaces, since they proxy the internal pad for the external
11198         pad, and vice versa. Implement with lower-level ProxyPad objects,
11199         with the interior proxy pad as a child of the exterior ghost pad.
11200         Should write a doc on this.
11201         
11202         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
11203         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
11204         gst_object API.
11205         
11206         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
11207         pads are real pads. No ghost pads in this file. Not documenting
11208         the myriad s/RPAD/PAD/ and REALIZE fixes.
11209         (gst_pad_class_init): Add properties for "direction" and
11210         "template". Both are construct-only, so they can't change during
11211         the life of the pad. Fixes properly deriving from GstPad.
11212         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
11213         derived objects, just set properties when creating the objects via
11214         g_object_new.
11215         (gst_pad_get_parent): Implement as a function, return NULL if the
11216         parent is not an element.
11217         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
11218         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
11219         
11220         * gst/gstobject.c (gst_object_class_init): Make name a construct
11221         property. Don't set it in the object init.
11222
11223         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
11224         with UNKNOWN direction.
11225         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
11226         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
11227         (gst_element_remove_pad): Remove ghost-pad special cases.
11228         (gst_element_pads_activate): Remove rpad cruft.
11229
11230         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
11231         catch the pad's-parent-not-an-element case.
11232
11233         * gst/gst.h: Include gstghostpad.h.
11234
11235         * gst/gst.c (init_post): No more real, ghost pads.
11236
11237         * gst/Makefile.am: Add gstghostpad.[ch].
11238
11239         * check/Makefile.am:
11240         * check/gst/gstbin.c:
11241         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
11242         into a bin creates ghost pads, and that the refcounts are right.
11243         Partly moved from gstbin.c.
11244
11245 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11246
11247         * check/gst-libs/.cvsignore:
11248         * check/gst/.cvsignore:
11249         * check/pipelines/.cvsignore:
11250           ignore more
11251         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
11252         (START_TEST), (cleanup_suite), (main):
11253           add some tests related to cleanup after running pipelines
11254
11255 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11256
11257         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
11258           add a testsuite for GstBuffer
11259
11260 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11261
11262         * gst/gstminiobject.h:
11263           add defines for accessing the refcount
11264
11265 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
11266
11267         * Makefile.am: added support for html unit test coverage reports
11268
11269 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
11270
11271         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11272           Free existing caps if the capsfilter changes. Add a FIXME about
11273           setting those caps on the pads.
11274
11275         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
11276           Before adding a ghost pad to a parent bin, check that there isn't
11277           already one for the element on the bin. Prevents infinite recursion
11278           when using decodebin in parse pipelines. Andy says he'll rewrite the
11279           way this works anyway, so ignore the hack.
11280
11281 2005-06-02  Andy Wingo  <wingo@pobox.com>
11282
11283         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
11284         file size, pass it on to the type find helper.
11285
11286         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
11287         segment_start and segment_end properly according to the seek
11288         method. Segment_end is still a bit flaky because offset can be
11289         negative for CUR and END cases, but it takes -1 as an "unset"
11290         value.
11291
11292 2005-06-02  Wim Taymans  <wim@fluendo.com>
11293
11294         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11295         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11296         (gst_basesink_activate):
11297         * gst/base/gstbasesink.h:
11298         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11299         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11300         (gst_pad_query), (gst_pad_start_task):
11301         * gst/gstpad.h:
11302         * gst/gstqueue.c: (gst_queue_bufferalloc),
11303         (gst_queue_handle_sink_event), (gst_queue_chain):
11304         Bufferalloc: return GstFlowReturn to more accuratly report
11305         why allocation failed.
11306
11307 2005-06-02  Wim Taymans  <wim@fluendo.com>
11308
11309         * gst/gstpipeline.c: (gst_pipeline_send_event):
11310         Take snapshot of state without blocking.
11311
11312 2005-06-02  Wim Taymans  <wim@fluendo.com>
11313
11314         * docs/design/part-TODO.txt:
11315         * docs/design/part-caps.txt:
11316         * docs/design/part-clocks.txt:
11317         * docs/design/part-negotiation.txt:
11318         * docs/design/part-preroll.txt:
11319         Small doc updates 
11320
11321 2005-05-30  Wim Taymans  <wim@fluendo.com>
11322
11323         * gst/elements/gstidentity.c: (gst_identity_event),
11324         (gst_identity_transform), (gst_identity_get_property):
11325         Protect last_message property as it is accessed from
11326         multiple threads.
11327
11328 2005-05-30  Wim Taymans  <wim@fluendo.com>
11329
11330         * gst/gstelement.c: (gst_element_init),
11331         (gst_element_pads_activate), (gst_element_change_state):
11332         Slicker pad activation code.
11333
11334 2005-05-30  Wim Taymans  <wim@fluendo.com>
11335
11336         * gst/Makefile.am:
11337         * gst/gstelement.h:
11338         * gst/gstelementfactory.h:
11339         * gst/gsttypes.h:
11340         Move elementfactory methods to separate .h file.
11341
11342 2005-05-30  Wim Taymans  <wim@fluendo.com>
11343
11344         * docs/design/part-overview.txt:
11345         * gst/gstsystemclock.h:
11346         Small typo fixes, doc updates.
11347
11348 2005-05-30  Wim Taymans  <wim@fluendo.com>
11349
11350         * gst/gst.c: (gst_init_get_popt_table), (init_post),
11351         (init_popt_callback):
11352         Remove cpu-opt flag.
11353
11354 2005-05-30  Wim Taymans  <wim@fluendo.com>
11355
11356         * gst/gstbuffer.c: (gst_subbuffer_finalize),
11357         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11358         * gst/gstbuffer.h:
11359         Avoid typechecking in places where not needed.
11360         Added accessor for malloc_data.
11361
11362 2005-05-30  Wim Taymans  <wim@fluendo.com>
11363
11364         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11365         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11366         (gst_pad_configure_sink), (gst_pad_configure_src),
11367         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11368         (gst_pad_start_task):
11369         Propagate errors from _set_caps() in configure_src/sink
11370         functions instead of returning TRUE.
11371         FLUSH events can travel up and downstream
11372
11373
11374 2005-05-30  Wim Taymans  <wim@fluendo.com>
11375
11376         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11377         (gst_basesink_activate):
11378         Handle EOS in preroll.
11379
11380 2005-05-30  Wim Taymans  <wim@fluendo.com>
11381
11382         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11383         (gst_queue_loop), (gst_queue_handle_src_event):
11384         Remove old pieces of code
11385         Flushing the queue in an upstream event is a very bad idea.
11386
11387 2005-05-26  Andy Wingo  <wingo@pobox.com>
11388
11389         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11390         gst_value_set_mini_object so as to add a ref on the object (which
11391         will be removed when the value is unset).
11392
11393         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11394         arg type in ::handoff.
11395
11396         * gst/gstelement.c (gst_element_change_state): Also deactivate
11397         pads in READY->NULL, just in case the element didn't make it to
11398         PAUSED. Wingo tested, Wim approved.
11399
11400 2005-05-26  Wim Taymans  <wim@fluendo.com>
11401
11402         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11403         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11404         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11405         A flushing pad cannot be used to alloc_buffer from.
11406
11407 2005-05-26  Wim Taymans  <wim@fluendo.com>
11408
11409         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11410         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11411         (gst_bus_source_dispatch), (gst_bus_source_finalize),
11412         (gst_bus_create_watch), (gst_bus_add_watch_full):
11413         * gst/gstbus.h:
11414         Implement a real GSource and use g_main_context_wakeup() to
11415         signal new messages instead of the socketpair.
11416
11417 2005-05-25  Wim Taymans  <wim@fluendo.com>
11418
11419         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11420         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11421         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11422         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11423         (gst_pad_send_event), (gst_pad_start_task):
11424         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11425         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11426         (gst_queue_sink_activate), (gst_queue_src_activate),
11427         (gst_queue_change_state):
11428         * gst/gstqueue.h:
11429         Fix state changes for non sinks. We now change sinks, then elements
11430         with unconnected srcpads, then the rest.
11431         More efficient queue unlocking in flush and state changes.
11432         Set the pad activate mode even if it does not have an activate
11433         function.
11434
11435 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11436
11437         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11438           Don't go in pull mode for non-seekable sources.
11439         * gst/elements/gsttypefindelement.h:
11440         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11441         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11442         (free_entry), (stop_typefinding),
11443         (gst_type_find_element_handle_event), (find_peek),
11444         (gst_type_find_element_chain), (do_pull_typefind),
11445         (gst_type_find_element_change_state):
11446           Allow typefinding (w/o seeking) in push-mode, simplified version
11447           of what was in 0.8.
11448         * gst/gstutils.c: (gst_buffer_join):
11449         * gst/gstutils.h:
11450           gst_buffer_join() from 0.8.
11451
11452 2005-05-25  Wim Taymans  <wim@fluendo.com>
11453
11454         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11455         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11456         (gst_pad_send_event), (gst_pad_start_task):
11457         Disable attempt at mode switching until it is figured out.
11458
11459 2005-05-25  Wim Taymans  <wim@fluendo.com>
11460
11461         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11462         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11463         (gst_basesink_finish_preroll), (gst_basesink_chain),
11464         (gst_basesink_loop), (gst_basesink_activate),
11465         (gst_basesink_change_state):
11466         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11467         (gst_basesrc_get_range), (gst_basesrc_loop),
11468         (gst_basesrc_activate):
11469         * gst/elements/gsttee.c: (gst_tee_sink_activate):
11470         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11471         (gst_real_pad_init), (gst_real_pad_set_property),
11472         (gst_real_pad_get_property), (gst_pad_set_active),
11473         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11474         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11475         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11476         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11477         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11478         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11479         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11480         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11481         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11482         (gst_pad_stop_task):
11483         * gst/gstpad.h:
11484         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11485         (gst_queue_loop), (gst_queue_src_activate):
11486         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11487         (gst_task_get_state):
11488         * gst/gsttask.h:
11489         * gst/schedulers/threadscheduler.c:
11490         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11491         Implement gst_pad_pause/start/stop_task(), take STREAM lock
11492         in task function.
11493         Remove ACTIVE pad flag, use FLUSHING everywhere
11494         Added _pad_chain(), _pad_get_range() to call chain/getrange 
11495         functions.
11496         Add locks around IS_FLUSHING when reading.
11497         Take STREAM lock in chain(), get_range() functions so plugins
11498         don't need to take it anymore.
11499         
11500
11501
11502 2005-05-25  Wim Taymans  <wim@fluendo.com>
11503
11504         * tools/gst-launch.c: (event_loop):
11505         Unref message after using its contents instead of
11506         before.
11507
11508 2005-05-24  Wim Taymans  <wim@fluendo.com>
11509
11510         * docs/design/draft-ghostpads.txt:
11511         * docs/design/draft-push-pull.txt:
11512         * docs/design/draft-query.txt:
11513         * docs/design/part-overview.txt:
11514         Docs updates, added general overview doc.
11515
11516 2005-05-21  David Schleef  <ds@schleef.org>
11517
11518         * docs/gst/tmpl/old/GstBin.sgml:
11519         * docs/gst/tmpl/old/GstBuffer.sgml:
11520         * docs/gst/tmpl/old/GstCaps.sgml:
11521         * docs/gst/tmpl/old/GstClock.sgml:
11522         * docs/gst/tmpl/old/GstCompat.sgml:
11523         * docs/gst/tmpl/old/GstData.sgml:
11524         * docs/gst/tmpl/old/GstElement.sgml:
11525         * docs/gst/tmpl/old/GstEvent.sgml:
11526         * docs/gst/tmpl/old/GstIndex.sgml:
11527         * docs/gst/tmpl/old/GstStructure.sgml:
11528         * docs/gst/tmpl/old/GstTag.sgml:
11529         * docs/gst/tmpl/old/cothreads.sgml:
11530         * docs/gst/tmpl/old/cothreads_compat.sgml:
11531         * docs/gst/tmpl/old/gettext.sgml:
11532         * docs/gst/tmpl/old/gobject2gtk.sgml:
11533         * docs/gst/tmpl/old/grammar.tab.sgml:
11534         * docs/gst/tmpl/old/gst-i18n-app.sgml:
11535         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11536         * docs/gst/tmpl/old/gst_private.sgml:
11537         * docs/gst/tmpl/old/gstaggregator.sgml:
11538         * docs/gst/tmpl/old/gstarch.sgml:
11539         * docs/gst/tmpl/old/gstatomic_impl.sgml:
11540         * docs/gst/tmpl/old/gstbufferstore.sgml:
11541         * docs/gst/tmpl/old/gstdata_private.sgml:
11542         * docs/gst/tmpl/old/gstdisksink.sgml:
11543         * docs/gst/tmpl/old/gstdisksrc.sgml:
11544         * docs/gst/tmpl/old/gstelementfactory.sgml:
11545         * docs/gst/tmpl/old/gstextratypes.sgml:
11546         * docs/gst/tmpl/old/gstfakesink.sgml:
11547         * docs/gst/tmpl/old/gstfakesrc.sgml:
11548         * docs/gst/tmpl/old/gstfdsink.sgml:
11549         * docs/gst/tmpl/old/gstfdsrc.sgml:
11550         * docs/gst/tmpl/old/gstfilesink.sgml:
11551         * docs/gst/tmpl/old/gstfilesrc.sgml:
11552         * docs/gst/tmpl/old/gsthttpsrc.sgml:
11553         * docs/gst/tmpl/old/gstidentity.sgml:
11554         * docs/gst/tmpl/old/gstindexfactory.sgml:
11555         * docs/gst/tmpl/old/gstmarshal.sgml:
11556         * docs/gst/tmpl/old/gstmd5sink.sgml:
11557         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11558         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11559         * docs/gst/tmpl/old/gstpadtemplate.sgml:
11560         * docs/gst/tmpl/old/gstpipefilter.sgml:
11561         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11562         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11563         * docs/gst/tmpl/old/gstshaper.sgml:
11564         * docs/gst/tmpl/old/gstspider.sgml:
11565         * docs/gst/tmpl/old/gstspideridentity.sgml:
11566         * docs/gst/tmpl/old/gststatistics.sgml:
11567         * docs/gst/tmpl/old/gsttee.sgml:
11568         * docs/gst/tmpl/old/gsttimecache.sgml:
11569         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11570         * docs/gst/tmpl/old/gstxmlregistry.sgml:
11571         * docs/gst/tmpl/old/gthread-cothreads.sgml:
11572         * docs/gst/tmpl/old/types.sgml:
11573           I didn't intend to add these or check them in.
11574
11575 2005-05-19  David Schleef  <ds@schleef.org>
11576
11577         * configure.ac: Use -no-common everywhere.  In a sane world, it
11578           would be the default in libtool, because without it, you can't
11579           build DLLs on Windows.
11580         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11581         * docs/gst/gstreamer-sections.txt:
11582         * docs/gst/tmpl/gstcpu.sgml:
11583         * docs/gst/tmpl/gstdata.sgml:
11584         * docs/gst/tmpl/gstthread.sgml:
11585
11586 2005-05-19  David Schleef  <ds@schleef.org>
11587
11588         * gst/gstminiobject.c: (gst_value_set_mini_object),
11589         (gst_value_take_mini_object), (gst_value_get_mini_object):
11590         * gst/gstminiobject.h: Add GValue set/get functions.
11591
11592 2005-05-19  Wim Taymans  <wim@fluendo.com>
11593
11594         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11595         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11596         (gst_subbuffer_init), (gst_buffer_is_span_fast):
11597         * gst/gstbuffer.h:
11598         * gst/gstbus.c: (gst_bus_post):
11599         * gst/gstelement.c: (gst_element_get_random_pad):
11600         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11601         Make subbufer unref the parent in finalize.
11602         some more debugging info.
11603
11604
11605 2005-05-19  Wim Taymans  <wim@fluendo.com>
11606
11607         * gst/base/gstbasesink.c: (gst_basesink_class_init),
11608         (gst_basesink_init), (gst_basesink_finalize),
11609         (gst_basesink_activate), (gst_basesink_change_state):
11610         Don't free preroll queue too early.
11611
11612 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11613
11614         * gst/Makefile.am:
11615         * gst/ROADMAP:
11616           Hi, I'm outdated. Please shoot me.
11617
11618 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11619
11620         * gst/gstpipeline.c: (gst_pipeline_send_event):
11621           Do not access variables after they have been deleted.
11622
11623 2005-05-19  Wim Taymans  <wim@fluendo.com>
11624
11625         * tools/gst-inspect.c: (print_plugin_features):
11626         A plugin feature does unfortunatly not use the
11627         object name yet...
11628
11629 2005-05-18  Wim Taymans  <wim@fluendo.com>
11630
11631         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11632         Port _span() functions to new subbuffers.
11633
11634 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11635
11636         * gst/gstbin.c: (gst_bin_add_func):
11637           Fix clock settery in bins when adding kids after the clock has
11638           been selected.
11639
11640 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11641
11642         * gst/elements/gstidentity.c: (gst_identity_class_init):
11643           Workaround until signals support GstMiniObject.
11644
11645 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11646
11647         * gst/gstbuffer.c:
11648         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11649
11650 2005-05-18  Wim Taymans  <wim@fluendo.com>
11651
11652         * gst/base/Makefile.am:
11653         * gst/base/gstadapter.c: (gst_adapter_base_init),
11654         (gst_adapter_class_init), (gst_adapter_init),
11655         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11656         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11657         (gst_adapter_flush), (gst_adapter_available),
11658         (gst_adapter_available_fast):
11659         * gst/base/gstadapter.h:
11660         Ported and added adapter to the base classes.
11661
11662 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11663
11664         * gst/gst.c:
11665         * gst/gstmessage.c:
11666           Make sure the class is reffed/unreffed once before threads can be
11667           used.  Fixes #304551.
11668
11669 2005-05-17  Wim Taymans  <wim@fluendo.com>
11670
11671         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11672         (gst_basesink_chain_unlocked), (gst_basesink_activate):
11673         * gst/gstminiobject.c: (gst_mini_object_get_type),
11674         (gst_mini_object_free):
11675         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11676         (gst_pad_push), (gst_pad_push_event):
11677         * gst/gstqueue.c: (gst_queue_change_state):
11678         Don't queue buffers in basesink when we are flushing.
11679         Unref buffer when flushing in basesink.
11680         Flush queue when going to READY
11681         Unref buffer when _push() returns an error.
11682         Don't free MiniObject instance when refcount is incremented
11683         in _finalize() so that we can recover objects.
11684
11685 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
11686
11687         * docs/manual/advanced-schedulers.xml:
11688         * docs/manual/appendix-checklist.xml:
11689         * docs/pwg/advanced-clock.xml:
11690         * docs/pwg/advanced-interfaces.xml:
11691         * docs/pwg/advanced-request.xml:
11692         * docs/pwg/advanced-types.xml:
11693         * docs/pwg/intro-preface.xml:
11694         * examples/plugins/example.c: (gst_example_get_type),
11695         (gst_example_class_init), (gst_example_chain),
11696         (gst_example_set_property), (gst_example_get_property),
11697         (gst_example_change_state), (plugin_init):
11698         * examples/plugins/example.h:
11699           small doc fixes
11700
11701 2005-05-17  Wim Taymans  <wim@fluendo.com>
11702
11703         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11704         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11705         * gst/gstqueue.c: (gst_queue_change_state):
11706         Clear queue when going to READY.
11707         Remove IN_SETCAPS flag too.
11708
11709 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
11710
11711         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11712           Remove implicit cast from gboolean to GstElementStateReturn;
11713           make sure we still return failure in paused => ready case if
11714           the parent class fails to change state and our own stop 
11715           vfunc succeeds.
11716
11717 2005-05-17  Wim Taymans  <wim@fluendo.com>
11718
11719         * tools/gst-launch.c: (event_loop):
11720         Message was unreffed too soon.
11721
11722 2005-05-16  Andy Wingo  <wingo@pobox.com>
11723
11724         * gst/gstbin.c (sink_iterator_filter): Err... um...
11725
11726         * check/gst/gstbin.c (test_ghost_pads): New test for the
11727         ghosting-if-elements-not-in-same-bin behavior.
11728
11729 2005-05-16  David Schleef  <ds@schleef.org>
11730
11731         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11732         accessing refcount directly.
11733
11734 2005-05-15  David Schleef  <ds@schleef.org>
11735
11736         * check/Makefile.am: remove GstData checks
11737         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11738         * gst/Makefile.am: add miniobject, remove data
11739         * gst/gst.h: add miniobject, remove data
11740         * gst/gstdata.c: remove
11741         * gst/gstdata.h: remove
11742         * gst/gstdata_private.h: remove
11743         * gst/gsttypes.h: remove GstEvent and GstMessage
11744         * gst/gstelement.c: (gst_element_post_message): fix for API changes
11745         * gst/gstmarshal.list: change BOXED -> OBJECT
11746
11747         Implement GstMiniObject.
11748         * gst/gstminiobject.c:
11749         * gst/gstminiobject.h:
11750
11751         Modify to be subclasses of GstMiniObject.
11752         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11753         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11754         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11755         (gst_subbuffer_get_type), (gst_subbuffer_init),
11756         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11757         (gst_buffer_span):
11758         * gst/gstbuffer.h:
11759         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11760         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11761         (_gst_event_copy), (gst_event_new):
11762         * gst/gstevent.h:
11763         * gst/gstmessage.c: (_gst_message_initialize),
11764         (gst_message_get_type), (gst_message_class_init),
11765         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11766         (gst_message_new), (gst_message_new_error),
11767         (gst_message_new_warning), (gst_message_new_tag),
11768         (gst_message_new_state_changed), (gst_message_new_application):
11769         * gst/gstmessage.h:
11770         * gst/gstprobe.c: (gst_probe_perform),
11771         (gst_probe_dispatcher_dispatch):
11772         * gst/gstprobe.h:
11773         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11774         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11775         (_gst_query_copy), (gst_query_new):
11776
11777         Update elements for GstData -> GstMiniObject changes
11778         * gst/gstquery.h:
11779         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11780         (gst_queue_chain), (gst_queue_loop):
11781         * gst/elements/gstbufferstore.c:
11782         (gst_buffer_store_add_buffer_func),
11783         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11784         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11785         (gst_fakesink_render):
11786         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11787         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11788         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11789         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11790         (gst_filesrc_create_read):
11791         * gst/elements/gstidentity.c: (gst_identity_class_init):
11792         * gst/elements/gsttypefindelement.c:
11793         (gst_type_find_element_src_event), (free_entry_buffers),
11794         (gst_type_find_element_handle_event):
11795         * libs/gst/dataprotocol/dataprotocol.c:
11796         (gst_dp_header_from_buffer):
11797         * libs/gst/dataprotocol/dataprotocol.h:
11798         * libs/gst/dataprotocol/dp-private.h:
11799
11800 2005-05-15  David Schleef  <ds@schleef.org>
11801
11802         * gst/elements/gstelements.c: Don't include headers that were
11803         just removed.
11804
11805 2005-05-15  David Schleef  <ds@schleef.org>
11806
11807         * gst/elements/Makefile.am: Remove some elements that don't
11808         need to be in the core (or even exist at all).
11809         * gst/elements/gstaggregator.c:
11810         * gst/elements/gstaggregator.h:
11811         * gst/elements/gstmd5sink.c:
11812         * gst/elements/gstmd5sink.h:
11813         * gst/elements/gstmultifilesrc.c:
11814         * gst/elements/gstmultifilesrc.h:
11815         * gst/elements/gstpipefilter.c:
11816         * gst/elements/gstpipefilter.h:
11817         * gst/elements/gstshaper.c:
11818         * gst/elements/gstshaper.h:
11819         * gst/elements/gststatistics.c:
11820         * gst/elements/gststatistics.h:
11821         * po/POTFILES.in: Remove above files.
11822
11823 2005-05-14  Andy Wingo  <wingo@pobox.com>
11824
11825         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11826         so as to get the refs right.
11827         (sink_iterator_filter): New function, wraps bin_element_is_sink,
11828         unreffing objects that don't pass the filter.
11829
11830         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11831         gst_element_set_bus.
11832         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11833         normal cases, this will destroy the bus.
11834
11835         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11836         object.
11837
11838         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11839         has no sinks.
11840
11841 2005-05-13  Andy Wingo  <wingo@pobox.com>
11842
11843         * gst/gstutils.c (gst_element_link_pads): Instead of calling
11844         gst_pad_link, call pad_link_maybe_ghosting,
11845         (pad_link_maybe_ghosting): Links pads, making sure that the
11846         elements being linked are in the same bin.
11847         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11848         Helpers for pad_link_maybe_ghosting.
11849
11850 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11851
11852         * configure.ac:
11853           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11854
11855 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11856
11857         * docs/design/part-element-source.txt:
11858           Mention GstPushSrc
11859
11860 2005-05-12  Wim Taymans  <wim@fluendo.com>
11861
11862         * gst/base/gstbasesink.c: (gst_basesink_init),
11863         (gst_basesink_activate):
11864         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11865         (gst_basesrc_is_seekable):
11866         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11867         (bin_element_is_sink), (gst_bin_change_state):
11868         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11869         * gst/gstelement.h:
11870         Identify sinks by their flag to avoid overly complicated
11871         checks (fow now).
11872         Do state changes even for elements not reachable from the
11873         sinks.
11874         BaseSink is a sink now :)
11875         Some more debugging info in the basesrc.
11876
11877
11878 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11879
11880         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11881           Implement _query on a bin, similar to _send_event.
11882
11883 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11884
11885         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11886           Discont event offset format should be GST_FORMAT_BYTES,
11887           not GST_FORMAT_TIME.
11888
11889 2005-05-12  Wim Taymans  <wim@fluendo.com>
11890
11891         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11892         Same fix as Ronald's but without the signal. 
11893
11894 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11895
11896         * gst/gstutils.c: (gst_element_query_position):
11897           No, an element is not a pad.
11898
11899 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11900
11901         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11902         (gst_bin_get_state):
11903           If a child is removed from a bin while we remove the child from
11904           the bin and while we're retrieving its state, signal this to the
11905           get_state function so we abort the wait (instead of waiting for
11906           a timeout) and can immediately re-iterate over all other elements.
11907
11908 2005-05-12  Wim Taymans  <wim@fluendo.com>
11909
11910         * gst/base/Makefile.am:
11911         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11912         (gst_basesrc_start):
11913         * gst/base/gstbasesrc.h:
11914         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11915         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11916         (gst_pushsrc_init), (gst_pushsrc_create):
11917         * gst/base/gstpushsrc.h:
11918         Added is_seekable to BaseSrc
11919         Added simple PushSrc.
11920
11921 2005-05-11  Wim Taymans  <wim@fluendo.com>
11922
11923         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11924         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11925         (gst_element_link_pads), (gst_element_query_position),
11926         (gst_element_query_convert), (intersect_caps_func),
11927         (gst_pad_query_position), (gst_pad_query_convert):
11928         Fix refcounting in utils function.
11929         No point in trying to activate a pad when it's added, it could
11930         be added from the state change function and then we deadlock, the
11931         element has to decide what to do.
11932
11933 2005-05-10  Andy Wingo  <wingo@pobox.com>
11934
11935         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11936         *all* the arguments.
11937
11938         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11939         stream lock if it's a FLUSH_DONE; normal flushes don't get the
11940         lock (according to the docs -- if this is wrong change the docs).
11941
11942         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11943         flush messages in the NULL state.
11944
11945         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11946         message immediately and return.
11947         (gst_bus_set_flushing): New function. If a bus is flushing, it
11948         flushes out any queued messages and immediately unrefs new
11949         messages. This is so when an element goes to NULL, all of the
11950         unhandled messages coming from it can be freed, and their
11951         references to the element dropped. In other words: message source
11952         ref considered harmful :P
11953
11954         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11955         we're finished with it.
11956
11957         * gst/gstmessage.c (gst_message_new_state_changed): 
11958
11959 2005-05-10  Wim Taymans  <wim@fluendo.com>
11960
11961         * gst/gstvalue.c: (gst_value_compare_flags),
11962         (gst_value_serialize_flags), (gst_value_deserialize_flags),
11963         (_gst_value_initialize):
11964         Added flags serialize/deserialize/compare code.
11965
11966 2005-05-09  Andy Wingo  <wingo@pobox.com>
11967
11968         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11969         Intersect the peer's caps with our caps.
11970
11971 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11972
11973         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11974         * gst/elements/gsttypefindelement.c: (find_peek):
11975           Handle negative offsets better. Fixes decodebin.
11976
11977 2005-05-09  Wim Taymans  <wim@fluendo.com>
11978
11979         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11980         (gst_base_transform_event):
11981         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11982         Implement accept_caps.
11983         Fix silly lock/unlock mismatch in base class.
11984
11985 2005-05-09  Wim Taymans  <wim@fluendo.com>
11986
11987         * docs/design/draft-push-pull.txt:
11988         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11989         * gst/elements/gstfilesink.c: (gst_filesink_init),
11990         (gst_filesink_query):
11991         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11992         (gst_type_find_handle_src_query), (find_element_get_length):
11993         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11994         * gst/gstelement.h:
11995         * gst/gstmessage.c:
11996         * gst/gstmessage.h:
11997         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11998         (gst_real_pad_get_caps_unlocked),
11999         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
12000         (gst_pad_event_default_dispatch), (gst_pad_event_default),
12001         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
12002         (gst_real_pad_dispose), (gst_real_pad_finalize),
12003         (gst_pad_load_and_link), (gst_pad_save_thyself),
12004         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
12005         (gst_pad_check_pull_range), (gst_pad_pull_range),
12006         (gst_pad_template_get_type), (gst_pad_template_class_init),
12007         (gst_pad_template_init), (gst_pad_template_dispose),
12008         (name_is_valid), (gst_static_pad_template_get),
12009         (gst_pad_template_new), (gst_static_pad_template_get_caps),
12010         (gst_pad_template_get_caps), (gst_pad_set_element_private),
12011         (gst_pad_get_element_private), (gst_pad_start_task),
12012         (gst_pad_pause_task), (gst_pad_stop_task),
12013         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
12014         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12015         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
12016         (gst_ghost_pad_new):
12017         * gst/gstpad.h:
12018         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
12019         (gst_query_new_position), (gst_query_set_position),
12020         (gst_query_parse_position), (gst_query_new_convert),
12021         (gst_query_set_convert), (gst_query_parse_convert):
12022         * gst/gstquery.h:
12023         * gst/gstqueryutils.c:
12024         * gst/gstqueryutils.h:
12025         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12026         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12027         (gst_queue_handle_src_query):
12028         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12029         (gst_element_query_position), (gst_element_query_convert),
12030         (intersect_caps_func), (gst_pad_query_position),
12031         (gst_pad_query_convert):
12032         * gst/gstutils.h:
12033         * tools/gst-inspect.c: (print_pad_info):
12034         * tools/gst-xmlinspect.c: (print_element_info):
12035         Remove old query functions. Ported old code.
12036         Added position/convert helper functions to gstutils.
12037         Reordered gstpad.c code, grouping relevant things.
12038         Remove gst_message_new(), always need to speficy a specific
12039         message.
12040
12041
12042 2005-05-09  Andy Wingo  <wingo@pobox.com>
12043
12044         * gst/gstiterator.h: Add some includes.
12045
12046         * gst/gstqueryutils.h: Include more headers.
12047
12048         * gst/gstpad.h:
12049         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
12050         some uses of gst_pad_query.
12051
12052         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
12053         NULL out parameters.
12054         (gst_query_new_position): New proc, allocates a new position
12055         query.
12056
12057         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
12058         gstqueryutils.c to the build.
12059
12060         * gst/gststructure.c (gst_structure_set_valist): Implement with
12061         the generic G_VALUE_COLLECT.
12062         
12063 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
12064
12065         * gst/Makefile.am: (gst_headers):
12066         Added gstqueryutils.h to the list of headers to install, that was
12067         a 'nachty' move wingo :)
12068
12069 2005-05-06  Andy Wingo  <wingo@pobox.com>
12070
12071         * gst/gstquery.h
12072         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
12073         GstData, init a memchunk.
12074         (standard_definitions): Add a few query types, deprecate a few.
12075         (gst_query_get_type): New proc.
12076         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
12077         implementation.
12078         (gst_query_new_application, gst_query_get_structure): New public
12079         procs.
12080
12081         * docs/design/draft-query.txt: Removed LINKS from the query types,
12082         because all the rest can be dispatched to other pads -- seemed
12083         ugly to have a query that couldn't be dispatched. internal_links
12084         is fine as a pad method.
12085
12086         * gst/gstpad.h: Add query2 as a pad method, add the new functions
12087         in gstpad.c, but maintain binary compatibility for the moment.
12088         Will fix before 0.9 is out.
12089
12090         * gst/gstqueryutils.c: 
12091         * gst/gstqueryutils.h: New files, implement 3 methods for each
12092         query type: parse_query, parse_response, and set. Probably need an
12093         allocator as well.
12094
12095         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
12096
12097         * gst/elements/gstfilesink.c (gst_filesink_query2):
12098         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
12099         query_types, and formats methods.
12100
12101         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
12102         (gst_pad_set_query2_function): New functions.
12103         (gst_real_pad_init): Set query2_default as the default query2
12104         function. Basically just dispatches to internally linked pads.
12105
12106         Needs review!
12107         
12108         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
12109         without using the atomic operations. Only one thread can possibly
12110         be accessing the data at this point. Changed so as to avoid
12111         gst_atomic operations.
12112
12113 2005-05-06  Wim Taymans  <wim@fluendo.com>
12114
12115         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
12116         Also set caps if we use the fallback buffer alloc.
12117
12118 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
12119
12120         * docs/gst/Makefile.am:
12121         * docs/gst/gstreamer-docs.sgml:
12122         * docs/gst/gstreamer-sections.txt:
12123         * docs/gst/tmpl/gstatomic.sgml:
12124         * docs/gst/tmpl/gstmemchunk.sgml:
12125         * testsuite/elements/struct_i386.h:
12126         * win32/GStreamer.vcproj:
12127         * win32/Makefile:
12128           Purge GstAtomic stuff from docs and win32 makefiles as well
12129
12130 2005-05-06  Wim Taymans  <wim@fluendo.com>
12131
12132         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
12133         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
12134         * gst/gstpad.c: (gst_pad_peer_get_caps):
12135         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12136         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12137         (gst_queue_src_activate), (gst_queue_change_state):
12138         * gst/gstqueue.h:
12139         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12140         (intersect_caps_func):
12141         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
12142         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
12143         Some fixes for the peer_get_caps() change.
12144
12145 2005-05-06  Wim Taymans  <wim@fluendo.com>
12146
12147         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
12148         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
12149         (gst_basesink_activate):
12150         Actually do something with error codes returned from the push
12151         functions.
12152
12153 2005-05-06  Wim Taymans  <wim@fluendo.com>
12154
12155         * docs/design/part-element-sink.txt:
12156         * docs/design/part-element-source.txt:
12157         * gst/base/gstbasesink.c: (gst_basesink_class_init),
12158         (gst_basesink_event), (gst_basesink_activate):
12159         * gst/base/gstbasesink.h:
12160         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
12161         (gst_basesrc_activate):
12162         * gst/base/gstbasesrc.h:
12163         * gst/gstelement.c: (gst_element_pads_activate):
12164         Some more documentation.
12165         Fixed scheduling decision in _pads_activate().
12166
12167 2005-05-05  Andy Wingo  <wingo@pobox.com>
12168
12169         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
12170         the test suite.
12171
12172 2005-05-05  Wim Taymans  <wim@fluendo.com>
12173
12174         * gst/base/Makefile.am:
12175         * gst/base/gstbasesink.h:
12176         * gst/base/gstbasesrc.c: (gst_basesrc_init),
12177         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
12178         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
12179         (gst_collectpads_class_init), (gst_collectpads_init),
12180         (gst_collectpads_finalize), (gst_collectpads_new),
12181         (gst_collectpads_set_function), (gst_collectpads_add_pad),
12182         (find_pad), (gst_collectpads_remove_pad),
12183         (gst_collectpads_is_active), (gst_collectpads_collect),
12184         (gst_collectpads_collect_range), (gst_collectpads_start),
12185         (gst_collectpads_stop), (gst_collectpads_peek),
12186         (gst_collectpads_pop), (gst_collectpads_available),
12187         (gst_collectpads_read), (gst_collectpads_flush),
12188         (gst_collectpads_chain):
12189         * gst/base/gstcollectpads.h:
12190         * gst/elements/Makefile.am:
12191         * gst/elements/gstelements.c:
12192         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12193         (gst_fakesink_get_times), (gst_fakesink_event),
12194         (gst_fakesink_preroll), (gst_fakesink_render):
12195         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
12196         (gst_filesink_init), (gst_filesink_set_location),
12197         (gst_filesink_open_file), (gst_filesink_close_file),
12198         (gst_filesink_pad_query), (gst_filesink_event),
12199         (gst_filesink_render), (gst_filesink_change_state):
12200         * gst/elements/gstfilesink.h:
12201         Added object to help in making collect pad based elements.
12202         Ported filesink.
12203         Make event function in sink baseclass return gboolean.
12204
12205 2005-05-05  Wim Taymans  <wim@fluendo.com>
12206
12207         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
12208         (gst_bin_get_by_name):
12209         * gst/gstbuffer.h:
12210         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
12211         (gst_clock_finalize):
12212         * gst/gstdata.c: (gst_data_replace):
12213         * gst/gstdata.h:
12214         * gst/gstelement.c: (gst_element_request_pad),
12215         (gst_element_pads_activate):
12216         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
12217         (gst_object_unref):
12218         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12219         (gst_pad_set_checkgetrange_function),
12220         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
12221         (gst_pad_check_pull_range), (gst_pad_pull_range),
12222         (gst_static_pad_template_get_caps), (gst_pad_start_task),
12223         (gst_pad_pause_task), (gst_pad_stop_task):
12224         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12225         (gst_element_request_pad), (gst_pad_proxy_getcaps):
12226         Fix name lookup in GstBin.
12227         Added _data_replace() function and _buffer_replace()
12228         Use finalize method to clean up clock.
12229         Fix refcounting on request pads.
12230         Fix pad schedule mode error.
12231         Some more object refcounting debug info,
12232
12233
12234 2005-05-04  Andy Wingo <wingo@pobox.com>
12235
12236         * check/Makefile.am:
12237         * docs/gst/tmpl/gstatomic.sgml:
12238         * docs/gst/tmpl/gstplugin.sgml:
12239         * gst/base/gstbasesink.c: (gst_basesink_activate):
12240         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
12241         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
12242         (gst_basesrc_query), (gst_basesrc_set_property),
12243         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
12244         (gst_basesrc_activate):
12245         * gst/base/gstbasesrc.h:
12246         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
12247         (gst_base_transform_src_activate):
12248         * gst/elements/gstelements.c:
12249         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12250         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
12251         * gst/elements/gsttee.c: (gst_tee_sink_activate):
12252         * gst/elements/gsttypefindelement.c: (find_element_get_length),
12253         (gst_type_find_element_checkgetrange),
12254         (gst_type_find_element_activate):
12255         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
12256         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
12257         (gst_caps_load_thyself):
12258         * gst/gstelement.c: (gst_element_pads_activate),
12259         (gst_element_save_thyself), (gst_element_restore_thyself):
12260         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
12261         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
12262         * gst/gstpad.h:
12263         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
12264         (gst_xml_parse_file), (gst_xml_parse_memory),
12265         (gst_xml_get_element), (gst_xml_make_element):
12266         * gst/indexers/gstfileindex.c: (gst_file_index_load),
12267         (_file_index_id_save_xml), (gst_file_index_commit):
12268         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
12269         (read_enum), (load_pad_template), (load_feature), (load_plugin),
12270         (load_paths):
12271         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
12272         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
12273         * tools/gst-complete.c: (main):
12274         * tools/gst-compprep.c: (main):
12275         * tools/gst-inspect.c: (print_element_properties_info):
12276         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12277         * tools/gst-xmlinspect.c: (print_element_properties):
12278         GCC 4 fixen.
12279         
12280 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12281
12282         * gst/gstplugin.c: (gst_plugin_check_module),
12283         (gst_plugin_check_file), (gst_plugin_load_file):
12284             apply patch from #172526 to make register work on MacOSX
12285
12286 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12287
12288         * docs/gst/tmpl/gstconfig.sgml:
12289         * gst/gstconfig.h.in:
12290           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
12291         * testsuite/debug/printf_extension.c: (main):
12292           Do not use GST_PTR_FORMAT on pointers to types with
12293           sizeof < sizeof(gpointer).  Fixes test on 64-bit
12294         * testsuite/elements/property.h:
12295           use correct printf format
12296
12297 2005-05-02  Wim Taymans  <wim@fluendo.com>
12298
12299         * docs/design/draft-push-pull.txt:
12300         * docs/design/draft-query.txt:
12301         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12302         (gst_basesrc_start):
12303         Added draft for new query API.
12304         Added draft for better selecting scheduling methods.
12305         Make basesrc ignore length if the subclass does not support
12306         it.
12307
12308 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12309
12310         * gst/Makefile.am:
12311           possible fixes for automake-1.5 - _LIBADD is reserved
12312
12313 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12314
12315         * docs/faq/Makefile.am:
12316         * docs/manual/Makefile.am:
12317         * docs/manuals.mak:
12318         * docs/pwg/Makefile.am:
12319         * gst/Makefile.am:
12320           possible fixes for automake-1.5
12321
12322 2005-04-28  Wim Taymans  <wim@fluendo.com>
12323
12324         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12325         (gst_basesink_pad_getcaps), (gst_basesink_init),
12326         (gst_basesink_do_sync):
12327         * gst/gstclock.c: (gst_clock_entry_new):
12328         * gst/gstevent.c: (gst_event_discont_get_value):
12329         * gst/gstpipeline.c: (pipeline_bus_handler),
12330         (gst_pipeline_change_state):
12331         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12332         Better debugging of clocking info.
12333         Allow NULL values when getting discont values.
12334
12335 2005-04-27  Wim Taymans  <wim@fluendo.com>
12336
12337         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12338         * check/gst/gstpad.c: (gst_pad_suite):
12339         Increase timeout for checks.
12340
12341 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12342
12343         * check/Makefile.am:
12344           fix the broken rule for cleanup.  Apparently this rule is
12345           only needed on FC2, so maybe this warrants further autotool
12346           inspection.
12347
12348 2005-04-26  Wim Taymans  <wim@fluendo.com>
12349
12350         * gst/gsttrashstack.h:
12351         Ooohh. a nasty one! After having a failed pop() from the stack,
12352         it's possible that the stack is empty. In that case, don't
12353         follow the NULL pointer.
12354
12355 2005-04-25  Wim Taymans  <wim@fluendo.com>
12356
12357         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12358         (gst_pad_set_checkgetrange_function),
12359         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12360         (gst_pad_check_pull_range), (gst_pad_pull_range),
12361         (gst_static_pad_template_get_caps), (gst_pad_start_task),
12362         (gst_pad_pause_task), (gst_pad_stop_task):
12363         * gst/gstplugin.c: (gst_plugin_load):
12364         * gst/gstplugin.h:
12365         Remove gst_library_load as it does more harm than good with
12366         the new g_module flags.
12367         Revert bogus caps template check in pad linking, pad caps
12368         are important when linking not the template, which is more
12369         general than the current caps.
12370
12371 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12372
12373         * gst/autoplug/.cvsignore:
12374         * gst/autoplug/Makefile.am:
12375         * gst/autoplug/gstsearchfuncs.c:
12376         * gst/autoplug/gstsearchfuncs.h:
12377         * gst/autoplug/gstspider.c:
12378         * gst/autoplug/gstspider.h:
12379         * gst/autoplug/gstspideridentity.c:
12380         * gst/autoplug/gstspideridentity.h:
12381         * gst/autoplug/spidertest.c:
12382           Die, spider, die.
12383
12384 2005-04-25  Wim Taymans  <wim@fluendo.com>
12385
12386         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12387         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12388         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12389         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12390         * gst/gstpad.h:
12391         Added stubs for unimplemented functions. 
12392
12393 2005-04-24  David Schleef  <ds@schleef.org>
12394
12395         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
12396         please fix.
12397
12398 2005-04-24  David Schleef  <ds@schleef.org>
12399
12400         Convert everything from GstAtomicInt to g_atomic_int_*, and
12401         remove gstatomic.
12402         * gst/Makefile.am:
12403         * gst/gstatomic.c:
12404         * gst/gstatomic.h:
12405         * gst/gstatomic_impl.h:
12406         * gst/gstbuffer.c:
12407         * gst/gstcaps.c:
12408         * gst/gstcaps.h:
12409         * gst/gstclock.c:
12410         * gst/gstclock.h:
12411         * gst/gstdata.c:
12412         * gst/gstdata.h:
12413         * gst/gstdata_private.h:
12414         * gst/gstevent.c:
12415         * gst/gstinfo.c:
12416         * gst/gstinfo.h:
12417         * gst/gstmessage.c:
12418         * gst/gstobject.c:
12419         * gst/gstobject.h:
12420         * gst/gststructure.c:
12421         * gst/gststructure.h:
12422         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12423         * gst/gstutils.h:
12424
12425 2005-04-24  David Schleef  <ds@schleef.org>
12426
12427         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12428         make the regressions tests work.  Remove some code that is no
12429         longer true.
12430         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12431         Disable warning for pads without templates.
12432
12433 2005-04-24  David Schleef  <ds@schleef.org>
12434
12435         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
12436         functions that handle filtered links.
12437         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12438         removed functions.
12439         * gst/gstutils.c: Fix/remove utility functions that handle
12440         filtered caps.
12441         * gst/gstutils.h:
12442         * gst/gstvalue.c: Add serialization/deserialization of caps
12443         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
12444         requires fixing so that the filter caps notation creates
12445         a capsfilter element and sets the filter_caps property.  I
12446         think everyone probably wants to keep the shorthand notation.
12447         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12448         * docs/gst/tmpl/gstpad.sgml:
12449
12450         * gst/elements/gstelements.c: Register capsfilter element.
12451         * gst/Makefile.am: fix spacing
12452         * docs/random/ds/0.9-suggested-changes: random
12453
12454 2005-04-23  David Schleef  <ds@schleef.org>
12455
12456         * gst/elements/Makefile.am:
12457         * gst/elements/gstcapsfilter.c: New element that acts like an
12458         identity, but filters caps.  Will eventually replace filtered
12459         caps in pad linking.
12460         * gst/gstutils.c: (gst_element_create_all_pads): New function
12461         to create all the ALWAYS pads that are registered with an
12462         element class.  This functionality should eventually be
12463         merged in with GstElement initialization.
12464         * gst/gstutils.h:
12465         * testsuite/trigger/README: part of trigger test code that should
12466         have been checked in a long time ago.
12467
12468 2005-04-23  David Schleef  <ds@schleef.org>
12469
12470         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
12471         needed with new versions of libtool (nobody will confirm this),
12472         and hard to carry around.
12473         * gst/autoplug/Makefile.am:
12474         * gst/base/Makefile.am:
12475         * gst/elements/Makefile.am:
12476         * gst/indexers/Makefile.am:
12477         * gst/schedulers/Makefile.am:
12478         * libs/gst/bytestream/Makefile.am:
12479         * libs/gst/control/Makefile.am:
12480         * libs/gst/dataprotocol/Makefile.am:
12481         * libs/gst/getbits/Makefile.am:
12482
12483 2005-04-21  Wim Taymans  <wim@fluendo.com>
12484
12485         * docs/design/draft-push-pull.txt:
12486         * docs/design/part-MT-refcounting.txt:
12487         * docs/design/part-TODO.txt:
12488         * docs/design/part-caps.txt:
12489         * docs/design/part-events.txt:
12490         * docs/design/part-gstbus.txt:
12491         * docs/design/part-gstpipeline.txt:
12492         * docs/design/part-messages.txt:
12493         * docs/design/part-push-pull.txt:
12494         * docs/design/part-query.txt:
12495         Some more docs.
12496
12497 2005-04-21  Wim Taymans  <wim@fluendo.com>
12498
12499         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12500         (gst_message_new), (gst_message_new_error),
12501         (gst_message_new_warning), (gst_message_new_tag),
12502         (gst_message_new_state_changed), (gst_message_new_application),
12503         (gst_message_get_structure):
12504         * gst/gstmessage.h:
12505         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12506         (gst_structure_copy_conditional):
12507         Use parent refcount in GstMessage to ensure GstStructure
12508         consistency.
12509         Cleaned up headers a bit.
12510         
12511
12512 2005-04-20  Wim Taymans  <wim@fluendo.com>
12513
12514         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12515         (gst_basesink_pad_getcaps), (gst_basesink_init),
12516         (gst_basesink_chain_unlocked):
12517         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12518         (gst_type_find_helper):
12519         * gst/elements/gsttypefindelement.c:
12520         (gst_type_find_element_have_type), (gst_type_find_element_init),
12521         (stop_typefinding), (gst_type_find_element_handle_event),
12522         (find_suggest), (gst_type_find_element_chain),
12523         (gst_type_find_element_checkgetrange),
12524         (gst_type_find_element_getrange), (do_typefind),
12525         (gst_type_find_element_activate):
12526         * gst/gstbuffer.c: (_gst_buffer_sub_free),
12527         (gst_buffer_default_free), (gst_buffer_default_copy),
12528         (gst_buffer_set_caps):
12529         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12530         (gst_caps_replace):
12531         * gst/gstmessage.c: (gst_message_new),
12532         (gst_message_new_state_changed):
12533         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12534         (gst_pad_set_checkgetrange_function),
12535         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12536         (gst_pad_set_caps), (gst_pad_check_pull_range),
12537         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12538         * gst/gstpad.h:
12539         * gst/gsttypefind.c: (gst_type_find_register):
12540         Make gst_caps_replace() work like other _replace() functions.
12541         Use _caps_replace() where possible.
12542         Make sure _message_new() initialises its field.
12543         Add gst_static_pad_template_get_caps()
12544
12545
12546 2005-04-18  Andy Wingo  <wingo@pobox.com>
12547
12548         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12549         on the peer, not the pad. I think that was a typo. Pass an extra
12550         arg to see if random access is possible. Activate the pads as
12551         PULL_RANGE if possible.
12552
12553         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12554
12555         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
12556         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12557         to PROP_....
12558
12559 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12560
12561         * docs/faq/using.xml:
12562           Add note on gstreamer-properties (#154996).
12563
12564 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12565
12566         * docs/random/bbb/optional-properties:
12567           Some analysis on optional properties.
12568
12569 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12570
12571         * docs/gst/tmpl/gstelementfactory.sgml:
12572         * gst/gstelement.h:
12573         * gst/gstelementfactory.c: (gst_element_factory_init),
12574         (gst_element_factory_cleanup), (gst_element_register),
12575         (__gst_element_factory_add_static_pad_template),
12576         (gst_element_factory_get_static_pad_templates),
12577         (gst_element_factory_can_src_caps),
12578         (gst_element_factory_can_sink_caps):
12579         * gst/registries/Makefile.am:
12580         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12581         (gst_xml_registry_class_init), (gst_xml_registry_init),
12582         (gst_xml_registry_new), (gst_xml_registry_set_property),
12583         (gst_xml_registry_get_property), (get_time), (make_dir),
12584         (gst_xml_registry_get_perms_func),
12585         (plugin_times_older_than_recurse), (plugin_times_older_than),
12586         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12587         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12588         (add_to_char_array), (read_string), (read_uint), (read_enum),
12589         (load_pad_template), (load_feature), (load_plugin), (load_paths),
12590         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12591         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12592         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12593         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12594         (gst_xml_registry_rebuild):
12595         * gst/registries/gstlibxmlregistry.h:
12596         * tools/gst-compprep.c: (main):
12597         * tools/gst-inspect.c: (print_pad_templates_info):
12598         * tools/gst-xmlinspect.c: (print_element_info):
12599           Use libxml2 for registry parsing, use staticpadtemplates in
12600           elementfactories. Makes gst_init() +/- 10x faster.
12601
12602 2005-04-12  Wim Taymans  <wim@fluendo.com>
12603
12604         * gst/base/Makefile.am:
12605         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12606         (gst_basesink_pad_getcaps), (gst_basesink_init),
12607         (gst_basesink_event), (gst_basesink_change_state):
12608         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12609         (gst_basesrc_init), (gst_basesrc_query),
12610         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12611         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12612         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12613         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12614         (gst_basesrc_stop), (gst_basesrc_activate),
12615         (gst_basesrc_change_state):
12616         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12617         (helper_find_suggest), (gst_type_find_helper):
12618         * gst/base/gsttypefindhelper.h:
12619         * gst/elements/Makefile.am:
12620         * gst/elements/gstelements.c:
12621         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12622         (gst_fakesink_get_times), (gst_fakesink_event),
12623         (gst_fakesink_preroll), (gst_fakesink_render):
12624         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12625         (gst_fakesrc_init), (gst_fakesrc_event_handler),
12626         (gst_fakesrc_get_property), (gst_fakesrc_create),
12627         (gst_fakesrc_start), (gst_fakesrc_stop):
12628         * gst/elements/gstfakesrc.h:
12629         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12630         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12631         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12632         (gst_filesrc_create_read), (gst_filesrc_create),
12633         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12634         (gst_filesrc_start):
12635         * gst/elements/gsttypefindelement.c:
12636         (gst_type_find_element_have_type), (gst_type_find_element_init),
12637         (start_typefinding), (stop_typefinding), (push_buffer_store),
12638         (gst_type_find_element_handle_event),
12639         (gst_type_find_element_chain),
12640         (gst_type_find_element_checkgetrange),
12641         (gst_type_find_element_getrange), (do_typefind),
12642         (gst_type_find_element_activate),
12643         (gst_type_find_element_change_state):
12644         * gst/elements/gsttypefindelement.h:
12645         * gst/gstpipeline.c: (pipeline_bus_handler):
12646         Added typefind helper.
12647         Small preroll fix in the base sink.
12648         Disable typefind code in basesrc.
12649         Crude port of typefindelement.
12650         Fakesrc cleanups.
12651
12652
12653 2005-04-11  Wim Taymans  <wim@fluendo.com>
12654
12655         * check/gst/gstbus.c: (gstbus_suite):
12656         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12657         * check/gstcheck.h:
12658           Fix up the timeout so that the test does not fail.
12659
12660 2005-04-06  Wim Taymans  <wim@fluendo.com>
12661
12662         * gst/base/README:
12663         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12664         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12665         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12666         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12667         (gst_basesrc_check_get_range), (gst_basesrc_loop),
12668         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12669         (gst_basesrc_stop), (gst_basesrc_activate),
12670         (gst_basesrc_change_state), (basesrc_find_peek),
12671         (basesrc_find_suggest), (gst_basesrc_type_find):
12672         * gst/base/gstbasesrc.h:
12673         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12674         (gst_filesrc_class_init), (gst_filesrc_init),
12675         (gst_filesrc_finalize), (gst_filesrc_set_location),
12676         (gst_filesrc_set_property), (gst_filesrc_get_property),
12677         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12678         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12679         (gst_filesrc_create_read), (gst_filesrc_create),
12680         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12681         * gst/elements/gstfilesrc.h:
12682         * gst/gstelement.c: (gst_element_get_state_func),
12683         (gst_element_lost_state), (gst_element_pads_activate):
12684         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12685         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12686         (gst_pad_pull_range):
12687         * gst/gstpad.h:
12688         More work on the generic source base class, implement seeking,
12689         query.
12690         Make filesrc extend the base source class.
12691         Added gst_pad_set_checkgetrange_function to GstPad.
12692
12693 2005-04-06  Andy Wingo  <wingo@pobox.com>
12694
12695         * pkgconfig/gstreamer-base.pc.in:
12696         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12697
12698         * pkgconfig/Makefile.am:
12699         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12700
12701 2005-04-04  Wim Taymans  <wim@fluendo.com>
12702
12703         * gst/base/Makefile.am:
12704         * gst/base/README:
12705         * gst/base/gstbasesink.c: (gst_basesink_base_init),
12706         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12707         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12708         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12709         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12710         (gst_basesrc_base_init), (gst_basesrc_class_init),
12711         (gst_basesrc_init), (gst_basesrc_get_formats),
12712         (gst_basesrc_get_query_types), (gst_basesrc_query),
12713         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12714         (gst_basesrc_set_property), (gst_basesrc_get_property),
12715         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12716         (gst_basesrc_loop), (gst_basesrc_activate),
12717         (gst_basesrc_change_state):
12718         * gst/base/gstbasesrc.h:
12719         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12720         (gst_fakesrc_class_init), (gst_fakesrc_init),
12721         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12722         (gst_fakesrc_get_property), (gst_fakesrc_create):
12723         * gst/elements/gstfakesrc.h:
12724         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12725         (gst_filesrc_open_file), (gst_filesrc_loop),
12726         (gst_filesrc_activate), (filesrc_find_peek),
12727         (gst_filesrc_type_find):
12728         Made base source class, make fakesrc extend it.
12729         Add comments to basesink class.
12730         Some filesrc cleanup.
12731
12732 2005-03-31  David Schleef  <ds@schleef.org>
12733
12734         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12735         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12736         expected to link against libgstreamer.
12737         * gst/base/Makefile.am: link against libgstreamer
12738         * gst/elements/Makefile.am: same
12739
12740 2005-03-31  Andy Wingo  <wingo@pobox.com>
12741
12742         * tests/instantiate/Makefile.am:
12743         * tests/instantiate/caps.c: Add test to test speed of caps copy
12744         and free.
12745
12746         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12747         GMemChunk to be fair.
12748
12749         * gst/gsttrashstack.h: Remove warning about using the fallback
12750         trash stack implementation, it's still faster than malloc.
12751
12752 2005-03-30  Andy Wingo  <wingo@pobox.com>
12753
12754         * tests/complexity.c: Add a copyright.
12755
12756 2005-03-31  Wim Taymans  <wim@fluendo.com>
12757
12758         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12759         (gst_base_transform_class_init), (gst_base_transform_init),
12760         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12761         (gst_base_transform_get_property),
12762         (gst_base_transform_sink_activate),
12763         (gst_base_transform_src_activate),
12764         (gst_base_transform_change_state):
12765         * gst/base/gstbasetransform.h:
12766         * gst/elements/gstidentity.c: (gst_identity_class_init),
12767         (gst_identity_event), (gst_identity_check_perfect),
12768         (gst_identity_transform), (gst_identity_start),
12769         (gst_identity_stop):
12770         Added start/stop methods to transform base class so subclasses 
12771         don't need to deal with state changes even.
12772
12773 2005-03-31  Wim Taymans  <wim@fluendo.com>
12774
12775         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12776         (gst_event_new_discontinuous), (gst_event_discont_get_value):
12777         * gst/gstevent.h:
12778         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12779         (gst_pad_pull_range):
12780         Added rate to the discont event to prepare for variable speed
12781         and reverse playback.
12782
12783 2005-03-29  David Schleef  <ds@schleef.org>
12784
12785         * configure.ac:
12786         * testsuite/trigger/Makefile.am:
12787         * testsuite/trigger/trigger.c: A little example program to show
12788         how trigger-based elements can work.
12789
12790 2005-03-29  Wim Taymans  <wim@fluendo.com>
12791
12792         * gst/base/Makefile.am:
12793         * gst/base/README:
12794         * gst/base/gstbasesink.c: (gst_basesink_get_type),
12795         (gst_basesink_base_init), (gst_basesink_class_init),
12796         (gst_basesink_pad_getcaps), (gst_basesink_init),
12797         (gst_basesink_activate), (gst_basesink_change_state):
12798         * gst/base/gstbasesink.h:
12799         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12800         (gst_base_transform_base_init), (gst_base_transform_finalize),
12801         (gst_base_transform_class_init), (gst_base_transform_init),
12802         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12803         (gst_base_transform_event), (gst_base_transform_getrange),
12804         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12805         (gst_base_transform_set_property),
12806         (gst_base_transform_get_property),
12807         (gst_base_transform_sink_activate),
12808         (gst_base_transform_src_activate),
12809         (gst_base_transform_change_state):
12810         * gst/base/gstbasetransform.h:
12811         * gst/elements/gstidentity.c: (gst_identity_finalize),
12812         (gst_identity_class_init), (gst_identity_init),
12813         (gst_identity_event), (gst_identity_check_perfect),
12814         (gst_identity_transform), (gst_identity_set_property),
12815         (gst_identity_get_property), (gst_identity_change_state):
12816         * gst/elements/gstidentity.h:
12817         * gst/gstelement.c: (gst_element_get_state_func),
12818         (gst_element_lost_state), (gst_element_pads_activate):
12819         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12820         (gst_pad_check_pull_range), (gst_pad_pull_range):
12821         * gst/gstpad.h:
12822         Simplify pad activation.
12823         Added function to check if pull_range can be performed.
12824         Error out when pulling inactive or flushing pads.
12825         Removed const from refcounted types as it does not make sense.
12826         Simplify pad templates in basesink
12827         Added base class for simple 1-to-1 transforms.
12828         Make identity subclass the base transform.
12829
12830 2005-03-29  Andy Wingo  <wingo@pobox.com>
12831
12832         * docs/libs/gstreamer-libs-overrides.txt: 
12833         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12834         really don't understand what's going on, but like whatever. I want
12835         green buildbot!
12836
12837         * docs/gst/Makefile.am:
12838         * docs/libs/Makefile.am: Dist the overrides files.
12839
12840         * check/Makefile.am (clean-local): Remove .libs directories.
12841
12842         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12843         elements to EXTRA_DIST, so po/ files are happy.
12844
12845         * po/POTFILES.in: Er, remove it here.
12846
12847         * po/POTFILES: Remove gstspider.c.
12848
12849         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12850
12851         * docs/libs/gstreamer-libs-docs.sgml: 
12852         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12853         bytestream.
12854
12855         * tests/complexity.c (main): Set the length of the preroll queue
12856         on the sinks to prevent a lockup.
12857
12858         * libs/gst/dataprotocol/Makefile.am: 
12859         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12860         the same as the one in check/gst-libs/gdp.c.
12861
12862         * po/, docs/gst/: Commit automatic changes to docs and po files.
12863
12864         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12865         the versioned libgstbase.
12866
12867         * check/Makefile.am: Depend on an unversioned gst-register, seems
12868         to make autoconf happier.
12869
12870         * gst/base/Makefile.am: Make libgstbase a versioned lib.
12871
12872 2005-03-28  Wim Taymans  <wim@fluendo.com>
12873
12874         * configure.ac:
12875         * docs/design/part-gstelement.txt:
12876         * docs/design/part-negotiation.txt:
12877         * docs/design/part-preroll.txt:
12878         * docs/design/part-scheduling.txt:
12879         * docs/design/part-states.txt:
12880         * gst/Makefile.am:
12881         * gst/base/Makefile.am:
12882         * gst/base/README:
12883         * gst/base/gstbasesink.c: (gst_basesink_get_template),
12884         (gst_basesink_base_init), (gst_basesink_class_init),
12885         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12886         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12887         (gst_basesink_set_pad_functions),
12888         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12889         (gst_basesink_set_property), (gst_basesink_get_property),
12890         (gst_base_sink_get_template), (gst_base_sink_get_caps),
12891         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12892         (gst_basesink_preroll_queue_push),
12893         (gst_basesink_preroll_queue_empty),
12894         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12895         (gst_basesink_event), (gst_basesink_get_times),
12896         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12897         (gst_basesink_chain_unlocked), (gst_basesink_chain),
12898         (gst_basesink_loop), (gst_basesink_activate),
12899         (gst_basesink_change_state):
12900         * gst/base/gstbasesink.h:
12901         * gst/elements/Makefile.am:
12902         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12903         (gst_fakesink_class_init), (gst_fakesink_init),
12904         (gst_fakesink_set_property), (gst_fakesink_get_property),
12905         (gst_fakesink_get_times), (gst_fakesink_event),
12906         (gst_fakesink_preroll), (gst_fakesink_render),
12907         (gst_fakesink_change_state):
12908         * gst/elements/gstfakesink.h:
12909         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12910         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12911         * gst/gstelement.c: (gst_element_add_pad),
12912         (gst_element_get_state_func), (gst_element_abort_state),
12913         (gst_element_commit_state), (gst_element_lost_state),
12914         (gst_element_set_state), (gst_element_pads_activate):
12915         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12916         * gst/gstpipeline.c: (gst_pipeline_send_event),
12917         (gst_pipeline_change_state):
12918         Added state change code.
12919         Added/updated docs.
12920         Added sink base class, make fakesink extend the base class.
12921         Small cleanups in GstPipeline.
12922
12923 2005-03-26  David Schleef  <ds@schleef.org>
12924
12925         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
12926         is broken and should be implemented in a different library.
12927         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12928         * gst/gst.h: remove gstcpu.h
12929         * gst/gstcpu.c: remove
12930         * gst/gstcpu.h: remove
12931         * gst/Makefile.am.future: Remove this file.  It's ancient.
12932
12933 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12934
12935         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12936         (gst_bin_send_event):
12937           Add default event/set_manager handlers. The set_manager handler
12938           takes care that the manager is distributed over kids that were
12939           already in the bin before the manager was set. The event handler
12940           is a utility virtual function that sends the event over all sinks,
12941           so that gst_element_send_event (bin, event); has the expected
12942           behaviour.
12943         * gst/gstpad.c: (gst_pad_event_default):
12944           Re-install default event handling for discontinuities, so that
12945           seeking works without requiring hacks in applications or extra
12946           code in sinks.
12947         * gst/gstpipeline.c: (gst_pipeline_class_init),
12948         (gst_pipeline_send_event):
12949           Half hack, half utility: set a pipeline to PAUSED for seek events,
12950           since that is the only way we can guarantee a/v sync. Means that
12951           you can do gst_element_seek (pipeline, method, pos); on a pipeline
12952           and it "just works".
12953
12954 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12955
12956         * gst/gstpipeline.c: (gst_pipeline_use_clock):
12957           Lock/unlock mismatch.
12958
12959 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12960
12961         * docs/faq/gst-uninstalled:
12962           add gst-plugins-base
12963         * docs/gst/Makefile.am:
12964           don't error out until docs are fixed
12965         * docs/gst/gstreamer.types:
12966           remove thread
12967
12968 2005-03-22  Wim Taymans  <wim@fluendo.com>
12969
12970         * check/Makefile.am:
12971         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12972         * gst/gststructure.c: (gst_structure_set_valist),
12973         (gst_structure_copy_conditional):
12974         Activated more tests.
12975         Added message test.
12976         Added G_TYPE_POINTER to GstStructure.
12977         
12978
12979 2005-03-22  Wim Taymans  <wim@fluendo.com>
12980
12981         * docs/design/part-TODO.txt:
12982         * docs/design/part-events.txt:
12983         * docs/design/part-gstbin.txt:
12984         * docs/design/part-gstbus.txt:
12985         * docs/design/part-gstpipeline.txt:
12986         * docs/design/part-messages.txt:
12987         * gst/gstbus.c:
12988         * gst/gstmessage.c:
12989         Docs updates
12990
12991 2005-03-21  Wim Taymans  <wim@fluendo.com>
12992
12993         * gst/gstbus.c: (gst_bus_post):
12994         Fix copy-and-paste error.
12995
12996 2005-03-21  Wim Taymans  <wim@fluendo.com>
12997
12998         * check/Makefile.am:
12999         * gst/Makefile.am:
13000         * gst/elements/Makefile.am:
13001         * gst/elements/gstelements.c:
13002         * gst/elements/gstfakesink.c: (gst_fakesink_init),
13003         (gst_fakesink_event), (gst_fakesink_chain):
13004         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13005         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
13006         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
13007         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
13008         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
13009         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
13010         (gst_fakesrc_loop), (gst_fakesrc_activate),
13011         (gst_fakesrc_change_state):
13012         * gst/elements/gstfakesrc.h:
13013         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
13014         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
13015         (gst_filesrc_open_file), (gst_filesrc_loop),
13016         (gst_filesrc_activate), (gst_filesrc_change_state),
13017         (filesrc_find_peek), (filesrc_find_suggest),
13018         (gst_filesrc_type_find):
13019         * gst/elements/gstidentity.c: (gst_identity_finalize),
13020         (gst_identity_class_init), (gst_identity_init),
13021         (gst_identity_proxy_getcaps), (identity_queue_push),
13022         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
13023         (gst_identity_getrange), (gst_identity_chain),
13024         (gst_identity_sink_loop), (gst_identity_src_loop),
13025         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
13026         (gst_identity_set_property), (gst_identity_get_property),
13027         (gst_identity_change_state):
13028         * gst/elements/gstidentity.h:
13029         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
13030         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
13031         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
13032         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
13033         (gst_tee_sink_activate):
13034         * gst/elements/gsttee.h:
13035         * gst/gst.c: (gst_register_core_elements), (init_post):
13036         * gst/gst.h:
13037         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
13038         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
13039         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
13040         (gst_bin_change_state):
13041         * gst/gstbin.h:
13042         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
13043         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
13044         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
13045         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
13046         (gst_bus_set_sync_handler), (gst_bus_create_watch),
13047         (bus_watch_callback), (bus_watch_destroy),
13048         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
13049         (poll_timeout), (gst_bus_poll):
13050         * gst/gstbus.h:
13051         * gst/gstcaps.h:
13052         * gst/gstdata.h:
13053         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13054         (gst_element_post_message), (gst_element_message_full),
13055         (gst_element_get_state_func), (gst_element_get_state),
13056         (gst_element_abort_state), (gst_element_commit_state),
13057         (gst_element_lost_state), (gst_element_set_state),
13058         (gst_element_pads_activate), (gst_element_change_state),
13059         (gst_element_dispose), (gst_element_set_manager_func),
13060         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
13061         (gst_element_set_manager), (gst_element_get_manager),
13062         (gst_element_set_bus), (gst_element_get_bus),
13063         (gst_element_set_scheduler), (gst_element_get_scheduler):
13064         * gst/gstelement.h:
13065         * gst/gstevent.c: (gst_event_new_segment_seek),
13066         (gst_event_new_flush):
13067         * gst/gstevent.h:
13068         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
13069         (_gst_message_free), (gst_message_get_type), (gst_message_new),
13070         (gst_message_new_eos), (gst_message_new_error),
13071         (gst_message_new_warning), (gst_message_new_tag),
13072         (gst_message_new_state_changed), (gst_message_new_application),
13073         (gst_message_get_structure), (gst_message_parse_tag),
13074         (gst_message_parse_state_changed), (gst_message_parse_error),
13075         (gst_message_parse_warning):
13076         * gst/gstmessage.h:
13077         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
13078         (gst_real_pad_set_property), (gst_pad_set_active),
13079         (gst_pad_is_active), (gst_pad_set_blocked_async),
13080         (gst_pad_set_blocked), (gst_pad_is_blocked),
13081         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
13082         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
13083         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13084         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
13085         (gst_pad_link_filtered), (gst_pad_relink_filtered),
13086         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
13087         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
13088         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
13089         (gst_pad_set_caps), (gst_pad_configure_sink),
13090         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
13091         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
13092         (gst_real_pad_dispose), (gst_real_pad_finalize),
13093         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
13094         (gst_pad_event_default_dispatch), (gst_pad_event_default),
13095         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
13096         * gst/gstpad.h:
13097         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
13098         (pipeline_bus_handler), (gst_pipeline_change_state),
13099         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
13100         * gst/gstpipeline.h:
13101         * gst/gstprobe.h:
13102         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
13103         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
13104         (gst_queue_link_src), (gst_queue_bufferalloc),
13105         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13106         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
13107         (gst_queue_loop), (gst_queue_handle_src_event),
13108         (gst_queue_handle_src_query), (gst_queue_src_activate),
13109         (gst_queue_change_state):
13110         * gst/gstqueue.h:
13111         * gst/gstscheduler.c: (gst_scheduler_init),
13112         (gst_scheduler_dispose), (gst_scheduler_create_task),
13113         (gst_scheduler_factory_create):
13114         * gst/gstscheduler.h:
13115         * gst/gststructure.c: (gst_structure_get_type),
13116         (gst_structure_copy_conditional):
13117         * gst/gststructure.h:
13118         * gst/gsttaginterface.h:
13119         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13120         (gst_task_init), (gst_task_dispose), (gst_task_create),
13121         (gst_task_get_state), (gst_task_start), (gst_task_stop),
13122         (gst_task_pause):
13123         * gst/gsttask.h:
13124         * gst/gstthread.c:
13125         * gst/gstthread.h:
13126         * gst/gsttypes.h:
13127         * gst/schedulers/Makefile.am:
13128         * gst/schedulers/cothreads_compat.h:
13129         * gst/schedulers/entryscheduler.c:
13130         * gst/schedulers/faircothreads.c:
13131         * gst/schedulers/faircothreads.h:
13132         * gst/schedulers/fairscheduler.c:
13133         * gst/schedulers/gstbasicscheduler.c:
13134         * gst/schedulers/gstoptimalscheduler.c:
13135         * gst/schedulers/gthread-cothreads.h:
13136         * gst/schedulers/threadscheduler.c:
13137         (gst_thread_scheduler_task_get_type),
13138         (gst_thread_scheduler_task_class_init),
13139         (gst_thread_scheduler_task_init),
13140         (gst_thread_scheduler_task_start),
13141         (gst_thread_scheduler_task_stop),
13142         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
13143         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
13144         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
13145         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
13146         (plugin_init):
13147         * libs/gst/Makefile.am:
13148         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
13149         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
13150         (gst_file_pad_parent_set):
13151         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13152         (gst_dp_event_from_packet):
13153         * tests/complexity.c: (main):
13154         * tests/mass_elements.c: (main):
13155         * testsuite/states/locked.c: (message_received), (main):
13156         * testsuite/states/parent.c: (main):
13157         * tools/gst-inspect.c: (print_element_flag_info),
13158         (print_implementation_info), (print_pad_info):
13159         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
13160         (main):
13161         * tools/gst-md5sum.c: (event_loop), (main):
13162         * tools/gst-typefind.c: (main):
13163         * tools/gst-xmlinspect.c: (print_element_info):
13164         Next big merge.
13165         Added GstBus for mainloop integration.
13166         Added GstMessage for sending notifications on the bus.
13167         Added GstTask as an abstraction for pipeline entry points.
13168         Removed GstThread.
13169         Removed Schedulers.
13170         Simplified GstQueue for multithreaded core.
13171         Made _link threadsafe, removed old capsnego.
13172         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
13173         Added pad blocking functions.
13174         Reworked scheduling functions in GstPad to prepare for
13175         scheduling updates soon.
13176         Moved events out of data stream.
13177         Simplified GstEvent types.
13178         Added return values to push/pull.
13179         Removed clocking from GstElement.
13180         Added prototypes for state change function for next merge.
13181         Removed iterate from bins and state change management.
13182         Fixed some elements, disabled others for now.
13183         Fixed -inspect and -launch.
13184         Added check for GstBus.
13185
13186 2005-03-10  Wim Taymans  <wim@fluendo.com>
13187
13188         * docs/design/part-MT-refcounting.txt:
13189         * docs/design/part-clocks.txt:
13190         * docs/design/part-gstelement.txt:
13191         * docs/design/part-gstobject.txt:
13192         * docs/design/part-standards.txt:
13193         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13194         (gst_bin_remove_func), (gst_bin_remove):
13195         * gst/gstbin.h:
13196         * gst/gstbuffer.c:
13197         * gst/gstcaps.h:
13198         * testsuite/clock/clock1.c: (main):
13199         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
13200         (main):
13201         * testsuite/dlopen/loadgst.c: (do_test):
13202         * testsuite/refcounting/bin.c: (add_remove_test1),
13203         (add_remove_test2), (main):
13204         * testsuite/refcounting/element.c: (main):
13205         * testsuite/refcounting/element_pad.c: (main):
13206         * testsuite/refcounting/pad.c: (main):
13207         * tools/gst-launch.c: (sigint_handler_sighandler):
13208         * tools/gst-typefind.c: (main):
13209         Doc updates.
13210         Added doc about clock.
13211         removed gst_bin_iterate_recurse_up(), marked methods
13212         for removal.
13213         Fix more testsuites.
13214
13215 2005-03-09  Wim Taymans  <wim@fluendo.com>
13216
13217         * gst/gstpad.c: (gst_pad_get_direction),
13218         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
13219         (gst_pad_collect_valist):
13220         * testsuite/bins/interface.c: (main):
13221         * testsuite/caps/audioscale.c: (test_caps):
13222         * testsuite/caps/caps.c: (test1), (test2), (test3):
13223         * testsuite/caps/deserialize.c: (main):
13224         * testsuite/caps/enumcaps.c: (main):
13225         * testsuite/caps/filtercaps.c: (main):
13226         * testsuite/caps/intersect2.c: (main):
13227         * testsuite/caps/random.c: (main):
13228         * testsuite/caps/renegotiate.c: (my_fixate), (main):
13229         * testsuite/caps/sets.c: (check_caps):
13230         * testsuite/caps/simplify.c: (check_caps), (main):
13231         * testsuite/caps/subtract.c: (check_caps):
13232         Fix _pad_get_direction wrt ghostpads.
13233         Fix caps testsuite.
13234
13235 2005-03-09  Wim Taymans  <wim@fluendo.com>
13236
13237         * check/Makefile.am:
13238         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
13239         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
13240         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
13241         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
13242         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
13243         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
13244         (gst_bin_remove), (gst_bin_iterate_recurse_up),
13245         (bin_element_is_sink), (gst_bin_iterate_sinks),
13246         (gst_bin_iterate_all_by_interface):
13247         * gst/gstbin.h:
13248         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
13249         (gst_element_change_state), (gst_element_dispose),
13250         (gst_element_finalize), (gst_element_set_loop_function):
13251         * gst/gstelement.h:
13252         * gst/gstiterator.c: (find_custom_fold_func):
13253         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13254         (gst_pad_collectv), (gst_pad_collect_valist),
13255         (gst_pad_template_new):
13256         * gst/gstpipeline.c: (gst_pipeline_class_init),
13257         (gst_pipeline_dispose), (gst_pipeline_set_property),
13258         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
13259         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
13260         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
13261         * gst/gstutils.h:
13262         * gst/schedulers/entryscheduler.c:
13263         * gst/schedulers/gstbasicscheduler.c:
13264         (gst_basic_scheduler_cothreaded_chain),
13265         (gst_basic_scheduler_chain_add_element):
13266         * testsuite/bins/interface.c: (main):
13267         Added GstBin test.
13268         Added GstSystemClock test.
13269         Implemented clock distribution code in GstBin.
13270         Implemented iterate sinks method for future use.
13271         Rearranged gstelement.h
13272         Fix GstIterator comparison bug.
13273         Moved some code to GstPipeline, mostly clocking related.
13274
13275 2005-03-09  Wim Taymans  <wim@fluendo.com>
13276
13277         * configure.ac:
13278         * gst/gst_private.h:
13279         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13280         (gst_bin_remove_func), (gst_bin_remove),
13281         (gst_bin_get_by_name_recurse_up):
13282         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
13283         (gst_clock_id_compare_func), (gst_clock_id_wait),
13284         (gst_clock_id_wait_async), (gst_clock_init),
13285         (gst_clock_adjust_unlocked), (gst_clock_get_time):
13286         * gst/gstelement.h:
13287         * gst/gstinfo.c: (_gst_debug_init):
13288         * gst/gstobject.h:
13289         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13290         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13291         * gst/gstpad.h:
13292         Bump version number, we're now 0.9.0
13293         Add future debugging category.
13294         Fix NULL _unref() in _get_by_name_recurse_up
13295         Rearrange gstpad.h.
13296         Update some docs.
13297
13298 2005-03-08  Wim Taymans  <wim@fluendo.com>
13299
13300         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13301         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13302         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13303         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13304         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13305         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13306         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13307         * gst/elements/gstidentity.c: (gst_identity_class_init):
13308         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13309         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13310         * gst/elements/gstshaper.c: (gst_shaper_class_init):
13311         * gst/elements/gststatistics.c: (gst_statistics_class_init):
13312         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13313         (gst_tee_link):
13314         * gst/gstelement.c: (gst_element_class_init),
13315         (gst_element_base_class_init), (gst_element_init),
13316         (gst_element_get_random_pad), (gst_element_wait_state_change),
13317         (gst_element_change_state), (gst_element_dispose),
13318         (gst_element_finalize), (gst_element_set_loop_function):
13319         * gst/gstelement.h:
13320         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13321         * gst/gstthread.c: (gst_thread_class_init),
13322         (gst_thread_release_children_locks), (gst_thread_change_state):
13323         * gst/schedulers/gstbasicscheduler.c:
13324         (gst_basic_scheduler_loopfunc_wrapper),
13325         (gst_basic_scheduler_chain_wrapper),
13326         (gst_basic_scheduler_src_wrapper),
13327         (gst_basic_scheduler_remove_element):
13328         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13329         Remove threadsafe properties. Fix elements because GObject
13330         complains when installing a property before declaring a
13331         set/get_property handler.
13332         Rearrange gstelement.h file, use STATE macros for state locks.
13333         Free mutexes in the finalize method instead of dispose.
13334
13335 2005-03-08  Wim Taymans  <wim@fluendo.com>
13336
13337         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13338         * gst/gstthread.c: (gst_thread_release_children_locks):
13339         Added parentage check.
13340         Fix build og GstThread again.
13341
13342 2005-03-08  Wim Taymans  <wim@fluendo.com>
13343
13344         * docs/design/part-MT-refcounting.txt:
13345         * docs/design/part-conventions.txt:
13346         * docs/design/part-gstobject.txt:
13347         * docs/design/part-relations.txt:
13348         * docs/design/part-standards.txt:
13349         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13350         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13351         (gst_bin_get_by_name), (gst_bin_get_by_interface),
13352         (gst_bin_iterate_all_by_interface):
13353         * gst/gstbuffer.h:
13354         * gst/gstclock.h:
13355         * gst/gstelement.c: (gst_element_class_init),
13356         (gst_element_change_state), (gst_element_set_loop_function):
13357         * gst/gstelement.h:
13358         * gst/gstiterator.c:
13359         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13360         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13361         (gst_object_dispatch_properties_changed), (gst_object_set_name),
13362         (gst_object_set_parent), (gst_object_unparent),
13363         (gst_object_check_uniqueness):
13364         * gst/gstobject.h:
13365         Docs updates, clean up some headers.
13366
13367 2005-03-07  Wim Taymans  <wim@fluendo.com>
13368
13369         * check/.cvsignore:
13370         * check/Makefile.am:
13371         * check/gst-libs/.cvsignore:
13372         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13373         * check/gst/.cvsignore:
13374         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13375         (START_TEST), (gstbus_suite), (main):
13376         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13377         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13378         (gst_data_suite), (main):
13379         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13380         (add_fold_func), (gstiterator_suite), (main):
13381         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13382         (thread_name_object), (thread_name_object_default),
13383         (gst_object_name_compare), (gst_object_suite), (main):
13384         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13385         (gst_pad_suite), (main):
13386         * check/gstcheck.c: (gst_check_log_message_func),
13387         (gst_check_log_critical_func), (gst_check_init):
13388         * check/gstcheck.h:
13389         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13390         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13391         Added checks.
13392
13393 2005-03-07  Wim Taymans  <wim@fluendo.com>
13394
13395         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13396         (gst_list_iterator_next), (gst_list_iterator_resync),
13397         (gst_list_iterator_free), (gst_iterator_new_list),
13398         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13399         (gst_iterator_free), (gst_iterator_push), (filter_next),
13400         (filter_resync), (filter_uninit), (filter_free),
13401         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13402         (gst_iterator_foreach), (find_custom_fold_func),
13403         (gst_iterator_find_custom):
13404         * gst/gstiterator.h:
13405         Added missing files.
13406
13407 2005-03-07  Wim Taymans  <wim@fluendo.com>
13408
13409         * Makefile.am:
13410         * configure.ac:
13411         * docs/design/part-MT-refcounting.txt:
13412         * docs/design/part-conventions.txt:
13413         * docs/design/part-gstobject.txt:
13414         * docs/design/part-relations.txt:
13415         * examples/mixer/mixer.c: (main):
13416         * examples/thread/thread.c: (eos), (main):
13417         * gst/Makefile.am:
13418         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13419         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13420         (gst_spider_plug_from_srcpad):
13421         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13422         (gst_spider_identity_change_state),
13423         (gst_spider_identity_sink_loop_type_finding):
13424         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13425         * gst/elements/gstidentity.c: (gst_identity_init):
13426         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13427         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13428         * gst/elements/gsttypefindelement.c: (free_entry):
13429         * gst/gst.c:
13430         * gst/gst.h:
13431         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13432         (gst_bin_set_clock_func), (gst_bin_auto_clock),
13433         (gst_bin_set_index), (gst_bin_set_element_sched),
13434         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13435         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13436         (gst_bin_iterate_elements), (iterate_child_recurse),
13437         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13438         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13439         (compare_interface), (gst_bin_get_by_interface),
13440         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13441         * gst/gstbin.h:
13442         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13443         (gst_buffer_default_free), (gst_buffer_default_copy),
13444         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13445         (gst_buffer_create_sub):
13446         * gst/gstbuffer.h:
13447         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13448         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13449         (gst_caps_unref), (gst_static_caps_get),
13450         (gst_caps_remove_and_get_structure), (gst_caps_append),
13451         (gst_caps_append_structure), (gst_caps_remove_structure),
13452         (gst_caps_copy_nth), (gst_caps_set_simple),
13453         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13454         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13455         (gst_caps_structure_intersect_field), (gst_caps_intersect),
13456         (gst_caps_structure_subtract_field), (gst_caps_subtract),
13457         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13458         (gst_caps_structure_figure_out_union),
13459         (gst_caps_switch_structures), (gst_caps_do_simplify),
13460         (gst_caps_replace), (gst_caps_from_string),
13461         (gst_caps_copy_conditional):
13462         * gst/gstcaps.h:
13463         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13464         (_gst_clock_id_free), (gst_clock_id_unref),
13465         (gst_clock_id_compare_func), (gst_clock_id_wait),
13466         (gst_clock_id_wait_async), (gst_clock_class_init),
13467         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13468         (gst_clock_get_time), (gst_clock_set_time_adjust),
13469         (gst_clock_set_property), (gst_clock_get_property):
13470         * gst/gstclock.h:
13471         * gst/gstcompat.h:
13472         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13473         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13474         * gst/gstdata.h:
13475         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13476         (gst_element_requires_clock), (gst_element_provides_clock),
13477         (gst_element_set_clock), (gst_element_clock_wait),
13478         (gst_element_wait), (gst_element_set_time_delay),
13479         (gst_element_is_indexable), (gst_element_add_pad),
13480         (gst_element_add_ghost_pad), (gst_element_remove_pad),
13481         (pad_compare_name), (gst_element_get_static_pad),
13482         (gst_element_request_pad), (gst_element_get_request_pad),
13483         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13484         (gst_element_class_get_pad_template_list),
13485         (gst_element_class_get_pad_template), (gst_element_error_func),
13486         (gst_element_get_random_pad), (gst_element_get_event_masks),
13487         (gst_element_send_event), (gst_element_seek),
13488         (gst_element_get_query_types), (gst_element_query),
13489         (gst_element_get_formats), (gst_element_convert),
13490         (gst_element_is_locked_state), (gst_element_set_locked_state),
13491         (gst_element_sync_state_with_parent), (gst_element_change_state),
13492         (gst_element_finalize), (gst_element_yield),
13493         (gst_element_interrupt), (gst_element_set_scheduler),
13494         (gst_element_get_scheduler), (gst_element_set_loop_function):
13495         * gst/gstelement.h:
13496         * gst/gstevent.h:
13497         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13498         (gst_format_get_by_nick), (gst_format_get_details),
13499         (gst_format_iterate_definitions):
13500         * gst/gstformat.h:
13501         * gst/gstindex.c: (gst_index_gtype_resolver):
13502         * gst/gstinfo.c:
13503         * gst/gstinfo.h:
13504         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13505         (gst_mem_chunk_free):
13506         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13507         (gst_object_ref), (gst_object_unref), (gst_object_sink),
13508         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13509         (gst_object_dispatch_properties_changed),
13510         (gst_object_set_name_default), (gst_object_set_name),
13511         (gst_object_get_name), (gst_object_set_name_prefix),
13512         (gst_object_get_name_prefix), (gst_object_set_parent),
13513         (gst_object_get_parent), (gst_object_unparent),
13514         (gst_object_check_uniqueness), (gst_object_save_thyself),
13515         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13516         (gst_object_set_property), (gst_object_get_property),
13517         (gst_object_get_path_string):
13518         * gst/gstobject.h:
13519         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13520         (gst_real_pad_init), (gst_real_pad_get_property),
13521         (gst_pad_custom_new), (gst_pad_get_direction),
13522         (gst_pad_set_active), (gst_pad_is_active),
13523         (gst_pad_set_event_function), (gst_pad_is_linked),
13524         (gst_pad_link_free), (gst_pad_link_intersect),
13525         (gst_pad_link_fixate), (gst_pad_set_caps),
13526         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13527         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13528         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13529         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13530         (gst_pad_get_caps), (gst_pad_peer_get_caps),
13531         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13532         (gst_pad_realize), (gst_pad_get_allowed_caps),
13533         (gst_real_pad_dispose), (gst_real_pad_finalize),
13534         (gst_pad_collectv), (gst_pad_collect_valist),
13535         (gst_pad_template_dispose), (gst_pad_template_new),
13536         (gst_pad_get_internal_links):
13537         * gst/gstpad.h:
13538         * gst/gstpipeline.c: (gst_pipeline_dispose),
13539         (gst_pipeline_change_state):
13540         * gst/gstpipeline.h:
13541         * gst/gstplugin.c:
13542         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13543         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13544         * gst/gstpluginfeature.h:
13545         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13546         * gst/gstquery.c: (_gst_query_type_initialize),
13547         (gst_query_type_register), (gst_query_type_get_by_nick),
13548         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13549         * gst/gstquery.h:
13550         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13551         * gst/gstscheduler.c: (gst_scheduler_add_element),
13552         (gst_scheduler_factory_create):
13553         * gst/gststructure.c: (gst_structure_set_parent_refcount),
13554         (gst_structure_free), (gst_structure_set_name),
13555         (gst_structure_id_set_value), (gst_structure_set_value),
13556         (gst_structure_set_valist), (gst_structure_remove_field),
13557         (gst_structure_remove_fields),
13558         (gst_structure_remove_fields_valist),
13559         (gst_structure_remove_all_fields), (gst_structure_foreach),
13560         (gst_structure_map_in_place),
13561         (gst_caps_structure_fixate_field_nearest_int),
13562         (gst_caps_structure_fixate_field_nearest_double):
13563         * gst/gststructure.h:
13564         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13565         (gst_system_clock_init), (gst_system_clock_dispose),
13566         (gst_system_clock_async_thread),
13567         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13568         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13569         * gst/gstsystemclock.h:
13570         * gst/gsttag.c: (gst_tag_list_add_value_internal),
13571         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13572         * gst/gsttaginterface.c:
13573         * gst/gstthread.c: (gst_thread_dispose),
13574         (gst_thread_release_children_locks), (gst_thread_change_state),
13575         (gst_thread_main_loop):
13576         * gst/gsttrashstack.h:
13577         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13578         * gst/gsttypes.h:
13579         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13580         (gst_element_request_pad), (gst_element_get_pad_from_template),
13581         (gst_element_request_compatible_pad),
13582         (gst_element_get_compatible_pad_filtered),
13583         (gst_element_get_compatible_pad), (gst_element_state_get_name),
13584         (gst_element_link_pads_filtered), (gst_element_link_filtered),
13585         (gst_element_link_many), (gst_element_link),
13586         (gst_element_link_pads), (gst_element_unlink_pads),
13587         (gst_element_unlink_many), (gst_element_unlink),
13588         (gst_pad_can_link_filtered), (gst_pad_can_link),
13589         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13590         (gst_object_default_error), (gst_bin_add_many),
13591         (gst_bin_remove_many), (gst_element_populate_std_props),
13592         (gst_element_class_install_std_props), (gst_buffer_merge),
13593         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13594         (link_fold_func), (gst_pad_proxy_setcaps):
13595         * gst/gstutils.h:
13596         * gst/gstvalue.c: (gst_value_deserialize_string):
13597         * gst/parse/grammar.y:
13598         * gst/schedulers/gstbasicscheduler.c:
13599         (gst_basic_scheduler_cothreaded_chain),
13600         (gst_basic_scheduler_chain_recursive_add),
13601         (gst_basic_scheduler_pad_link):
13602         * gst/schedulers/gstoptimalscheduler.c:
13603         (get_group_schedule_function),
13604         (gst_opt_scheduler_state_transition),
13605         (gst_opt_scheduler_add_element), (element_get_reachables_func):
13606         * libs/gst/bytestream/bytestream.c:
13607         * libs/gst/dataprotocol/dataprotocol.c:
13608         (gst_dp_header_from_buffer):
13609         * po/nb.po:
13610         * po/ru.po:
13611         * tests/threadstate/threadstate2.c: (eos):
13612         * tools/gst-compprep.c: (main):
13613         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13614         (print_pad_info), (print_children_info):
13615         * tools/gst-launch.c: (idle_func), (main):
13616         * tools/gst-md5sum.c: (idle_func), (main):
13617         * tools/gst-xmlinspect.c: (print_element_info):
13618         First THREADED backport attempt, focusing on adding locks and
13619         making sure the API is threadsafe. Needs more work. More docs
13620         follow this week.
13621
13622 2005-02-24  Andy Wingo  <wingo@pobox.com>
13623
13624         * tests/bench-complexity.scm:
13625         * tests/complexity.gnuplot: New files, good for running complexity
13626         benchmarks.
13627
13628         * tests/Makefile.am:
13629         * tests/complexity.c: New test, sets up N elements, at each level
13630         teeing into M streams per element. Eeeenteresting.
13631
13632         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13633         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13634         running bench-mass_elements.scm.
13635
13636         * tests/bench-mass_elements.scm: New script, runs mass_elements
13637         for various numbers of identities, outputting the results to a
13638         file. Requires guile 1.6. Just for testing.
13639
13640 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13641
13642         * gst/schedulers/fairscheduler.c:
13643           compile with debug disabled
13644
13645 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13646
13647         * configure.ac:
13648           hunting season on 0.9 is now OPEN